]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
tile: Fix cut-and-paste bug in commit fcccd5128.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d42f3448
CM
12014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2
3 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4 in function argument name.
5
1c21d115
DS
62014-04-03 David Svoboda <svoboda@cert.org>
7
8 [BZ #5666]
9 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10 explicitly.
11
fcccd512
RM
122014-04-03 Roland McGrath <roland@hack.frob.com>
13
14 * elf/dl-unmap-segments.h: New file.
15 * sysdeps/generic/ldsodefs.h
16 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18 * elf/dl-fptr.c: Likewise.
19 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20 * sysdeps/aarch64/tlsdesc.c: Likewise.
21 * sysdeps/arm/tlsdesc.c: Likewise.
22 * sysdeps/i386/tlsdesc.c: Likewise.
23 * sysdeps/tile/dl-runtime.c: Likewise.
24 * sysdeps/x86_64/tlsdesc.c: Likewise.
25 * elf/dl-load.h: New file.
26 * elf/dl-load.c: Include it.
27 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28 Macros moved to dl-load.h.
29 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
31 Use _dl_unmap_segments in place of __munmap.
32 Break out segment-mapping loop into ...
33 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34
f6488e2b
WN
352014-04-03 Will Newton <will.newton@linaro.org>
36
37 * elf/dl-lookup.c (do_lookup_x): Remove comment
38 referring to nested function and move variable
39 declarations down to before first use.
40
6f05bafe
JM
412014-04-02 Joseph Myers <joseph@codesourcery.com>
42
a84e78c8
JM
43 [BZ #16799]
44 [BZ #16800]
45 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46 with 0 numerator.
47 * math/s_catanf.c (__catanf): Likewise.
48 * math/s_catanh.c (__catanh): Likewise.
49 * math/s_catanhf.c (__catanhf): Likewise.
50 * math/s_catanhl.c (__catanhl): Likewise.
51 * math/s_catanl.c (__catanl): Likewise.
52 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53 by positive zero when computing -Inf result.
54 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
55 (catanh_test): Likewise.
56 * sysdeps/i386/fpu/libm-test-ulps: Update.
57 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58
6f05bafe
JM
59 [BZ #16789]
60 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
61 instead of using underflowing value in computing result.
62 * math/s_clog10.c (__clog10): Likewise.
63 * math/s_clog10f.c (__clog10f): Likewise.
64 * math/s_clog10l.c (__clog10l): Likewise.
65 * math/s_clogf.c (__clogf): Likewise.
66 * math/s_clogl.c (__clogl): Likewise.
67 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
68 (clog10_test): Likewise.
69 * sysdeps/i386/fpu/libm-test-ulps: Update.
70 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71
b0abbc21
AM
722014-04-02 Alan Modra <amodra@gmail.com>
73
74 [BZ #16739]
75 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
76 output when value is near a power of two. Use int64_t for lx and
77 remove casts. Use decimal rather than hex exponent constants.
78 Don't use long double multiplication when double will suffice.
79 * math/libm-test.inc (nextafter_test_data): Add tests.
80 * NEWS: Add 16739 and 16786 to bug list.
81
af6b1797
AM
822014-04-02 Alan Modra <amodra@gmail.com>
83
84 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
85
483818d7
AM
862014-04-02 Alan Modra <amodra@gmail.com>
87
88 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
89
f6c55796
WN
902014-04-01 Will Newton <will.newton@linaro.org>
91
92 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
93 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
94
13f7fe35
FW
952014-04-01 Florian Weimer <fweimer@redhat.com>
96
97 [BZ #13347]
98 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
99 * nptl/tst-setuid2.c: New file.
100 * nptl/Makefile (xtests): Add tst-setuid2.
101
c859b32e
AM
1022014-04-01 Alan Modra <amodra@gmail.com>
103
104 [BZ #16786]
105 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
106
54fa2475
JM
1072014-03-31 Joseph Myers <joseph@codesourcery.com>
108
8795b4a4
JM
109 [BZ #6803]
110 [BZ #6804]
111 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
112 set errno as appropriate.
113 * math/w_scalbf.c (__scalbf): Likewise.
114 * math/w_scalbl.c (__scalbl): Likewise.
115 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
116 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
117 * math/libm-test.inc (scalb_test_data): Add errno expectations.
118 Add more NaN tests.
119
54fa2475
JM
120 [BZ #16349]
121 * math/w_atan2.c: Include <errno.h>.
122 (__atan2): Set errno for result underflowing to zero.
123 * math/w_atan2f.c: Include <errno.h>.
124 (__atan2f): Set errno for result underflowing to zero.
125 * math/w_atan2l.c: Include <errno.h>.
126 (__atan2l): Set errno for result underflowing to zero.
127 * math/auto-libm-test-in: Don't allow missing errno for some atan2
128 tests.
129 * math/auto-libm-test-out: Regenerated.
130
757d9dd5
AZ
1312014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
132
133 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
134 Encode instruction correctly in little endian.
135 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
136 Likewise.
137 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
138 Likewise.
139 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
140 Likewise.
141 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
142 Likewise.
143
d7a68734
JM
1442014-03-31 Joseph Myers <joseph@codesourcery.com>
145
47c5adeb
JM
146 [BZ #9894]
147 * sysdeps/unix/sysv/linux/kernel-features.h
148 [__sparc__ && !__arch64__ && !__sparc_v9__]
149 (__ASSUME_SET_ROBUST_LIST): Do not define.
150 [__sparc__ && !__arch64__ && !__sparc_v9__]
151 (__ASSUME_FUTEX_LOCK_PI): Likewise.
152 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
153 Likewise.
154 * sysdeps/unix/sysv/linux/arm/kernel-features.h
155 (__ASSUME_FUTEX_LOCK_PI): Undefine.
156 (__ASSUME_REQUEUE_PI): Likewise.
157 (__ASSUME_SET_ROBUST_LIST): Likewise.
158 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
159 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
160 Undefine.
161 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
162 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
163 Likewise.
164 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
165 Likewise.
166 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
167 Likewise.
168 * sysdeps/unix/sysv/linux/mips/kernel-features.h
169 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
170 Undefine.
171 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
172 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
173 Likewise.
174
d7a68734
JM
175 [BZ #16648]
176 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
177 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
178 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
179
c760f5c2
WN
1802014-03-31 Will Newton <will.newton@linaro.org>
181
182 * benchtests/Makefile (bench): Add ffs and ffsll to list
183 of tests.
184 * benchtests/ffs-inputs: New file.
185 * benchtests/ffsll-inputs: Likewise.
186
ea6029b1
JM
1872014-03-29 Joseph Myers <joseph@codesourcery.com>
188
189 [BZ #16770]
190 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
191 too large before casting to int.
192 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
193 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
194 * math/libm-test.inc (scalb_test_data): Add more tests.
195
cf806aff
SP
1962014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
197
56737508
SP
198 * benchtests/Makefile (DETAILED_OPT): New make option.
199 (bench-func): Run benchmark program with -d if DETAILED_OPT is
200 set.
201 * benchtests/bench-skeleton.c: Include stdbool.h.
202 (main): Store and print timings per input.
203 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
204 member to each argument value.
205 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
206 (_print_arg_data): Initialize per-input timing to 0.
207
cb5e4aad
SP
208 * benchtests/Makefile (timing-type): New binary.
209 (bench-clean): Also remove bench-timing-type.
210 (bench): New target for timing-type.
211 (bench-func): Print output in JSON format.
212 * benchtests/bench-skeleton.c (main): Print output in JSON
213 format.
214 * benchtests/bench-timing-type.c: New file.
215 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
216 (TIMING_PRINT_STATS): Remove.
217 * benchtests/scripts/bench.py (_print_arg_data): Store variant
218 name separately.
219
cf806aff
SP
220 * benchtests/bench-modf.c: Remove.
221 * benchtests/modf-inputs: New inputs file.
222
289e0779
JM
2232014-03-28 Joseph Myers <joseph@codesourcery.com>
224
225 [BZ #16362]
226 * math/s_clog10.c (M_PI_LOG10E): New macro.
227 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
228 imaginary parts are 0.
229 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
230 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
231 imaginary parts are 0.
232 * math/s_clog10l.c (M_PI_LOG10El): New macro.
233 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
234 imaginary parts are 0.
235 * math/libm-test.inc (clog10_test_data): Update expected results
236 for when real and imaginary parts are 0.
237
277ae3f1
PP
2382014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
239
240 * elf/dl-load.c: Finish conversion of __builtin_expect into
241 __glibc_{un}likely.
242
03a7091f
JM
2432014-03-27 Joseph Myers <joseph@codesourcery.com>
244
245 [BZ #16348]
246 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
247 1+x for argument with exponent below -67.
248 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
249 Likewise.
250 * math/auto-libm-test-in: Add more tests of exp.
251 * math/auto-libm-test-out: Regenerated.
252
ea7d8b95
SP
2532014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
254
dd3022d7
SP
255 [BZ #16759]
256 * inet/getnetgrent_r.c (get_nonempty_val): New function.
257 (nscd_getnetgrent): Use it.
258
ea7d8b95
SP
259 [BZ #16760]
260 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
261 of stpcpy.
262
df5b85da
AK
2632014-03-27 Andi Kleen <ak@linux.intel.com>
264
265 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
266 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
267 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
268 Remove out of line section. Use cfi intrinsics.
269 (LLL_STUB_UNWIND_INFO*): Remove.
270 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
271 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
272 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
273 Remove out of line section. Use cfi intrinsics.
274 (LLL_STUB_UNWIND_INFO*): Remove.
275
fbd6b5a4
SP
2762014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
277
278 [BZ #16758]
279 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
280 blank values.
281
1b26b855
PP
2822014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
283
284 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
285
9be36fb8
JM
2862014-03-26 Joseph Myers <joseph@codesourcery.com>
287
288 [BZ #16198]
289 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
290 fnstenv.
291 * math/test-fenv-preserve.c: New file.
292 * math/Makefile (tests): Add test-fenv-preserve.
293
60a2f3c1
WN
2942014-03-26 Will Newton <will.newton@linaro.org>
295
296 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
297
a5e5f1e2
RM
2982014-03-25 Roland McGrath <roland@hack.frob.com>
299
300 * scripts/versionlist.awk: Partition the version sets and emit all
301 GLIBC_* (sorted) before all others (sorted).
302
00f4012a
JM
3032014-03-25 Joseph Myers <joseph@codesourcery.com>
304
305 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
306 GLIBC_2.2.5 version.
307
7bc5a741
AZ
3082014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309
310 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
311 calls.
312
7578473b
AZ
3132014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314
315 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
316 previous change.
317
f3f1dab3
AZ
3182014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
319
320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
321
6da36183
AS
3222014-03-25 Andreas Schwab <schwab@suse.de>
323
324 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
325 label to be used after in6ailist is initialized.
326
f3f1dab3 3272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 328
7578473b 329 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
330 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
331
046651c1
JM
3322014-03-25 Joseph Myers <joseph@codesourcery.com>
333
334 [BZ #16357]
335 [BZ #16599]
336 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
337 min_plus_half.
338 (fp_formats): Update initializers.
339 (init_fp_formats): Initialize new field.
340 (output_for_one_input_case): Allow underflow for results up to
341 min_plus_half.
342 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
343 * math/auto-libm-test-in: Don't mark some underflows from asin and
344 atanh as spurious.
345 * math/auto-libm-test-out: Regenerated.
346 * sysdeps/i386/fpu/libm-test-ulps: Update.
347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
348
003e49ed
AS
3492014-03-25 Andreas Schwab <schwab@suse.de>
350
351 * libio/Makefile (tst-ftell-partial-wide-ENV)
352 (tst-ftell-active-handler-ENV): Define.
353
de031874
SL
3542014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
355
356 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
357
55a81e3b
PP
3582014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
359
360 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
361
f3426898
JM
3622014-03-24 Joseph Myers <joseph@codesourcery.com>
363
364 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
365 * sysdeps/x86_64/fpu/multiarch/e_exp.c
366 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
367
a42faf59
PP
3682014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
369
370 [BZ #16634]
a42faf59 371 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
372 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
373 (open_path): Change from boolean 'secure' to complete flag 'mode'
374 (_dl_map_object): Adjust.
a42faf59
PP
375 * elf/Makefile (tests): Add tst-dlopen-aout.
376 * elf/tst-dlopen-aout.c: New test.
377
50936127
SL
3782014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
379
380 [BZ #16714]
381 * sysdeps/unix/sysv/linux/s390/bits/stat.h
382 (struct stat): Rename member pad0 to __glibc_reserved0.
383
26011b5c
SL
3842014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
385
386 [BZ #16712]
387 * sysdeps/s390/s390-32/bits/wordsize.h
388 (__WORDSIZE32_SIZE_ULONG): New define.
389 * sysdeps/s390/s390-64/bits/wordsize.h
390 (__WORDSIZE32_SIZE_ULONG): Likewise.
391 * sysdeps/generic/stdint.h (SIZE_MAX):
392 Define as UL if __WORDSIZE32_SIZE_ULONG.
393
a2d86bf1
SL
3942014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
395
396 [BZ #16713]
397 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
398 (__glibc_reserved0): New variable.
399 (sa_flags): Change type to int.
400
78b6eebc
SL
4012014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
402
403 * posix/Makefile (before-compile): Use += before-compile instead
404 of a :=.
405
f1399b5a
SL
4062014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
407
408 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
409 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
410
a071766e
AS
4112014-03-20 Andreas Schwab <schwab@suse.de>
412
413 [BZ #16743]
414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
415 non-matching result from nscd.
416
27c673b8
SP
4172014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
418
419 * scripts/bench.py: Moved to ...
420 * benchtests/scripts/bench.py: ... here.
421 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
422
44152e4b
AS
4232014-03-24 Andreas Schwab <schwab@suse.de>
424
425 [BZ #16002]
426 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
427 alloca_account and account alloca use for struct in6ailist.
428
b376a11a
JM
4292014-03-24 Joseph Myers <joseph@codesourcery.com>
430
431 [BZ #16284]
432 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
433 rounding mode to recompute results that overflow to infinity or
434 underflow to zero.
435 * math/auto-libm-test-in: Don't mark tests as expected to fail for
436 bug 16284.
437 * math/auto-libm-test-out: Regenerated.
438 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
439 (ccosh_test): Likewise.
440 (csin_test_data): Use plus_oflow.
441 (csin_test): Use ALL_RM_TEST.
442 (csinh_test_data): Use plus_oflow.
443 (csinh_test): Use ALL_RM_TEST.
444 * sysdeps/i386/fpu/libm-test-ulps: Update.
445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
446
f7be7376
JM
4472014-03-21 Joseph Myers <joseph@codesourcery.com>
448
1ca2d03e
JM
449 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
450 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
451 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
452
f7be7376
JM
453 [BZ #16731]
454 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
455 when x - 1 is zero.
456 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
457 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
458 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
460 argument is 1.
461 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
462 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
463 zero.
464 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
465 * sysdeps/i386/fpu/libm-test-ulps: Update.
466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
467
fdf4534d
SP
4682014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
469
df26ea53
SP
470 * scripts/bench.pl: Remove file.
471 * scripts/bench.py: New benchmark script.
472 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
473 * benchtests/README: Mention python dependency.
474 * scripts/pylintrc: New file.
475 * scripts/pylint: New file.
476
fdf4534d
SP
477 * bits/mathdef.h: Use #ifdef instead of #if.
478 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
479 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
480 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
481 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
482 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
483 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
484
6f23d093
AZ
4852014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
486 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
487
488 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
490 and strpbrk-ppc64 objects.
491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
492 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
493 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
494 multiarch strpbrk for POWER7.
495 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
496 multiarch strpbrk for PPC64.
497 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
498 ifunc selector.
499 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
500 strpbrk for POWER7.
501
8c92dfff
JM
5022014-03-20 Joseph Myers <joseph@codesourcery.com>
503
504 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
505 (atan_test): Likewise.
506 (atanh_test_data): Use NO_TEST_INLINE for two tests.
507 (atanh_test): Use ALL_RM_TEST.
508 (atan2_test_data): Likewise.
509 (cabs_test): Likewise.
510 (cacosh_test): Likewise.
511 (carg_test): Likewise.
512 (casin_test): Likewise.
513 (casinh_test): Likewise.
514 (cbrt_test): Likewise.
515 (csqrt_test): Likewise.
516 (erf_test): Likewise.
517 (erfc_test): Likewise.
518 (pow10_test): Likewise.
519 (exp2_test): Likewise.
520 (hypot_test): Likewise.
521 (j0_test): Likewise.
522 (j1_test): Likewise.
523 (lgamma_test): Likewise.
524 (gamma_test): Likewise.
525 (sincos_test): Likewise.
526 (tanh_test): Likewise.
527 (y0_test): Likewise.
528 (y1_test): Likewise.
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
531
6eaf95cb
AZ
5322014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
533
a387428c
SP
534 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
536 and strcspn-ppc64 objects.
537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
538 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
539 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
540 multiarch strcspn for POWER7.
541 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
542 multiarch strcspn for PPC64.
543 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
544 ifunc selector.
545 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
546 strcspn for POWER7.
547
ae3a5dff
JM
5482014-03-20 Joseph Myers <joseph@codesourcery.com>
549
550 * math/gen-libm-test.pl (generate_testfile): Expect only function
551 name as argument to AUTO_TESTS_* and pass results for all rounding
552 modes to parse_args.
553 (parse_auto_input): Separate inputs of automatic tests from
554 outputs before storing in %auto_tests.
555 * math/libm-test.inc (acos_test_data): Update call to
556 AUTO_TESTS_f_f.
557 (acos_test): Use ALL_RM_TEST.
558 (acos_tonearest_test_data): Remove.
559 (acos_test_tonearest): Likewise.
560 (acos_towardzero_test_data): Likewise.
561 (acos_test_towardzero): Likewise.
562 (acos_downward_test_data): Likewise.
563 (acos_test_downward): Likewise.
564 (acos_upward_test_data): Likewise.
565 (acos_test_upward): Likewise.
566 (acosh_test_data): Update call to AUTO_TESTS_f_f.
567 (asin_test_data): Likewise.
568 (asin_test): Use ALL_RM_TEST.
569 (asin_tonearest_test_data): Remove.
570 (asin_test_tonearest): Likewise.
571 (asin_towardzero_test_data): Likewise.
572 (asin_test_towardzero): Likewise.
573 (asin_downward_test_data): Likewise.
574 (asin_test_downward): Likewise.
575 (asin_upward_test_data): Likewise.
576 (asin_test_upward): Likewise.
577 (asinh_test_data): Update call to AUTO_TESTS_f_f.
578 (atan_test_data): Likewise.
579 (atanh_test_data): Likewise.
580 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
581 (cabs_test_data): Update call to AUTO_TESTS_c_f.
582 (carg_test_data): Likewise.
583 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
584 (ccos_test_data): Update call to AUTO_TESTS_c_c.
585 (ccosh_test_data): Likewise.
586 (cexp_test_data): Likewise.
587 (clog_test_data): Likewise.
588 (clog10_test_data): Likewise.
589 (cos_test_data): Update call to AUTO_TESTS_f_f.
590 (cos_test): Use ALL_RM_TEST.
591 (cos_tonearest_test_data): Remove.
592 (cos_test_tonearest): Likewise.
593 (cos_towardzero_test_data): Likewise.
594 (cos_test_towardzero): Likewise.
595 (cos_downward_test_data): Likewise.
596 (cos_test_downward): Likewise.
597 (cos_upward_test_data): Likewise.
598 (cos_test_upward): Likewise.
599 (cosh_test_data): Update call to AUTO_TESTS_f_f.
600 (cosh_test): Use ALL_RM_TEST.
601 (cosh_tonearest_test_data): Remove.
602 (cosh_test_tonearest): Likewise.
603 (cosh_towardzero_test_data): Likewise.
604 (cosh_test_towardzero): Likewise.
605 (cosh_downward_test_data): Likewise.
606 (cosh_test_downward): Likewise.
607 (cosh_upward_test_data): Likewise.
608 (cosh_test_upward): Likewise.
609 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
610 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
611 (ctan_test_data): Likewise.
612 (ctan_test): Use ALL_RM_TEST.
613 (ctan_tonearest_test_data): Remove.
614 (ctan_test_tonearest): Likewise.
615 (ctan_towardzero_test_data): Likewise.
616 (ctan_test_towardzero): Likewise.
617 (ctan_downward_test_data): Likewise.
618 (ctan_test_downward): Likewise.
619 (ctan_upward_test_data): Likewise.
620 (ctan_test_upward): Likewise.
621 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
622 (ctanh_test): Use ALL_RM_TEST.
623 (ctanh_tonearest_test_data): Remove.
624 (ctanh_test_tonearest): Likewise.
625 (ctanh_towardzero_test_data): Likewise.
626 (ctanh_test_towardzero): Likewise.
627 (ctanh_downward_test_data): Likewise.
628 (ctanh_test_downward): Likewise.
629 (ctanh_upward_test_data): Likewise.
630 (ctanh_test_upward): Likewise.
631 (erf_test_data): Update call to AUTO_TESTS_f_f.
632 (erfc_test_data): Likewise.
633 (exp_test_data): Likewise.
634 (exp_test): Use ALL_RM_TEST.
635 (exp_tonearest_test_data): Remove.
636 (exp_test_tonearest): Likewise.
637 (exp_towardzero_test_data): Likewise.
638 (exp_test_towardzero): Likewise.
639 (exp_downward_test_data): Likewise.
640 (exp_test_downward): Likewise.
641 (exp_upward_test_data): Likewise.
642 (exp_test_upward): Likewise.
643 (exp10_test_data): Update call to AUTO_TESTS_f_f.
644 (exp10_test): Use ALL_RM_TEST.
645 (exp10_tonearest_test_data): Remove.
646 (exp10_test_tonearest): Likewise.
647 (exp10_towardzero_test_data): Likewise.
648 (exp10_test_towardzero): Likewise.
649 (exp10_downward_test_data): Likewise.
650 (exp10_test_downward): Likewise.
651 (exp10_upward_test_data): Likewise.
652 (exp10_test_upward): Likewise.
653 (exp2_test_data): Update call to AUTO_TESTS_f_f.
654 (expm1_test_data): Likewise.
655 (expm1_test): Use ALL_RM_TEST.
656 (expm1_tonearest_test_data): Remove.
657 (expm1_test_tonearest): Likewise.
658 (expm1_towardzero_test_data): Likewise.
659 (expm1_test_towardzero): Likewise.
660 (expm1_downward_test_data): Likewise.
661 (expm1_test_downward): Likewise.
662 (expm1_upward_test_data): Likewise.
663 (expm1_test_upward): Likewise.
664 (fma_test_data): Update call to AUTO_TESTS_fff_f.
665 (fma_test): Use ALL_RM_TEST.
666 (fma_towardzero_test_data): Remove.
667 (fma_test_towardzero): Likewise.
668 (fma_downward_test_data): Likewise.
669 (fma_test_downward): Likewise.
670 (fma_upward_test_data): Likewise.
671 (fma_test_upward): Likewise.
672 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
673 (j0_test_data): Update call to AUTO_TESTS_f_f.
674 (j1_test_data): Likewise.
675 (jn_test_data): Update call to AUTO_TESTS_if_f.
676 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
677 (log_test_data): Update call to AUTO_TESTS_f_f.
678 (log10_test_data): Likewise.
679 (log1p_test_data): Likewise.
680 (log2_test_data): Likewise.
681 (pow_test_data): Update call to AUTO_TESTS_ff_f.
682 (pow_tonearest_test_data): Likewise.
683 (sin_test_data): Update call to AUTO_TESTS_f_f.
684 (sin_test): Use ALL_RM_TEST.
685 (sin_tonearest_test_data): Remove.
686 (sin_test_tonearest): Likewise.
687 (sin_towardzero_test_data): Likewise.
688 (sin_test_towardzero): Likewise.
689 (sin_downward_test_data): Likewise.
690 (sin_test_downward): Likewise.
691 (sin_upward_test_data): Likewise.
692 (sin_test_upward): Likewise.
693 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
694 (sinh_test_data): Update call to AUTO_TESTS_f_f.
695 (sinh_test): Use ALL_RM_TEST.
696 (sinh_tonearest_test_data): Remove.
697 (sinh_test_tonearest): Likewise.
698 (sinh_towardzero_test_data): Likewise.
699 (sinh_test_towardzero): Likewise.
700 (sinh_downward_test_data): Likewise.
701 (sinh_test_downward): Likewise.
702 (sinh_upward_test_data): Likewise.
703 (sinh_test_upward): Likewise.
704 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
705 (sqrt_test): Use ALL_RM_TEST.
706 (sqrt_tonearest_test_data): Remove.
707 (sqrt_test_tonearest): Likewise.
708 (sqrt_towardzero_test_data): Likewise.
709 (sqrt_test_towardzero): Likewise.
710 (sqrt_downward_test_data): Likewise.
711 (sqrt_test_downward): Likewise.
712 (sqrt_upward_test_data): Likewise.
713 (sqrt_test_upward): Likewise.
714 (tan_test_data): Update call to AUTO_TESTS_f_f.
715 (tan_test): Use ALL_RM_TEST.
716 (tan_tonearest_test_data): Remove.
717 (tan_test_tonearest): Likewise.
718 (tan_towardzero_test_data): Likewise.
719 (tan_test_towardzero): Likewise.
720 (tan_downward_test_data): Likewise.
721 (tan_test_downward): Likewise.
722 (tan_upward_test_data): Likewise.
723 (tan_test_upward): Likewise.
724 (tanh_test_data): Update call to AUTO_TESTS_f_f.
725 (tgamma_test_data): Likewise.
726 (y0_test_data): Likewise.
727 (y1_test_data): Likewise.
728 (yn_test_data): Update call to AUTO_TESTS_if_f.
729 (main): Do not call removed functions.
730
d71aeee8
JM
7312014-03-19 Joseph Myers <joseph@codesourcery.com>
732
733 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
734 (ldexp_test_data): Remove.
735 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
736 scalbn_test_data.
737 (scalb_test): Use ALL_RM_TEST.
738
baaf1ded
AS
7392014-03-19 Andreas Schwab <schwab@suse.de>
740
741 * nscd/nscd.service: Also invalidate netgroup cache on reload.
742
b1115e91
JM
7432014-03-19 Joseph Myers <joseph@codesourcery.com>
744
745 [BZ #16649]
746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
748 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
750 (__ASSUME_PREADV): Undefine.
751 (__ASSUME_PWRITEV): Likewise.
752
0283ecca
RM
7532014-03-18 Roland McGrath <roland@hack.frob.com>
754
7d375303
RM
755 * bits/mman-linux.h: Add comment about non-Linux use.
756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
757 bits/mman-linux.h resting place.
758
0283ecca
RM
759 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
760 * bits/mman-linux.h: ... here.
761
aebe1003
AZ
7622014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763
764 * conform/conformtest.pl: Add standard definition when calling C
765 preprocessor on data files.
766 (checknamespace): Remove unused variable.
767
b29b6bb8
JM
7682014-03-18 Joseph Myers <joseph@codesourcery.com>
769
770 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
771 minus_oflow, plus_uflow and minus_uflow in expected results.
772 * math/libm-test.inc (scalbn_test_data): Add more tests of
773 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
774 minus_uflow.
775 (scalbn_test): Use ALL_RM_TEST.
776 (scalbln_test_data): Add more tests of negative arguments. Use
777 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
778 (scalbln_test): Use ALL_RM_TEST.
779
c8f8fa15
RM
7802014-03-18 Roland McGrath <roland@hack.frob.com>
781
782 * scripts/abilist.awk: Ignore symbols marked with .hidden.
783
fede7a5f
WN
7842014-03-18 Will Newton <will.newton@linaro.org>
785
786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
787 inaccurate comment.
788
80cf0a58
JM
7892014-03-18 Joseph Myers <joseph@codesourcery.com>
790
791 * Makerules [!subdir] (check-abi): Exit with error status if a
792 test failed.
793
b3620862
JM
7942014-03-17 Joseph Myers <joseph@codesourcery.com>
795
796 * math/libm-test.inc (nearbyint_test_data): Include all tests used
797 for rint. Include results for all rounding modes.
798 (nearbyint_test): Use ALL_RM_TEST.
799 (rint_test_data): Include all tests used for nearbyint.
800
788bba36
WN
8012014-03-17 Will Newton <will.newton@linaro.org>
802
04ec140a
WN
803 * nptl/sysdeps/pthread/pthread.h: Revert previous
804 change.
805
7579d8d5
WN
806 * sysdeps/generic/ldsodefs.h: Revert previous
807 change.
808
c15cf13a
WN
809 * libio/genops.c: Revert previous change.
810 * libio/libioP.h: Likewise.
811 * stdio-common/vfprintf.c: Likewise.
812
d0ac1324
WN
813 * sysdeps/generic/math_private.h: Revert previous
814 change.
815
9290130a
WN
816 * sysdeps/generic/math_private.h: Check whether
817 HAVE_RM_CTX is defined with #ifdef rather
818 than #if.
819
afb466fc
WN
820 * argp/argp-fmtstream.h: Check whether
821 __STRICT_ANSI__ is defined with #ifdef rather
822 than #if.
823 * argp/argp.h: Likewise.
824
f7efd7c3
WN
825 * libio/genops.c: Check whether
826 _IO_JUMPS_OFFSET is defined with #ifdef rather
827 than #if.
828 * libio/libioP.h: Likewise.
829 * stdio-common/vfprintf.c: Likewise.
830
53f1bed3
WN
831 * sysdeps/generic/ldsodefs.h: Check whether
832 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
833 than #if.
834
788bba36
WN
835 * nptl/sysdeps/pthread/pthread.h: Check
836 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
837 its value.
838
fcd89ebe
SP
8392014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
840
ae42bbc5
SP
841 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
842 setting O_APPEND.
843 * libio/tst-ftell-active-handler.c (do_append_test): Add a
844 test case.
845
ea33158c
SP
846 [BZ #16680]
847 * libio/fileops.c (_IO_file_open): Seek to end of file but
848 don't cache the offset.
849 (get_file_offset): Remove function.
850 (do_ftell): Use cached offset when available.
851 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
852 don't cache the offset.
853 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
854 case.
855 (do_one_test): Call it.
856 (do_ftell_test): Fix up expected old offset for a+ mode.
857 * libio/wfileops.c (do_ftell_wide): Used cached offset when
858 available.
859
b1dbb426
SP
860 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
861 up test status with function return status.
862 (do_write_test): Likewise.
863 (do_append_test): Likewise.
864
fcd89ebe
SP
865 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
866 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
867 Remove.
868
9962a2d3
JM
8692014-03-17 Joseph Myers <joseph@codesourcery.com>
870
871 * math/gen-libm-test.pl (parse_args): Handle results specified for
872 each rounding mode separately.
873 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
874 tests and results from lrint_tonearest_test_data,
875 lrint_towardzero_test_data, lrint_downward_test_data and
876 lrint_upward_test_data.
877 (lrint_test): Use ALL_RM_TEST.
878 (lrint_tonearest_test_data): Remove.
879 (lrint_test_tonearest): Likewise.
880 (lrint_towardzero_test_data): Likewise.
881 (lrint_test_towardzero): Likewise.
882 (lrint_downward_test_data): Likewise.
883 (lrint_test_downward): Likewise.
884 (lrint_upward_test_data): Likewise.
885 (lrint_test_upward): Likewise.
886 (llrint_test_data): Merge in per-rounding-mode tests and results
887 from llrint_tonearest_test_data, llrint_towardzero_test_data,
888 llrint_downward_test_data and llrint_upward_test_data.
889 (llrint_test): Use ALL_RM_TEST.
890 (llrint_tonearest_test_data): Remove.
891 (llrint_test_tonearest): Likewise.
892 (llrint_towardzero_test_data): Likewise.
893 (llrint_test_towardzero): Likewise.
894 (llrint_downward_test_data): Likewise.
895 (llrint_test_downward): Likewise.
896 (llrint_upward_test_data): Likewise.
897 (llrint_test_upward): Likewise.
898 (rint_test_data): Merge in per-rounding-mode tests and results
899 from rint_tonearest_test_data, rint_towardzero_test_data,
900 rint_downward_test_data and rint_upward_test_data. Add
901 per-rounding-mode results for tests not in those arrays.
902 (rint_test): Use ALL_RM_TEST.
903 (rint_tonearest_test_data): Remove.
904 (rint_test_tonearest): Likewise.
905 (rint_towardzero_test_data): Likewise.
906 (rint_test_towardzero): Likewise.
907 (rint_downward_test_data): Likewise.
908 (rint_test_downward): Likewise.
909 (rint_upward_test_data): Likewise.
910 (rint_test_upward): Likewise.
911 (main): Don't call removed functions.
912
5006148e
RM
9132014-03-14 Roland McGrath <roland@hack.frob.com>
914
915 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
916 "Compiled on ..." crapola. It is anti-useful.
917
d6fe5e58
JM
9182014-03-14 Joseph Myers <joseph@codesourcery.com>
919
920 * scripts/evaluate-test.sh: Handle fourth argument to determine
921 whether test run should stop on failure.
922 * Makeconfig (stop-on-test-failure): New variable.
923 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
924 $(stop-on-test-failure).
925 * Makefile (tests): Give a summary of results from testing and
926 exit with failure status if they include an ERROR or FAIL.
927 (xtests): Likewise.
928 * manual/install.texi (Configuring and compiling): Mention
929 stop-on-test-failure=y.
930 * INSTALL: Regenerated.
931
498a2233
RM
9322014-03-14 Roland McGrath <roland@hack.frob.com>
933
22dbc19d
RM
934 * scripts/versionlist.awk: New file.
935 * Makerules [$(build-shared) = yes]
936 (postclean-generated): Add Versions.def, not Versions.def.v and
937 Versions.def.v.i.
938 ($(common-objpfx)Versions.def.v.i): Target removed.
939 ($(common-objpfx)Versions.def): New target.
940 ($(common-objpfx)Versions.all): Depend on that rather that
941 $(common-objpfx)Versions.def.v.
942 * Versions.def: File removed.
943
498a2233
RM
944 * Makeconfig (+gccwarn): Add -Wundef.
945 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
946 a dl-sysdep.h breaking its contract.
947 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
948 * include/stackinfo.h: New file.
949 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
950 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
951 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
952 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
953 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
954 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
955 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
956 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
957 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
958 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
959 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
960 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
961 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
962 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
963 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
964
c7de5025
AZ
9652014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
966
967 [BZ #16707]
968 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
969 implementation.
970 * math/libm-test.inc (round_test_data): Add more tests.
971
98fb27a3
AZ
9722014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973
974 [BZ #16706]
975 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
976 implementation.
977 * math/libm-test.inc (nearbyint_test_data): Add more tests.
978
374f7f61
AZ
9792014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
980
981 [BZ #16701]
982 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
983 implementation.
984 * math/libm-test.inc (ceil_test_data): Add more tests.
985
4655c291
AZ
9862014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987
988 * math/libm-test.inc (trunc_test_data): Add more tests related to
989 BZ#16414.
990
d7329d4b
RM
9912014-03-14 Roland McGrath <roland@hack.frob.com>
992
993 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
994 with #if rather than #ifdef.
995 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
996
aa4de9ce
L
9972014-03-14 H.J. Lu <hongjiu.lu@intel.com>
998
999 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1000 first. Disable AVX-512 GCC support if assembler doesn't support
1001 it.
1002 * sysdeps/x86_64/configure: Regenerated.
1003
2e03fae7
CD
10042014-03-13 Carlos O'Donell <carlos@redhat.com>
1005
1006 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1007 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1008 (__old_pthread_attr_setstack): Likewise.
1009 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1010 [!_STACK_GROWS_DOWN]: Likewise.
1011
43ca83ec
MF
10122014-03-13 Mike Frysinger <vapier@gentoo.org>
1013
1014 * config.make.in (have-bash2): Delete.
1015 * configure.ac (libc_cv_have_bash2): Delete.
1016 * configure: Regenerate.
1017 * elf/Makefile (common-ldd-rewrite): Rename to ...
1018 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1019 (sh-ldd-rewrite): Delete.
1020 (bash-ldd-rewrite): Delete.
1021 (have-bash2): Delete checks.
1022 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1023
c66e48b4
MF
10242014-03-13 Mike Frysinger <vapier@gentoo.org>
1025
1026 * config.make.in (have-ksh): Delete.
1027 (KSH): Delete.
1028 * configure.ac (libc_cv_have_ksh): Delete.
1029 * configure: Regenerate.
1030
b93834ef
MF
10312014-03-13 Mike Frysinger <vapier@gentoo.org>
1032
1033 * elf/Makefile: Delete $(have-ksh) check.
1034 ($(objpfx)sotruss): Change KSH to BASH.
1035 * elf/sotruss.ksh: Rename to ...
1036 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1037 function style to match POSIX. Drop ksh vim mode setting.
1038
f3a4632a
MF
10392014-03-13 Mike Frysinger <vapier@gentoo.org>
1040
1041 * manual/time.texi (Specifying the Time Zone with TZ): Change
1042 Tuesday to Thursday.
1043
5896c8bd
MF
10442014-03-13 Mike Frysinger <vapier@gentoo.org>
1045
1046 * debug/tst-longjmp_chk2.c: Update header comment.
1047 (stackoverflow_handler): Add comment. Call assert on pass value.
1048
2d63a517
IZ
10492014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1050
1051 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1052 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1053 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1054 (La_x86_64_vector): Add zmm.
1055 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1056 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1057 ($(objpfx)tst-audit10): New target.
1058 ($(objpfx)tst-audit10.out): Likewise.
1059 (tst-audit10-ENV): New.
1060 (AVX512-CFLAGS): Likewise.
1061 (CFLAGS-tst-audit10.c): Likewise.
1062 (CFLAGS-tst-auditmod10a.c): Likewise.
1063 (CFLAGS-tst-auditmod10b.c): Likewise.
1064 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1065 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1066 * sysdeps/x86_64/configure: Regenerated.
1067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1068 AVX-512 zmm register support.
1069 (_dl_x86_64_save_sse): Likewise.
1070 (_dl_x86_64_restore_sse): Likewise.
1071 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1072 size vector registers.
1073 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1074 (ZMM_SIZE): Likewise.
1075 * sysdeps/x86_64/tst-audit10.c: New file.
1076 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1077 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1078
44c4e5d5
RM
10792014-03-13 Roland McGrath <roland@hack.frob.com>
1080
1081 * configure.ac (HAVE_EHDR_START): New check.
1082 * configure: Regenerated.
1083 * config.h.in (HAVE_EHDR_START): New #undef.
1084 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1085 assuming the lowest-addressed segment maps the start of the file.
1086
acd6e389
JM
10872014-03-13 Joseph Myers <joseph@codesourcery.com>
1088
1089 * INSTALL: Regenerated.
1090
6f918f36
WN
10912014-03-13 Will Newton <will.newton@linaro.org>
1092
1093 * manual/setjmp.texi (System V contexts): Improve
1094 clarity and grammar of documentation.
1095
798212a0
PP
10962014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1097
1098 [BZ #16381]
798212a0 1099 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1100 (tests-pie): Add tst-pie2.
798212a0
PP
1101 * elf/tst-pie2.c: New file.
1102 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1103 for ET_EXEC.
1104 * elf/rtld.c (map_doit): Load executable as lt_executable.
1105 (dl_main): Likewise.
1106
abe6d90c
JM
11072014-03-12 Joseph Myers <joseph@codesourcery.com>
1108
1109 [BZ #16642]
1110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1111 (__ASSUME_PSELECT): Undefine.
1112
dd3946c6
AZ
11132014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1114
1115 [BZ #16689]
1116 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1117 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1118 static build.
1119 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1120 selector for static builds.
1121
c44496df
SP
11222014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1123
1124 [BZ #16695]
1125 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1126 key in the buffer.
1127
27c7220a
AZ
11282014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1129
1130 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1131 selector for static builds.
1132
600fa361
JM
11332014-03-11 Joseph Myers <joseph@codesourcery.com>
1134
76c96cf7
JM
1135 * sysdeps/mips/math_private.h [__mips_hard_float]
1136 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1137 libc_feresetround_mips_ctx.
1138 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1139 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1140 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1141
600fa361
JM
1142 [BZ #16677]
1143 * math/s_nextafter.c (__nextafter): Do not return value from
1144 overflowing computation.
1145 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1146 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1147 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1148 Likewise.
1149 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1150 Likewise.
1151 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1152 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1153
d7706c32
RM
11542014-03-11 Roland McGrath <roland@hack.frob.com>
1155
1156 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1157 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1158 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1159 the new mov targetting sp.
1160
4facea47
AZ
11612014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1162
1163 [BZ #16683]
1164 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1165 Define it for static builds as well.
1166 (NO_BZERO_IMPL): Likewise.
1167
e65caf1f
VR
11682014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1169
1170 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1171 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1172 multiarch strspn for PPC64.
1173 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1174 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1176 (__libc_ifunc_impl_list): Likewise.
1177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1178 multiarch optimizations
1179 * string/strspn.c (strspn): Using macro to redefine symbol name.
1180
ba9cc071
AZ
11812014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1182 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1183
1184 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1185 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1186 multiarch strncat for PPC64.
1187 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1188 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1190 (__libc_ifunc_impl_list): Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1192 multiarch optimizations
1193
8b4ff974
SP
11942014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1195
1196 [BZ #16639]
1197 * nscd/nscd.service: Make service type forking.
1198
54b46a4b
AZ
11992014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1200
1201 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1202 sign in non default rounding modes.
1203 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1204
e9996ef7
JM
12052014-03-08 Joseph Myers <joseph@codesourcery.com>
1206
1207 * math/libm-test.inc (ALL_RM_TEST): New macro.
1208 (ceil_test): Use ALL_RM_TEST.
1209 (cimag_test): Likewise.
1210 (conj_test): Likewise.
1211 (copysign_test): Likewise.
1212 (cproj_test): Likewise.
1213 (creal_test): Likewise.
1214 (fabs_test): Likewise.
1215 (floor_test): Likewise.
1216 (fmax_test): Likewise.
1217 (fmin_test): Likewise.
1218 (fmod_test): Likewise.
1219 (fpclassify_test): Likewise.
1220 (frexp_test): Likewise.
1221 (ilogb_test): Likewise.
1222 (isfinite_test): Likewise.
1223 (finite_test): Likewise.
1224 (isgreater_test): Likewise.
1225 (isgreaterequal_test): Likewise.
1226 (isinf_test): Likewise.
1227 (isless_test): Likewise.
1228 (islessequal_test): Likewise.
1229 (islessgreater_test): Likewise.
1230 (isnan_test): Likewise.
1231 (isnormal_test): Likewise.
1232 (issignaling_test): Likewise.
1233 (isunordered_test): Likewise.
1234 (logb_test): Likewise.
1235 (logb_downward_test_data): Remove.
1236 (logb_test_downward): Likewise.
1237 (lround_test): Use ALL_RM_TEST.
1238 (llround_test): Likewise.
1239 (modf_test): Likewise.
1240 (nexttoward_test): Likewise.
1241 (remainder_test): Likewise.
1242 (drem_test): Likewise.
1243 (remainder_tonearest_test_data): Likewise.
1244 (remainder_test_tonearest): Likewise.
1245 (drem_test_tonearest): Likewise.
1246 (remainder_towardzero_test_data): Likewise.
1247 (remainder_test_towardzero): Likewise.
1248 (drem_test_towardzero): Likewise.
1249 (remainder_downward_test_data): Likewise.
1250 (remainder_test_downward): Likewise.
1251 (drem_test_downward): Likewise.
1252 (remainder_upward_test_data): Likewise.
1253 (remainder_test_upward): Likewise.
1254 (drem_test_upward): Likewise.
1255 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1256 (round_test): Use ALL_RM_TEST.
1257 (signbit_test): Likewise.
1258 (trunc_test): Likewise.
1259 (significand_test): Likewise.
1260 (main): Don't call removed functions.
1261
bc61d27c
JM
12622014-03-07 Joseph Myers <joseph@codesourcery.com>
1263
5c780849
JM
1264 [BZ #16674]
1265 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1266 || __USE_XOPEN2K8].
1267 (ILL_ILLOPN): Likewise.
1268 (ILL_ILLADR): Likewise.
1269 (ILL_ILLTRP): Likewise.
1270 (ILL_PRVOPC): Likewise.
1271 (ILL_PRVREG): Likewise.
1272 (ILL_COPROC): Likewise.
1273 (ILL_BADSTK): Likewise.
1274 (FPE_INTDIV): Likewise.
1275 (FPE_INTOVF): Likewise.
1276 (FPE_FLTDIV): Likewise.
1277 (FPE_FLTOVF): Likewise.
1278 (FPE_FLTUND): Likewise.
1279 (FPE_FLTRES): Likewise.
1280 (FPE_FLTINV): Likewise.
1281 (FPE_FLTSUB): Likewise.
1282 (SEGV_MAPERR): Likewise.
1283 (SEGV_ACCERR): Likewise.
1284 (BUS_ADRALN): Likewise.
1285 (BUS_ADRERR): Likewise.
1286 (BUS_OBJERR): Likewise.
1287 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1288 (TRAP_TRACE): Likewise.
1289 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1290 __USE_XOPEN2K8].
1291 (CLD_KILLED): Likewise.
1292 (CLD_DUMPED): Likewise.
1293 (CLD_TRAPPED): Likewise.
1294 (CLD_STOPPED): Likewise.
1295 (CLD_CONTINUED): Likewise.
1296 (POLL_IN): Likewise.
1297 (POLL_OUT): Likewise.
1298 (POLL_MSG): Likewise.
1299 (POLL_ERR): Likewise.
1300 (POLL_PRI): Likewise.
1301 (POLL_HUP): Likewise.
1302 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1303 Likewise.
1304 (ILL_ILLOPN): Likewise.
1305 (ILL_ILLADR): Likewise.
1306 (ILL_ILLTRP): Likewise.
1307 (ILL_PRVOPC): Likewise.
1308 (ILL_PRVREG): Likewise.
1309 (ILL_COPROC): Likewise.
1310 (ILL_BADSTK): Likewise.
1311 (FPE_INTDIV): Likewise.
1312 (FPE_INTOVF): Likewise.
1313 (FPE_FLTDIV): Likewise.
1314 (FPE_FLTOVF): Likewise.
1315 (FPE_FLTUND): Likewise.
1316 (FPE_FLTRES): Likewise.
1317 (FPE_FLTINV): Likewise.
1318 (FPE_FLTSUB): Likewise.
1319 (SEGV_MAPERR): Likewise.
1320 (SEGV_ACCERR): Likewise.
1321 (BUS_ADRALN): Likewise.
1322 (BUS_ADRERR): Likewise.
1323 (BUS_OBJERR): Likewise.
1324 (BUS_MCEERR_AR): Likewise.
1325 (BUS_MCEERR_AO): Likewise.
1326 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1327 (TRAP_TRACE): Likewise.
1328 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1329 __USE_XOPEN2K8].
1330 (CLD_KILLED): Likewise.
1331 (CLD_DUMPED): Likewise.
1332 (CLD_TRAPPED): Likewise.
1333 (CLD_STOPPED): Likewise.
1334 (CLD_CONTINUED): Likewise.
1335 (POLL_IN): Likewise.
1336 (POLL_OUT): Likewise.
1337 (POLL_MSG): Likewise.
1338 (POLL_ERR): Likewise.
1339 (POLL_PRI): Likewise.
1340 (POLL_HUP): Likewise.
1341 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1342 (ILL_ILLOPN): Likewise.
1343 (ILL_ILLADR): Likewise.
1344 (ILL_ILLTRP): Likewise.
1345 (ILL_PRVOPC): Likewise.
1346 (ILL_PRVREG): Likewise.
1347 (ILL_COPROC): Likewise.
1348 (ILL_BADSTK): Likewise.
1349 (FPE_INTDIV): Likewise.
1350 (FPE_INTOVF): Likewise.
1351 (FPE_FLTDIV): Likewise.
1352 (FPE_FLTOVF): Likewise.
1353 (FPE_FLTUND): Likewise.
1354 (FPE_FLTRES): Likewise.
1355 (FPE_FLTINV): Likewise.
1356 (FPE_FLTSUB): Likewise.
1357 (SEGV_MAPERR): Likewise.
1358 (SEGV_ACCERR): Likewise.
1359 (BUS_ADRALN): Likewise.
1360 (BUS_ADRERR): Likewise.
1361 (BUS_OBJERR): Likewise.
1362 (BUS_MCEERR_AR): Likewise.
1363 (BUS_MCEERR_AO): Likewise.
1364 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1365 (TRAP_TRACE): Likewise.
1366 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1367 __USE_XOPEN2K8].
1368 (CLD_KILLED): Likewise.
1369 (CLD_DUMPED): Likewise.
1370 (CLD_TRAPPED): Likewise.
1371 (CLD_STOPPED): Likewise.
1372 (CLD_CONTINUED): Likewise.
1373 (POLL_IN): Likewise.
1374 (POLL_OUT): Likewise.
1375 (POLL_MSG): Likewise.
1376 (POLL_ERR): Likewise.
1377 (POLL_PRI): Likewise.
1378 (POLL_HUP): Likewise.
1379 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1380 Likewise.
1381 (ILL_ILLOPN): Likewise.
1382 (ILL_ILLADR): Likewise.
1383 (ILL_ILLTRP): Likewise.
1384 (ILL_PRVOPC): Likewise.
1385 (ILL_PRVREG): Likewise.
1386 (ILL_COPROC): Likewise.
1387 (ILL_BADSTK): Likewise.
1388 (ILL_BADIADDR): Likewise.
1389 (ILL_BREAK): Likewise.
1390 (FPE_INTDIV): Likewise.
1391 (FPE_INTOVF): Likewise.
1392 (FPE_FLTDIV): Likewise.
1393 (FPE_FLTOVF): Likewise.
1394 (FPE_FLTUND): Likewise.
1395 (FPE_FLTRES): Likewise.
1396 (FPE_FLTINV): Likewise.
1397 (FPE_FLTSUB): Likewise.
1398 (FPE_DECOVF): Likewise.
1399 (FPE_DECDIV): Likewise.
1400 (FPE_DECERR): Likewise.
1401 (FPE_INVASC): Likewise.
1402 (FPE_INVDEC): Likewise.
1403 (SEGV_MAPERR): Likewise.
1404 (SEGV_ACCERR): Likewise.
1405 (SEGV_PSTKOVF): Likewise.
1406 (BUS_ADRALN): Likewise.
1407 (BUS_ADRERR): Likewise.
1408 (BUS_OBJERR): Likewise.
1409 (BUS_MCEERR_AR): Likewise.
1410 (BUS_MCEERR_AO): Likewise.
1411 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1412 (TRAP_TRACE): Likewise.
1413 (TRAP_BRANCH): Likewise.
1414 (TRAP_HWBKPT): Likewise.
1415 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1416 __USE_XOPEN2K8].
1417 (CLD_KILLED): Likewise.
1418 (CLD_DUMPED): Likewise.
1419 (CLD_TRAPPED): Likewise.
1420 (CLD_STOPPED): Likewise.
1421 (CLD_CONTINUED): Likewise.
1422 (POLL_IN): Likewise.
1423 (POLL_OUT): Likewise.
1424 (POLL_MSG): Likewise.
1425 (POLL_ERR): Likewise.
1426 (POLL_PRI): Likewise.
1427 (POLL_HUP): Likewise.
1428 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1429 (ILL_ILLOPN): Likewise.
1430 (ILL_ILLADR): Likewise.
1431 (ILL_ILLTRP): Likewise.
1432 (ILL_PRVOPC): Likewise.
1433 (ILL_PRVREG): Likewise.
1434 (ILL_COPROC): Likewise.
1435 (ILL_BADSTK): Likewise.
1436 (FPE_INTDIV): Likewise.
1437 (FPE_INTOVF): Likewise.
1438 (FPE_FLTDIV): Likewise.
1439 (FPE_FLTOVF): Likewise.
1440 (FPE_FLTUND): Likewise.
1441 (FPE_FLTRES): Likewise.
1442 (FPE_FLTINV): Likewise.
1443 (FPE_FLTSUB): Likewise.
1444 (SEGV_MAPERR): Likewise.
1445 (SEGV_ACCERR): Likewise.
1446 (BUS_ADRALN): Likewise.
1447 (BUS_ADRERR): Likewise.
1448 (BUS_OBJERR): Likewise.
1449 (BUS_MCEERR_AR): Likewise.
1450 (BUS_MCEERR_AO): Likewise.
1451 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1452 (TRAP_TRACE): Likewise.
1453 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1454 __USE_XOPEN2K8].
1455 (CLD_KILLED): Likewise.
1456 (CLD_DUMPED): Likewise.
1457 (CLD_TRAPPED): Likewise.
1458 (CLD_STOPPED): Likewise.
1459 (CLD_CONTINUED): Likewise.
1460 (POLL_IN): Likewise.
1461 (POLL_OUT): Likewise.
1462 (POLL_MSG): Likewise.
1463 (POLL_ERR): Likewise.
1464 (POLL_PRI): Likewise.
1465 (POLL_HUP): Likewise.
1466 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1467 (ILL_ILLOPN): Likewise.
1468 (ILL_ILLADR): Likewise.
1469 (ILL_ILLTRP): Likewise.
1470 (ILL_PRVOPC): Likewise.
1471 (ILL_PRVREG): Likewise.
1472 (ILL_COPROC): Likewise.
1473 (ILL_BADSTK): Likewise.
1474 (FPE_INTDIV): Likewise.
1475 (FPE_INTOVF): Likewise.
1476 (FPE_FLTDIV): Likewise.
1477 (FPE_FLTOVF): Likewise.
1478 (FPE_FLTUND): Likewise.
1479 (FPE_FLTRES): Likewise.
1480 (FPE_FLTINV): Likewise.
1481 (FPE_FLTSUB): Likewise.
1482 (SEGV_MAPERR): Likewise.
1483 (SEGV_ACCERR): Likewise.
1484 (BUS_ADRALN): Likewise.
1485 (BUS_ADRERR): Likewise.
1486 (BUS_OBJERR): Likewise.
1487 (BUS_MCEERR_AR): Likewise.
1488 (BUS_MCEERR_AO): Likewise.
1489 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1490 (TRAP_TRACE): Likewise.
1491 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1492 __USE_XOPEN2K8].
1493 (CLD_KILLED): Likewise.
1494 (CLD_DUMPED): Likewise.
1495 (CLD_TRAPPED): Likewise.
1496 (CLD_STOPPED): Likewise.
1497 (CLD_CONTINUED): Likewise.
1498 (POLL_IN): Likewise.
1499 (POLL_OUT): Likewise.
1500 (POLL_MSG): Likewise.
1501 (POLL_ERR): Likewise.
1502 (POLL_PRI): Likewise.
1503 (POLL_HUP): Likewise.
1504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1505 (ILL_ILLOPN): Likewise.
1506 (ILL_ILLADR): Likewise.
1507 (ILL_ILLTRP): Likewise.
1508 (ILL_PRVOPC): Likewise.
1509 (ILL_PRVREG): Likewise.
1510 (ILL_COPROC): Likewise.
1511 (ILL_BADSTK): Likewise.
1512 (FPE_INTDIV): Likewise.
1513 (FPE_INTOVF): Likewise.
1514 (FPE_FLTDIV): Likewise.
1515 (FPE_FLTOVF): Likewise.
1516 (FPE_FLTUND): Likewise.
1517 (FPE_FLTRES): Likewise.
1518 (FPE_FLTINV): Likewise.
1519 (FPE_FLTSUB): Likewise.
1520 (SEGV_MAPERR): Likewise.
1521 (SEGV_ACCERR): Likewise.
1522 (BUS_ADRALN): Likewise.
1523 (BUS_ADRERR): Likewise.
1524 (BUS_OBJERR): Likewise.
1525 (BUS_MCEERR_AR): Likewise.
1526 (BUS_MCEERR_AO): Likewise.
1527 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1528 (TRAP_TRACE): Likewise.
1529 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1530 __USE_XOPEN2K8].
1531 (CLD_KILLED): Likewise.
1532 (CLD_DUMPED): Likewise.
1533 (CLD_TRAPPED): Likewise.
1534 (CLD_STOPPED): Likewise.
1535 (CLD_CONTINUED): Likewise.
1536 (POLL_IN): Likewise.
1537 (POLL_OUT): Likewise.
1538 (POLL_MSG): Likewise.
1539 (POLL_ERR): Likewise.
1540 (POLL_PRI): Likewise.
1541 (POLL_HUP): Likewise.
1542 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1543 (ILL_ILLOPN): Likewise.
1544 (ILL_ILLADR): Likewise.
1545 (ILL_ILLTRP): Likewise.
1546 (ILL_PRVOPC): Likewise.
1547 (ILL_PRVREG): Likewise.
1548 (ILL_COPROC): Likewise.
1549 (ILL_BADSTK): Likewise.
1550 (ILL_DBLFLT): Likewise.
1551 (ILL_HARDWALL): Likewise.
1552 (FPE_INTDIV): Likewise.
1553 (FPE_INTOVF): Likewise.
1554 (FPE_FLTDIV): Likewise.
1555 (FPE_FLTOVF): Likewise.
1556 (FPE_FLTUND): Likewise.
1557 (FPE_FLTRES): Likewise.
1558 (FPE_FLTINV): Likewise.
1559 (FPE_FLTSUB): Likewise.
1560 (SEGV_MAPERR): Likewise.
1561 (SEGV_ACCERR): Likewise.
1562 (BUS_ADRALN): Likewise.
1563 (BUS_ADRERR): Likewise.
1564 (BUS_OBJERR): Likewise.
1565 (BUS_MCEERR_AR): Likewise.
1566 (BUS_MCEERR_AO): Likewise.
1567 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1568 (TRAP_TRACE): Likewise.
1569 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1570 __USE_XOPEN2K8].
1571 (CLD_KILLED): Likewise.
1572 (CLD_DUMPED): Likewise.
1573 (CLD_TRAPPED): Likewise.
1574 (CLD_STOPPED): Likewise.
1575 (CLD_CONTINUED): Likewise.
1576 (POLL_IN): Likewise.
1577 (POLL_OUT): Likewise.
1578 (POLL_MSG): Likewise.
1579 (POLL_ERR): Likewise.
1580 (POLL_PRI): Likewise.
1581 (POLL_HUP): Likewise.
1582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1583 (ILL_ILLOPN): Likewise.
1584 (ILL_ILLADR): Likewise.
1585 (ILL_ILLTRP): Likewise.
1586 (ILL_PRVOPC): Likewise.
1587 (ILL_PRVREG): Likewise.
1588 (ILL_COPROC): Likewise.
1589 (ILL_BADSTK): Likewise.
1590 (FPE_INTDIV): Likewise.
1591 (FPE_INTOVF): Likewise.
1592 (FPE_FLTDIV): Likewise.
1593 (FPE_FLTOVF): Likewise.
1594 (FPE_FLTUND): Likewise.
1595 (FPE_FLTRES): Likewise.
1596 (FPE_FLTINV): Likewise.
1597 (FPE_FLTSUB): Likewise.
1598 (SEGV_MAPERR): Likewise.
1599 (SEGV_ACCERR): Likewise.
1600 (BUS_ADRALN): Likewise.
1601 (BUS_ADRERR): Likewise.
1602 (BUS_OBJERR): Likewise.
1603 (BUS_MCEERR_AR): Likewise.
1604 (BUS_MCEERR_AO): Likewise.
1605 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1606 (TRAP_TRACE): Likewise.
1607 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1608 __USE_XOPEN2K8].
1609 (CLD_KILLED): Likewise.
1610 (CLD_DUMPED): Likewise.
1611 (CLD_TRAPPED): Likewise.
1612 (CLD_STOPPED): Likewise.
1613 (CLD_CONTINUED): Likewise.
1614 (POLL_IN): Likewise.
1615 (POLL_OUT): Likewise.
1616 (POLL_MSG): Likewise.
1617 (POLL_ERR): Likewise.
1618 (POLL_PRI): Likewise.
1619 (POLL_HUP): Likewise.
1620 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1621 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1622
bc61d27c
JM
1623 [BZ #16670]
1624 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1625 before #include of <time.h>.
1626 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1627 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1628 (test-xfail-UNIX98/sched.h/conform): Likewise.
1629
302949e2
MS
16302014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1631
1632 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1633 error absence of trapping exception support.
1634 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1635
a00f522a
JM
16362014-03-07 Joseph Myers <joseph@codesourcery.com>
1637
6f99f280
JM
1638 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1639 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1640 * timezone/Makefile (testdata): Move definition above include of
1641 Rules.
1642 (test-zones): New variable.
1643 (tests-special): Add zone files.
1644 (build-testdata): Use $(evaluate-test).
1645
0b20a9e8
JM
1646 * elf/Makefile (tests-special): Rename tests to end with .out.
1647 ($(objpfx)noload-mem): Likewise.
1648 ($(objpfx)tst-leaks1-mem): Likewise.
1649 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1650 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1651 $(objpfx)test-iconvconfig.out.
1652 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1653 set -e inside subshell and redirect output to file.
1654 * iconvdata/Makefile (generated): Rename tests to end with .out.
1655 Correct type.
1656 (tests-special): Rename tests to end with .out.
1657 ($(objpfx)mtrace-tst-loading): Likewise.
1658 * intl/Makefile (generated): Likewise.
1659 (tests-special): Likewise.
1660 ($(objpfx)mtrace-tst-gettext): Likewise.
1661 * misc/Makefile (generated): Likewise.
1662 (tests-special): Likewise.
1663 ($(objpfx)tst-error1-mem): Likewise.
1664 * nptl/Makefile (tests-special): Likewise.
1665 ($(objpfx)tst-stack3-mem): Likewise.
1666 (generated): Likewise.
1667 * posix/Makefile (generated): Likewise.
1668 (tests-special): Likewise.
1669 (xtests-special): Likewise.
1670 ($(objpfx)tst-fnmatch-mem): Likewise.
1671 ($(objpfx)bug-regex2-mem): Likewise.
1672 ($(objpfx)bug-regex14-mem): Likewise.
1673 ($(objpfx)bug-regex21-mem): Likewise.
1674 ($(objpfx)bug-regex31-mem): Likewise.
1675 ($(objpfx)tst-vfork3-mem): Likewise.
1676 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1677 ($(objpfx)tst-pcre-mem): Likewise.
1678 ($(objpfx)tst-boost-mem): Likewise.
1679 ($(objpfx)bug-ga2-mem): Likewise.
1680 ($(objpfx)bug-glob2-mem): Likewise.
1681 * resolv/Makefile (generate): Likewise.
1682 (tests-special): Likewise.
1683 (xtests-special): Likewise.
1684 (generated): Likewise.
1685 ($(objpfx)mtrace-tst-leaks): Likewise.
1686 ($(objpfx)mtrace-tst-leaks2): Likewise.
1687
265d52ab
JM
1688 * scripts/merge-test-results.sh: New file.
1689 * Makefile (tests-special-notdir): New variable.
1690 (tests): Run merge-test-results.sh.
1691 (xtests): Likewise.
1692 * Rules (tests-special-notdir): New variable.
1693 (xtests-special-notdir): Likewise.
1694 (tests): Run merge-test-results.sh
1695 (xtests): Likewise.
1696
54ee292d
JM
1697 * Makeconfig (test-xfail-name): New variable.
1698 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1699 compute variable name for expected failures.
1700 * conform/Makefile (conformtest-headers-data): New variable.
1701 (conformtest-standards): Likewise.
1702 (conformtest-headers-ISO): Likewise.
1703 (conformtest-headers-ISO99): Likewise.
1704 (conformtest-headers-ISO11): Likewise.
1705 (conformtest-headers-POSIX): Likewise.
1706 (conformtest-headers-XPG3): Likewise.
1707 (conformtest-headers-XPG4): Likewise.
1708 (conformtest-headers-UNIX98): Likewise.
1709 (conformtest-headers-XOPEN2K): Likewise.
1710 (conformtest-headers-POSIX2008): Likewise.
1711 (conformtest-headers-XOPEN2K8): Likewise.
1712 (conformtest-header-list-base): Likewise.
1713 (conformtest-header-list-tests): Likewise.
1714 (conformtest-header-base): Likewise.
1715 (conformtest-header-tests): Likewise.
1716 (tests-special): Add $(conformtest-header-list-tests). If
1717 [$(fast-check) && !$(cross-compiling)], add
1718 $(conformtest-header-tests) instead of
1719 $(objpfx)run-conformtest.out.
1720 (generated): Add $(conformtest-header-list-base). If
1721 [$(fast-check) && !$(cross-compiling)], add
1722 $(conformtest-header-base). Remove previous setting.
1723 ($(conformtest-header-list-tests)): New target.
1724 (test-xfail-run-conformtest): Remove variable.
1725 ($(objpfx)run-conformtest.out): Remove target.
1726 (test-xfail-ISO11/complex.h/conform): New variable.
1727 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1728 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1729 (test-xfail-XPG3/varargs.h/conform): Likewise.
1730 (test-xfail-XPG4/varargs.h/conform): Likewise.
1731 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1732 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1733 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1734 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1735 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1736 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1737 (test-xfail-XPG3/ftw.h/conform): Likewise.
1738 (test-xfail-XPG3/grp.h/conform): Likewise.
1739 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1740 (test-xfail-XPG3/limits.h/conform): Likewise.
1741 (test-xfail-XPG3/pwd.h/conform): Likewise.
1742 (test-xfail-XPG3/search.h/conform): Likewise.
1743 (test-xfail-XPG3/signal.h/conform): Likewise.
1744 (test-xfail-XPG3/stdio.h/conform): Likewise.
1745 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1746 (test-xfail-XPG3/string.h/conform): Likewise.
1747 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1748 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1749 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1750 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1751 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1752 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1753 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1754 (test-xfail-XPG3/termios.h/conform): Likewise.
1755 (test-xfail-XPG3/time.h/conform): Likewise.
1756 (test-xfail-XPG3/unistd.h/conform): Likewise.
1757 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1758 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1759 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1760 (test-xfail-XPG4/netdb.h/conform): Likewise.
1761 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1762 (test-xfail-XPG4/signal.h/conform): Likewise.
1763 (test-xfail-XPG4/stdio.h/conform): Likewise.
1764 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1765 (test-xfail-XPG4/stropts.h/conform): Likewise.
1766 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1767 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1768 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1769 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1770 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1771 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1772 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1773 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1774 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1775 (test-xfail-XPG4/termios.h/conform): Likewise.
1776 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1777 (test-xfail-XPG4/unistd.h/conform): Likewise.
1778 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1779 (test-xfail-POSIX/sched.h/conform): Likewise.
1780 (test-xfail-POSIX/signal.h/conform): Likewise.
1781 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1782 (test-xfail-POSIX/tar.h/conform): Likewise.
1783 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1784 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1785 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1786 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1787 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1788 (test-xfail-UNIX98/sched.h/conform): Likewise.
1789 (test-xfail-UNIX98/signal.h/conform): Likewise.
1790 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1791 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1792 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1793 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1794 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1795 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1796 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1797 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1798 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1799 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1800 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1801 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1802 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1803 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1804 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1805 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1806 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1807 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1808 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1809 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1810 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1811 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1812 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1813 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1814 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1815 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1816 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1817 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1818 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1819 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1820 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1821 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1822 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1823 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1824 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1825 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1826 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1827 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1828 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1829 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1830 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1831 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1832 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1833 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1834 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1835 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1836 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1837 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1838 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1839 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1840 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1841 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1842 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1843 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1844 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1845 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1846 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1847 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1848 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1849 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1850 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1851 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1852 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1853 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1854 (conformtest-cc-flags): Likewise.
1855 ($(conformtest-header-tests): New target.
1856 * conform/check-header-lists.sh: New file.
1857 * conform/run-conformtest.sh: Remove.
1858
a00f522a
JM
1859 * conform/conformtest.pl: Allow ' and \ in values given for
1860 constants.
1861 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1862 inclusion.
1863 [POSIX] (sys/types.h): Likewise.
1864 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1865 inclusion.
1866 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1867 inclusion.
1868 * conform/data/signal.h-data (SIGIO): Remove expectation.
1869 [XPG3] (SIGBUS): Do not expect.
1870 [POSIX || XPG3] (SIGPOLL): Likewise.
1871 [POSIX || XPG3] (SIGPROF): Likewise.
1872 [POSIX || XPG3] (SIGSYS): Likewise.
1873 [XPG3] (SIGTRAP): Likewise.
1874 [POSIX || XPG3] (SIGURG): Likewise.
1875 [POSIX || XPG3] (SIGVTALRM): Likewise.
1876 [POSIX || XPG3] (SIGXCPU): Likewise.
1877 [POSIX || XPG3] (SIGXFSZ): Likewise.
1878 [POSIX] (SA_SIGINFO): Expect.
1879 [XPG3] (siginfo_t): Do not expect type or contents.
1880 [POSIX] (si_pid): Do not expect element.
1881 [POSIX] (si_uid): Likewise.
1882 [POSIX] (si_addr): Likewise.
1883 [POSIX] (si_status): Likewise.
1884 [POSIX] (si_band): Likewise.
1885 [XPG4] (si_value): Likewise.
1886 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1887 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1888 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1889 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1890 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1891 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1892 [POSIX || XPG3] (ILL_COPROC): Likewise.
1893 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1894 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1895 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1896 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1897 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1898 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1899 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1900 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1901 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1902 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1903 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1904 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1905 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1906 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1907 [POSIX || XPG3] (CLD_EXITED): Likewise.
1908 [POSIX || XPG3] (CLD_KILLED): Likewise.
1909 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1910 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1911 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1912 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1913 [POSIX || XPG3] (POLL_IN): Likewise.
1914 [POSIX || XPG3] (POLL_OUT): Likewise.
1915 [POSIX || XPG3] (POLL_MSG): Likewise.
1916 [POSIX || XPG3] (POLL_ERR): Likewise.
1917 [POSIX || XPG3] (POLL_PRI): Likewise.
1918 [POSIX || XPG3] (POLL_HUP): Likewise.
1919 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1920 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1921 (SIG*): Do not allow.
1922 [XPG3] (si_*): Likewise.
1923 [XPG3] (SI_*): Likewise.
1924 [XPG3 || XPG4] (sigev_*): Likewise.
1925 [XPG3 || XPG4] (SIGEV_*): Likewise.
1926 [XPG3 || XPG4] (sival_*): Likewise.
1927 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1928 [POSIX || XPG3] (BUS_*): Likewise.
1929 [POSIX || XPG3] (CLD_*): Likewise.
1930 [POSIX || XPG3] (FPE_*): Likewise.
1931 [POSIX || XPG3] (ILL_*): Likewise.
1932 [POSIX || XPG3] (POLL_*): Likewise.
1933 [POSIX || XPG3] (SEGV_*): Likewise.
1934 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1935 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1936 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1937 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1938 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1939 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1940 Specify type and value.
1941 (TVERSLEN): Likewise.
1942 (REGTYPE): Likewise.
1943 (AREGTYPE): Likewise.
1944 (LNKTYPE): Likewise.
1945 (SYMTYPE): Likewise.
1946 (CHRTYPE): Likewise.
1947 (BLKTYPE): Likewise.
1948 (DIRTYPE): Likewise.
1949 (FIFOTYPE): Likewise.
1950 (CONTTYPE): Likewise.
1951 (TSUID): Likewise.
1952 (TSGID): Likewise.
1953 (TSVTX): Likewise.
1954 (TUREAD): Likewise.
1955 (TUWRITE): Likewise.
1956 (TUEXEC): Likewise.
1957 (TGREAD): Likewise.
1958 (TGWRITE): Likewise.
1959 (TGEXEC): Likewise.
1960 (TOREAD): Likewise.
1961 (TOWRITE): Likewise.
1962 (TOEXEC): Likewise.
1963 [POSIX] (TSVTX): Expect constant.
1964
aa97dee1
JM
19652014-03-06 Joseph Myers <joseph@codesourcery.com>
1966
f214606a
JM
1967 * Makefile (tests): Change dependencies to ....
1968 (tests-special): ... additions to this variable.
1969 (tests): Depend on $(tests-special).
1970 * Makerules (check-abi-list): New variable.
1971 (check-abi): Depend on $(check-abi-list).
1972 [$(subdir) = elf] (tests-special): Add
1973 $(objpfx)check-abi-libc.out.
1974 [$(build-shared) = yes && subdir] (tests-special): Add
1975 $(check-abi-list).
1976 [$(build-shared) = yes && subdir] (tests): Do not depend on
1977 check-abi.
1978 * Rules (tests): Depend on $(tests-special).
1979 (xtests): Depend on $(xtests-special).
1980 * catgets/Makefile (tests): Change dependencies to ....
1981 (tests-special): ... additions to this variable.
1982 * conform/Makefile (tests): Change dependencies to ....
1983 (tests-special): ... additions to this variable.
1984 * elf/Makefile (tests): Change dependencies to ....
1985 (tests-special): ... additions to this variable.
1986 * grp/Makefile (tests): Change dependencies to ....
1987 (tests-special): ... additions to this variable.
1988 * iconv/Makefile (xtests): Change dependencies to ....
1989 (xtests-special): ... additions to this variable.
1990 * iconvdata/Makefile (tests): Change dependencies to ....
1991 (tests-special): ... additions to this variable.
1992 * intl/Makefile (tests): Change dependencies to ....
1993 (tests-special): ... additions to this variable. Also add
1994 $(objpfx)tst-gettext.out.
1995 * io/Makefile (tests): Change dependencies to ....
1996 (tests-special): ... additions to this variable.
1997 * libio/Makefile (tests): Change dependencies to ....
1998 (tests-special): ... additions to this variable.
1999 * malloc/Makefile (tests): Change dependencies to ....
2000 (tests-special): ... additions to this variable.
2001 * misc/Makefile (tests): Change dependencies to ....
2002 (tests-special): ... additions to this variable.
2003 * nptl/Makefile (tests): Change dependencies to ....
2004 (tests-special): ... additions to this variable.
2005 * nptl_db/Makefile (tests): Change dependencies to ....
2006 (tests-special): ... additions to this variable.
2007 * posix/Makefile (tests): Change dependencies to ....
2008 (tests-special): ... additions to this variable.
2009 (xtests): Change dependencies to ....
2010 (xtests-special): ... additions to this variable.
2011 * resolv/Makefile (tests): Change dependencies to ....
2012 (tests-special): ... additions to this variable.
2013 (xtests): Change dependencies to ....
2014 (xtests-special): ... additions to this variable.
2015 * stdio-common/Makefile (tests): Change dependencies to ....
2016 (tests-special): ... additions to this variable.
2017 (do-tst-unbputc): Remove target.
2018 (do-tst-printf): Likewise.
2019 * stdlib/Makefile (tests): Change dependencies to ....
2020 (tests-special): ... additions to this variable.
2021 * string/Makefile (tests): Change dependencies to ....
2022 (tests-special): ... additions to this variable.
2023 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2024 (tests-special): ... additions to this variable.
2025
81700b53
JM
2026 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2027 whole file.
2028 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2029 whole file.
2030 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2031 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2032
2ea18461
JM
2033 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2034 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2035 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2036 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2037 * conform/data/libgen.h-data [XPG3]: Likewise.
2038 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2039 * conform/data/ndbm.h-data [XPG3]: Likewise.
2040 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2041 * conform/data/netdb.h-data [XPG3]: Likewise.
2042 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2043 * conform/data/poll.h-data [XPG3]: Likewise.
2044 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2045 * conform/data/strings.h-data [XPG3]: Likewise.
2046 * conform/data/stropts.h-data [XPG3]: Likewise.
2047 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2048 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2049 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2050 Likewise.
2051 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2052 * conform/data/sys/time.h-data [XPG3]: Likewise.
2053 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2054 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2055 * conform/data/sys/un.h-data [XPG3]: Likewise.
2056 * conform/data/syslog.h-data [XPG3]: Likewise.
2057 * conform/data/ucontext.h-data [XPG3]: Likewise.
2058 * conform/data/utmpx.h-data [XPG3]: Likewise.
2059 * conform/data/varargs.h-data [UNIX98]: Enable file.
2060
355bc986
JM
2061 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2062
215db402
JM
2063 * math/libm-test.inc (struct test_f_f_data): Move expected results
2064 into structure for each rounding mode.
2065 (struct test_ff_f_data): Likewise.
2066 (struct test_ff_f_data_nexttoward): Likewise.
2067 (struct test_fi_f_data): Likewise.
2068 (struct test_fl_f_data): Likewise.
2069 (struct test_if_f_data): Likewise.
2070 (struct test_fff_f_data): Likewise.
2071 (struct test_c_f_data): Likewise.
2072 (struct test_f_f1_data): Likewise.
2073 (struct test_fF_f1_data): Likewise.
2074 (struct test_ffI_f1_data): Likewise.
2075 (struct test_c_c_data): Likewise.
2076 (struct test_cc_c_data): Likewise.
2077 (struct test_f_i_data): Likewise.
2078 (struct test_ff_i_data): Likewise.
2079 (struct test_f_l_data): Likewise.
2080 (struct test_f_L_data): Likewise.
2081 (struct test_fFF_11_data): Likewise.
2082 (RM_): New macro.
2083 (RM_FE_DOWNWARD): Likewise.
2084 (RM_FE_TONEAREST): Likewise.
2085 (RM_FE_TOWARDZERO): Likewise.
2086 (RM_FE_UPWARD): Likewise.
2087 (RUN_TEST_LOOP_f_f): Update references to expected results.
2088 (RUN_TEST_LOOP_2_f): Likewise.
2089 (RUN_TEST_LOOP_fff_f): Likewise.
2090 (RUN_TEST_LOOP_c_f): Likewise.
2091 (RUN_TEST_LOOP_f_f1): Likewise.
2092 (RUN_TEST_LOOP_fF_f1): Likewise.
2093 (RUN_TEST_LOOP_fI_f1): Likewise.
2094 (RUN_TEST_LOOP_ffI_f1): Likewise.
2095 (RUN_TEST_LOOP_c_c): Likewise.
2096 (RUN_TEST_LOOP_cc_c): Likewise.
2097 (RUN_TEST_LOOP_f_i): Likewise.
2098 (RUN_TEST_LOOP_f_i_tg): Likewise.
2099 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2100 (RUN_TEST_LOOP_f_b): Likewise.
2101 (RUN_TEST_LOOP_f_b_tg): Likewise.
2102 (RUN_TEST_LOOP_f_l): Likewise.
2103 (RUN_TEST_LOOP_f_L): Likewise.
2104 (RUN_TEST_LOOP_fFF_11): Likewise.
2105 * math/gen-libm-test.pl (parse_args): Output four copies of
2106 expected results for each test.
2107
67737b8f
JM
2108 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2109 (__ASSUME_UTIMES): Remove.
2110 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2111 (__ASSUME_UTIMES): Likewise.
2112
aa97dee1
JM
2113 * math/gen-auto-libm-tests.c: Update comment on output format.
2114 (output_for_one_input_case): Generate before-rounding and
2115 after-rounding information as conditions on output flags not
2116 floating-point format.
2117 * math/auto-libm-test-out: Regenerated.
2118 * math/gen-libm-test.pl (cond_value): New function.
2119 (or_cond_value): Use cond_value.
2120 (generate_testfile): Handle conditional exceptions.
2121
e6b6a857
JM
21222014-03-05 Joseph Myers <joseph@codesourcery.com>
2123
2f0a0f44
JM
2124 * math/libm-test.inc (max_valid_error): New variable.
2125 (init_max_error): Take new argument specifying whether function
2126 results are exactly determined. Set max_valid_error and bound
2127 other variables for errors based on this argument.
2128 (set_max_error): Do not record results above max_valid_error.
2129 (check_float_internal): Only accept errors of up to 0.5ulps if
2130 also at most max_valid_error.
2131 (START): Take new argument EXACT and pass it to init_max_error.
2132 (acos_test): Update call to START.
2133 (acos_test_tonearest): Likewise.
2134 (acos_test_towardzero): Likewise.
2135 (acos_test_downward): Likewise.
2136 (acos_test_upward): Likewise.
2137 (acosh_test): Likewise.
2138 (asin_test): Likewise.
2139 (asin_test_tonearest): Likewise.
2140 (asin_test_towardzero): Likewise.
2141 (asin_test_downward): Likewise.
2142 (asin_test_upward): Likewise.
2143 (asinh_test): Likewise.
2144 (atan_test): Likewise.
2145 (atanh_test): Likewise.
2146 (atan2_test): Likewise.
2147 (cabs_test): Likewise.
2148 (cacos_test): Likewise.
2149 (cacosh_test): Likewise.
2150 (carg_test): Likewise.
2151 (casin_test): Likewise.
2152 (casinh_test): Likewise.
2153 (catan_test): Likewise.
2154 (catanh_test): Likewise.
2155 (cbrt_test): Likewise.
2156 (ccos_test): Likewise.
2157 (ccosh_test): Likewise.
2158 (ceil_test): Likewise.
2159 (cexp_test): Likewise.
2160 (cimag_test): Likewise.
2161 (clog_test): Likewise.
2162 (clog10_test): Likewise.
2163 (conj_test): Likewise.
2164 (copysign_test): Likewise.
2165 (cos_test): Likewise.
2166 (cos_test_tonearest): Likewise.
2167 (cos_test_towardzero): Likewise.
2168 (cos_test_downward): Likewise.
2169 (cos_test_upward): Likewise.
2170 (cosh_test): Likewise.
2171 (cosh_test_tonearest): Likewise.
2172 (cosh_test_towardzero): Likewise.
2173 (cosh_test_downward): Likewise.
2174 (cosh_test_upward): Likewise.
2175 (cpow_test): Likewise.
2176 (cproj_test): Likewise.
2177 (creal_test): Likewise.
2178 (csin_test): Likewise.
2179 (csinh_test): Likewise.
2180 (csqrt_test): Likewise.
2181 (ctan_test): Likewise.
2182 (ctan_test_tonearest): Likewise.
2183 (ctan_test_towardzero): Likewise.
2184 (ctan_test_downward): Likewise.
2185 (ctan_test_upward): Likewise.
2186 (ctanh_test): Likewise.
2187 (ctanh_test_tonearest): Likewise.
2188 (ctanh_test_towardzero): Likewise.
2189 (ctanh_test_downward): Likewise.
2190 (ctanh_test_upward): Likewise.
2191 (erf_test): Likewise.
2192 (erfc_test): Likewise.
2193 (exp_test): Likewise.
2194 (exp_test_tonearest): Likewise.
2195 (exp_test_towardzero): Likewise.
2196 (exp_test_downward): Likewise.
2197 (exp_test_upward): Likewise.
2198 (exp10_test): Likewise.
2199 (exp10_test_tonearest): Likewise.
2200 (exp10_test_towardzero): Likewise.
2201 (exp10_test_downward): Likewise.
2202 (exp10_test_upward): Likewise.
2203 (pow10_test): Likewise.
2204 (exp2_test): Likewise.
2205 (expm1_test): Likewise.
2206 (expm1_test_tonearest): Likewise.
2207 (expm1_test_towardzero): Likewise.
2208 (expm1_test_downward): Likewise.
2209 (expm1_test_upward): Likewise.
2210 (fabs_test): Likewise.
2211 (fdim_test): Likewise.
2212 (floor_test): Likewise.
2213 (fma_test): Likewise.
2214 (fma_test_towardzero): Likewise.
2215 (fma_test_downward): Likewise.
2216 (fma_test_upward): Likewise.
2217 (fmax_test): Likewise.
2218 (fmin_test): Likewise.
2219 (fmod_test): Likewise.
2220 (fpclassify_test): Likewise.
2221 (frexp_test): Likewise.
2222 (hypot_test): Likewise.
2223 (ilogb_test): Likewise.
2224 (isfinite_test): Likewise.
2225 (finite_test): Likewise.
2226 (isgreater_test): Likewise.
2227 (isgreaterequal_test): Likewise.
2228 (isinf_test): Likewise.
2229 (isless_test): Likewise.
2230 (islessequal_test): Likewise.
2231 (islessgreater_test): Likewise.
2232 (isnan_test): Likewise.
2233 (isnormal_test): Likewise.
2234 (issignaling_test): Likewise.
2235 (isunordered_test): Likewise.
2236 (j0_test): Likewise.
2237 (j1_test): Likewise.
2238 (jn_test): Likewise.
2239 (ldexp_test): Likewise.
2240 (lgamma_test): Likewise.
2241 (gamma_test): Likewise.
2242 (lrint_test): Likewise.
2243 (lrint_test_tonearest): Likewise.
2244 (lrint_test_towardzero): Likewise.
2245 (lrint_test_downward): Likewise.
2246 (lrint_test_upward): Likewise.
2247 (llrint_test): Likewise.
2248 (llrint_test_tonearest): Likewise.
2249 (llrint_test_towardzero): Likewise.
2250 (llrint_test_downward): Likewise.
2251 (llrint_test_upward): Likewise.
2252 (log_test): Likewise.
2253 (log10_test): Likewise.
2254 (log1p_test): Likewise.
2255 (log2_test): Likewise.
2256 (logb_test): Likewise.
2257 (logb_test_downward): Likewise.
2258 (lround_test): Likewise.
2259 (llround_test): Likewise.
2260 (modf_test): Likewise.
2261 (nearbyint_test): Likewise.
2262 (nextafter_test): Likewise.
2263 (nexttoward_test): Likewise.
2264 (pow_test): Likewise.
2265 (pow_test_tonearest): Likewise.
2266 (pow_test_towardzero): Likewise.
2267 (pow_test_downward): Likewise.
2268 (pow_test_upward): Likewise.
2269 (remainder_test): Likewise.
2270 (drem_test): Likewise.
2271 (remainder_test_tonearest): Likewise.
2272 (drem_test_tonearest): Likewise.
2273 (remainder_test_towardzero): Likewise.
2274 (drem_test_towardzero): Likewise.
2275 (remainder_test_downward): Likewise.
2276 (drem_test_downward): Likewise.
2277 (remainder_test_upward): Likewise.
2278 (drem_test_upward): Likewise.
2279 (remquo_test): Likewise.
2280 (rint_test): Likewise.
2281 (rint_test_tonearest): Likewise.
2282 (rint_test_towardzero): Likewise.
2283 (rint_test_downward): Likewise.
2284 (rint_test_upward): Likewise.
2285 (round_test): Likewise.
2286 (scalb_test): Likewise.
2287 (scalbn_test): Likewise.
2288 (scalbln_test): Likewise.
2289 (signbit_test): Likewise.
2290 (sin_test): Likewise.
2291 (sin_test_tonearest): Likewise.
2292 (sin_test_towardzero): Likewise.
2293 (sin_test_downward): Likewise.
2294 (sin_test_upward): Likewise.
2295 (sincos_test): Likewise.
2296 (sinh_test): Likewise.
2297 (sinh_test_tonearest): Likewise.
2298 (sinh_test_towardzero): Likewise.
2299 (sinh_test_downward): Likewise.
2300 (sinh_test_upward): Likewise.
2301 (sqrt_test): Likewise.
2302 (sqrt_test_tonearest): Likewise.
2303 (sqrt_test_towardzero): Likewise.
2304 (sqrt_test_downward): Likewise.
2305 (sqrt_test_upward): Likewise.
2306 (tan_test): Likewise.
2307 (tan_test_tonearest): Likewise.
2308 (tan_test_towardzero): Likewise.
2309 (tan_test_downward): Likewise.
2310 (tan_test_upward): Likewise.
2311 (tanh_test): Likewise.
2312 (tgamma_test): Likewise.
2313 (trunc_test): Likewise.
2314 (y0_test): Likewise.
2315 (y1_test): Likewise.
2316 (yn_test): Likewise.
2317 (significand_test): Likewise.
2318
e6b6a857
JM
2319 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2320 individual tests in comment.
2321 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2322 (prev_max_error): New variable.
2323 (prev_real_max_error): Likewise.
2324 (prev_imag_max_error): Likewise.
2325 (compare_ulp_data): Don't refer to test names in comment.
2326 (find_test_ulps): Remove function.
2327 (find_function_ulps): Likewise.
2328 (find_complex_function_ulps): Likewise.
2329 (init_max_error): Take function name as argument. Look up ulps
2330 for that function.
2331 (print_ulps): Remove function.
2332 (print_max_error): Use prev_max_error instead of calling
2333 find_function_ulps.
2334 (print_complex_max_error): Use prev_real_max_error and
2335 prev_imag_max_error instead of calling find_complex_function_ulps.
2336 (check_float_internal): Take max_ulp parameter instead of calling
2337 find_test_ulps. Don't call print_ulps.
2338 (check_float): Update call to check_float_internal.
2339 (check_complex): Update calls to check_float_internal.
2340 (START): Pass argument to init_max_error.
2341 * math/gen-libm-test.pl (%results): Don't include "kind"
2342 information.
2343 (parse_ulps): Don't handle ulps of individual tests.
2344 (print_ulps_file): Likewise.
2345 (output_ulps): Likewise.
2346 * math/README.libm-test: Update.
2347 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2348 individual tests.
2349 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2350 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2351 * sysdeps/arm/libm-test-ulps: Likewise.
2352 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2353 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2354 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2355 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2356 * sysdeps/microblaze/libm-test-ulps: Likewise.
2357 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2358 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2360 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2361 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2362 * sysdeps/sh/libm-test-ulps: Likewise.
2363 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2364 * sysdeps/tile/libm-test-ulps: Likewise.
2365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2366
45adef3c
JM
23672014-03-04 Joseph Myers <joseph@codesourcery.com>
2368
2369 * math/libm-test.inc (print_complex_max_error): Check separately
2370 whether real and imaginary errors are within allowed range and
2371 pass 0 to print_complex_function_ulps instead of value within
2372 allowed range.
2373
000232b9
SP
23742014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2375
d4b17258
SP
2376 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2377 formatting.
2378 (get_handles_fopen): Likewise.
2379 (do_write_test): Likewise.
2380
091eff71
SP
2381 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2382
fa3cd248
SP
2383 * libio/fileops.c (do_ftell): Use cached offset when
2384 available.
2385 * libio/iofwide.c (do_ftell_wide): Likewise.
2386 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2387 _IO_file_attach.
2388 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2389
000232b9
SP
2390 [BZ #16532]
2391 * libio/libioP.h (get_file_offset): New function.
2392 * libio/fileops.c (get_file_offset): Likewise.
2393 (do_ftell): Likewise.
2394 (_IO_new_file_seekoff): Split out ftell logic.
2395 * libio/wfileops.c (do_ftell_wide): Likewise.
2396 (_IO_wfile_seekoff): Split out ftell logic.
2397 * libio/tst-ftell-active-handler.c: New test case.
2398 * libio/Makefile (tests): Add it.
2399
116f4d1a
RM
24002014-03-03 Roland McGrath <roland@hack.frob.com>
2401
2402 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2403 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2404
532a6035
SP
24052014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2406
2407 [BZ #16639]
2408 * nscd/connections.c (nscd_init): Call do_exit.
2409 (start_threads): Call do_exit and notify_parent.
2410 (begin_drop_privileges): Call do_exit.
2411 (finish_drop_privileges): Likewise.
2412 * nscd/selinux.c (preserve_capabilities): Likewise.
2413 (install_real_capabilities): Likewise.
2414 (nscd_selinux_enabled): Likewise.
2415 (avc_create_thread): Likewise.
2416 (avc_alloc_lock): Likewise.
2417 (nscd_avc_init): Likewise.
2418 * nscd/nscd.c (parent_fd): New static variable.
2419 (main): Create a pipe between parent and child processes.
2420 Skip closing parent_fd.
2421 (monitor_child): New function.
2422 (do_exit): Likewise.
2423 (notify_parent): Likewise.
2424 * nscd/nscd.h (notify_parent): Likewise.
2425 (do_exit): Likewise.
2426
d6285c9f
CD
24272014-03-03 Carlos O'Donell <carlos@redhat.com>
2428
2429 * malloc/malloc.c (__libc_calloc): Revert last change.
2430
2b85d2a0
AZ
24312014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2432
2433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2434
c7debbdf
RS
24352014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2436
2437 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2439 implementation.
2440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2441 (__libc_ifunc_impl_list): Likewise.
2442 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2443 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2444 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2445 * string/strrchr.c: Define STRRCHR.
2446
235eed86
OB
24472014-02-28 Ondřej Bílka <neleai@seznam.cz>
2448
2449 * benchtest/bench-strtok.c (simple_strtok): Delete.
2450 (strtok_string): Use as benchmark.
2451 * string/strtok (STRTOK): New macro.
2452
8e25d1e7
CD
24532014-02-28 Carlos O'Donell <carlos@redhat.com>
2454
ef563f92
CD
2455 * manual/threads.texi: Add header and standard comments to all
2456 functions.
2457
8e25d1e7
CD
2458 * elf/dl-lookup.c (check_match): New function.
2459 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2460 (do_lookup_x): Remove nested function check_match. Use non-nested
2461 function check_match.
2462
ff71cc37
RM
24632014-02-28 Roland McGrath <roland@hack.frob.com>
2464
f08e9a26
RM
2465 * csu/Makefile (generated, before-compile): Use += rather than =.
2466 * catgets/Makefile (generated, generated-dirs): Likewise.
2467 * debug/Makefile (generated): Likewise.
2468 * dlfcn/Makefile (generated): Likewise.
2469 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2470 * iconvdata/Makefile (before-compile, generated): Likewise.
2471 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2472 * libio/Makefile (generated): Likewise.
2473 * malloc/Makefile (generated): Likewise.
2474 * manual/Makefile (generated, generated-dirs): Likewise.
2475 * misc/Makefile (generated): Likewise.
2476 * posix/Makefile (generated): Likewise.
2477 * resolv/Makefile (generated): Likewise.
2478 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2479 * timezone/Makefile (generated, generated-dirs): Likewise.
2480
ff71cc37
RM
2481 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2482
fe13a20c
AZ
24832014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2484
2485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2486 implementation.
2487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2488 POWER8 llround ifunc implementation.
2489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2490 POWER8 implementation.
2491 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2492 POWER8 llround implementation.
2493
1ad8950a
AZ
24942014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2495
2496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2497 implementation.
2498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2499 POWER8 llrint ifunc implementation.
2500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2501 POWER8 implementation.
2502 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2503 POWER8 llrint implementation.
2504
cac626d6
AZ
25052014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2506
2507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2508 implementation.
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2510 POWER8 finite ifunc implementation.
2511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2512 POWER8 implementation.
2513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2514 Likewise.
2515 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2516 POWER8 finite implementation.
2517 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2518
4393fc11
AZ
25192014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2520
2521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2522 implementation.
2523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2524 POWER8 isinf ifunc implementation.
2525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2526 POWER8 implementation.
2527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2528 Likewise.
2529 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2530 POWER8 isinf implementation.
2531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2532
487972ae
AZ
25332014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2534
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2536 Add hwcap2 initialization.
2537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2538 implementation.
2539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2540 POWER8 isnan ifunc implementation.
2541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2542 POWER8 implementation.
2543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2544 Likewise.
2545 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2546 POWER8 isnan implementation.
2547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2548
7d92b787
JY
25492014-02-27 Joey Ye <joey.ye@arm.com>
2550
2551 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2552 (_FP_NANFRAC_Q): Set to zero.
2553
1cadc858
SP
25542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2555
2556 [BZ #16623]
2557 * math/auto-libm-test-in: New test inputs.
2558 * math/auto-libm-test-out: Regenerate.
2559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2560 and DA.
2561 (__cos): Likewise.
2562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2563
f8c17e79
JM
25642014-02-27 Joseph Myers <joseph@codesourcery.com>
2565
2566 * scripts/evaluate-test.sh: Take new argument indicating whether
2567 failure is expected.
2568 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2569 indicating whether failure is expected.
2570 * conform/Makefile (test-xfail-run-conformtest): New variable.
2571 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2572 level.
2573 * posix/Makefile (test-xfail-annexc): New variable.
2574 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2575
a5f891ac
JM
25762014-02-26 Joseph Myers <joseph@codesourcery.com>
2577
2578 * argp/Makefile: Include Makeconfig immediately after defining
2579 subdir.
2580 * assert/Makefile: Likewise.
2581 * benchtests/Makefile: Likewise.
2582 * catgets/Makefile: Likewise.
2583 * conform/Makefile: Likewise.
2584 * crypt/Makefile: Likewise.
2585 * csu/Makefile: Likewise.
2586 (all): Remove target.
2587 * ctype/Makefile: Include Makeconfig immediately after defining
2588 subdir.
2589 * debug/Makefile: Likewise.
2590 * dirent/Makefile: Likewise.
2591 * dlfcn/Makefile: Likewise.
2592 * gmon/Makefile: Likewise.
2593 * gnulib/Makefile: Likewise.
2594 * grp/Makefile: Likewise.
2595 * gshadow/Makefile: Likewise.
2596 * hesiod/Makefile: Likewise.
2597 * hurd/Makefile: Likewise.
2598 (all): Remove target.
2599 * iconvdata/Makefile: Include Makeconfig immediately after
2600 defining subdir.
2601 * inet/Makefile: Likewise.
2602 * intl/Makefile: Likewise.
2603 * io/Makefile: Likewise.
2604 * libio/Makefile: Likewise.
2605 (all): Remove target.
2606 * locale/Makefile: Include Makeconfig immediately after defining
2607 subdir.
2608 * login/Makefile: Likewise.
2609 * mach/Makefile: Likewise.
2610 (all): Remove target.
2611 * malloc/Makefile: Include Makeconfig immediately after defining
2612 subdir.
2613 (all): Remove target.
2614 * manual/Makefile: Include Makeconfig immediately after defining
2615 subdir.
2616 * math/Makefile: Likewise.
2617 * misc/Makefile: Likewise.
2618 * nis/Makefile: Likewise.
2619 * nss/Makefile: Likewise.
2620 * po/Makefile: Likewise.
2621 (all): Remove target.
2622 * posix/Makefile: Include Makeconfig immediately after defining
2623 subdir.
2624 * pwd/Makefile: Likewise.
2625 * resolv/Makefile: Likewise.
2626 * resource/Makefile: Likewise.
2627 * rt/Makefile: Likewise.
2628 * setjmp/Makefile: Likewise.
2629 * shadow/Makefile: Likewise.
2630 * signal/Makefile: Likewise.
2631 * socket/Makefile: Likewise.
2632 * soft-fp/Makefile: Likewise.
2633 * stdio-common/Makefile: Likewise.
2634 * stdlib/Makefile: Likewise.
2635 * streams/Makefile: Likewise.
2636 * string/Makefile: Likewise.
2637 * sunrpc/Makefile: Likewise.
2638 (all): Remove target.
2639 * sysvipc/Makefile: Include Makeconfig immediately after defining
2640 subdir.
2641 * termios/Makefile: Likewise.
2642 * time/Makefile: Likewise.
2643 * timezone/Makefile: Likewise.
2644 (all): Remove target.
2645 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2646 subdir.
2647 * wctype/Makefile: Likewise.
2648
5b456e9d
SE
26492014-02-26 Steve Ellcey <sellcey@mips.com>
2650
2651 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2652 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2653 (libc_feholdexcept_setround_mips): Ditto.
2654 (libc_feholdsetround): New.
2655 (libc_feholdsetroundf): New.
2656 (libc_feholdsetroundl): New.
2657 (libc_feupdateenv_test_mips): New.
2658 (libc_feupdateenv_test): New.
2659 (libc_feupdateenv_testf): New.
2660 (libc_feupdateenv_testl): New.
2661 (libc_feresetround): New.
2662 (libc_feresetroundf): New.
2663 (libc_feresetroundl): New.
2664 (libc_fetestexcept_mips): New.
2665 (libc_fetestexcept): New.
2666 (libc_fetestexceptf): New.
2667 (libc_fetestexceptl): New.
2668 (HAVE_RM_CTX): New.
2669 (libc_feholdexcept_setround_mips_ctx): New.
2670 (libc_feholdexcept_setround_ctx): New.
2671 (libc_feholdexcept_setroundf_ctx): New.
2672 (libc_feholdexcept_setroundl_ctx): New.
2673 (libc_fesetenv_mips_ctx): New.
2674 (libc_fesetenv_ctx): New.
2675 (libc_fesetenv_ctxf): New.
2676 (libc_fesetenv_ctxl): New.
2677 (libc_feupdateenv_mips_ctx): New.
2678 (libc_feupdateenv_ctx): New.
2679 (libc_feupdateenvf_ctx): New.
2680 (libc_feupdateenvl_ctx): New.
2681 (libc_feholdsetround_mips_ctx): New.
2682 (libc_feholdsetround_ctx): New.
2683 (libc_feholdsetroundf_ctx): New.
2684 (libc_feholdsetroundl_ctx): New.
2685 (libc_feresetround_mips_ctx): New.
2686 (libc_feresetround_ctx): New.
2687 (libc_feresetroundf_ctx): New.
2688 (libc_feresetroundl_ctx): New.
2689
085d0e35
CD
26902014-02-26 Carlos O'Donell <carlos@redhat.com>
2691
f067bf1f
CD
2692 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2693
085d0e35
CD
2694 * manual/ipc.texi: New file.
2695 * manual/Makefile (chapters): Add ipc.
2696 * manual/job.texi: Add "Inter-Process Communication" to next.
2697 * manual/process.texi: Add "Inter-Process Communication" to prev.
2698
86e58c08
AZ
26992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2700
2701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2702
4248f0da
OB
27032014-02-26 Ondřej Bílka <neleai@seznam.cz>
2704
2705 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2706
cf822e3c
OB
2707 * manual/arith.texi: Fix spaces after sentences.
2708 * manual/charset.texi: Likewise.
2709 * manual/errno.texi: Likewise.
2710 * manual/install.texi: Likewise.
2711 * manual/llio.texi: Likewise.
2712 * manual/locale.texi: Likewise.
2713 * manual/maint.texi: Likewise.
2714 * manual/math.texi: Likewise.
2715 * manual/memory.texi: Likewise.
2716 * manual/message.texi: Likewise.
2717 * manual/probes.texi: Likewise.
2718 * manual/resource.texi: Likewise.
2719 * manual/signal.texi: Likewise.
2720 * manual/socket.texi: Likewise.
2721 * manual/stdio.texi: Likewise.
2722 * manual/string.texi: Likewise.
2723 * manual/time.texi: Likewise.
2724 * manual/users.texi: Likewise.
2725
ade40b10
CD
27262014-02-25 Carlos O'Donell <carlos@redhat.com>
2727
2728 [BZ #16632]
2729 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2730 _DEFAULT_SOURCE is defined.
2731
d0503676
CD
27322014-02-25 Ulrich Drepper <drepper@gmail.com>
2733 Carlos O'Donell <carlos@redhat.com>
2734
2735 [BZ #16613]
2736 * elf/dl-tls.c (_dl_count_modids): New function.
2737 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2738 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2739 audit library and increment generation counter.
2740 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2741 * elf/tst-audit9.c: New file.
2742 * elf/tst-auditmod9a.c: New file.
2743 * elf/tst-auditmod9b.c: New file.
2744 * elf/Makefile: Add rules to build and run tst-audit9.
2745
4cbf380c
FW
27462014-02-25 Florian Weimer <fweimer@redhat.com>
2747
2748 [BZ #15347]
2749 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2750
80a56cc3
WN
27512014-02-25 Will Newton <will.newton@linaro.org>
2752
2753 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2754 (__longjmp): Restore sp and lr before restoring callee
2755 saved registers. Add longjmp and longjmp_target
2756 SystemTap probe point.
2757 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2758 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2759 Define to zero to match jmpbuf layout.
2760 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2761 (__sigsetjmp): Save sp and lr before saving callee
2762 saved registers. Add setjmp SystemTap probe point.
2763
3ea0f74e
SL
27642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2765
2766 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2767
b04acb26
AS
27682014-02-24 Andreas Schwab <schwab@suse.de>
2769
2770 [BZ #15804]
2771 * elf/pldd.c (wait_for_ptrace_stop): New function.
2772 (main): Call it after attaching.
2773
098ad55c
RM
27742014-02-22 Roland McGrath <roland@hack.frob.com>
2775
d4ec6ae1
RM
2776 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2777 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2778 Versions files is now verboten.
2779 * hurd/Versions (libc: GLIBC_2.0):
2780 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2781 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2782 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2783 * mach/Versions: Likewise.
2784
098ad55c
RM
2785 * csu/Versions: Remove unused %include.
2786 * resolv/Versions: Likewise.
2787
acd7f096
JM
27882014-02-21 Joseph Myers <joseph@codesourcery.com>
2789
f0881698
JM
2790 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2791 ($(objpfx)check-local-headers.out): Likewise.
2792 ($(objpfx)begin-end-check.out): Likewise.
2793 * Makerules (check-abi-%.out): Likewise.
2794 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2795 ($(objpfx)test2.cat): Likewise.
2796 ($(objpfx)de/libc.cat): Likewise.
2797 ($(objpfx)test-gencat.out): Likewise.
2798 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2799 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2800 ($(objpfx)noload-mem): Likewise.
2801 ($(objpfx)tst-pathopt.out): Likewise.
2802 ($(objpfx)tst-rtld-load-self.out): Likewise.
2803 ($(objpfx)tst-array1-cmp.out): Likewise.
2804 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2805 ($(objpfx)tst-array2-cmp.out): Likewise.
2806 ($(objpfx)tst-array3-cmp.out): Likewise.
2807 ($(objpfx)tst-array4-cmp.out): Likewise.
2808 ($(objpfx)tst-array5-cmp.out): Likewise.
2809 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2810 ($(objpfx)check-textrel.out): Likewise.
2811 ($(objpfx)check-execstack.out): Likewise.
2812 ($(objpfx)check-localplt.out): Likewise.
2813 ($(objpfx)order2-cmp.out): Likewise.
2814 ($(objpfx)tst-leaks1-mem): Likewise.
2815 ($(objpfx)tst-leaks1-static-mem): Likewise.
2816 ($(objpfx)tst-initorder-cmp.out): Likewise.
2817 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2818 ($(objpfx)tst-unused-dep.out): Likewise.
2819 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2820 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2821 * iconv/Makefile (test-iconvconfig): Likewise.
2822 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2823 ($(objpfx)iconv-test.out): Likewise.
2824 ($(objpfx)tst-tables.out): Likewise.
2825 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2826 ($(objpfx)tst-gettext.out): Likewise.
2827 ($(objpfx)tst-translit.out): Likewise.
2828 ($(objpfx)tst-gettext2.out): Likewise.
2829 ($(objpfx)tst-gettext4.out): Likewise.
2830 ($(objpfx)tst-gettext6.out): Likewise.
2831 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2832 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2833 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2834 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2835 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2836 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2837 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2838 ($(objpfx)wordexp-tst.out): Likewise.
2839 ($(objpfx)annexc.out): Likewise.
2840 ($(objpfx)tst-fnmatch-mem): Likewise.
2841 ($(objpfx)bug-regex2-mem): Likewise.
2842 ($(objpfx)bug-regex14-mem): Likewise.
2843 ($(objpfx)bug-regex21-mem): Likewise.
2844 ($(objpfx)bug-regex31-mem): Likewise.
2845 ($(objpfx)tst-vfork3-mem): Likewise.
2846 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2847 ($(objpfx)tst-pcre-mem): Likewise.
2848 ($(objpfx)tst-boost-mem): Likewise.
2849 ($(objpfx)tst-getconf.out): Likewise.
2850 ($(objpfx)bug-ga2-mem): Likewise.
2851 ($(objpfx)bug-glob2-mem): Likewise.
2852 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2853 ($(objpfx)mtrace-tst-leaks2): Likewise.
2854 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2855 ($(objpfx)tst-printf.out): Likewise.
2856 ($(objpfx)tst-setvbuf1.out): Likewise.
2857 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2858 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2859 ($(objpfx)tst-fmtmsg.out): Likewise.
2860 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2861 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2862
acd7f096
JM
2863 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2864 * bits/sigaction.h [__USE_MISC]: Likewise.
2865 * bits/waitstatus.h: Update #endif comments.
2866 * ctype/ctype.h: Likewise.
2867 * dirent/dirent.h: Likewise.
2868 [__USE_MISC]: Remove redundant conditionals.
2869 * grp/grp.h: Update #endif comments.
2870 [__USE_GNU]: Remove redundant conditionals.
2871 [__USE_MISC]: Likewise.
2872 * inet/netinet/in.h [__USE_GNU]: Likewise.
2873 * io/sys/stat.h [__USE_MISC]: Likewise.
2874 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2875 * libio/bits/stdio.h: Update #endif comments.
2876 [__USE_MISC]: Remove redundant conditionals.
2877 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2878 * libio/stdio.h: Update #endif comments.
2879 [__USE_MISC]: Remove redundant conditionals.
2880 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2881 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2882 * math/math.h: Update #else and #endif comments.
2883 [__USE_MISC]: Remove redundant conditionals.
2884 * misc/sys/uio.h: Update #endif comments.
2885 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2886 * posix/glob.h [__USE_MISC]: Likewise.
2887 * posix/sys/types.h: Update #endif comments.
2888 [__USE_MISC]: Remove redundant conditionals.
2889 * posix/sys/wait.h: Update #endif comments.
2890 [__USE_MISC]: Remove redundant conditionals.
2891 * posix/unistd.h: Update #endif comments.
2892 [__USE_MISC]: Remove redundant conditionals.
2893 * pwd/pwd.h [__USE_GNU]: Likewise.
2894 [__USE_MISC]: Likewise.
2895 * resolv/netdb.h [__USE_GNU]: Likewise.
2896 * signal/signal.h: Update #endif comments.
2897 [__USE_MISC]: Remove redundant conditionals.
2898 * stdlib/stdlib.h: Update #else and #endif comments.
2899 [__USE_MISC]: Remove redundant conditionals.
2900 [__USE_GNU]: Likewise.
2901 * string/bits/string2.h [__USE_MISC]: Likewise.
2902 * string/string.h: Update #endif comments.
2903 [__USE_MISC]: Remove redundant conditionals.
2904 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2905 Likewise.
2906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2907 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2908 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2909 Likewise.
2910 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2911 Likewise.
2912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2913 comments.
2914 [__USE_MISC]: Remove redundant conditionals.
2915 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2916 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2917 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2918 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2919 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2920 Likewise.
2921 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2922 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2923 Likewise.
2924 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2925 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2926 Likewise.
2927 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2928 Likewise.
2929 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2930 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2931 Likewise.
2932 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2933 Likewise.
2934 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2935 * sysdeps/x86/bits/string.h: Update #endif comments.
2936 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2937 conditionals.
2938 * time/sys/time.h: Update #endif comments.
2939 * time/time.h: Likewise.
2940 [__USE_MISC]: Remove redundant conditionals.
2941
a5d82e4e
YG
29422014-02-21 Yury Gribov <y.gribov@samsung.com>
2943
2944 [BZ #16600]
2945 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2946
9a80491d
AS
29472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2948
2949 * Versions.def (librt): Add GLIBC_2.17.
2950
105fa381
AC
29512014-02-21 Adam Conrad <adconrad@0c3.net>
2952
2953 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2954 synonym for _SYS_AUXV_H to allow direct inclusion.
2955 * sysdeps/sparc/bits/hwcap.h: Likewise.
2956 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2957 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2958 * sysdeps/sparc/sysdep.h: Likewise.
2959
b8cd1c4e
SP
29602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2961
2962 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2963
bd939d23
RS
29642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2965
2966 * benchtests/bench-strrchr.c: Print length instead of position.
2967
5d7b57ca
JM
29682014-02-20 Joseph Myers <joseph@codesourcery.com>
2969
bc688c10
JM
2970 [BZ #16611]
2971 * sysdeps/unix/sysv/linux/kernel-features.h
2972 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2973 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2974 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2975 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2976 Likewise.
2977 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2978 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2979 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2980 (__ASSUME_SENDMMSG): Define instead of using previous
2981 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2982 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2983 (__ASSUME_SENDMMSG_SYSCALL): Define.
2984 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2985 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2986 Likewise.
2987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2988 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2989 Likewise.
2990 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2991 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2992 Likewise.
2993 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2994 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2995 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2996 [__ASSUME_SENDMMSG]: Change conditionals to
2997 [__ASSUME_SENDMMSG_SOCKETCALL].
2998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2999 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3000 Define.
3001 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3002 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3003 Likewise.
3004 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3005 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3006 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3007 [!__ASSUME_SENDMMSG]: Change conditional to
3008 [!__ASSUME_SENDMMSG_SOCKETCALL].
3009 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3010 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3011 Define.
3012
0e31b18c
JM
3013 [BZ #16610]
3014 * sysdeps/unix/sysv/linux/kernel-features.h
3015 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3016 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3017 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3018 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3019 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3020 [__i386__ || __sparc__]
3021 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3022 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3023 (__ASSUME_RECVMMSG): Define instead of using previous
3024 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3025 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3026 (__ASSUME_RECVMMSG_SYSCALL): Define.
3027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3029 Likewise.
3030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3034 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3035 Likewise.
3036 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3037 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3038 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3039 [__ASSUME_RECVMMSG]: Change condition to
3040 [__ASSUME_RECVMMSG_SOCKETCALL].
3041 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3042 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3043 Define.
3044 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3045 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3046 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3047 Likewise.
3048 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3049 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3050 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3051 [!__ASSUME_RECVMMSG]: Change condition to
3052 [!__ASSUME_RECVMMSG_SOCKETCALL].
3053 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3054 (__ASSUME_RECVMMSG_SYSCALL): Define.
3055
dd481ccf
JM
3056 [BZ #16609]
3057 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3058 __powerpc__ || __s390__ || __sh__ || __sparc__]
3059 (__ASSUME_SOCKETCALL): Define.
3060 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3061 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3062 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3063 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3064 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3065 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3066 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3067 (__ASSUME_ACCEPT4): Define instead of using previous
3068 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3069 __powerpc__ || __sparc__ || __s390__)] condition.
3070 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3071 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3072 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3073 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3074 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3075 [!__ASSUME_ACCEPT4]: Change condition to
3076 [!__ASSUME_ACCEPT4_SOCKETCALL].
3077 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3078 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3079 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3081 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3082 __ASSUME_ACCEPT4_SYSCALL.
3083 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3084 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3085 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3086 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3087 __ASSUME_ACCEPT4_SYSCALL.
3088 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3089 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3090 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3091 [__ASSUME_ACCEPT4]: Change condition to
3092 [__ASSUME_ACCEPT4_SOCKETCALL].
3093 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3094 (__ASSUME_SOCKETCALL): Define.
3095 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3096 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3097 (__ASSUME_SOCKETCALL): Define.
3098 (__ASSUME_ACCEPT4): Remove.
3099 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3100 Define.
3101 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3102 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3103 Likewise.
3104 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3105 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3106
5d7b57ca
JM
3107 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3108 macro.
3109 (HWCAP_ARM_LPAE): Likewise.
3110 (HWCAP_ARM_EVTSTRM): Likewise.
3111 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3112 Add vpfd32, lpae and evtstrm.
3113 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3114 Increase to 22.
3115
63689d61
JM
31162014-02-19 Joseph Myers <joseph@codesourcery.com>
3117
3118 * math/auto-libm-test-in: Add tests of clog10.
3119 * math/auto-libm-test-out: Regenerated.
3120 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3121 * sysdeps/i386/fpu/libm-test-ulps: Update.
3122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3123
ab09bf61
AS
31242014-02-18 Andreas Schwab <schwab@suse.de>
3125
3126 [BZ #16574]
3127 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3128 Store non-zero if the second buffer was newly allocated.
3129 (send_dg): Likewise.
3130 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3131 to send_vc and send_dg.
3132 (res_nsend): Pass NULL for ansp2_malloced.
3133 * resolv/res_query.c (__libc_res_nquery): Add parameter
3134 answerp2_malloced and pass it down to __libc_res_nsend.
3135 (res_nquery): Pass additional NULL to __libc_res_nquery.
3136 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3137 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3138 second answer buffer if answerp2_malloced was set.
3139 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3140 (__libc_res_nquerydomain): Add parameter
3141 answerp2_malloced and pass it down to __libc_res_nquery.
3142 (res_nquerydomain): Pass additional NULL to
3143 __libc_res_nquerydomain.
3144 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3145 additional NULL to __libc_res_nsend and __libc_res_nquery.
3146 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3147 additional NULL to __libc_res_nsearch.
3148 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3149 parameter of __libc_res_nsearch to check for separately allocated
3150 second buffer.
3151 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3152 __libc_res_nquery.
3153 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3154 additional NULL to __libc_res_nquery.
3155 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3156 __libc_res_nsearch.
3157 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3158 * include/resolv.h: Update prototypes of __libc_res_nquery,
3159 __libc_res_nsearch, __libc_res_nsend.
3160
a4fb7861
JM
31612014-02-18 Joseph Myers <joseph@codesourcery.com>
3162
c6af2d89
JM
3163 * math/auto-libm-test-in: Add tests of fma.
3164 * math/auto-libm-test-out: Regenerated.
3165 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3166 (fma_towardzero_test_data): Likewise.
3167 (fma_downward_test_data): Likewise.
3168 (fma_upward_test_data): Likewise.
3169 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3170 mpc_mode.
3171 (rounding_modes): Add values for new field.
3172 (func_calc_method): Add value mpfr_fff_f.
3173 (func_calc_desc): Add mpfr_fff_f union field.
3174 (test_function): Add field exact_args.
3175 (FUNC): Add macro argument EXACT_ARGS.
3176 (FUNC_mpfr_f_f): Update call to FUNC.
3177 (FUNC_mpfr_f_f): Likewise.
3178 (FUNC_mpfr_ff_f): Likewise.
3179 (FUNC_mpfr_if_f): Likewise.
3180 (FUNC_mpc_c_f): Likewise.
3181 (FUNC_mpc_c_c): Likewise.
3182 (test_functions): Add fma. Update calls to FUNC.
3183 (handle_input_arg): Add argument exact_args.
3184 (add_test): Update call to handle_input_arg.
3185 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3186 (output_for_one_input_case): Update call to calc_generic_results.
3187 Recalculate exact zero results in each rounding mode.
3188
a4fb7861
JM
3189 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3190 non-negative before setting low bit.
3191 * math/auto-libm-test-in: Mark one asin test possibly having
3192 spurious underflow.
3193 * math/auto-libm-test-out: Regenerated.
3194 * sysdeps/i386/fpu/libm-test-ulps: Update.
3195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3196
ef114eaf
DH
31972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3198
2b7f4f2c
SP
3199 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3200 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3201 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3202 * README: Add missing listing for microblaze*-*-linux-gnu.
3203
c70a4b1d
MF
32042014-02-16 Mike Frysinger <vapier@gentoo.org>
3205
3206 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3207 * sysdeps/unix/sysv/linux/ia64: Move directory from
3208 ports/sysdeps/unix/sysv/linux/ia64.
3209 * README: Update listing for ia64-*-linux-gnu.
3210
591aeaf7
TD
32112014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3212 Joseph Myers <joseph@codesourcery.com>
3213
3214 * Makeconfig (test-name): New variable.
3215 (evaluate-test): Likewise.
3216 * Makerules (do-test-clean): Remove .test-result files.
3217 (common-mostlyclean): Likewise.
3218 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3219 * scripts/evaluate-test.sh: New file.
3220
6e89caf1
JM
32212014-02-14 Joseph Myers <joseph@codesourcery.com>
3222
7f98f180
JM
3223 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3224 separate $(objpfx)tst-fopenloc-cmp.out and
3225 $(objpfx)tst-fopenloc-mem.out targets.
3226 (tests): Update dependencies.
3227 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3228 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3229 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3230 (tst-rxspencer-no-utf8-ARGS): New variable.
3231 (tst-rxspencer-no-utf8-ENV): Likewise.
3232 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3233 instead of $(objpfx)tst-rxspencer-mem.
3234 ($(objpfx)tst-rxspencer-mem): Change target to
3235 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3236 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3237 * posix/tst-rxspencer-no-utf8.c: New file.
3238
6e89caf1
JM
3239 * elf/Makefile ($(objpfx)order.out): Remove rule.
3240 [$(run-built-tests) = yes] (tests): Depend on
3241 $(objpfx)order-cmp.out.
3242 ($(objpfx)order-cmp.out): New rule.
3243 [$(run-built-tests) = yes] (tests): Depend on
3244 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3245 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3246 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3247 $(objpfx)tst-array5-static-cmp.out.
3248 ($(objpfx)tst-array1.out): Remove rule.
3249 ($(objpfx)tst-array1-cmp.out): New rule.
3250 ($(objpfx)tst-array1-static.out): Remove rule.
3251 ($(objpfx)tst-array1-static-cmp.out): New rule.
3252 ($(objpfx)tst-array2.out): Remove rule.
3253 ($(objpfx)tst-array2-cmp.out): New rule.
3254 ($(objpfx)tst-array3.out): Remove rule.
3255 ($(objpfx)tst-array3-cmp.out): New rule.
3256 ($(objpfx)tst-array4.out): Remove rule.
3257 ($(objpfx)tst-array4-cmp.out): New rule.
3258 ($(objpfx)tst-array5.out): Remove rule.
3259 ($(objpfx)tst-array5-cmp.out): New rule.
3260 ($(objpfx)tst-array5-static.out): Remove rule.
3261 ($(objpfx)tst-array5-static-cmp.out): New rule.
3262 [$(run-built-tests) = yes] (tests): Depend on
3263 $(objpfx)order2-cmp.out.
3264 ($(objpfx)order2.out): Remove rule.
3265 ($(objpfx)order2-cmp.out): New rule.
3266 ($(objpfx)tst-initorder.out): Remove rule.
3267 [$(run-built-tests) = yes] (tests): Depend on
3268 $(objpfx)tst-initorder-cmp.out.
3269 ($(objpfx)tst-initorder-cmp.out): New rule.
3270 ($(objpfx)tst-initorder2.out): Remove rule.
3271 [$(run-built-tests) = yes] (tests): Depend on
3272 $(objpfx)tst-initorder2-cmp.out.
3273 ($(objpfx)tst-initorder2-cmp.out): New rule.
3274 [$(run-built-tests) = yes] (tests): Depend on
3275 $(objpfx)tst-unused-dep-cmp.out.
3276 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3277 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3278 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3279 on $(objpfx)tst-setvbuf1-cmp.out.
3280 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3281 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3282 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3283 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3284 ($(objpfx)tst-svc.out): Remove rule.
3285 ($(objpfx)tst-svc-cmp.out): New rule.
3286
ed9a38e2
JM
32872014-02-13 Joseph Myers <joseph@codesourcery.com>
3288
3289 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3290 * ctype/ctype.h [__USE_MISC]: Likewise.
3291 * dirent/dirent.h [__USE_MISC]: Likewise.
3292 * grp/grp.h [__USE_MISC]: Likewise.
3293 * io/fcntl.h [__USE_MISC]: Likewise.
3294 * io/sys/stat.h [__USE_MISC]: Likewise.
3295 * libio/stdio.h [__USE_MISC]: Likewise.
3296 * posix/unistd.h [__USE_MISC]: Likewise.
3297 * pwd/pwd.h [__USE_MISC]: Likewise.
3298 * stdlib.h [__USE_MISC]: Likewise.
3299 * string/bits/string2.h [__USE_MISC]: Likewise.
3300 * string/string.h [__USE_MISC]: Likewise.
3301 * time/time.h [__USE_MISC]: Likewise.
3302
d6680619
AS
33032014-02-13 Andreas Schwab <schwab@suse.de>
3304
3305 [BZ #16574]
3306 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3307 second answer buffer if it was separately allocated.
3308
ace614b8
JM
33092014-02-12 Joseph Myers <joseph@codesourcery.com>
3310
743151ae
JM
3311 * sysdeps/mips/math-tests.h: Include <features.h>.
3312 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3313 (ROUNDING_TESTS_long_double): Do not define.
3314 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3315 (EXCEPTION_TESTS_long_double): Likewise.
3316 * sysdeps/mips/mips64/libm-test-ulps: Update.
3317
498afc54
JM
3318 * include/features.h (__USE_BSD): Remove macro definitions.
3319 (__USE_SVID): Likewise.
3320 (_BSD_SOURCE): Likewise.
3321 (_SVID_SOURCE): Likewise.
3322 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3323 from definition of _DEFAULT_SOURCE.
3324 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3325 [_DEFAULT_SOURCE].
3326 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3327 * bits/mman.h [__USE_BSD]: Likewise.
3328 * bits/termios.h [__USE_BSD]: Likewise.
3329 * bits/waitstatus.h [__USE_BSD]: Likewise.
3330 * ctype/ctype.h [__USE_SVID]: Likewise.
3331 * dirent/dirent.h [__USE_BSD]: Likewise.
3332 * grp/grp.h [__USE_SVID]: Likewise.
3333 [__USE_BSD]: Likewise.
3334 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3335 * io/fcntl.h [__USE_BSD]: Likewise.
3336 * io/ftw.h [__USE_BSD]: Likewise.
3337 * io/sys/stat.h [__USE_BSD]: Likewise.
3338 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3339 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3340 * libio/stdio.h [__USE_SVID]: Likewise.
3341 [__USE_BSD]: Likewise.
3342 * math/math.h [__USE_SVID]: Likewise.
3343 [__USE_BSD]: Likewise.
3344 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3345 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3346 * misc/search.h [__USE_SVID]: Likewise.
3347 * misc/sys/mman.h [__USE_BSD]: Likewise.
3348 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3349 * misc/sys/uio.h [__USE_BSD]: Likewise.
3350 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3351 * posix/glob.h [__USE_BSD]: Likewise.
3352 * posix/regex.h [__USE_BSD]: Likewise.
3353 * posix/sys/types.h [__USE_BSD]: Likewise.
3354 [__USE_SVID]: Likewise.
3355 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3356 * posix/sys/wait.h [__USE_BSD]: Likewise.
3357 [__USE_SVID]: Likewise.
3358 * posix/unistd.h [__USE_BSD]: Likewise.
3359 [__USE_SVID]: Likewise.
3360 * pwd/pwd.h [__USE_SVID]: Likewise.
3361 * resolv/netdb.h [__USE_BSD]: Likewise.
3362 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3363 * signal/signal.h [__USE_BSD]: Likewise.
3364 [__USE_SVID]: Likewise.
3365 * socket/sys/socket.h [__USE_BSD]: Likewise.
3366 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3367 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3368 [__USE_SVID]: Likewise.
3369 * string/bits/string2.h [__USE_BSD]: Likewise.
3370 [__USE_SVID]: Likewise.
3371 * string/bits/string3.h [__USE_BSD]: Likewise.
3372 * string/endian.h [__USE_BSD]: Likewise.
3373 * string/string.h [__USE_SVID]: Likewise.
3374 [__USE_BSD]: Likewise.
3375 * string/strings.h [__USE_BSD]: Likewise.
3376 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3377 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3378 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3379 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3380 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3381 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3382 Likewise.
3383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3384 Likewise.
3385 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3386 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3387 Likewise.
3388 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3389 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3390 Likewise.
3391 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3392 Likewise.
3393 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3394 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3395 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3396 Likewise.
3397 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3398 Likewise.
3399 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3400 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3401 * termios/termios.h [__USE_BSD]: Likewise.
3402 * time/sys/time.h [__USE_BSD]: Likewise.
3403 * time/time.h [__USE_BSD]: Likewise.
3404 [__USE_SVID]: Likewise.
3405
dd7b064c
JM
3406 * Makefile (subdir_targets): Remove subdir_lint.out.
3407
a2c4c199
JM
3408 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3409 (do-tst-printf): Likewise.
3410 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3411 $(objpfx)tst-printf.out.
3412
8756f740
JM
3413 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3414
1b6dd3f1
JM
3415 * Makerules (check-abi-%): Change target to
3416 $(objpfx)check-abi-%.out.
3417 (check-abi target): Update dependencies.
3418 (check-abi-pattern variable): Redirect output of diff to $@.
3419 (check-abi variable): Likewise.
3420 * elf/Makefile (check-abi): Update dependencies.
3421
ace614b8
JM
3422 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3423 unused.
3424 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3425 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3426 subnormal range.
3427 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3428 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3429 value has largest subnormal exponent.
3430 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3431 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3432 * sysdeps/aarch64/soft-fp/sfp-machine.h
3433 (_FP_TININESS_AFTER_ROUNDING): New macro.
3434 * sysdeps/alpha/soft-fp/sfp-machine.h
3435 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3436 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3437 Likewise.
3438 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3439 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3440 * sysdeps/mips/soft-fp/sfp-machine.h
3441 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3442 * sysdeps/powerpc/soft-fp/sfp-machine.h
3443 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3444 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3445 Likewise.
3446 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3447 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3448 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3449 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3450 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3451 Likewise.
3452
fbfdf9cb
DAS
34532014-02-12 Dylan Alex Simon <dylan@dylex.net>
3454
3455 [BZ #16545]
3456 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3457 model 1.
3458
68b7efaa
RH
34592014-02-12 Richard Henderson <rth@redhat.com>
3460
c70a4b1d 3461 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3462 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3463 * sysdeps/unix/sysv/linux/alpha: Move directory from
3464 ports/sysdeps/unix/sysv/linux/alpha.
3465 * README: Update listing for alpha-*-linux-gnu.
3466
cb4a2928
JM
34672014-02-11 Joseph Myers <joseph@codesourcery.com>
3468
c941736c
JM
3469 * include/features.h: Update comment documenting feature test
3470 macros.
3471 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3472 _DEFAULT_SOURCE.
3473 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3474 (_SVID_SOURCE): Likewise.
3475 (_DEFAULT_SOURCE): Update description of default features.
3476 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3477 with _GNU_SOURCE.
3478 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3479 (S_ISVTX): Likewise.
3480 * manual/math.texi (Mathematical Constants): Likewise.
3481 * manual/signal.texi (Interrupted Primitives): Likewise.
3482 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3483 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3484 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3485 Don't refer to _SVID_SOURCE in warning text.
3486
e8d8d7ec
JM
3487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3488
cb4a2928
JM
3489 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3490 already defined.
3491 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3492 * sysdeps/mips/dl-lookup.c: Remove.
3493 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3494
7e6424e3
AK
34952014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3496
3497 [BZ #16447]
3498 * math/auto-libm-test-in: Add testcase for expl.
3499 * math/auto-libm-test-out: Regenerate.
3500 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3501 calculation of unsafe.
3502 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3503
75eff3fe
MS
35042014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3505
3506 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3507 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3508 ports/sysdeps/unix/sysv/linux/aarch64.
3509 * README: Update listing for aarch64*-*-linux-gnu.
3510
d35f1e80
WN
35112014-02-11 Will Newton <will.newton@linaro.org>
3512
3513 * manual/probes.texi (Mathematical Function Probes): Use
3514 "triggered" instead of "hit".
3515
7b3436d4
WN
35162014-02-11 Will Newton <will.newton@linaro.org>
3517
3518 * manual/probes.texi (Internal Probes): Add documentation
3519 of setjmp, longjmp and longjmp_target probes.
3520
b4f12ca3
WN
35212014-02-11 Will Newton <will.newton@linaro.org>
3522
3523 * include/stap-probe.h: Add comment about probe argument
3524 format.
3525
c13a72b7
WN
35262014-02-11 Will Newton <will.newton@linaro.org>
3527
3528 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3529 definition. (tr_where, tr_freehook, tr_mallochook,
3530 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3531
195b8165
DM
35322014-02-11 David S. Miller <davem@davemloft.net>
3533
3534 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3535 processing int_tests.
3536
2ad7600b
JM
35372014-02-10 Joseph Myers <joseph@codesourcery.com>
3538
3539 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3540 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3541 * sysdeps/unix/sysv/linux/mips: Move directory from
3542 ports/sysdeps/unix/sysv/linux/mips.
3543 * README: Update listing for mips-*-linux-gnu and
3544 mips64-*-linux-gnu.
3545
73588a72
AS
35462014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3547
3548 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3549 * sysdeps/unix/sysv/linux/m68k: Move directory from
3550 ports/sysdeps/unix/sysv/linux/m68k.
3551 * README: Update listing for m68k-*-linux-gnu.
3552
4372980f
CM
35532014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3554
3555 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3556 * sysdeps/unix/sysv/linux/generic: Move directory from
3557 ports/sysdeps/unix/sysv/linux/generic.
3558 * sysdeps/unix/sysv/linux/tile: Move directory from
3559 ports/sysdeps/unix/sysv/linux/tile.
3560 * README: Update listing for tile*-*-linux-gnu.
3561
a1ffb40e
OB
35622014-02-10 Ondřej Bílka <neleai@seznam.cz>
3563
3564 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3565 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3566 * catgets/open_catalog.c (__open_catalog): Likewise.
3567 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3568 * debug/confstr_chk.c: Likewise.
3569 * debug/fread_chk.c (__fread_chk): Likewise.
3570 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3571 * debug/getgroups_chk.c: Likewise.
3572 * debug/mbsnrtowcs_chk.c: Likewise.
3573 * debug/mbsrtowcs_chk.c: Likewise.
3574 * debug/mbstowcs_chk.c: Likewise.
3575 * debug/memcpy_chk.c: Likewise.
3576 * debug/memmove_chk.c: Likewise.
3577 * debug/mempcpy_chk.c: Likewise.
3578 * debug/memset_chk.c: Likewise.
3579 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3580 * debug/strcat_chk.c (__strcat_chk): Likewise.
3581 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3582 * debug/strncat_chk.c (__strncat_chk): Likewise.
3583 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3584 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3585 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3586 * debug/wcpncpy_chk.c: Likewise.
3587 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3588 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3589 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3590 * debug/wcsncpy_chk.c: Likewise.
3591 * debug/wcsnrtombs_chk.c: Likewise.
3592 * debug/wcsrtombs_chk.c: Likewise.
3593 * debug/wcstombs_chk.c: Likewise.
3594 * debug/wmemcpy_chk.c: Likewise.
3595 * debug/wmemmove_chk.c: Likewise.
3596 * debug/wmempcpy_chk.c: Likewise.
3597 * debug/wmemset_chk.c: Likewise.
3598 * dirent/scandirat.c (SCANDIRAT): Likewise.
3599 * dlfcn/dladdr1.c (dladdr1): Likewise.
3600 * dlfcn/dladdr.c (dladdr): Likewise.
3601 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3602 * dlfcn/dlerror.c (__dlerror): Likewise.
3603 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3604 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3605 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3606 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3607 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3608 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3609 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3610 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3611 Likewise.
3612 * elf/dl-conflict.c: Likewise.
3613 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3614 * elf/dl-dst.h: Likewise.
3615 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3616 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3617 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3618 * elf/dl-init.c (call_init, _dl_init): Likewise.
3619 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3620 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3621 _dl_map_object_from_fd, open_verify, open_path,
3622 _dl_map_object): Likewise.
3623 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3624 Likewise.
3625 * elf/dl-minimal.c (__libc_memalign): Likewise.
3626 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3627 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3628 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3629 * elf/dl-sym.c (do_sym): Likewise.
3630 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3631 _dl_tls_get_addr_soft): Likewise.
3632 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3633 * elf/dl-writev.h (_dl_writev): Likewise.
3634 * elf/ldconfig.c (search_dir): Likewise.
3635 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3636 dl_main): Likewise.
3637 * elf/setup-vdso.h (setup_vdso): Likewise.
3638 * grp/compat-initgroups.c (compat_call): Likewise.
3639 * grp/fgetgrent.c (fgetgrent): Likewise.
3640 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3641 * grp/putgrent.c (putgrent): Likewise.
3642 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3643 Likewise.
3644 * hurd/hurdinit.c: Likewise.
3645 * iconvdata/8bit-gap.c (struct): Likewise.
3646 * iconvdata/ansi_x3.110.c : Likewise.
3647 * iconvdata/big5.c : Likewise.
3648 * iconvdata/big5hkscs.c : Likewise.
3649 * iconvdata/cp1255.c: Likewise.
3650 * iconvdata/cp1258.c : Likewise.
3651 * iconvdata/cp932.c : Likewise.
3652 * iconvdata/euc-cn.c: Likewise.
3653 * iconvdata/euc-jisx0213.c : Likewise.
3654 * iconvdata/euc-jp.c: Likewise.
3655 * iconvdata/euc-jp-ms.c : Likewise.
3656 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3657 * iconvdata/gb18030.c : Likewise.
3658 * iconvdata/gbbig5.c (const): Likewise.
3659 * iconvdata/gbgbk.c: Likewise.
3660 * iconvdata/gbk.c : Likewise.
3661 * iconvdata/ibm1364.c : Likewise.
3662 * iconvdata/ibm930.c : Likewise.
3663 * iconvdata/ibm932.c: Likewise.
3664 * iconvdata/ibm933.c : Likewise.
3665 * iconvdata/ibm935.c : Likewise.
3666 * iconvdata/ibm937.c : Likewise.
3667 * iconvdata/ibm939.c : Likewise.
3668 * iconvdata/ibm943.c: Likewise.
3669 * iconvdata/iso_11548-1.c: Likewise.
3670 * iconvdata/iso-2022-cn.c : Likewise.
3671 * iconvdata/iso-2022-cn-ext.c : Likewise.
3672 * iconvdata/iso-2022-jp-3.c: Likewise.
3673 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3674 * iconvdata/iso-2022-kr.c : Likewise.
3675 * iconvdata/iso646.c (gconv_end): Likewise.
3676 * iconvdata/iso_6937-2.c : Likewise.
3677 * iconvdata/iso_6937.c : Likewise.
3678 * iconvdata/iso8859-1.c: Likewise.
3679 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3680 * iconvdata/shift_jisx0213.c : Likewise.
3681 * iconvdata/sjis.c : Likewise.
3682 * iconvdata/t.61.c : Likewise.
3683 * iconvdata/tcvn5712-1.c : Likewise.
3684 * iconvdata/tscii.c: Likewise.
3685 * iconvdata/uhc.c : Likewise.
3686 * iconvdata/unicode.c (gconv_end): Likewise.
3687 * iconvdata/utf-16.c (gconv_end): Likewise.
3688 * iconvdata/utf-32.c (gconv_end): Likewise.
3689 * iconvdata/utf-7.c (base64): Likewise.
3690 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3691 * iconv/gconv_close.c (__gconv_close): Likewise.
3692 * iconv/gconv_open.c (__gconv_open): Likewise.
3693 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3694 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3695 internal_ucs4le_loop_single, ucs4le_internal_loop,
3696 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3697 * iconv/iconv.c (iconv): Likewise.
3698 * iconv/iconv_close.c: Likewise.
3699 * iconv/loop.c (SINGLE): Likewise.
3700 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3701 * include/atomic.h: Likewise.
3702 * inet/inet6_option.c (option_alloc): Likewise.
3703 * intl/bindtextdom.c (set_binding_values): Likewise.
3704 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3705 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3706 * intl/localealias.c (read_alias_file): Likewise.
3707 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3708 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3709 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3710 * libio/fmemopen.c (fmemopen): Likewise.
3711 * libio/iofgets.c (_IO_fgets): Likewise.
3712 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3713 * libio/iofgetws.c (fgetws): Likewise.
3714 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3715 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3716 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3717 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3718 * locale/findlocale.c (_nl_find_locale): Likewise.
3719 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3720 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3721 Likewise.
3722 * locale/setlocale.c (setlocale): Likewise.
3723 * login/programs/pt_chown.c (main): Likewise.
3724 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3725 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3726 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3727 mmap, mmap64, mremap, munmap): Likewise.
3728 * math/e_exp2l.c: Likewise.
3729 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3730 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3731 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3732 * math/s_catan.c (__catan): Likewise.
3733 * math/s_catanf.c (__catanf): Likewise.
3734 * math/s_catanh.c (__catanh): Likewise.
3735 * math/s_catanhf.c (__catanhf): Likewise.
3736 * math/s_catanhl.c (__catanhl): Likewise.
3737 * math/s_catanl.c (__catanl): Likewise.
3738 * math/s_ccosh.c (__ccosh): Likewise.
3739 * math/s_ccoshf.c (__ccoshf): Likewise.
3740 * math/s_ccoshl.c (__ccoshl): Likewise.
3741 * math/s_cexp.c (__cexp): Likewise.
3742 * math/s_cexpf.c (__cexpf): Likewise.
3743 * math/s_cexpl.c (__cexpl): Likewise.
3744 * math/s_clog10.c (__clog10): Likewise.
3745 * math/s_clog10f.c (__clog10f): Likewise.
3746 * math/s_clog10l.c (__clog10l): Likewise.
3747 * math/s_clog.c (__clog): Likewise.
3748 * math/s_clogf.c (__clogf): Likewise.
3749 * math/s_clogl.c (__clogl): Likewise.
3750 * math/s_csin.c (__csin): Likewise.
3751 * math/s_csinf.c (__csinf): Likewise.
3752 * math/s_csinh.c (__csinh): Likewise.
3753 * math/s_csinhf.c (__csinhf): Likewise.
3754 * math/s_csinhl.c (__csinhl): Likewise.
3755 * math/s_csinl.c (__csinl): Likewise.
3756 * math/s_csqrt.c (__csqrt): Likewise.
3757 * math/s_csqrtf.c (__csqrtf): Likewise.
3758 * math/s_csqrtl.c (__csqrtl): Likewise.
3759 * math/s_ctan.c (__ctan): Likewise.
3760 * math/s_ctanf.c (__ctanf): Likewise.
3761 * math/s_ctanh.c (__ctanh): Likewise.
3762 * math/s_ctanhf.c (__ctanhf): Likewise.
3763 * math/s_ctanhl.c (__ctanhl): Likewise.
3764 * math/s_ctanl.c (__ctanl): Likewise.
3765 * math/w_pow.c: Likewise.
3766 * math/w_powf.c: Likewise.
3767 * math/w_powl.c: Likewise.
3768 * math/w_scalb.c (sysv_scalb): Likewise.
3769 * math/w_scalbf.c (sysv_scalbf): Likewise.
3770 * math/w_scalbl.c (sysv_scalbl): Likewise.
3771 * misc/error.c (error_tail): Likewise.
3772 * misc/pselect.c (__pselect): Likewise.
3773 * nis/nis_callback.c (__nis_create_callback): Likewise.
3774 * nis/nis_call.c (__nisfind_server): Likewise.
3775 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3776 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3777 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3778 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3779 * nis/nis_lookup.c (nis_lookup): Likewise.
3780 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3781 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3782 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3783 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3784 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3785 internal_getgrgid_r): Likewise.
3786 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3787 Likewise.
3788 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3789 internal_getpwuid_r): Likewise.
3790 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3791 internal_getspnam_r): Likewise.
3792 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3793 _nss_nis_getaliasbyname_r): Likewise.
3794 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3795 _nss_nis_getntohost_r): Likewise.
3796 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3797 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3798 Likewise.
3799 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3800 internal_nis_gethostent_r, internal_gethostbyname2_r,
3801 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3802 _nss_nis_gethostbyname4_r): Likewise.
3803 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3804 initgroups_netid): Likewise.
3805 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3806 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3807 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3808 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3809 _nss_nis_getprotobynumber_r): Likewise.
3810 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3811 _nss_nis_getsecretkey): Likewise.
3812 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3813 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3814 Likewise.
3815 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3816 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3817 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3818 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3819 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3820 _nss_nis_getspnam_r): Likewise.
3821 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3822 Likewise.
3823 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3824 _nss_nisplus_getntohost_r): Likewise.
3825 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3826 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3827 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3828 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3829 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3830 Likewise.
3831 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3832 _nss_nisplus_getnetbyaddr_r): Likewise.
3833 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3834 _nss_nisplus_getprotobynumber_r): Likewise.
3835 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3836 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3837 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3838 Likewise.
3839 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3840 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3841 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3842 _nss_nisplus_getspnam_r): Likewise.
3843 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3844 * nscd/aicache.c (addhstaiX): Likewise.
3845 * nscd/cache.c (cache_search, prune_cache): Likewise.
3846 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3847 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3848 * nscd/grpcache.c (addgrbyX): Likewise.
3849 * nscd/hstcache.c (addhstbyX): Likewise.
3850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3851 * nscd/mem.c (gc, mempool_alloc): Likewise.
3852 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3853 Likewise.
3854 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3855 Likewise.
3856 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3857 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3858 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3859 Likewise.
3860 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3861 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3862 * nscd/nscd_helper.c (__readvall, open_socket,
3863 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3864 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3865 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3866 * nscd/pwdcache.c (addpwbyX): Likewise.
3867 * nscd/selinux.c (preserve_capabilities): Likewise.
3868 * nscd/servicescache.c (addservbyX): Likewise.
3869 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3870 * posix/fnmatch.c (fnmatch): Likewise.
3871 * posix/getopt.c (_getopt_internal_r): Likewise.
3872 * posix/glob.c (glob, glob_in_dir): Likewise.
3873 * posix/wordexp.c (exec_comm_child): Likewise.
3874 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3875 gaih_getanswer_slice): Likewise.
3876 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3877 * resolv/res_init.c: Likewise.
3878 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3879 * resolv/res_query.c (__libc_res_nquery): Likewise.
3880 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3881 Likewise.
3882 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3883 * stdio-common/perror.c (perror): Likewise.
3884 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3885 * stdio-common/tmpnam.c (tmpnam): Likewise.
3886 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3887 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3888 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3889 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3890 * stdlib/putenv.c (putenv): Likewise.
3891 * stdlib/setenv.c (__add_to_environ): Likewise.
3892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3893 * stdlib/strtol_l.c (INTERNAL): Likewise.
3894 * string/memmem.c (memmem): Likewise.
3895 * string/strerror.c (strerror): Likewise.
3896 * string/strnlen.c (__strnlen): Likewise.
3897 * string/test-memmem.c (simple_memmem): Likewise.
3898 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3899 * sunrpc/pm_getport.c (__get_socket): Likewise.
3900 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3901 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3902 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3903 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3904 Likewise.
3905 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3906 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3907 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3908 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3909 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3910 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3911 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3912 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3913 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3914 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3915 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3916 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3918 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3919 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3920 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3921 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3922 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3923 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3924 Likewise.
3925 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3926 Likewise.
3927 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3928 Likewise.
3929 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3931 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3932 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3933 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3934 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3935 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3944 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3945 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3946 Likewise.
3947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3948 Likewise.
3949 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3950 Likewise.
3951 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3953 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3954 Likewise.
3955 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3956 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3957 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3958 * sysdeps/posix/sleep.c: Likewise.
3959 * sysdeps/posix/tempname.c: Likewise.
3960 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3961 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3962 Likewise.
3963 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3964 elf_machine_rela): Likewise.
3965 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3967 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3968 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3969 Likewise.
3970 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3972 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3974 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3975 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3976 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3977 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3978 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3979 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3980 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3981 elf_machine_lazy_rel): Likewise.
3982 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3984 elf_machine_lazy_rel): Likewise.
3985 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3986 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3987 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3988 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3989 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3990 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3991 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3993 Likewise.
3994 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3995 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3996 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3997 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3998 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3999 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4000 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4001 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4002 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4003 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4004 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4005 Likewise.
4006 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4007 (__posix_fallocate64_l64): Likewise.
4008 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4009 (posix_fallocate): Likewise.
4010 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4012 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4013 getifaddrs_internal): Likewise.
4014 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4015 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4016 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4017 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4018 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4019 (__posix_fallocate64_l64): Likewise.
4020 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4021 Likewise.
4022 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4023 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4024 Likewise.
4025 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4026 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4027 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4028 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4030 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4031 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4032 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4033 Likewise.
4034 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4035 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4036 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4037 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4038 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4039 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4040 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4041 Likewise.
4042 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4043 (posix_fallocate): Likewise.
4044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4045 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4046 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4047 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4048 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4049 Likewise.
4050 * time/asctime.c (asctime_internal): Likewise.
4051 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4052 * time/tzset.c (__tzset_parse_tz): Likewise.
4053 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4054 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4055 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4056 * wcsmbs/wcsmbsload.h: Likewise.
4057
f3d338c9
OB
40582014-02-10 Ondřej Bílka <neleai@seznam.cz>
4059
4060 [BZ #15894]
4061 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4062
bdfe308a
OB
40632014-02-10 Ondřej Bílka <neleai@seznam.cz>
4064
4065 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4066 arena_get2): Remove THREAD_STATS conditionals.
4067 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4068 __malloc_stats, int): Likewise.
4069
d674667c
MF
40702014-02-08 Mike Frysinger <vapier@gentoo.org>
4071
4072 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4073 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4074
6349768c
MF
40752014-02-08 Mike Frysinger <vapier@gentoo.org>
4076
4077 * manual/setjmp.texi: Fix typos/grammar errors.
4078
0b7c7473
MF
40792014-02-08 Mike Frysinger <vapier@gentoo.org>
4080
4081 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4082 Only return early when n is <= 0. Delete unused return statement.
4083
ac8cc9e3
MF
40842014-02-08 Mike Frysinger <vapier@gentoo.org>
4085
4086 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4087 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4088 * debug/tst-longjmp_chk3.c: New file.
4089
c5bb8e23
MF
40902014-02-08 Mike Frysinger <vapier@gentoo.org>
4091
4092 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4093 (test_main): Replace code with set_fortify_handler call.
4094 * debug/test-strcpy_chk.c: Likewise.
4095 * debug/tst-chk1.c: Likewise.
4096 * debug/tst-longjmp_chk.c: Likewise.
4097 * test-skeleton.c: Include fcntl.h & paths.h
4098 (set_fortify_handler): Define.
4099
10444e42
MF
41002014-02-08 Mike Frysinger <vapier@gentoo.org>
4101
4102 * debug/tst-longjmp_chk.c: Add header comment and include
4103 ../test-skeleton.c.
4104 (do_test): Mark static.
4105 (TEST_FUNCTION): Define.
4106
1e805e8d
MF
41072014-02-08 Mike Frysinger <vapier@gentoo.org>
4108
4109 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4110 (IP_PMTUDISC_INTERFACE): Likewise.
4111 (IP_MULTICAST_IF): Likewise.
4112 (IP_MULTICAST_TTL): Likewise.
4113 (IP_MULTICAST_LOOP): Likewise.
4114 (IP_ADD_MEMBERSHIP): Likewise.
4115 (IP_DROP_MEMBERSHIP): Likewise.
4116 (IP_UNBLOCK_SOURCE): Likewise.
4117 (IP_BLOCK_SOURCE): Likewise.
4118 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4119 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4120 (IP_MSFILTER): Likewise.
4121 (MCAST_JOIN_GROUP): Likewise.
4122 (MCAST_BLOCK_SOURCE): Likewise.
4123 (MCAST_UNBLOCK_SOURCE): Likewise.
4124 (MCAST_LEAVE_GROUP): Likewise.
4125 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4126 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4127 (MCAST_MSFILTER): Likewise.
4128 (IP_MULTICAST_ALL): Likewise.
4129 (IP_UNICAST_IF): Likewise.
4130
73f79bb7
MF
41312014-02-08 Mike Frysinger <vapier@gentoo.org>
4132
4133 * timezone/Makefile: Delete $(have-ksh) check.
4134 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4135 * timezone/tzselect.ksh: Add +x mode bits.
4136
8da79b60
MF
41372014-02-08 Mike Frysinger <vapier@gentoo.org>
4138
4139 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4140 (ANON_INODE_FS_MAGIC): Likewise.
4141 (BDEVFS_MAGIC): Likewise.
4142 (BINFMTFS_MAGIC): Likewise.
4143 (BTRFS_TEST_MAGIC): Likewise.
4144 (CRAMFS_MAGIC_WEND): Likewise.
4145 (DEBUGFS_MAGIC): Likewise.
4146 (ECRYPTFS_SUPER_MAGIC): Likewise.
4147 (EXT3_SUPER_MAGIC): Likewise.
4148 (EXT4_SUPER_MAGIC): Likewise.
4149 (FUTEXFS_SUPER_MAGIC): Likewise.
4150 (HOSTFS_SUPER_MAGIC): Likewise.
4151 (HUGETLBFS_MAGIC): Likewise.
4152 (MINIX3_SUPER_MAGIC): Likewise.
4153 (MTD_INODE_FS_MAGIC): Likewise.
4154 (NILFS_SUPER_MAGIC): Likewise.
4155 (OPENPROM_SUPER_MAGIC): Likewise.
4156 (PIPEFS_MAGIC): Likewise.
4157 (PSTOREFS_MAGIC): Likewise.
4158 (QNX6_SUPER_MAGIC): Likewise.
4159 (RAMFS_MAGIC): Likewise.
4160 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4161 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4162 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4163 (SECURITYFS_MAGIC): Likewise.
4164 (SELINUX_MAGIC): Likewise.
4165 (SMACK_MAGIC): Likewise.
4166 (SOCKFS_MAGIC): Likewise.
4167 (SQUASHFS_MAGIC): Likewise.
4168 (STACK_END_MAGIC): Likewise.
4169 (TMPFS_MAGIC): Likewise.
4170 (USBDEVICE_SUPER_MAGIC): Likewise.
4171 (V9FS_MAGIC): Likewise.
4172 (XENFS_SUPER_MAGIC): Likewise.
4173 (CRAMFS_MAGIC): Fix typo in comment.
4174 (EXT2_SUPER_MAGIC): Update comment.
4175 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4176
464263cc
JM
41772014-02-08 Joseph Myers <joseph@codesourcery.com>
4178
c6bfe5c4
JM
4179 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4180 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4181 * sysdeps/unix/sysv/linux/arm: Move directory from
4182 ports/sysdeps/unix/sysv/linux/arm.
4183 * README: Update listing for arm-*-linux-gnueabi.
4184
464263cc
JM
4185 * README: Remove mention of am33.
4186
32749f6c
RM
41872014-02-07 Roland McGrath <roland@hack.frob.com>
4188
4189 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4190 than the comma operator, to avoid "rhs of comma has no effect"
4191 compiler warnings.
4192 (__sigfillset, __sigandset, __sigorset): Likewise.
4193 * include/signal.h (__sigemptyset): Likewise.
4194 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4195
d5b396c1
AM
41962014-02-07 Allan McRae <allan@archlinux.org>
4197
4198 * version.h (RELEASE): Set to "development".
4199 (VERSION): Set to "2.19.90"
4200 * NEWS: Add 2.20 section.
4201
3bfff2ed
CD
42022014-02-06 Carlos O'Donell <carlos@redhat.com>
4203
4204 [BZ #16529]
4205 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4206
ee7cc385
SP
42072014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4208
4209 * manual/contrib.texi: Update entry for Carlos O'Donell,
4210 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4211
f877c4f2
CD
42122014-02-05 Carlos O'Donell <carlos@rehdat.com>
4213
27e839f6
CD
4214 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4215
f877c4f2
CD
4216 * sysdeps/unix/sysv/linux/kernel-features.h
4217 [__LINUX_KERNEL_VERSION >= 0x020621]
4218 (__ASSUME_PROC_PID_TASK_COMM): Define.
4219
68159946
SP
42202014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4221
ba17cdbd
SP
4222 [BZ #16398]
4223 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4224 conversion when destination buffer does not have enough space.
4225 * libio/tst-ftell-partial-wide.c: New test case.
4226 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4227
68159946
SP
4228 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4229 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4230 Leonard and Allan McRae.
4231
2b528732
DM
42322014-02-04 David S. Miller <davem@davemloft.net>
4233
4234 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4235 32-bit.
4236
0ff82463
AZ
42372014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4238
c01603f7
AZ
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4240 file
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4242 New file
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4244 file.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4246 file.
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4248 New file.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4250 file.
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4252 file.
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4254 New file.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4256 New file.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4258 New file.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4260 New file.
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4262 New file.
4263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4264 New file.
4265
42662014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4267
0ff82463
AZ
4268 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4269 * shlib-versions: Likewise.
4270
1695c773
AZ
42712014-02-04 Roland McGrath <roland@hack.frob.com>
4272 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4273
4274 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4275 (abilist-pattern): New variable, set to %-le.abilist.
4276
4277 * Makerules (abilist-pattern): New variable.
4278 (vpath): Use $(abilist-pattern) in place of %.abilist.
4279 (check-abi-% pattern rule): Likewise.
4280 (check-abi, update-abi): Likewise.
4281
6c0ce4b4
EW
42822014-02-04 Eric Wong <normalperson@yhbt.net>
4283
4284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4285
dc98b8f5
EW
42862014-02-04 Eric Wong <normalperson@yhbt.net>
4287
4288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4289
481e3524
CD
42902014-02-03 Carlos O'Donell <carlos@redhat.com>
4291
4292 * manual/startup.texi: Add next, previous, and top entries for
4293 the `Program Arguments' and `Environment Variables' nodes.
4294
375592d3
AO
42952014-02-03 Alexandre Oliva <aoliva@redhat.com>
4296
4297 * manual/macros.texi: Add comments before MTASC-safety macros.
4298
f54838ba
AO
4299 * manual/users.texi: Document MTASC-safety properties.
4300
909e12ad
AO
4301 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4302 pthread_getspecific, pthread_setspecific): Format with
4303 @deftypefun, and add @safety note.
4304 * manual/signal.texi: Move comments that analyze the above
4305 functions to their home place.
4306
fd3daba4
AM
43072014-02-03 Allan McRae <allan@archlinux.org>
4308
4309 * po/sl.po: Update Slovenian translation from translation project.
4310
597636d7
AO
43112014-02-02 Alexandre Oliva <aoliva@redhat.com>
4312
4313 * manual/time.texi (timegm): Add missing blank after @c.
4314 Reported by Joseph Myers <joseph@codesourcery.com>.
4315
ee196e3c
AO
43162014-02-01 Alexandre Oliva <aoliva@redhat.com>
4317
4318 * manual/check-safety.sh: New.
4319 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4320
f8d529d5
AO
4321 * manual/terminal.texi: Document MTASC-safety properties.
4322
de55fdf4
AO
4323 * manual/filesys.texi: Document MTASC-safety properties.
4324
c3299c08
AO
4325 * manual/errno.texi: Document MTASC-safety properties.
4326
06e90b14
AO
4327 * manual/intro.texi: Document safety identifiers and
4328 conditionals.
4329
1acd4371
AO
4330 * manual/string.texi (wcstok): Fix prototype.
4331 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4332
23e5b8cb
AO
4333 * manual/time.texi: Document MTASC-safety properties.
4334
11087373
AO
4335 * manual/string.texi: Document MTASC-safety properties.
4336
5da2c93d
AO
4337 * manual/threads.texi: Document MTASC-safety properties.
4338
171e9210
AO
4339 * manual/stdio.texi: Document MTASC-safety properties.
4340
d9e02532
AO
4341 * manual/syslog.texi: Document MTASC-safety properties.
4342
6af8bab7
AO
4343 * manual/sysinfo.texi: Document MTASC-safety properties.
4344
663b02d7
AO
4345 * manual/startup.texi: Document MTASC-safety properties.
4346
973f180b
AO
4347 * manual/socket.texi: Document MTASC-safety properties.
4348
8f3c25c8
AO
4349 * manual/signal.texi: Document MTASC-safety properties.
4350
542210fb
AO
43512014-01-31 Alexandre Oliva <aoliva@redhat.com>
4352
4353 * manual/setjmp.texi: Document MTASC-safety properties.
4354
433c45a2
AO
4355 * manual/search.texi: Document MTASC-safety properties.
4356
c8ce789c
AO
4357 * manual/resource.texi: Document MTASC-safety properties.
4358
19f5d29c
AO
4359 * manual/process.texi: Document MTASC-safety properties.
4360
e2dfb7f4
AO
4361 * manual/platform.texi: Document MTASC-safety properties.
4362
8c1413f5
AO
4363 * manual/pipe.texi: Document MTASC-safety properties.
4364
03483ada
AO
4365 * manual/pattern.texi: Document MTASC-safety properties.
4366
29e7e2df
AO
4367 * manual/message.texi: Document MTASC-safety properties.
4368
9f529d7c
AO
4369 [BZ #12751]
4370 * manual/memory.texi: Document MTASC-safety properties.
4371
27aaa791
AO
4372 * manual/math.texi: Document MTASC-safety properties.
4373
f2d58726
AO
4374 * manual/locale.texi: Document MTASC-safety properties.
4375
2cc3615c
AO
4376 * manual/llio.texi: Document MTASC-safety properties.
4377
d9f0ec97
AO
4378 * manual/libdl.texi: New.
4379
e7c4409a
AO
4380 * manual/lang.texi: Document MTASC-safety properties.
4381
27bdc63c
AO
4382 * manual/job.texi: Document MTASC-safety properties.
4383
a7b90ea9
AO
4384 * manual/getopt.texi: Document MTASC-safety properties.
4385
c49130e3
AO
4386 * manual/ctype.texi: Document MTASC-safety properties.
4387
0d23a5c1
MR
43882014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4389
4390 [BZ #16046]
4391 * csu/libc-tls.c (static_map): Remove variable.
4392 (__libc_setup_tls): Use main executable's link map for TLS data.
4393 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4394 casing for LM_ID_BASE and GL(dl_nns).
4395 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4396 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4397 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4398 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4399 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4400 member.
4401 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4402 l_phnum members.
4403
0037bb60
AO
44042014-01-30 Alexandre Oliva <aoliva@redhat.com>
4405
4406 * manual/debug.texi: Document MTASC-safety properties.
4407
409e00bd
L
44082014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4409
4410 [BZ #16510]
4411 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4412 of __x86_64__ when disabling x87 inline functions.
4413
86e60666
AO
44142014-01-29 Alexandre Oliva <aoliva@redhat.com>
4415
4416 * manual/charset.texi: Document MTASC-safety properties.
4417
76167637
AO
4418 * manual/crypt.texi: Document MTASC-safety properties.
4419
e567f2a0
AO
4420 * manual/conf.texi: Document MTASC-safety properties.
4421
b719dafd
AO
4422 * manual/arith.texi: Document MTASC-safety properties.
4423
4a16c662
AO
4424 * manual/argp.texi: Document MTASC-safety properties.
4425
0a57b83e
AO
4426 * manual/macros.texi: Introduce macros to document multi
4427 thread, asynchronous signal and asynchronous cancellation
4428 safety properties.
4429 * manual/intro.texi: Introduce the properties themselves.
4430
feab2397
KK
44312014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4432
4433 * sysdeps/sh/sh4/Makefile: New file.
4434
1c0d11bc
AS
44352014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4436
4437 * math/gen-libm-test.pl ($srcdir): New variable.
4438 ($auto_input): Use it.
4439
af37a8a3
SP
44402014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4441
d7b00f98
SP
4442 [BZ #16506]
4443 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4444 access beyond array bounds when parsing netgroups file.
4445
af37a8a3
SP
4446 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4447 the old buffer before realloc.
4448
0c00f062
AM
44492014-01-27 Allan McRae <allan@archlinux.org>
4450
4451 * po/fr.po: Update French translation from translation project.
4452
7d69a1b0
KK
44532014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4454
4455 * sysdeps/sh/libm-test-ulps: Regenerate.
4456
6e697ff7
DM
44572014-01-24 David S. Miller <davem@davemloft.net>
4458
4459 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4460
9cadb35c
KK
44612014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4462
4463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4464 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4465
5d41dadf
SP
44662013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4467
4468 [BZ #16474]
4469 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4470 string pointers after reallocation.
4471
0bad441c
KK
44722014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4473
4474 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4475 __SH4A__ instead of __SH_FPU_ANY__.
4476
7007c661
KK
44772014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4478
4479 * sysdeps/sh/fpu_control.h: New file.
4480 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4481 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4482 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4483 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4484 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4485 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4486 * sysdeps/sh/sys/ucontext.h: Remove.
4487 * sysdeps/sh/sys: Remove directory.
4488
0f0c35e4
AK
44892014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4490
4491 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4492 s390/sys/ucontext.h.
4493 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4494 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4495
4959e284
L
44962014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4497
4498 [BZ #15605]
4499 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4500
d98720e0
AZ
45012014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4502
4503 [BZ#16431]
4504 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4505 Adjust the vDSO correctly for internal calls.
4506 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4507
91cbd0bc
AM
45082014-01-20 Allan McRae <allan@archlinux.org>
4509
4510 * po/ca.po: Update Catalan translation from translation project.
4511
7a02cfad
MF
45122014-01-16 Mike Frysinger <vapier@gentoo.org>
4513
4514 * sysdeps/s390/sotruss-lib.c: New file.
4515
736c304a
AZ
45162014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4517
4518 [BZ#16430]
6e077ee5 4519 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4520 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4521 local calls issues by not having a PLT stub required for IFUNC calls.
4522 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4523
94d0cea0
JM
45242014-01-16 Joseph Myers <joseph@codesourcery.com>
4525
4526 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4527 * math/test-fpucw-static.c: Likewise.
4528
980cb518
SP
45292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4530
4531 [BZ #16453]
4532 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4533
2393fc01
AZ
45342014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535
4536 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4537 implementation for powerpc.
4538
d359bcc2
OB
45392014-01-15 Ondřej Bílka <neleai@seznam.cz>
4540
4541 [BZ #14782]
4542 * sysdeps/posix/system.c (__libc_system): Do not enable
4543 asynchronous cancellation.
4544
7beb48cb
AK
45452014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4546
4547 [BZ #16427]
4548 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4549 handling only for numbers special also in the IEEE case.
4550
c20d5bf5
AK
45512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4552
4553 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4554
e83bd4ee
AM
45552014-01-11 Allan McRae <allan@archlinux.org>
4556
76d0ea69
AM
4557 * po/bg.po: Update Bulgarian translation from translation project.
4558
e83bd4ee
AM
4559 * po/de.po: Update German translation from translation project.
4560
bc2ba20a
RM
45612014-01-10 Roland McGrath <roland@hack.frob.com>
4562
4563 * sysdeps/generic/gcc-compat.h: New file.
4564
649ecea2
SP
45652014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4566
4567 * benchtests/asin-inputs: Correct slow inputs.
4568 * benchtests/acos-inputs: Likewise.
4569
1b19c006
AM
45702014-01-10 Allan McRae <allan@archlinux.org>
4571
a46dab08
AM
4572 * po:sv.po: Update Swedish translation from translation project.
4573
421df74a
AM
4574 * po/vi.po: Update Vietnamese translation from translation project.
4575
d61c51a7
AM
4576 * po/eo.po: Update Esperanto translation from translation project.
4577
0339a319
AM
4578 * po/cs.po: Update Czech translation from translation project.
4579
94ad3e99
AM
4580 * po/nl.po: Update Dutch translation from translation project.
4581
e349ca71
AM
4582 * po/pl.po: Update Polish translation from translation project.
4583
ddf930c1
AM
4584 * po/ru.po: Update Russian translation from translation project.
4585
1b19c006
AM
4586 * po/uk.po: Update Ukrainian translation from translation project.
4587
9f236c49
BM
45882014-01-08 Brooks Moses <bmoses@google.com>
4589
4590 * elf/dl-load.c: Fix comment typo.
4591
cd6701cf
CD
45922014-01-08 Carlos O'Donell <carlos@redhat.com>
4593
4594 * po/header.pot: Rename to...
4595 * po/pot.header: ... this.
4596 * po/Makefile: Use pot.header.
4597
66671c84
YK
45982014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4599 Maxim Kuvyrkov <maxim@kugelworks.com>
4600
4601 [BZ #16394]
cd6701cf
CD
4602 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4603 SRC and DEST against LEN.
66671c84 4604
38f34581
AZ
46052014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4606
4607 [BZ #16414]
4608 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4609 implementation.
4610 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4611
46122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4613
4614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4615
4c327f2a
JM
46162014-01-08 Joseph Myers <joseph@codesourcery.com>
4617
4618 [BZ #16408]
4619 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4620 for large positive arguments.
4621
b821f414
JM
46222014-01-07 Joseph Myers <joseph@codesourcery.com>
4623
1f0f2067
JM
4624 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4625
a5a326f6
JM
4626 * math/auto-libm-test-in: Mark various tests with
4627 xfail-rounding:ldbl-128ibm.
4628 * math/auto-libm-test-out: Regenerated.
4629
b821f414
JM
4630 [BZ #16407]
4631 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4632 Increase overflow threshold.
4633
94c8a4bc
OB
46342014-01-07 Ondřej Bílka <neleai@seznam.cz>
4635
4636 [BZ #14286]
4637 * stdio-common/vfprintf.c: Check for integer overflow.
4638
87ded0c3
AK
46392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4640
4641 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4642 the first argument and return value of __tls_get_addr_internal.
4643
c5eebdd0
AK
46442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4645
4646 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4647 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4648
05d138ef
AK
46492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4650
4651 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4652 * sysdeps/s390/rtld-global-offsets.sym: New file.
4653 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4654 GLIBC_2.19 symbol.
4655 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4656 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4657 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4658 ... this.
4659 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4660 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4661 ... this.
4662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4663 Regenerate.
4664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4665 Regenerate.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4667 halfs of GPRs for high_gprs contexts.
4668 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4669 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4670 field.
4671 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4672 uc_flags field.
4673 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4674 64 bit versions:
4675 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4676 for high GPRs (uc_high_gprs) and for future extensions
4677 (__reserved).
4678 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4679 for future extensions (__reserved).
4680 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4681 64 bit versions:
4682 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4683 SC_HIGHGPRS offset definition.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4685 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4686
93a45ff1
AK
46872014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4688
4689 * Versions.def: Add GLIBC_2.19 for libpthread.
4690 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4691 siglongjmp for libpthread with GLIBC_2.19 symver.
4692 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4693 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4694 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4695 * sysdeps/s390/__longjmp.c: New file.
4696 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4697 * sysdeps/s390/longjmp.c: New file.
4698 * sysdeps/s390/setjmp.S: New file.
4699 * sysdeps/s390/sigjmp.S: New file.
4700 * sysdeps/s390/v1-longjmp.c: New file.
4701 * sysdeps/s390/v1-setjmp.h: New file.
4702 * sysdeps/s390/v1-sigjmp.c: New file.
4703 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4704 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4705 GLIBC_2.19 version.
4706 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4707 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4708 versioned symbols for ____longjmp_chk.
4709 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4710 Likewise.
4711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4712 Regenerate.
4713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4714 Regenerate.
4715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4716 Regenerate.
4717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4718 Regenerate.
4719 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4720 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4721 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4722 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4723 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4724 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4725 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4726 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4727 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4728 * sysdeps/s390/rtld-__longjmp.c: New file.
4729 * sysdeps/s390/rtld-setjmp.S: New file.
4730
eb3fc44b
JM
47312014-01-06 Joseph Myers <joseph@codesourcery.com>
4732
4733 [BZ #16400]
4734 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4735 Return -__logl (x) for small positive arguments without evaluating
4736 a polynomial.
4737
9341dde4
MF
47382014-01-06 Mike Frysinger <vapier@gentoo.org>
4739
4740 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4741 Rename to ...
4742 (__ptrace_peeksiginfo_args): ... this.
4743 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4744 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4746
4cff0293
AM
47472014-01-06 Allan McRae <allan@archlinux.org>
4748
4749 * inet/netinet/in.h: Fix typo in comment.
4750
75595dcf
AJ
47512014-01-05 Andreas Jaeger <aj@suse.de>
4752
4753 * sysdeps/i386/fpu/libm-test-ulps: Update.
4754
79c1e109
AM
47552014-01-05 Allan McRae <allan@archlinux.org>
4756
dd804818
AM
4757 * po/libc.pot: Regenerated.
4758
79c1e109
AM
4759 * malloc/memusagestat.c: Fix gettext call formatting.
4760
0c813d1f
SK
47612014-01-04 Sami Kerola <kerolasa@iki.fi>
4762
4763 * nscd/nscd.c: Improve usage() output.
4764
20f4a8d9
MF
47652014-01-04 Mike Frysinger <vapier@gentoo.org>
4766
4767 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4768 * sysdeps/unix/sysv/linux/configure: Regenerated.
4769 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4770 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4771
22562bb2
JM
47722014-01-03 Joseph Myers <joseph@codesourcery.com>
4773
4774 [BZ #16390]
4775 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4776 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4777
d7ad2d9b
AZ
47782014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4779
4780 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4781 extra tokens at end of #undef directive.
4782 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4785
7dd009d8
JM
47862014-01-03 Joseph Myers <joseph@codesourcery.com>
4787
24db925a
JM
4788 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4789
7dd009d8
JM
4790 * math/auto-libm-test-in: Mark various tests with
4791 xfail-rounding:ldbl-128ibm.
4792 * math/auto-libm-test-out: Regenerated.
4793
396e3ecf
JM
47942014-01-02 Joseph Myers <joseph@codesourcery.com>
4795
819e5d50
JM
4796 [BZ #16386]
4797 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4798 numbers with subnormal high part when calculating exponent.
4799
90b6a1e5
JM
4800 [BZ #16385]
4801 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4802 fabs.
4803
396e3ecf
JM
4804 [BZ #16384]
4805 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4806 M_LN2l.
4807 (__ieee754_acoshl): Use __log1pl not __log1p.
4808
6c8dbf00
OB
48092013-01-02 Ondřej Bílka <neleai@seznam.cz>
4810
4811 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4812 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4813 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4814 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4815 Convert to GNU style.
4816 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4817 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4818 memalign_check, __malloc_set_state): Likewise.
4819 * malloc/mallocbug.c (main): Likewise.
4820 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4821 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4822 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4823 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4824 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4825 * malloc/malloc.h: Likewise.
4826 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4827 memalignhook, reallochook, mabort): Likewise.
4828 * malloc/mcheck.h: Likewise.
4829 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4830 mmap64, mremap, munmap, dest): Likewise.
4831 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4832 * malloc/morecore.c (__default_morecore): Likewise.
4833 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4834 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4835 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4836 print_and_abort): Likewise.
4837 * malloc/obstack.h: Likewise.
4838 * malloc/set-freeres.c (__libc_freeres): Likewise.
4839 * malloc/tst-mallocstate.c (main): Likewise.
4840 * malloc/tst-mtrace.c (main): Likewise.
4841 * malloc/tst-realloc.c (do_test): Likewise.
4842
d4124212
SP
48432013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4844
9a3c6a6f
SP
4845 [BZ #16366]
4846 * nscd/netgroupcache.c (do_notfound): New function.
4847 (addgetnetgrentX): Use it.
4848
d4124212
SP
4849 [BZ # 16365]
4850 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4851 NSS_STATUS_NOTFOUND.
4852
97b9a009
JM
48532014-01-01 Joseph Myers <joseph@codesourcery.com>
4854
4855 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4857
d4697bc9
AM
48582014-01-01 Allan McRae <allan@archlinux.org>
4859
ddb3687f
AM
4860 * scripts/update-copyrights: Update configure input file suffix.
4861
88726d48
AM
4862 * NEWS: Update copyright year.
4863 * catgets/gencat.c: Likewise.
4864 * csu/version.c: Likewise.
4865 * debug/catchsegv.sh: Likewise.
4866 * debug/pcprofiledump.c: Likewise.
4867 * debug/xtrace.sh: Likewise.
4868 * elf/ldconfig.c: Likewise.
4869 * elf/ldd.bash.in: Likewise.
4870 * elf/pldd.c: Likewise.
4871 * elf/sotruss.ksh: Likewise.
4872 * elf/sprof.c: Likewise.
4873 * iconv/iconv_prog.c: Likewise.
4874 * iconv/iconvconfig.c: Likewise.
4875 * locale/programs/locale.c: Likewise.
4876 * locale/programs/localedef.c: Likewise.
4877 * login/programs/pt_chown.c: Likewise.
4878 * malloc/memusage.sh: Likewise.
4879 * malloc/memusagestat.c: Likewise.
4880 * malloc/mtrace.pl: Likewise.
4881 * manual/libc.texinfo: Likewise.
4882 * nscd/nscd.c: Likewise.
4883 * nss/getent.c: Likewise.
4884 * nss/makedb.c: Likewise.
4885 * posix/getconf.c: Likewise.
4886 * scripts/test-installation.pl: Likewise.
4887
d4697bc9
AM
4888 * All files with FSF copyright notices: Update copyright dates
4889 using scripts/update-copyrights.
4890 * intl/plural.c: Regenerated.
4891 * locale/programs/charmap-kw.h: Likewise.
4892 * locale/programs/locfile-kw.h: Likewise.
4893
c8590f9d
MF
48942013-12-31 Mike Frysinger <vapier@gentoo.org>
4895
4896 * sysdeps/unix/sysv/linux/configure: Regenerated.
4897 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4898 the linux/fanotify.h header.
4899 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4900 HAVE_LINUX_FANOTIFY_H is defined.
4901
b19221b9
SP
49022013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4903
dd1d85e5
SP
4904 * benchtests/cos-inputs: New inputs.
4905 * benchtests/sin-inputs: Likewise.
4906
1acbb90f
SP
4907 * benchtests/atan-inputs: New inputs. Fix name of multiple
4908 precision fallback inputs.
4909
4c012ed3
SP
4910 * benchtests/atanh-inputs: New inputs.
4911 * benchtests/tanh-inputs: Likewise.
4912
eff98324
SP
4913 * benchtests/acosh-inputs: New inputs.
4914 * benchtests/asinh-inputs: Likewise.
4915
ce641152
SP
4916 * benchtests/cosh-inputs: New inputs.
4917 * benchtests/sinh-inputs: Likewise.
4918
b19221b9
SP
4919 * benchtests/acos-inputs: Add more inputs.
4920 * benchtests/asin-inputs: Likewise.
4921
030a4976 49222013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4923
030a4976 4924 [BZ #16375]
9dcc8f11
VS
4925 * manual/arith.texi: Fix spelling.
4926 * manual/charset.texi: Likewise.
4927 * manual/errno.texi: Likewise.
4928 * manual/filesys.texi: Likewise.
4929 * manual/lang.texi: Likewise.
4930 * manual/llio.texi: Likewise.
4931 * manual/locale.texi: Likewise.
4932 * manual/message.texi: Likewise.
4933 * manual/resource.texi: Likewise.
4934 * manual/search.texi: Likewise.
4935 * manual/setjmp.texi: Likewise.
4936 * manual/stdio.texi: Likewise.
4937 * manual/string.texi: Likewise.
4938 * manual/sysinfo.texi: Likewise.
4939 * manual/time.texi: Likewise.
4940
11520a57
CD
49412013-12-27 Carlos O'Donell <carlos@redhat.com>
4942
4943 * po/sl.po: New file.
4944
471103ae
MF
49452013-12-27 Mike Frysinger <vapier@gentoo.org>
4946
4947 * .gitignore: Add core/.gdbinit/.gdb_history.
4948
6c9642ed
AM
49492013-12-27 Allan McRae <allan@archlinux.org>
4950
4951 [BZ #16369]
4952 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4953 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4954
3f637079
BM
49552013-12-24 Brooks Moses <bmoses@google.com>
4956
4957 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4958 all compilers that claim C++98 compliance, not just GCC.
4959 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4960 Likewise.
4961
abc26e99
MK
49622013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4963
4964 * NEWS: Restore accidentally deleted bug-fix entries.
4965
362b47fe
MK
49662013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4967 Ondřej Bílka <neleai@seznam.cz>
4968
4969 [BZ #15073]
4970 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4971 have_lock.
362b47fe 4972
b9bcbbcb
OB
49732013-12-23 Ondřej Bílka <neleai@seznam.cz>
4974
4975 [BZ #12986]
4976 * manual/stdio.texi (String Input Conversions): Clarify that character
4977 classes are not supported.
4978
fb55fcd2
AZ
49792013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4980
4981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4982
ef7344f0
JM
49832013-12-22 Joseph Myers <joseph@codesourcery.com>
4984
4f40e4b3
JM
4985 [BZ #16337]
4986 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4987 Calculate results for small negative arguments directly rather
4988 than using reflection formula with special underflow handling.
4989
ef7344f0
JM
4990 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4991 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4992 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4993 (fchflags): Likewise.
4994 (revoke): Likewise.
4995 (setlogin): Likewise.
4996 (sigaltstack): Likewise.
4997 (wait4): Likewise.
4998 (sigblock): Remove.
4999 (sigsetmask): Likewise.
5000 (wait3): Likewise.
5001 (waitpid): Likewise.
5002 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5003 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5004 file.
5005 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5006 * sysdeps/unix/bsd/Makefile: ... here.
5007 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5008 * sysdeps/unix/bsd/Versions: ... here.
5009 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5010 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5011 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5012 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5013 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5014 * sysdeps/unix/bsd/sigblock.c: ... here.
5015 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5016 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5017 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5018 * sysdeps/unix/bsd/sigvec.c: ... here.
5019 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5020 * sysdeps/unix/bsd/tcdrain.c: ... here.
5021 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5022 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5023 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5024 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5025 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5026 * sysdeps/unix/bsd/wait.c: ... here.
5027 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5028 * sysdeps/unix/bsd/wait3.c: ... here.
5029 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5030 * sysdeps/unix/bsd/waitpid.c: ... here.
5031
5b0626b9
JM
50322013-12-21 Joseph Myers <joseph@codesourcery.com>
5033
5034 [BZ #16356]
5035 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5036 round-to-nearest for [!USE_AS_EXPM1L].
5037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5038 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5039 more tests of exp and exp10. Expect some exp10 tests to miss
5040 exceptions or fail in directed rounding modes.
5041 * math/auto-libm-test-out: Regenerated.
5042 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5043 (exp10_test_tonearest): New function.
5044 (exp10_towardzero_test_data): New array.
5045 (exp10_test_towardzero): New function.
5046 (exp10_downward_test_data): New array.
5047 (exp10_test_downward): New function.
5048 (exp10_upward_test_data): New array.
5049 (exp10_test_upward): New function.
5050 (main): Call the new functions.
5051 * sysdeps/i386/fpu/libm-test-ulps: Update.
5052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5053
7fda5682
JM
50542013-12-20 Joseph Myers <joseph@codesourcery.com>
5055
31e3a405
JM
5056 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5057 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5058 * math/auto-libm-test-out: Regenerated.
5059 * math/libm-test.inc (acosh_test_data): Add more tests.
5060 (atanh_test_data): Likewise.
5061 (ceil_test_data): Likewise.
5062 (copysign_test_data): Likewise.
5063 * sysdeps/i386/fpu/libm-test-ulps: Update.
5064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5065
85bff96a
JM
5066 * timezone/checktab.awk: Update from tzcode 2013i.
5067 * timezone/private.h: Likewise.
5068 * timezone/scheck.c: Likewise.
5069 * timezone/tzfile.h: Likewise.
5070 * timezone/tzselect.ksh: Likewise.
5071 * timezone/zdump.c: Likewise.
5072 * timezone/zic.c: Likewise.
5073
b7867a3b
JM
5074 * math/auto-libm-test-in: Add tests of cpow.
5075 * math/auto-libm-test-out: Regenerated.
5076 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5077 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5078 mpc_cc_c.
5079 (func_calc_desc): Add mpc_cc_c union field.
5080 (test_functions): Add cpow.
5081 (special_fill_2pi): New function.
5082 (special_real_inputs): Add 2pi.
5083 (calc_generic_results): Handle mpc_cc_c.
5084 * sysdeps/i386/fpu/libm-test-ulps: Update.
5085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5086
7fda5682
JM
5087 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5088 csqrt, ctan and ctanh.
5089 * math/auto-libm-test-out: Regenerated.
5090 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5091 (TEST_COND_x86): Likewise.
5092 (ccos_test_data): Use AUTO_TESTS_c_c.
5093 (ccosh_test_data): Likewise.
5094 (cexp_test_data): Likewise.
5095 (clog_test_data): Likewise.
5096 (csqrt_test_data): Likewise.
5097 (ctan_test_data): Likewise.
5098 (ctan_tonearest_test_data): Likewise.
5099 (ctan_towardzero_test_data): Likewise.
5100 (ctan_downward_test_data): Likewise.
5101 (ctan_upward_test_data): Likewise.
5102 (ctanh_test_data): Likewise.
5103 (ctanh_tonearest_test_data): Likewise.
5104 (ctanh_towardzero_test_data): Likewise.
5105 (ctanh_downward_test_data): Likewise.
5106 (ctanh_upward_test_data): Likewise.
5107 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5108 mpc_c_c.
5109 (func_calc_desc): Add mpc_c_c union field.
5110 (FUNC_mpc_c_c): New macro.
5111 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5112 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5113 ctanh.
5114 (special_fill_min_subnorm_p120): New function.
5115 (special_real_inputs): Add min_subnorm_p120.
5116 (calc_generic_results): Handle mpc_c_c.
5117 * sysdeps/i386/fpu/libm-test-ulps: Update.
5118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5119
5ff8d60e
SP
51202013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5121
392dd2de
SP
5122 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5123 do_sin_slow): New functions.
5124 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5125 cslow2, csloww1, csloww2): Use the new functions.
5126
84ba214c
SP
5127 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5128 Use M to change sign of result instead of X. Assume X is
5129 positive.
5130 (csloww1): Likewise.
5131 (__sin): Adjust.
5132 (__cos): Adjust.
5133
975195e4
SP
5134 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5135 arguments A and DA.
5136 (__sin): Adjust.
5137 (__cos): Likewise.
5138
5ff8d60e
SP
5139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5140 (__cos): Likewise.
5141 (sloww1): Don't adjust sign of DX.
5142 (csloww1): Likewise.
5143 (sloww2): Use X directly and don't adjust sign of DX.
5144 (csloww2): Likewise.
5145
eb983568
JM
51462013-12-19 Joseph Myers <joseph@codesourcery.com>
5147
64a17f1a
JM
5148 * math/auto-libm-test-in: Add tests of cabs and carg.
5149 * math/auto-libm-test-out: Regenerated.
5150 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5151 (carg_test_data): Likewise.
5152 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5153 mpc_c_f.
5154 (func_calc_desc): Add mpc_c_f union field.
5155 (test_functions): Add cabs and carg.
5156 (calc_generic_results): Handle mpc_c_f.
5157
eb983568
JM
5158 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5159 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5160 as a macro and a compat symbol.
5161 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5162 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5163 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5164 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5165 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5166 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5167 not use .hidden.
5168 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5169 Likewise.
5170 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5171 Likewise.
5172 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5173 Likewise.
5174 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5175 Likewise.
5176 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5177 Likewise.
5178 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5179 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5180 from GLIBC_2.3.2.
5181
6eeb678a
AZ
51822013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5183
5184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5185
6f6fc482
JM
51862013-12-19 Joseph Myers <joseph@codesourcery.com>
5187
21fea2e2
JM
5188 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5189 trailing whitespace removed.
5190 * scripts/config.guess: Update to version 2013-11-29.
5191 * scripts/config.sub: Update to version 2013-10-01.
5192
6f6fc482
JM
5193 * math/auto-libm-test-in: Add tests of sincos.
5194 * math/auto-libm-test-out: Regenerated.
5195 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5196 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5197 mpfr_f_11.
5198 (func_calc_desc): Add mpfr_f_11 union field.
5199 (test_functions): Add sincos.
5200 (calc_generic_results): Handle mpfr_f_11.
5201 * sysdeps/i386/fpu/libm-test-ulps: Update.
5202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5203
83f5c32d
AS
52042013-12-19 Andreas Schwab <schwab@suse.de>
5205
5206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5207 CALL_MCOUNT.
5208 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5209 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5210 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5211
c688b419
JM
52122013-12-19 Joseph Myers <joseph@codesourcery.com>
5213
335ee092
JM
5214 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5215 * sysdeps/i386/fpu/libm-test-ulps: Update.
5216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5217
f88acd39
JM
5218 [BZ #16293]
5219 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5220 round-to-nearest mode when using frndint.
5221 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5222 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5223 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5224 Likewise.
5225 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5226 sinh test to fail.
5227 * math/auto-libm-test-out: Regenerated.
5228 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5229 (TEST_COND_x86): Likewise.
5230 (expm1_tonearest_test_data): New array.
5231 (expm1_test_tonearest): New function.
5232 (expm1_towardzero_test_data): New array.
5233 (expm1_test_towardzero): New function.
5234 (expm1_downward_test_data): New array.
5235 (expm1_test_downward): New function.
5236 (expm1_upward_test_data): New array.
5237 (expm1_test_upward): New function.
5238 (main): Run the new test functions.
5239 * sysdeps/i386/fpu/libm-test-ulps: Update.
5240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5241
c688b419
JM
5242 * include/features.h: Update comment documenting feature test
5243 macros. Mention _DEFAULT_SOURCE in comment.
5244 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5245 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5246 _BSD_SOURCE and _SVID_SOURCE.
5247 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5248 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5249 !_SVID_SOURCE]: Likewise.
5250 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5251 (__USE_POSIX_IMPLICITLY): Define.
5252 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5253 (_POSIX_SOURCE): Undefine and redefine.
5254 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5255 (_POSIX_C_SOURCE): Likewise.
5256 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5257 (Feature Test Macros): Update documentation of default features.
5258
9f6e964c
RS
52592013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5260
5261 * benchtests/Makefile: Add bench-strtok.
5262 * benchtests/bench-strtok.c: New file: strtok benchtest.
5263
ee0a148a
AM
52642013-12-19 Allan McRae <allan@archlinux.org>
5265
5266 * manual/install.texi: Suppress menu for plain text output.
5267 * INSTALL: Regenerated.
5268
b9ab448f
BM
52692013-12-18 Brooks Moses <bmoses@google.com>
5270
5271 [BZ #15846]
5272 * misc/getauxval.c: Include errno.h.
5273 (__getauxval): Set errno to ENOENT if the requested type is not
5274 found.
5275 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5276 don't declare with __attribute_const__.
5277 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5278 * manual/startup.texi: Document that getauxval sets errno.
5279
23776487
JM
52802013-12-18 Joseph Myers <joseph@codesourcery.com>
5281
f889953b
JM
5282 * math/auto-libm-test-in: Add tests of jn and yn.
5283 * math/auto-libm-test-out: Regenerated.
5284 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5285 (yn_test_data): Likewise.
5286 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5287 mpfr_if_f.
5288 (func_calc_desc): Add mpfr_if_f union field.
5289 (FUNC_mpfr_if_f): New macro.
5290 (test_functions): Add jn and yn.
5291 (calc_generic_results): Assert type of second input for
5292 mpfr_ff_f. Handle mpfr_if_f.
5293 (output_for_one_input_case): Disable all checking for arguments
5294 fitting floating-point types in case of an integer argument.
5295 * sysdeps/i386/fpu/libm-test-ulps: Update.
5296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5297
23776487
JM
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5299 Don't expect fegetround reference in libm.so.
5300
cb756c6d
MS
53012013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5302
5303 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5304 $(config-cflags-nofma).
5305
2dec468f
JM
53062013-12-18 Joseph Myers <joseph@codesourcery.com>
5307
5953eb3a
JM
5308 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5309 * math/auto-libm-test-out: Regenerated.
5310
2dec468f
JM
5311 [BZ #16338]
5312 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5313 to determine exponent and adjust argument to have exponent of -1.
5314 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5315 log2.
5316 * math/auto-libm-test-out: Regenerated.
5317 * sysdeps/i386/fpu/libm-test-ulps: Update.
5318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5319
4d84e6ad
OB
53202013-12-18 Ondřej Bílka <neleai@seznam.cz>
5321
5322 * manual/probes.texi: Remove cases when per-thread arenas are
5323 disabled.
5324
1818483b
AS
53252013-12-18 Andreas Schwab <schwab@suse.de>
5326
5327 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5328 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5329 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5330 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5331 * sysdeps/i386/i686/multiarch/Makefile: Update.
5332 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5333
25de95bf
JM
53342013-12-17 Joseph Myers <joseph@codesourcery.com>
5335
5336 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5337 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5338
674762d9
PE
53392013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5340
ed27ed83 5341 [BZ #15968]
0748546f
PE
5342 Support TZ transition times < 00:00:00.
5343 This is needed for version-3 tz-format files; it supports time
5344 stamps past 2037 for America/Godthab (the only entry in the tz
5345 database for which this change is relevant).
5346 * manual/time.texi (TZ Variable): Document transition times
5347 from -167:59:59 through -00:00:01.
5348 * time/tzset.c (tz_rule): Time of day is now signed.
5349 (__tzset_parse_tz): Parse negative time of day.
5350
4480e934
PE
5351 Document TZ transition times >= 25:00:00.
5352 * manual/time.texi (TZ Variable): Document transition times from
5353 25:00:00 through 167:59:59. These are already supported, and this
5354 support will help with version-3 tz-format files.
5355
69947401
PE
5356 * manual/time.texi (TZ Variable): Modernize North America example
5357 to reflect current (i.e., 2007-and-later) daylight saving rules.
5358
674762d9
PE
5359 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5360
7011c262
JM
53612013-12-17 Joseph Myers <joseph@codesourcery.com>
5362
2fc6557e
JM
5363 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5364 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5367 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5368 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5369 * sysdeps/unix/bsd/clock.c: Likewise.
5370 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5371 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5372 * sysdeps/unix/bsd/init-posix.c: Likewise.
5373 * sysdeps/unix/bsd/poll.c: Likewise.
5374 * sysdeps/unix/bsd/ptsname.c: Likewise.
5375 * sysdeps/unix/bsd/seekdir.c: Likewise.
5376 * sysdeps/unix/bsd/setegid.c: Likewise.
5377 * sysdeps/unix/bsd/seteuid.c: Likewise.
5378 * sysdeps/unix/bsd/setgid.c: Likewise.
5379 * sysdeps/unix/bsd/setrgid.c: Likewise.
5380 * sysdeps/unix/bsd/setruid.c: Likewise.
5381 * sysdeps/unix/bsd/setsid.c: Likewise.
5382 * sysdeps/unix/bsd/setuid.c: Likewise.
5383 * sysdeps/unix/bsd/sigaction.c: Likewise.
5384 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5385 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5386 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5387 * sysdeps/unix/bsd/telldir.c: Likewise.
5388 * sysdeps/unix/bsd/times.c: Likewise.
5389 * sysdeps/unix/bsd/usleep.c: Likewise.
5390
029c7b25
JM
5391 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5392 ($(objpfx)libbsd-compat.a): Remove rule.
5393
7011c262
JM
5394 * include/features.h (__FAVOR_BSD): Do not define.
5395 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5396 features conflicting with POSIX.
5397 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5398 (_BSD_SOURCE): Remove description of not being a subset of other
5399 feature test macros.
5400 * manual/job.texi (getpgrp): Do not document BSD version.
5401 (getpgid): Do not document by reference to BSD getpgrp.
5402 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5403 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5404 * signal/signal.h [__FAVOR_BSD]: Likewise.
5405 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5406 instead of making contents conditional on [__FAVOR_BSD].
5407 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5408
affb6f78
AZ
54092013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5410
5411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5412
c88769dd
JM
54132013-12-17 Joseph Myers <joseph@codesourcery.com>
5414
6432a540
JM
5415 [BZ #16314]
5416 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5417 values below 2**-450, not 2**-500.
5418 * math/auto-libm-test-in: Don't allow spurious underflow from
5419 hypot.
5420 * math/auto-libm-test-out: Regenerated.
5421
c88769dd
JM
5422 [BZ #16316]
5423 [BZ #16330]
5424 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5425 values of ha and hb and sort them after adjusting subnormal
5426 arguments.
5427 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5428 Likewise.
5429 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5430 values of ea and eb and sort them after adjusting subnormal
5431 arguments.
5432 * math/auto-libm-test-in: Do not expect some hypot tests of
5433 subnormals to fail. Add more hypot tests.
5434 * math/auto-libm-test-out: Regenerated.
5435
29618f6b
KK
54362013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5437
5438 [BZ #13304]
5439 * sysdeps/sh/s_fma.c: New file.
5440 * sysdeps/sh/s_fmaf.c: New file.
5441 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5442 version.
5443 * sysdeps/sh/Implies: Add sh/soft-fp.
5444
eacfdfbf
RM
54452013-12-16 Roland McGrath <roland@hack.frob.com>
5446
5447 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5448 level of indirection to members `objname', `errstring', `malloced'.
5449 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5450 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5451 it as the __longjmp argument (just pass 1 instead).
5452 (_dl_catch_error): Initialize C with argument pointers and address of
5453 volatile local ERRCODE rather than copying values out of C at return.
5454
ff362e5b
JM
54552013-12-16 Joseph Myers <joseph@codesourcery.com>
5456
5457 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5458 * math/auto-libm-test-out: Regenerated.
5459 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5460 (hypot_test_data): Likewise.
5461 (pow_test_data): Likewise.
5462 (pow_tonearest_test_data): Likewise.
5463 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5464 mpfr_ff_f.
5465 (func_calc_desc): Add mpfr_ff_f union field.
5466 (FUNC_mpfr_ff_f): New macro.
5467 (test_functions): Add atan2, hypot and pow.
5468 (special_fill_min): New function.
5469 (special_fill_minus_min): Likewise.
5470 (special_fill_min_subnorm): Likewise.
5471 (special_fill_minus_min_subnorm): Likewise.
5472 (special_real_inputs): Add min, -min, min_subnorm and
5473 -min_subnorm.
5474 (calc_generic_results): Handle mpfr_ff_f.
5475 * sysdeps/i386/fpu/libm-test-ulps: Update.
5476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5477
5764c27f
WN
54782013-12-16 Will Newton <will.newton@linaro.org>
5479
5480 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5481 (Aligned Memory Blocks): Add documentation for aligned_alloc
5482 and suggest it as an alternative to posix_memalign.
5483 (Hooks for Malloc): Document __memalign_hook is also called
5484 for aligned_alloc. (Summary of Malloc): Add summary for
5485 aligned alloc. Document __memalign_hook is also called
5486 for aligned_alloc.
5487
0a096e44
WN
54882013-12-16 Will Newton <will.newton@linaro.org>
5489
5490 * manual/memory.texi (Malloc Examples): Clarify default
5491 alignment documentation. Suggest posix_memalign rather
5492 than memalign or valloc.
5493 (Aligned Memory Blocks): Remove suggestion to use memalign
5494 or valloc. Remove obsolete comment about BSD.
5495 Document memalign errno values and mark the function obsolete.
5496 Document posix_memalign returned error codes. Mark valloc
5497 as obsolete. (Hooks for Malloc): __memalign_hook is also
5498 called for posix_memalign and valloc.
5499 (Summary of Malloc): Add posix_memalign to function summary.
5500 __memalign_hook is also called for posix_memalign and valloc.
5501
8d561986
SP
55022013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5503
5504 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5505 TAYLOR_SIN.
5506 (__sin): Adjust.
5507 (__cos): Likewise.
5508 (sloww): Use mynumber union. Expand ternary operator into
5509 if-else statements.
5510 (cslow): use mynumber union.
5511
73616a74
AM
55122013-12-16 Allan McRae <allan@archlinux.org>
5513
9e8ac24b
AM
5514 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5515 * configure: Regenerated.
5516
6f8e37eb
AM
5517 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5518
8894bad3
AM
5519 [BZ #14120]
5520 * configure.ac: Added --enable-maintainer-mode. Check for
5521 autoconf when enabled.
5522 * configure: Regenerated.
5523
73616a74
AM
5524 * nscd/nscd.service: New file.
5525 * nscd/nscd.tmpfiles: New file.
5526
584b18eb
OB
55272013-12-14 Ondřej Bílka <neleai@seznam.cz>
5528
5529 [BZ #12100]
5530 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5531 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5532 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5533 (strstr): Add __strstr_sse2_unaligned ifunc.
5534 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5535 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5536 (strcasestr): Remove __strcasestr_sse42 ifunc.
5537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5540
8a5c7897
KK
55412013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5542
5543 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5544 * sysdeps/sh/bits/fenv.h: ... here.
5545 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5546
fd712ef3
AZ
55472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5548
5549 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5550
42fcb46c
AZ
55512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552
5553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5554 hypotf multiarch implementations.
5555 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5557 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5558 multiarch hypot for PPC64.
5559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5561 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5562 multiarch hypotf for PPC64.
5563
83efded4
AZ
55642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5565
5566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5567 modff multiarch implementations.
5568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5571 multiarch modf for PPC64.
5572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5575 multiarch modff for PPC64.
5576
43e246d2
AZ
55772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5578
5579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5580 and logl multiarch implementations.
5581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5584 multiarch logb for PPC64.
5585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5588 multiarch logb for PPC64.
5589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5592 multiarch logb for PPC64.
5593
8fdad123
AZ
55942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5595
5596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5597 isinff multiarch implementation.
5598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5599 file.
5600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5602 multiarch isinf for PPC64.
5603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5604 file.
5605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5606 multiarch isinff for PPC64.
5607
1481d706
AZ
56082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609
5610 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5611 finitef multiarch implementation.
5612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5613 file.
5614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5616 multiarch finite for PPC64.
5617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5618 file.
5619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5620 multiarch finitef for PPC64.
5621
5ccd5fc8
AZ
56222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5623
5624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5625 lrint multiarch implementation.
5626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5627 file.
5628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5630 multiarch llrint for PPC64.
5631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5632 multiarch lrint for PPC64.
5633
2568f3fa
AZ
56342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635
5636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5637 copysignf multiarch implementation.
5638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5639 file.
5640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5641 file.
5642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5643 multiarch copysign for PPC64.
5644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5645 multiarch copysignf for PPC64.
5646
1cb341fd
AZ
56472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5648
5649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5650 multiarch implementation.
5651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5652 file.
5653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5654 file.
5655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5656 file.
5657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5658 file.
5659 multiarch llround for PPC64.
5660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5661 multiarch trunc for PPC64.
5662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5663 multiarch truncf for PPC64.
5664
59a3e194
AZ
56652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5666
5667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5668 multiarch implementation.
5669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5670 file.
5671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5672 file.
5673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5674 file.
5675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5676 file.
5677 multiarch llround for PPC64.
5678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5679 multiarch round for PPC64.
5680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5681 multiarch roundf for PPC64.
5682
357fd3b4
AZ
56832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684
5685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5686 multiarch implementation.
5687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5688 file.
5689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5690 file.
5691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5692 file.
5693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5694 file.
5695 multiarch llround for PPC64.
5696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5697 multiarch floor for PPC64.
5698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5699 multiarch floorf for PPC64.
5700
96770f12
AZ
57012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5702
5703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5704 multiarch implementation.
5705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5706 file.
5707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5708 file.
5709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5710 file.
5711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5712 file.
5713 multiarch llround for PPC64.
5714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5715 multiarch ceil for PPC64.
5716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5717 multiarch ceilf for PPC64.
5718
c3627f6e
AZ
57192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5720
5721 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5722 multiarch implementation.
5723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5724 file.
5725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5726 file.
5727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5728 file.
5729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5730 multiarch llround for PPC64.
5731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5732 multiarch lround for PPC64.
5733
b2284ad7
AZ
57342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735
5736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5737 multiarch implementation.
5738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5741 file.
5742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5745 multiarch isnan for PPC64.
5746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5747 multiarch isnanf for PPC64.
5748
69bbc63d
AZ
57492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750
5751 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5752 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5753 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5754 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5755 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5757
c24517c9
AZ
57582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5759
5760 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5761 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5762 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5763 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5764
a52374e8
AZ
57652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5766
5767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5768 multiarch implementations.
5769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5770 (__libc_ifunc_impl_list): Likewise.
5771 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5772 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5773 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5774 multiarch stpcpy for PPC64.
5775
7f5ec113
AZ
57762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777
5778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5779 multiarch implementations.
5780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5781 (__libc_ifunc_impl_list): Likewise.
5782 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5783 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5784 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5785 multiarch strcpy for PPC64.
5786
e28bcd42
AZ
57872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5788
5789 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5790 redefine function name.
5791 (_wordcopy_fwd_dest_aligned): Likewise.
5792 (_wordcopy_bwd_aligned): Likewise.
5793 (_wordcopy_bwd_dest_aligned): Likewise.
5794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5795 multiarch implementations.
5796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5797 (__libc_ifunc_impl_list): Likewise.
5798 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5799 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5800 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5801 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5802 multiarch wcscpy for PPC64.
5803
92cacfce
AZ
58042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805
5806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5807 multiarch implementations.
5808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5809 (__libc_ifunc_impl_list): Likewise.
5810 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5811 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5812 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5813 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5814 multiarch wcscpy for PPC64.
5815
7b714620
AZ
58162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5817
5818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5819 multiarch implementations.
5820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5821 (__libc_ifunc_impl_list): Likewise.
5822 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5823 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5824 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5825 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5826 multiarch wcsrchr for PPC64.
5827
16fd2ae3
AZ
58282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829
5830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5831 multiarch implementations.
5832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5833 (__libc_ifunc_impl_list): Likewise.
5834 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5835 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5836 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5837 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5838 multiarch wcschr for PPC64.
5839
9ee2969b
AZ
58402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5841
5842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5843 multiarch implementations.
5844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5845 (__libc_ifunc_impl_list): Likewise.
5846 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5847 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5848 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5849 multiarch strchrnul for PPC64.
5850
372dc060
AZ
58512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852
5853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5854 implementations.
5855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5856 (__libc_ifunc_impl_list): Likewise.
5857 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5858 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5859 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5860 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5861 strchr for PPC64.
5862
24c2c3b9
AZ
58632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5864
5865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5866 implementations.
5867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5868 (__libc_ifunc_impl_list): Likewise.
5869 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5870 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5871 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5872 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5873 strncmp for PPC64.
5874
1c92d9a0
AZ
58752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5876
5877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5878 multiarch implementations.
5879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5880 (__libc_ifunc_impl_list): Likewise.
5881 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5882 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5883 strncasecmp for PPC64.
5884 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5885 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5886 multiarch strncasecmp_l for PPC64.
5887
17de3ee3
AZ
58882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5889
5890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5891 multiarch implementations.
5892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5893 (__libc_ifunc_impl_list): Likewise.
5894 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5895 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5896 multiarch strcasecmp for PPC64.
5897 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5898 file.
5899 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5900 multiarch strcasecmp_l for PPC64.
5901
62982bf9
AZ
59022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5903
5904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5905 implementations.
5906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5907 (__libc_ifunc_impl_list): Likewise.
5908 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5909 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5910 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5911 strnlen for PPC64.
5912
a65f4904
AZ
59132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5914
5915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5916 implementations.
5917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5918 (__libc_ifunc_impl_list): Likewise.
5919 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5920 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5921 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5922 strlen for PPC64.
5923
1fd005ad
AZ
59242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5925
5926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5927 implementations.
5928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5929 (__libc_ifunc_impl_list): Likewise.
5930 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5931 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5932 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5933 rawmemrchr for PPC64.
5934
cd05ba91
AZ
59352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5936
5937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5938 implementation.
5939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5940 (__libc_ifunc_impl_list): Likewise.
5941 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5942 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5943 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5944 memrchr for PPC64.
5945
870f8676
AZ
59462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5947
5948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5949 implementation.
5950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5951 (__libc_ifunc_impl_list): Likewise.
5952 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5953 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5954 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5955 memchr for PPC64.
5956
f00be62b
AZ
59572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5958
5959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5960 implementation.
5961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5962 (__libc_ifunc_impl_list): Likewise.
5963 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5964 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5965 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5966 mempcpy for PPC64.
5967
8a29a3d0
AZ
59682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969
5970 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5971 avoid cretion of __bzero symbol.
5972 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5973 Likewise.
5974 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5975 Likewise.
5976 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5977 Likewise.
5978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5979 multiarch implementations.
5980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5981 (__libc_ifunc_impl_list): Likewise.
5982 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5983 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5984 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5985 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5986 bzero for PPC32.
5987 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5988 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5989 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5990 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5991 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5992 memset for PPC64.
5993 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5994
07253fcf
AZ
59952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996
5997 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5999 implementations.
6000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6001 (__libc_ifunc_impl_list): Likewise.
6002 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6003 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6004 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6005 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6006 memcmp for PPC64.
6007
b5beafbc
AZ
60082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6009
6010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6011 multiarch for POWER/PPC64.
6012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6013 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6014 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6015 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6016 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6017 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6018 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6019 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6020 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6021 memcpy for PPC64.
6022
5e6a4d4b
AZ
60232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024
6025 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6026 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6027 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6028 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6029 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6030 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6031 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6032 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6033 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6034 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6035 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6036 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6037 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6038 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6039 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6047
ddfab6dc
KK
60482013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6049
6050 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6051
19b5525e
SP
60522013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6053
6054 * benchtests/Makefile (bench): Add exp2 and log2.
6055 (LDLIBS-bench-exp2): Add -lm.
6056 (LDLIBS-bench-log2): Likewise.
6057 * benchtests/exp2-inputs: New inputs file.
6058 * benchtests/log2-inputs: New inputs file.
6059 * benchtests/log-inputs: Add new inputs.
6060 * benchtests/tan-inputs: Likewise.
6061
196f7f5d
SP
60622013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6063
7a74607f
SP
6064 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6065 definition...
6066 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6067 csloww1, csloww2): ... from here.
6068
196f7f5d
SP
6069 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6070 instead of structures.
6071 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6072 (POLYNOMIAL): Likewise.
6073 (TAYLOR_SLOW): Likewise.
6074 (__sin): Likewise.
6075 (__cos): Likewise.
6076 (slow1): Likewise.
6077 (slow2): Likewise.
6078 (sloww): Likewise.
6079 (sloww1); Likewise.
6080 (sloww2): Likewise.
6081 (bsloww1): Likewise.
6082 (bsloww2): Likewise.
6083 (cslow2): Likewise.
6084 (csloww): Likewise.
6085 (csloww1): Likewise.
6086 (csloww2): Likewise.
6087
0dfa665c
OB
60882013-12-10 Ondřej Bílka <neleai@seznam.cz>
6089
6090 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6091 (__malloc_assert, __libc_realloc, __libc_calloc,
6092 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6093 memcpy and memset.
6094 * malloc/hooks.c (realloc_check): Likewise.
6095
5782a80f
OB
60962013-12-10 Ondřej Bílka <neleai@seznam.cz>
6097
6098 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6099 * malloc/arena.c: Remove PER_THREAD conditional.
6100 [!PER_THREAD]: Remove code.
6101 (ptmalloc_unlock_all2): Likewise.
6102 (ptmalloc_init): Likewise.
6103 (_int_new_arena): Likewise.
6104 (arena_get2): Likewise.
6105 * malloc/hooks.c (__malloc_get_state): Likewise.
6106 (__malloc_set_state): Likewise.
6107 * malloc/malloc.c: Likewise.
6108 (struct malloc_state): Likewise.
6109 (struct malloc_par): Likewise.
6110 (__libc_realloc): Likewise.
6111 (__libc_mallopt): Likewise.
6112
aeb95445
AZ
61132013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114
6115 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6116
e8349efd
OB
61172013-12-09 Ondřej Bílka <neleai@seznam.cz>
6118
6119 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6120 macro to a function. Check for zero perturb_byte.
6121 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6122
f3eeb3fc
OB
61232013-12-09 Ondřej Bílka <neleai@seznam.cz>
6124
6125 * malloc/malloc.c: (force_reg): Remove.
6126 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6127 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6128 force_reg by atomic_forced_read.
6129 * malloc/arena.c (ptmalloc_init): Likewise.
6130 * malloc/hooks.c (top_check): Likewise.
6131
be2f9009
AZ
61322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133
6134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6135
e7b914bd
MT
61362013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6137
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6139
9f0be4f8
JM
61402013-12-08 Joseph Myers <joseph@codesourcery.com>
6141
6142 * math/auto-libm-test-in: Add tests of lgamma.
6143 * math/auto-libm-test-out: Regenerated.
6144 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6145 (M_LOG_2_SQRT_PIl): Likewise.
6146 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6147 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6148 mpfr_f_f1.
6149 (func_calc_desc): Add mpfr_f_f1 union field.
6150 (ARGS1): New macro.
6151 (ARGS2): Likewise.
6152 (ARGS3): Likewise.
6153 (ARGS4): Likewise.
6154 (RET1): Likewise.
6155 (RET2): Likewise.
6156 (CALC): Likewise.
6157 (FUNC): Likewise.
6158 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6159 (test_functions): Add lgamma.
6160 (calc_generic_results): Handle mpfr_f_f1.
6161 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163
24eeafdb
AZ
61642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6165
6166 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6167 __mpn_add_n for PowerPC64/POWER7.
6168 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6169 __mpn_sub_n for PowerPC64/POWER7.
6170
4a2c0fd4
AZ
61712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6172
6173 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6174 __mpn_addmul_1 for PowerPC64.
6175 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6176 __mpn_submul_1 for PowerPC64.
6177 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6178 for PowerPC64.
6179 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6180 for PowerPC64.
6181
4b5b548c
FS
61822013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6183
6184 [BZ #15089]
6185 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6186
0a3ac0aa
AZ
61872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6188
6189 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6190
ccdc8438
AZ
61912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6192
6193 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6194 add multiarch folders.
6195 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6196 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6197 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6198 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6199 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6200 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6201 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6202 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6203 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6204 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6205 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6212
2e973d99
AZ
62132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214
6215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6216 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6218 New file.
6219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6220 New file.
6221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6222 multiarch __ieee754_hypot for PowerPC32.
6223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6224 New file.
6225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6226 New file.
6227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6228 multiarch __ieee754_hypotf for PowerPC32.
6229
2d9470b2
AZ
62302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231
6232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6233 long_double_symbol only if __logbl is defined.
6234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6235 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6237 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6238 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6239 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6240 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6241 path for implementation.
6242 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6243 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6245 logb, and logbl multiarch implementations for PowerPC32.
6246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6247 file.
6248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6249 file.
6250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6251 multiarch logb for PowerPC32.
6252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6253 file.
6254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6255 file.
6256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6257 multiarch logbf for PowerPC32.
6258 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6260 file.
6261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6262 multiarch logbl implementation for PowerPC32.
6263
5212ffce
AZ
62642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6265
6266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6267 and modff multiarch implementations.
6268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6269 New file.
6270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6271 New file.
6272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6273 multiarch modf for PowerPC32.
6274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6275 New file.
6276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6277 New file.
6278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6279 multiarch modff for PowerPC32.
6280
79dccf31
AZ
62812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282
6283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6284 and lrintf multiarch implementations.
6285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6286 New file.
6287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6288 New file.
6289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6290 multiarch lrint for PowerPC32.
6291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6292 file: multiarch lrintf for PowerPC32.
6293
deb66480
AZ
62942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6295
6296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6297 and lroundf multiarch implementations.
6298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6299 New file.
6300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6301 New file.
6302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6303 New file.
6304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6305 multiarch lround for PowerPC32.
6306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6307 file: multiarch lroundf for PowerPC32.
6308
264b036b
AZ
63092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310
6311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6312 copysign and copysignf multiarch implementations.
6313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6314 New file.
6315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6316 New file.
6317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6318 file: multiarch copysign for PowerPC32.
6319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6320 file: multiarch copysignf for PowerPC32.
6321
d47db6c9
AZ
63222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323
6324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6325 and truncf multiarch implementations.
6326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6327 New file.
6328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6329 file.
6330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6331 multiarch trunc for PowerPC32.
6332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6333 New file.
6334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6335 New file.
6336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6337 multiarch truncf for PowerPC32.
6338
ddb60b5a
AZ
63392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6340
6341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6342 and roundf multiarch implementations.
6343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6344 New file.
6345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6346 file.
6347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6348 multiarch round for PowerPC32.
6349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6350 New file.
6351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6352 New file.
6353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6354 multiarch roundf for PowerPC32.
6355
bedcf49b
AZ
63562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6359 and floorf multiarch implementations.
6360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6361 New file.
6362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6363 file.
6364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6365 multiarch floor for PowerPC32.
6366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6367 New file.
6368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6369 New file.
6370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6371 multiarch floorf for PowerPC32.
6372
35ae5b40
AZ
63732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6374
6375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6376 and ceilf multiarch implementations.
6377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6378 New file.
6379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6380 file.
6381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6382 multiarch ceil for PowerPC32.
6383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6384 New file.
6385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6386 file.
6387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6388 multiarch ceilf for PowerPC32.
6389
ae1a4cd9
AZ
63902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6391
6392 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6393 is defined.
6394 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6395 FINITEF is defined.
6396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6397 and finitef multiarch implementations.
6398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6399 New file.
6400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6401 file.
6402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6403 multiarch finite for PowerPC32.
6404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6405 New file.
6406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6407 file: multiarch finitef for PowerPC32.
6408
64fffd65
AZ
64092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6410
6411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6412 and isinff multiarch implementations.
6413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6414 file.
6415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6416 file.
6417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6418 multiarch isinf for PowerPC32.
6419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6420 New file.
6421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6422 multiarch isinff for PowerPC32.
6423
8e4e7ba2
AZ
64242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425
6426 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6427 alias when __isnan is defined.
6428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6429 and isnanf multiarch implementations.
6430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6431 file.
6432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6433 file.
6434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6435 file.
6436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6437 file.
6438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6439 multiarch isnan for PowerPC32.
6440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6441 New file.
6442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6443 New file.
6444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6445 multiarch isnanf for PowerPC32.
6446
ddba588e
AZ
64472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6448
6449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6450 and sqrtf multiarch implementations.
6451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6452 file.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6454 file.
6455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6456 multiarch sqrt for PowerPC32.
6457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6458 file.
6459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6460 file.
6461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6462 multiarch sqrtf for PowerPC32.
6463
0f96a2f0
AZ
64642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6465
6466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6467 and llroundf multiarch implementations.
6468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6469 New file.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6471 New file.
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6473 New file.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6475 file: multiarch llround for PowerPC32.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6477 file: multiarch llroundf for PowerPC32.
6478
c9b5d79e
AZ
64792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6482 multiarch PowerPC32 fpu implementations.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6484 New file.
6485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6486 New file.
6487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6488 multiarch llrint for PowerPC32.
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6490 New file.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6492 New file.
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6494 file.
6495
9cbb3aab
AZ
64962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6497
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6499
ea5a72f8
AZ
65002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6501
6502 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6503 file.
6504 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6505 file.
6506 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6507 file.
6508 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6509 multiarch wordcopy for PPC32.
6510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6511 wordcopy objects.
6512 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6513 (__libc_ifunc_impl_list): Likewise.
6514 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6515 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6517 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6518 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6519 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6520
93be09e7
AZ
65212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6522
6523 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6524 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6525 file.
6526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6527 file.
6528 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6529 file.
6530 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6531 multiarch wcscpy for PPC32.
6532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6533 multiarch objects.
6534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6535 (__libc_ifunc_impl_list): Likewise.
6536 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6537 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6538 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6539 sysdeps/powerpc/power6/wcscpy.c.
6540
bb04e529
AZ
65412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542
6543 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6545 file.
6546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6547 file.
6548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6549 file.
6550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6551 multiarch wcsrchr for PPC32.
6552 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6553 multiarch objects.
6554 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6555 (__libc_ifunc_impl_list): Likewise.
6556 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6557 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6558 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6559 sysdeps/powerpc/power6/wcsrchr.c.
6560
05b5cd1c
AZ
65612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6562
6563 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6564 file.
6565 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6566 file.
6567 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6569 multiarch wcschr for PPc32.
6570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6571 multiarch objects.
6572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6573 (__libc_ifunc_impl_list): Likewise.
6574 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6575 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6576 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6577 sysdeps/powerpc/power6/wcschr.c.
6578
ba964147
AZ
65792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6580
6581 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6582 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6583 file.
6584 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6585 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6586 file: multiarch strchr for PPC32.
6587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6588 multiarch objects.
6589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6590 (__libc_ifunc_impl_list): Likewise.
6591
31c81aaa
AZ
65922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6593
6594 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6595 name.
6596 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6597 file.
6598 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6599 file.
6600 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6601 multiarch strchrnul for PPC32.
6602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6603 multiarch objects.
6604 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6605 (__libc_ifunc_impl_list): Likewise.
6606
0d0607d9
AZ
66072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6608
6609 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6610 file.
6611 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6612 multiarch strncasecmp for PPC32.
6613 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6614 file.
6615 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6616 multiarch strncasecmp_l for PPC32.
6617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6618 strncasecmp multiarch objects.
6619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6620 (__libc_ifunc_impl_list): Likewise.
6621
4dfd5c86
AZ
66222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623
6624 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6625 file.
6626 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6627 multiarch strncasecmp for PPC32.
6628 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6629 New file.
6630 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6631 multiarch strcasecmp_l for PPC32.
6632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6633 multiarch objects.
6634 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6635 (__libc_ifunc_impl_list): Likewise.
6636
a19e01a3
AZ
66372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6638
6639 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6640 file.
6641 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6642 file.
6643 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6644 multiarch strncmp for PPC32.
6645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6646 multiarch objects.
6647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6648 (__libc_ifunc_impl_list): Likewise.
6649
ae9cf7a2
AZ
66502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6651
6652 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6653 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6654 file.
6655 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6656 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6658 multiarch objects.
6659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6660 (__libc_ifunc_impl_list): Likewise.
6661
3148bb7d
AZ
66622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6663
6664 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6665 file.
6666 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6667 file.
6668 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6670 multiarch objects.
6671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6672 (__libc_ifunc_impl_list): Likewise.
6673
7af8b946
AZ
66742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6675
6676 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6677 file.
6678 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6679 file.
6680 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6681 multiarch rawmemchr for PPC32.
6682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6683 multiarch objects.
6684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6685 (__libc_ifunc_impl_list): Likewise.
6686
03a6aa6a
AZ
66872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6688
6689 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6690 file.
6691 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6692 file.
6693 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6694 file: memrchr multiarch for PPC32.
6695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6696 multiarch objects.
6697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6698 (__libc_ifunc_impl_list): Likewise.
6699
1c62e6d9
AZ
67002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6701
6702 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6703 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6704 file.
6705 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6706 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6707 multiarch memchr for PPC32.
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6709 multiarch objects.
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6711 (__libc_ifunc_impl_list): Likewise.
6712
87da8bdb
AZ
67132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6714
6715 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6716 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6717 file.
6718 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6719 file.
6720 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6721 file: multiarch mempcpy for PPC32.
6722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6723 multiarch objects.
6724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6725 (__libc_ifunc_impl_list): Likewise.
6726
20ed4714
AZ
67272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6728
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6730 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6732 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6733 multiarch bzero for PPC32.
6734 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6735 file.
6736 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6737 file.
6738 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6739 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6740 file: multiarch memset for PPC32.
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6743 memset multiarch objects.
6744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6745 (__libc_ifunc_impl_list): Likewise.
6746
ab3e3a46
AZ
67472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6748
6749 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6750 file.
6751 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6753 memcmp for PPC32.
6754 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6756 multiarch objects.
6757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6758 (__libc_ifunc_impl_list): Likewise.
6759
930de6f0
AZ
67602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6761
6762 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6763 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6764 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6765 file.
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6767 file.
6768 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6769 file.
6770 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6771 multiarch memcpy for PPC32.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6773 multiarch objects.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6775 (__libc_ifunc_impl_list): Likewise.
6776
4c628e00
AZ
67772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6780 support multiarch for POWER/PPC32.
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6782 Likewise.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6785 Implies file to make multiarch folder appers before the fpu and
6786 default folder for power4 configuration.
6787
f4479220
SP
67882013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6789
6790 * scripts/bench.pl: Append volatile keyword to type.
6791
8517800f
KK
67922013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6793
6794 * sysdeps/sh/sotruss-lib.c: New file.
6795 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6796
180138f1
AZ
67972013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6798
6799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6800
bbf37bdc
JM
68012013-12-05 Joseph Myers <joseph@codesourcery.com>
6802
e47cc4e0
JM
6803 [BZ #6810]
6804 * math/w_tgamma.c: Include <errno.h>.
6805 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6806 * math/w_tgammaf.c: Include <errno.h>.
6807 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6808 * math/w_tgammal.c: Include <errno.h>.
6809 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6810 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6811 underflow. Add more tgamma tests.
6812 * math/auto-libm-test-out: Regenerated.
6813 * sysdeps/i386/fpu/libm-test-ulps: Update.
6814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815
bbf37bdc
JM
6816 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6817 sin, sinh, tan, tanh, tgamma, y0 and y1.
6818 * math/auto-libm-test-out: Regenerated.
6819 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6820 (TEST_COND_x86): Likewise.
6821 (M_E2l): Remove macro.
6822 (M_E3l): Likewise.
6823 (M_2_SQRT_PIl): Likewise.
6824 (M_SQRT_PIl): Likewise.
6825 (M_1_DIV_El): Likewise.
6826 (log_test_data): Use AUTO_TESTS_f_f.
6827 (log10_test_data): Likewise.
6828 (log1p_test_data): Likewise.
6829 (log2_test_data): Likewise.
6830 (sin_test_data): Likewise.
6831 (sin_tonearest_test_data): Likewise.
6832 (sin_towardzero_test_data): Likewise.
6833 (sin_downward_test_data): Likewise.
6834 (sin_upward_test_data): Likewise.
6835 (sinh_test_data): Likewise.
6836 (sinh_tonearest_test_data): Likewise.
6837 (sinh_towardzero_test_data): Likewise.
6838 (sinh_downward_test_data): Likewise.
6839 (sinh_upward_test_data): Likewise.
6840 (tan_test_data): Likewise.
6841 (tan_tonearest_test_data): Likewise.
6842 (tan_towardzero_test_data): Likewise.
6843 (tan_downward_test_data): Likewise.
6844 (tan_upward_test_data): Likewise.
6845 (tanh_test_data): Likewise.
6846 (tgamma_test_data): Likewise.
6847 (y0_test_data): Likewise.
6848 (y1_test_data): Likewise.
6849 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6850 (special_real_inputs): Add pi/4.
6851 * sysdeps/i386/fpu/libm-test-ulps: Update.
6852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6853
eb5ad6b9
AZ
68542013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855
6856 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6857 "longjmp_target" static probes.
6858 (__longjmp): Rename to __longjmp_symbol.
6859 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6860 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6861 on which longjmp to generate.
6862 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6863 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6864 probe.
6865 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6866 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6867 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6868 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6869 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6870 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6872 __longjmp_symbol based on which __longjmp to generate.
6873 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6874 probe.
6875 (setjmp): Rename to setjmp_symbol.
6876 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6877 (_setjmp): Rename to _setjmp_symbol.
6878 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6879 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6880 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6881 which setjmp to generate.
6882 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6883 "longjmp_target" static probes.
6884
d136c6dc
SP
68852013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6886
9298ecba
SP
6887 * benchtests/README: Add note about output arguments.
6888 * benchtests/bench-sincos.c: Remove file.
6889 * benchtests/sincos-inputs: New file.
6890 * scripts/bench.pl: Identify output arguments and define
6891 static variables for them.
6892
232983e9
SP
6893 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6894
d136c6dc
SP
6895 [BZ #15941]
6896 * Makefile (INSTALL): Add install-plain.texi as the primary
6897 dependency.
6898 * manual/install-plain.texi: New file.
6899 * manual/install.texi: Include node directive only for
6900 non-plaintext output.
6901
699ff837
JM
69022013-12-04 Joseph Myers <joseph@codesourcery.com>
6903
ab07cea8
JM
6904 * stdlib/longlong.h: Update from GCC.
6905
699ff837
JM
6906 [BZ #6807]
6907 [BZ #15901]
6908 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6909 * math/w_j0f.c (y0f): Likewise.
6910 * math/w_j0l.c (__y0l): Likewise.
6911 * math/w_j1.c (y1): Likewise.
6912 * math/w_j1f.c (y1f): Likewise.
6913 * math/w_j1l.c (__y1l): Likewise
6914 * math/w_jn.c (yn): Likewise.
6915 * math/w_jnf.c (ynf): Likewise.
6916 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6917 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6918 value for Bessel function domain errors outside _SVID_ mode.
6919 Adjust sign of return value for yn (negative integer, 0).
6920 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6921 by zero in return for negative x and set sign appropriately for
6922 negative n.
6923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6924 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6925 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6926 expectations in error cases.
6927 (y1_test_data): Likewise.
6928 (yn_test_data): Likewise.
6929 * sysdeps/i386/fpu/libm-test-ulps: Update.
6930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6931
5b118558
UW
69322013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6933
6934 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6935 "64" to "64-v1". Add "64-v2".
6936 (abi-64-options): Rename to ...
6937 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6938 (abi-64-condition): Rename to ...
6939 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6940 (abi-64-ld-soname): Rename to ...
6941 (abi-64-v1-ld-soname): ... this.
6942 (abi-64-v2-options): Define.
6943 (abi-64-v2-condition): Likewise.
6944 (abi-64-v2-ld-soname): Likewise.
6945 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6946 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6950
61cd8fe4
UW
69512013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6952 Alan Modra <amodra@gmail.com>
6953
6954 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6955 New versions for use with the ELFv2 ABI.
6956 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6957 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6958 declaration.
6959 (struct La_ppc64v2_retval): Likewise.
6960 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6961 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6962 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6963 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6964 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6965 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6966 Do not save or restore CR.
6967 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6968 (_dl_profile_resolve): Do no save or restore CR. Support extended
6969 return values for ELFv2 ABI. Fix location of FPR return registers.
6970 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6971 updated values for _CALL_ELF == 2.
6972 (La_regs, La_retval, int_retval): Likewise.
6973
8b8a692c
UW
69742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6975
6976 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6977 (FRAME_MIN_SIZE_PARM): Likewise.
6978 (FRAME_BACKCHAIN): Likewise.
6979 (FRAME_CR_SAVE): Likewise.
6980 (FRAME_LR_SAVE): Likewise.
6981 (FRAME_TOC_SAVE): Likewise.
6982 (FRAME_PARM_SAVE): Likewise.
6983 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6984 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6985 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6986 (call_mcount_parm_offset): New macro.
6987 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6988 (PROF): Use symbolic stack frame offsets.
6989 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6990 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6991 Redefine in terms of FRAME_MIN_SIZE.
6992 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6993 (_dl_profile_resolve): Likewise. Update comment.
6994 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6995 symbols stack frame offsets.
6996 (__sigsetjmp): Likewise.
6997 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6998 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6999 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7000 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7001
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7003 (FRAME_BACKCHAIN): Remove.
7004 (FRAME_CR_SAVE): Likewise.
7005 (FRAME_LR_SAVE): Likewise.
7006 (FRAME_COMPILER_DW): Likewise.
7007 (FRAME_LINKER_DW): Likewise.
7008 (FRAME_TOC_SAVE): Likewise.
7009 (FRAME_PARM_SAVE): Likewise.
7010 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7011 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7012 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7014 (CHECK_SP): Use symbolic stack frame offsets.
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7016 zone" instead of caller's parameter save area for temp storage.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7018 Likewise. Also, use symbolic stack frame offsets.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7020 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7021 our own stack frame instead of the caller's.
7022 (__socket): Use symbolic stack frame offsets.
7023
122b66de
UW
70242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7025 Alan Modra <amodra@gmail.com>
7026
7027 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7028 Define.
7029 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7030 PPC64_LOCAL_ENTRY_OFFSET): Define.
7031 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7032 New function.
7033 (elf_machine_fixup_plt): Call it.
7034 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7035 reloc arguments.
7036 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7037 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7038 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7039 r2 before calling target.
7040
696caf1d
UW
70412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7042 Alan Modra <amodra@gmail.com>
7043
7044 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7045 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7046 versions of macros to support ELFv2 ABI.
7047 (LOCALENTRY): New macro.
7048 (ENTRY, EALIGN): Use it.
7049 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7050 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7051 fall through into ENTRY entry point.
7052 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7053 Only define if _CALL_ELF != 2.
7054
7055 (elf_machine_matches_host): Verify ABI version matches.
7056 (RTLD_START): Use LOCALENTRY.
7057 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7058 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7059 (PLT_ENTRY_WORDS): New macro.
7060 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7061 (elf_machine_runtime_setup): Support ELFv2 ABI.
7062 (elf_machine_fixup_plt): Likewise.
7063 (elf_machine_plt_conflict): Likewise.
7064 (resolve_ifunc): Likewise.
7065 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7066 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7067 Likewise.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7069 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7071 (makecontext): Support ELFv2 ABI.
7072 * elf/elf.h (EF_PPC64_ABI): Define.
7073
d31beafa
UW
70742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7075
7076 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7077 New assembler macro.
7078 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7079 [ASSEMBLER] (ENTRY): ... but instead here ...
7080 [ASSEMBLER] (EALIGN): ... and here.
7081 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7082 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7083 [!ASSEMBLER] (ENTRY_2): Use it.
7084 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7085 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7086 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7087 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7088 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7090 Use PPC64_LOAD_FUNCPTR.
7091
b525166b
UW
70922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7093
7094 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7095
7ec07d9a
AM
70962013-12-04 Alan Modra <amodra@gmail.com>
7097
7098 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7099 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7100 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7101 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7102
7103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7104 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7105 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7106 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7107 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7108 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7109
5162e7dd
UW
71102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7111
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7113 (__makecontext): Fix incorrect CFI when backtracing out of
7114 context created via makecontext.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7116 (__setcontext): Fix incorrect CFI during switch to new context.
7117 (__novec_setcontext): Likewise.
7118
19e3372b
OB
71192013-12-04 Ondřej Bílka <neleai@seznam.cz>
7120
7121 [BZ #4772]
7122 * time/strptime_l.c (__strptime_internal): Allow modifiers
7123 in strptime.
7124 * time/tst-strptime.c (day_tests): Add testcase.
7125
7126
ecaf142d
SP
71272013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7128
7129 * scripts/bench.pl: Skip over blank lines.
7130
fbf964ae
PE
71312013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7132
7133 [BZ #926]
7134 * manual/time.texi (Calendar Time): Clarify what timezone functions
7135 use.
7136
fa60a674
AZ
71372013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7138
7139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7140
d674f0ef
OB
71412013-12-04 Ondřej Bílka <neleai@seznam.cz>
7142
7143 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7144 implementation.
7145 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7146 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7147 * debug/memset_chk.c (__memset_chk): Likewise.
7148 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7149 * debug/strncpy_chk.c: Likewise.
7150
17dea188
JM
71512013-12-03 Joseph Myers <joseph@codesourcery.com>
7152
749008ff
JM
7153 [BZ #15268]
7154 [BZ #15425]
7155 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7156 (__ieee754_exp): For possibly underflowing results, check size of
7157 result and force underflow exception if required.
7158 * math/auto-libm-test-in: Add more tests of exp.
7159 * math/auto-libm-test-out: Regenerated.
7160 * sysdeps/i386/fpu/libm-test-ulps: Update.
7161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7162
17dea188
JM
7163 [BZ #16283]
7164 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7165 * math/w_exp2f.c (__exp2f): Likewise.
7166 * math/w_exp2l.c (__exp2l): Likewise.
7167 * math/auto-libm-test-in: Do not allow missing errno on exp2
7168 underflow.
7169 * math/auto-libm-test-out: Regenerated.
7170
b20de2c3
OB
71712013-12-03 Ondřej Bílka <neleai@seznam.cz>
7172
7173 [BZ #16274]
7174 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7175 handle filename validation.
7176 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7177 (do_open): Delete.
7178
d8e2dbe3
JM
71792013-12-03 Joseph Myers <joseph@codesourcery.com>
7180
34e16df5
JM
7181 [BZ #6786]
7182 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7183 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7184 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7185 <float.h>.
7186 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7188 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7190 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7191 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7192 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7193 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7194 Add more erfc tests.
7195 * math/auto-libm-test-out: Regenerated.
7196 * sysdeps/i386/fpu/libm-test-ulps: Update.
7197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7198
d8e2dbe3
JM
7199 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7200 exp2, expm1, j0 and j1.
7201 * math/auto-libm-test-out: Regenerated.
7202 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7203 (erfc_test_data): Likewise.
7204 (exp_test_data): Likewise.
7205 (exp_tonearest_test_data): Likewise.
7206 (exp_towardzero_test_data): Likewise.
7207 (exp_downward_test_data): Likewise.
7208 (exp_upward_test_data): Likewise.
7209 (exp10_test_data): Likewise.
7210 (exp2_test_data): Likewise.
7211 (expm1_test_data): Likewise.
7212 (j0_test_data): Likewise.
7213 (j1_test_data): Likewise.
7214 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7215 (input_flag_type): Add flag_xfail_rounding.
7216 (input_flags): Add xfail-rounding.
7217 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7218 (output_for_one_input_case): Handle flag_xfail_rounding.
7219 * sysdeps/i386/fpu/libm-test-ulps: Update.
7220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221
18d14251
AJ
72222013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7223
3d2e6075 7224 [BZ #16289]
18d14251
AJ
7225 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7226 division by 0.
7227
520d437b
SP
72282013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
7230 [BZ #16195]
7231 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7232 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7233 (STAP_PROBE0): New macro.
7234 (STAP_PROBE1): Likewise.
7235 (STAP_PROBE2): Likewise.
7236 (STAP_PROBE3): Likewise.
7237 (STAP_PROBE4): Likewise.
7238
416e0145
OB
72392013-12-02 Ondřej Bílka <neleai@seznam.cz>
7240
7241 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7242
9d17796a
SE
72432013-12-02 Steve Ellcey <sellcey@mips.com>
7244
7245 * benchtests/Makefile (bench): Add sqrt.
7246 (LDLIBS-bench-sqrt): New.
7247 * benchtests/sqrt-input: New.
7248
f524d6a8
PS
72492013-12-02 Pavel Simerda <psimerda@redhat.com>
7250
639a0ef8
PS
7251 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7252 (GAIH_EAI): Likewise.
7253 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7254 (gaih_inet): Likewise.
7255 (getaddrinfo): Don't use GAIH_EAI.
7256
f524d6a8
PS
7257 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7258 (struct gaih): Remove definition.
7259
df3aedaf
SP
72602013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7261
7262 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7263 Use HERRNOP directly.
7264
1ab19dec
AZ
72652013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7266
b42ad38d 7267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7268
176b0c79
JM
72692013-11-30 Joseph Myers <joseph@codesourcery.com>
7270
7271 * math/gen-auto-libm-tests.c (test_functions): Add more
7272 single-argument functions.
7273 (special_fill_pi_2): New function.
7274 (special_fill_minus_pi_2): Likewise.
7275 (special_fill_pi_6): Likewise.
7276 (special_fill_minus_pi_6): Likewise.
7277 (special_fill_pi_3): Likewise.
7278 (special_fill_2pi_3): Likewise.
7279 (special_fill_e): Likewise.
7280 (special_fill_1_e): Likewise.
7281 (special_fill_e_minus_1): Likewise.
7282 (special_real_inputs): Add more special inputs.
7283 (output_for_one_input_case): Do not require ERANGE on underflow to
7284 zero if round-to-nearest result does not underflow to zero, unless
7285 exact results required.
7286 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7287 atan, atanh, cbrt, cos and cosh.
7288 * math/auto-libm-test-out: Regenerated.
7289 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7290 (acos_tonearest_test_data): Likewise.
7291 (acos_towardzero_test_data): Likewise.
7292 (acos_downward_test_data): Likewise.
7293 (acos_upward_test_data): Likewise.
7294 (acosh_test_data): Likewise.
7295 (asin_test_data): Likewise.
7296 (asin_tonearest_test_data): Likewise.
7297 (asin_towardzero_test_data): Likewise.
7298 (asin_upward_test_data): Likewise.
7299 (asinh_test_data): Likewise.
7300 (atan_test_data): Likewise.
7301 (atanh_test_data): Likewise.
7302 (cbrt_test_data): Likewise.
7303 (cos_test_data): Likewise.
7304 (cos_tonearest_test_data): Likewise.
7305 (cos_towardzero_test_data): Likewise.
7306 (cos_downward_test_data): Likewise.
7307 (cos_upward_test_data): Likewise.
7308 (cosh_test_data): Likewise.
7309 (cosh_tonearest_test_data): Likewise.
7310 (cosh_towardzero_test_data): Likewise.
7311 (cosh_downward_test_data): Likewise.
7312 (cosh_upward_test_data): Likewise.
7313 * sysdeps/i386/fpu/libm-test-ulps: Update.
7314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7315
ffb536d0
JM
73162013-11-29 Joseph Myers <joseph@codesourcery.com>
7317
2a77a467
JM
7318 [BZ #6787]
7319 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7320 * math/w_exp10f.c (__exp10f): Likewise.
7321 * math/w_exp10l.c (__exp10l): Likewise.
7322 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7323 errno settings in existing tests.
7324
ea3bc4e8
JM
7325 [BZ #14032]
7326 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7327 precision control set to double precision.
7328 * sysdeps/i386/fpu/w_sqrt.c: New file.
7329 * math/auto-libm-test-in: Add more tests.
7330 * math/auto-libm-test-out: Update.
7331
0712c9d8
JM
7332 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7333 (sqrt_test_tonearest): New function.
7334 (sqrt_towardzero_test_data): New variable.
7335 (sqrt_test_towardzero): New function.
7336 (sqrt_downward_test_data): New variable.
7337 (sqrt_test_downward): New function.
7338 (sqrt_upward_test_data): New variable.
7339 (sqrt_test_upward): New function.
7340 (main): Call the new functions.
7341
ffb536d0
JM
7342 * math/gen-auto-libm-tests.c: New file.
7343 * math/auto-libm-test-in: Likewise.
7344 * math/auto-libm-test-out: New generated file.
7345 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7346 variables.
7347 (%beautify): Add generated representations of zero.
7348 (top level): Set $auto_input and call parse_auto_input.
7349 (beautify): Remove trailing "f" from hex float constants.
7350 (parse_args): Handle XFAIL_TEST.
7351 (convert_condition): New function.
7352 (or_value): Likewise.
7353 (or_cond_value): Likewise.
7354 (generate_testfile): Handle AUTO_TESTS_* lines.
7355 (parse_auto_input): New function.
7356 * math/libm-test.inc (XFAIL_TEST): New macro.
7357 (ERRNO_UNCHANGED): Update value.
7358 (ERRNO_EDOM): Likewise.
7359 (ERRNO_ERANGE): Likewise.
7360 (IGNORE_RESULT): Likewise.
7361 (TEST_COND_flt_32): New macro.
7362 (TEST_COND_dbl_64): Likewise.
7363 (TEST_COND_ldbl_96_intel): Likewise.
7364 (TEST_COND_ldbl_96_m68k): Likewise.
7365 (TEST_COND_ldbl_128): Likewise.
7366 (TEST_COND_ldbl_128ibm): Likewise.
7367 (TEST_COND_long32): Likewise.
7368 (TEST_COND_long64): Likewise.
7369 (TEST_COND_before_rounding): Likewise.
7370 (TEST_COND_after_rounding): Likewise.
7371 (enable_test): Handle XFAIL_TEST flag.
7372 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7373 with finite results.
7374 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7375 auto-libm-test-out.
7376
acd98a8e
AK
73772013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7378 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7379
7380 [BZ #16214]
7381 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7382 __tls_get_addr_internal instead of __tls_get_offset in order to
7383 avoid GOT pointer dependency. Make rtld export
7384 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7385 __tls_get_addr since we are a __tls_get_offset platform.
7386 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7387 GOT pointer being set up before.
7388 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7389
3c1c46a6
JM
73902013-11-28 Joseph Myers <joseph@codesourcery.com>
7391
7475aef5
JM
7392 * manual/math.texi (Errors in Math Functions): Document accuracy
7393 goals.
7394
8bca7cd8
JM
7395 [BZ #15004]
7396 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7397 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7400 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7402 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7412
91a1f3fe
JM
7413 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7414 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7415 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7416 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7417 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7418 Likewise.
7419 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7420 Likewise.
7421 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7422 Likewise.
7423 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7424 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7425 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7426 atomic-feupdateenv and flt-rounds.
7427 * sysdeps/powerpc/nofpu/Versions (libc): Add
7428 __atomic_feholdexcept, __atomic_feclearexcept,
7429 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7430 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7431 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7432 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7433 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7434 here.
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7436 Update.
7437
c5df7609
JM
7438 * manual/arith.texi (FP Exceptions): Document that exceptions may
7439 not be raised when matherr is used.
7440 (Math Error Reporting): Document overflow in directed rounding
7441 modes. Document that errno may not be set when finite values are
7442 returned on overflow. Document intent to set errno on underflow
7443 only for underflow to zero.
7444
3c1c46a6
JM
7445 [BZ #16271]
7446 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7447 round-to-nearest then adjust result for other rounding modes.
7448 * include/fenv.h (fegetround): Use libm_hidden_proto.
7449 * math/fegetround.c (fegetround): Use libm_hidden_def.
7450 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7451 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7452 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7453 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7454 Likewise.
7455 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7456 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7457 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7458 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7459
5a4c6d53
SP
74602013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7461
7462 [BZ #16077]
7463 * nss/Versions (libnss_files): Add
7464 _nss_files_gethostbyname3_r.
7465 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7466 New function.
7467 (HOST_DB_LOOKUP): Remove macro.
7468 (_nss_files_gethostbyname_r): Implement function without the
7469 HOST_DB_LOOKUP macro.
7470 (_nss_files_gethostbyname2_r): Likewise.
7471
897b98ba
OB
74722013-11-28 Ondřej Bílka <neleai@seznam.cz>
7473
7474 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7475
6f476861
UB
74762013-11-26 Uros Bizjak <ubizjak@gmail.com>
7477
7478 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7479 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7480 warning.
7481
bd12ab55
AZ
74822013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7483
7484 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7485 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7486 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7487 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7488 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7489 __fe_nomask_env_priv and attribute_hidden.
7490 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7491 (libc_feupdateenv_test_ppc): Likewise.
7492 (libc_feresetround_ppc): Likewise.
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7494 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7495 compat_symbol macro.
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7497 (__fe_nomask_env): Likewise.
7498 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7499
52bb6543
OB
75002013-11-26 Ondřej Bílka <neleai@seznam.cz>
7501
7502 * string/Makefile: Remove ifunc tests.
7503 * string/test-string.h: Define TEST_IFUNC.
7504 * string/test-bcopy-ifunc.c: Remove.
7505 * string/test-bzero-ifunc.c: Likewise.
7506 * string/test-memccpy-ifunc.c: Likewise.
7507 * string/test-memchr-ifunc.c: Likewise.
7508 * string/test-memcmp-ifunc.c: Likewise.
7509 * string/test-memcpy-ifunc.c: Likewise.
7510 * string/test-memmem-ifunc.c: Likewise.
7511 * string/test-memmove-ifunc.c: Likewise.
7512 * string/test-mempcpy-ifunc.c: Likewise.
7513 * string/test-memrchr-ifunc.c: Likewise.
7514 * string/test-memset-ifunc.c: Likewise.
7515 * string/test-rawmemchr-ifunc.c: Likewise.
7516 * string/test-stpcpy-ifunc.c: Likewise.
7517 * string/test-stpncpy-ifunc.c: Likewise.
7518 * string/test-strcasecmp-ifunc.c: Likewise.
7519 * string/test-strcasestr-ifunc.c: Likewise.
7520 * string/test-strcat-ifunc.c: Likewise.
7521 * string/test-strchr-ifunc.c: Likewise.
7522 * string/test-strchrnul-ifunc.c: Likewise.
7523 * string/test-strcmp-ifunc.c: Likewise.
7524 * string/test-strcpy-ifunc.c: Likewise.
7525 * string/test-strcspn-ifunc.c: Likewise.
7526 * string/test-strlen-ifunc.c: Likewise.
7527 * string/test-strncasecmp-ifunc.c: Likewise.
7528 * string/test-strncat-ifunc.c: Likewise.
7529 * string/test-strncmp-ifunc.c: Likewise.
7530 * string/test-strncpy-ifunc.c: Likewise.
7531 * string/test-strnlen-ifunc.c: Likewise.
7532 * string/test-strpbrk-ifunc.c: Likewise.
7533 * string/test-strrchr-ifunc.c: Likewise.
7534 * string/test-strspn-ifunc.c: Likewise.
7535 * string/test-strstr-ifunc.c: Likewise.
7536
ab260039 75372013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7538
7539 * benchtests/Makefile: Remove ifunc tests.
7540 * benchtests/bench-string.h: Define TEST_IFUNC.
7541 * benchtests/bench-bcopy-ifunc.c: Remove.
7542 * benchtests/bench-bzero-ifunc.c: Likewise.
7543 * benchtests/bench-memccpy-ifunc.c: Likewise.
7544 * benchtests/bench-memchr-ifunc.c: Likewise.
7545 * benchtests/bench-memcmp-ifunc.c: Likewise.
7546 * benchtests/bench-memcpy-ifunc.c: Likewise.
7547 * benchtests/bench-memmem-ifunc.c: Likewise.
7548 * benchtests/bench-memmove-ifunc.c: Likewise.
7549 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7550 * benchtests/bench-memrchr-ifunc.c: Likewise.
7551 * benchtests/bench-memset-ifunc.c: Likewise.
7552 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7553 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7554 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7555 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7556 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7557 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7558 * benchtests/bench-strcat-ifunc.c: Likewise.
7559 * benchtests/bench-strchr-ifunc.c: Likewise.
7560 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7561 * benchtests/bench-strcmp-ifunc.c: Likewise.
7562 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7563 * benchtests/bench-strcpy-ifunc.c: Likewise.
7564 * benchtests/bench-strcspn-ifunc.c: Likewise.
7565 * benchtests/bench-strlen-ifunc.c: Likewise.
7566 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7567 * benchtests/bench-strncat-ifunc.c: Likewise.
7568 * benchtests/bench-strncmp-ifunc.c: Likewise.
7569 * benchtests/bench-strncpy-ifunc.c: Likewise.
7570 * benchtests/bench-strnlen-ifunc.c: Likewise.
7571 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7572 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7573 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7574 * benchtests/bench-strspn-ifunc.c: Likewise.
7575 * benchtests/bench-strstr-ifunc.c: Likewise.
7576
75772013-11-26 Ondřej Bílka <neleai@seznam.cz>
7578
ab260039
OB
7579 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7580
d1d9eaf4 75812013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7582
d1d9eaf4
OB
7583 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7584 * rt/aio.h: Likewise.
7585 * sysdeps/gnu/bits/utmp.h: Likewise.
7586 * sysdeps/gnu/bits/utmpx.h: Likewise.
7587 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7588 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7589 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7590 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7591 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7592 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7593 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7594 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7595 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7596 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7597 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7598 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7599 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7601 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7602 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7603 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7604 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7605 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7606 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7607 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7608 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7609 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7610 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7611 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7613 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7614 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7615 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7616 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7617 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7618 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7619 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7620 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7621 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7622 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7623 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7624 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7625 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7626 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7627 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7628 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7629
a7624ed9
CD
76302013-11-25 Carlos O'Donell <carlos@redhat.com>
7631
7632 [BZ #16245]
7633 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7634 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7635
63cfe52b
JM
76362013-11-25 Joseph Myers <joseph@codesourcery.com>
7637
7638 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7639 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7640 Likewise.
7641
41e8926a
AZ
76422013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7643
7644 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7645 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7646 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7647 (__fesetround): Remove define.
7648 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7649 rounding and exceptions handling.
7650 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7651 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7652 (__fe_nomask_env): Likewise.
7653 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7654 __fegetround instead of fegetround.
7655 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7656 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7657
6851bd4d
RM
76582013-11-21 Roland McGrath <roland@hack.frob.com>
7659
070906ff
RM
7660 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7661 it's there.
7662
6851bd4d
RM
7663 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7664
84ae135d
MI
76652013-11-21 Meador Inge <meadori@codesourcery.com>
7666
7667 [BZ #11157]
7668 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7669 (encrypt_r): Likewise.
7670 * malloc/obstack.h (obstack_free): Likewise.
7671 * posix/unistd.h (encrypt): Likewise.
7672
daf75146
GM
76732013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7674
7675 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7676 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7677 DL_CALL_DT_FINI() that call the functions directly.
7678 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7679 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7680 * elf/dl-fini.c: Likewise.
7681
10ad46bc
OB
76822013-11-20 Ondřej Bílka <neleai@seznam.cz>
7683
7684 * malloc/hooks.c (memalign_check): Add alignment rounding.
7685 * malloc/malloc.c (_mid_memalign): New function.
7686 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7687 Implement by calling _mid_memalign.
7688 * manual/probes.texi (Memory Allocation Probes): Remove
7689 memory_valloc_retry and memory_pvalloc_retry.
7690
f3fd2628
SP
76912013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7692
4712799f
SP
7693 * locale/programs/locarchive.c (open_archive): Add const
7694 qualifier to ARCHIVEFNAME and copy default fname to
7695 DEFAULT_FNAME.
7696
0417b20f
SP
7697 [BZ #15601]
7698 * libio/tst-widetext.input: Rename Oriya to Odia.
7699 * locale/iso-639.def: Likewise.
7700
f3fd2628
SP
7701 * manual/probes.texi (Mathematical Function Probes): Add
7702 documentation for sin, cos, asin and acos probes.
7703 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7704 (__sin32): Add slowasin probe.
7705 (__cos32): Add slowacos probe.
7706 (__mpsin): Add slowsin probe.
7707 (__mpcos): Add slowcos probe.
7708
73c1ce4f
JM
77092013-11-19 Joseph Myers <joseph@codesourcery.com>
7710
7711 [BZ #15483]
7712 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7713 thread-local __sim_exceptions_thread and global
7714 __sim_exceptions_global.
7715 (__sim_disabled_exceptions): Change to thread-local
7716 __sim_disabled_exceptions_thread and global
7717 __sim_disabled_exceptions_global.
7718 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7719 and global __sim_round_mode_global.
7720 (__simulate_exceptions): Use thread-local floating-point state and
7721 set global state from it as needed.
7722 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7723 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7724 __sim_round_mode_thread.
7725 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7726 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7727 and global __sim_exceptions_global.
7728 (__sim_disabled_exceptions): Change to thread-local
7729 __sim_disabled_exceptions_thread and global
7730 __sim_disabled_exceptions_global.
7731 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7732 and global __sim_round_mode_global.
7733 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7734 (SIM_SET_GLOBAL): Likewise.
7735 * sysdeps/powerpc/soft-fp/sfp-machine.h
7736 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7737 __sim_round_mode_thread.
7738 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7739 __sim_disabled_exceptions_thread.
7740 (__sim_exceptions): Change to __sim_exceptions_thread.
7741 (__sim_disabled_exceptions): Change to
7742 __sim_disabled_exceptions_thread.
7743 (__sim_round_mode): Change to __sim_round_mode_thread.
7744 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7745 thread-local floating-point state and set global state from it as
7746 needed.
7747 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7748 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7749 (__sim_disabled_exceptions): Remove extern declaration.
7750 (feenableexcept): Use thread-local floating-point state and set
7751 global state from it as needed.
7752 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7753 extern declaration.
7754 (__sim_disabled_exceptions): Likewise.
7755 (__sim_round_mode): Likewise.
7756 (__fegetenv): Use thread-local floating-point state.
7757 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7758 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7759 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7760 floating-point state and set global state from it as needed.
7761 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7762 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7763 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7764 Likewise.
7765 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7766 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7767 Likewise.
7768 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7769 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7770 Use __sim_round_mode_thread.
7771 * math/test-fenv-tls.c: New file.
7772 * math/Makefile (tests): Add test-fenv-tls.
7773 ($(objpfx)test-fenv-tls): Depend on
7774 $(common-objpfx)nptl/libpthread.so.
7775
b5449b12
AS
77762013-11-19 Andreas Schwab <schwab@suse.de>
7777
7778 * locale/programs/locale.c (show_info): Decode wordarray elements.
7779 * locale/categories.def (LC_MONETARY): Add element for
7780 _NL_MONETARY_CRNCYSTR.
7781 * locale/C-monetary.c (conversion_rate): New variable.
7782 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7783 element.
7784
e186536b
CM
77852013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7786
7787 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7788 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7789
5c349950
PP
77902013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7791
7792 * elf/Makefile (tst-auxv): New test.
7793 * elf/tst-auxv.c: New
7794 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7795
699df45b
JM
77962013-11-18 Joseph Myers <joseph@codesourcery.com>
7797
7798 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7799 (hidden_proto): Caller changed.
7800 (hidden_tls_proto): New macro.
7801 (libc_hidden_tls_proto): Likewise.
7802 (rtld_hidden_tls_proto): Likewise.
7803 (libm_hidden_tls_proto): Likewise.
7804 (libresolv_hidden_tls_proto): Likewise.
7805 (librt_hidden_tls_proto): Likewise.
7806 (libdl_hidden_tls_proto): Likewise.
7807 (libnss_files_hidden_tls_proto): Likewise.
7808 (libnsl_hidden_tls_proto): Likewise.
7809 (libnss_nisplus_hidden_tls_proto): Likewise.
7810 (libutil_hidden_tls_proto): Likewise.
7811
b7589107
OB
78122013-11-18 Ondřej Bílka <neleai@seznam.cz>
7813
7814 [BZ #10253]
7815 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7816 (decompose_rpath): Defer expansion to fillin_rpath.
7817 (_dl_init_paths): Pass linkmap to fillin_rpath.
7818
250c23bd
RS
78192013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7820
7821 * benchtests/Makefile: Add strsep.
7822 * benchtests/bench-strsep.c: New file: strsep benchtest.
7823 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7824
a7931fcf
AS
78252013-11-18 Andreas Schwab <schwab@suse.de>
7826
7827 * locale/programs/locale.c (show_info) [case byte]: Check for
7828 '\377' instead of '\177'.
7829 * locale/C-monetary.c (not_available): Always use "\377".
7830 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7831 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7832 detect unavailable sign_posn locale elements.
7833 * locale/localeconv.c (__localeconv): For grouping and
7834 mon_grouping handle "\177" and "\377" like no grouping.
7835 (INT_ELEM): New macro. Use it to set all numeric members.
7836 * locale/programs/ld-monetary.c (monetary_read)
7837 <tok_mon_grouping>: Normalize single -1 to the empty string.
7838 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7839 Likewise.
7840
728dab0e
OB
78412013-11-07 Ondřej Bílka <neleai@seznam.cz>
7842
7843 [BZ #16055]
7844 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7845 when we match (nil).
7846 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7847
66294491
JM
78482013-11-16 Joseph Myers <joseph@codesourcery.com>
7849
ce665817
JM
7850 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7851 (NO_TEST_INLINE): Update value.
7852 (ERRNO_UNCHANGED): Likewise.
7853 (ERRNO_EDOM): Likewise.
7854 (ERRNO_ERANGE): Likewise.
7855 (IGNORE_RESULT): Likewise.
7856 (check_float_internal): Check signs of NaN results if
7857 TEST_NAN_SIGN used.
7858 (check_complex): Pass TEST_NAN_SIGN flag through to second
7859 check_float_internal call.
7860 (copysign_test_data): Add tests with quiet NaNs as second
7861 argument. Use TEST_NAN_SIGN.
7862 (fabs_test_data): Add test of negative quiet NaN argument. Use
7863 TEST_NAN_SIGN.
7864 (signbit_test_data): Add tests of quiet NaN argument.
7865 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7866
ee1466a9
JM
7867 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7868 $ignore_result.
7869 (parse_args): Handle function results specified as IGNORE.
7870 * math/libm-test.inc (IGNORE_RESULT): New macro.
7871 (check_float_internal): Do not check numerical result if flag
7872 IGNORE_RESULT set.
7873 (check_complex): Pass through IGNORE_RESULT to second
7874 check_float_internal call.
7875 (check_int): Do not check numerical result if flag IGNORE_RESULT
7876 set.
7877 (check_long): Likewise.
7878 (check_bool): Likewise.
7879 (check_longlong): Likewise.
7880 (lrint_test_data): Add tests of infinite and NaN arguments.
7881 (lrint_tonearest_test_data): Likewise.
7882 (lrint_towardzero_test_data): Likewise.
7883 (lrint_downward_test_data): Likewise.
7884 (lrint_upward_test_data): Likewise.
7885 (llrint_test_data): Likewise.
7886 (llrint_tonearest_test_data): Likewise.
7887 (llrint_towardzero_test_data): Likewise.
7888 (llrint_downward_test_data): Likewise.
7889 (llrint_upward_test_data): Likewise.
7890 (lround_test_data): Likewise.
7891 (llround_test_data): Likewise.
7892
14407b7e
JM
7893 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7894 (ERRNO_UNCHANGED): Update value.
7895 (ERRNO_EDOM): Likewise.
7896 (ERRNO_ERANGE): Likewise.
7897 (NO_TEST_INLINE_FLOAT): New macro.
7898 (NO_TEST_INLINE_DOUBLE): Likewise.
7899 (enable_test): New function.
7900 (RUN_TEST_f_f): Check enable_test before running test.
7901 (RUN_TEST_2_f): Likewise.
7902 (RUN_TEST_fff_f): Likewise.
7903 (RUN_TEST_c_f): Likewise.
7904 (RUN_TEST_f_f1): Likewise.
7905 (RUN_TEST_fF_f1): Likewise.
7906 (RUN_TEST_fI_f1): Likewise.
7907 (RUN_TEST_ffI_f1): Likewise.
7908 (RUN_TEST_c_c): Likewise.
7909 (RUN_TEST_cc_c): Likewise.
7910 (RUN_TEST_f_i): Likewise.
7911 (RUN_TEST_f_i_tg): Likewise.
7912 (RUN_TEST_ff_i_tg): Likewise.
7913 (RUN_TEST_f_b): Likewise.
7914 (RUN_TEST_f_b_tg): Likewise.
7915 (RUN_TEST_f_l): Likewise.
7916 (RUN_TEST_f_L): Likewise.
7917 (RUN_TEST_fFF_11): Likewise.
7918 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7919 conditionals.
7920 (cosh_test_data): Likewise.
7921 (exp_test_data): Likewise.
7922 (expm1_test_data): Likewise.
7923 (hypot_test_data): Likewise.
7924 (pow_test_data): Likewise.
7925 (sinh_test_data): Likewise.
7926 (tanh_test_data): Likewise.
7927 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7928 flags argument.
7929
ca07f197
JM
7930 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7931 tests with quiet NaN input and output.
7932 (acosh_test_data): Likewise.
7933 (asin_test_data): Likewise.
7934 (asinh_test_data): Likewise.
7935 (atan_test_data): Likewise.
7936 (atanh_test_data): Likewise.
7937 (atan2_test_data): Likewise.
7938 (cbrt_test_data): Likewise.
7939 (cos_test_data): Likewise.
7940 (cosh_test_data): Likewise.
7941 (erf_test_data): Likewise.
7942 (erfc_test_data): Likewise.
7943 (exp_test_data): Likewise.
7944 (exp10_test_data): Likewise.
7945 (exp2_test_data): Likewise.
7946 (expm1_test_data): Likewise.
7947 (hypot_test_data): Likewise.
7948 (j0_test_data): Likewise.
7949 (j1_test_data): Likewise.
7950 (jn_test_data): Likewise.
7951 (lgamma_test_data): Likewise.
7952 (log_test_data): Likewise.
7953 (log10_test_data): Likewise.
7954 (log1p_test_data): Likewise.
7955 (log2_test_data): Likewise.
7956 (pow_test_data): Likewise.
7957 (scalb_test_data): Likewise.
7958 (sin_test_data): Likewise.
7959 (sincos_test_data): Likewise.
7960 (sinh_test_data): Likewise.
7961 (tan_test_data): Likewise.
7962 (tanh_test_data): Likewise.
7963 (tgamma_test_data): Likewise.
7964 (y0_test_data): Likewise.
7965 (y1_test_data): Likewise.
7966 (yn_test_data): Likewise.
7967
66294491
JM
7968 [BZ #16167]
7969 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7970 argument being NaN and avoid computations with second argument in
7971 that case.
7972 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7973 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7974 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7975
1820b143
CL
79762013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7977
7978 * locale/iso-639.def: Add Chitwani Tharu (the).
7979
714bd261
AS
79802013-11-14 Andreas Schwab <schwab@suse.de>
7981
7982 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7983 word instead of empty string.
7984
7ab44563
AZ
79852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7986
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7988 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7990 (__fe_nomask_env): Likewise.
7991
e8470ea2
SE
79922013-11-13 Steve Ellcey <sellcey@mips.com>
7993
7994 * benchtests/bench-timing.h: Include time.h.
7995
17c1d9f0
L
79962013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7997
7998 [BZ #15997]
7999 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8000 to 3.4.0 for x32.
8001 * sysdeps/unix/sysv/linux/configure: Regenerated.
8002
9310c284
JM
80032013-11-13 Joseph Myers <joseph@codesourcery.com>
8004
8005 [BZ #16151]
8006 * stdlib/strtod_l.c (round_and_return): Do not consider
8007 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8008 exponent one less than half the least subnormal exponent.
8009 * stdlib/test-strtod-round-data: Add more tests.
8010 * stdlib/tst-strtod-round.c (tests): Regenerated.
8011
7a2ad8cf
AZ
80122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8013
8014 [BZ #14143]
8015 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8016 (__fe_mask_env): Likewise.
8017 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8018 libm_hidden_proto and add function prototype.
8019 (__fe_mask_env): Add function prototype.
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8021 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8023 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8025 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8026
50727aa7
MS
80272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8028
b2f386c1 8029 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8030 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8031
a615be46
MS
80322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8033
8034 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8035 of htab_find_slot().
8036
7ddace62
DM
80372013-11-11 David S. Miller <davem@davemloft.net>
8038
8039 [BZ #16150]
8040 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8041 symbol in the non-vis3 case in static builds.
8042 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8043 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8044 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8045 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8046
9182aa67
JK
80472013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8048
8049 [BZ #387]
8050 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8051 it is empty.
8052
450a2e2d
AZ
80532013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8054
b2f386c1
SP
8055 * benchtests/Makefile: Add bench-strtod.
8056 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8057
8ec3f656
AS
80582013-11-11 Andreas Schwab <schwab@suse.de>
8059
8060 [BZ #16153]
8061 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8062 terminating NUL in key length.
8063
76a9b998
AZ
80642013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8065
8066 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8067 Add artificial ODP entry for vDSO symbol for PPC64.
8068 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8069 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8070
e4368156
OB
80712013-11-07 Ondřej Bílka <neleai@seznam.cz>
8072
8073 [BZ #15374]
8074 * nss/getent.c (services_keys): Recognize services starting with digit.
8075
8d6bb57c
DM
80762013-11-06 David S. Miller <davem@davemloft.net>
8077
8078 [BZ #15985]
8079 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8080 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8081
e256c421
WN
80822013-11-06 Will Newton <will.newton@linaro.org>
8083
8084 * manual/memory.texi (Malloc Examples): Remove register
8085 keyword from examples.
8086
f6e12daa 80872013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8088
f6e12daa 8089 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8090
9d880655
AS
80912013-11-04 Joseph Myers <joseph@codesourcery.com>
8092
fd2f9486 8093 [BZ #6981]
9d880655
AS
8094 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8095 depending on [__GCC_IEC_559 > 0].
8096 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8097 depending on [__GCC_IEC_559_COMPLEX > 0].
8098
ae129d3c
CL
80992013-11-03 Chris Leonard <cjl@sugarlabs.org>
8100
8101 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8102 to iso-639.def.
8103
4a15c2a4 81042013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8105
8106 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8107
8b35e35d
OB
81082013-11-01 Ondřej Bílka <neleai@seznam.cz>
8109
8110 [BZ #16112]
8111 * malloc/malloc (malloc_info): Do not handle first bin as
8112 special case.
8113
1d70fd6c
CL
81142013-11-01 Chris Leonard <cjl@sugarlabs.org>
8115
8116 * locale/iso-639.def: Add Central Nahuatl (nhn).
8117
8c5c2600
BH
81182013-11-01 Bruno Haible <bruno@clisp.org>
8119
8120 [BZ #7003]
8121 * manual/math.texi (BSD Random): Specify range upper bound as
8122 in POSIX.
8123
da5579c2
CL
81242013-10-31 Chris Leonard <cjl@sugarlabs.org>
8125
8126 * locale/iso-639.def: Add Meadow Mari (mhr).
8127
5d30d853
OB
81282013-10-31 Ondřej Bílka <neleai@seznam.cz>
8129
8130 [BZ #14752], [BZ #15763]
8131 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8132 Validate name.
8133 * rt/tst_shm.c: Add test for escaping directory.
8134
a4966c61
AS
81352013-10-31 Andreas Schwab <schwab@suse.de>
8136
8a43e768 8137 [BZ #15917]
a4966c61
AS
8138 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8139 followed by 'x' as part of digit sequence.
8140 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8141
28d708c4
MAP
81422013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8143
8144 [BZ #16037]
8145 * configure.ac: allow GNU Make 4.0 and greater.
8146 * configure: Regenerated.
8147
a56ee40b
WN
81482013-10-30 Will Newton <will.newton@linaro.org>
8149
8150 [BZ #16038]
8151 * malloc/hooks.c (memalign_check): Limit alignment to the
8152 maximum representable power of two.
8153 * malloc/malloc.c (__libc_memalign): Likewise.
8154 * malloc/tst-memalign.c (do_test): Add test for very
8155 large alignment values.
8156 * malloc/tst-posix_memalign.c (do_test): Likewise.
8157
c6e4925d
OB
81582013-10-30 Ondřej Bílka <neleai@seznam.cz>
8159
8160 [BZ #11087]
8161 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8162 (munmap_chunk): Likewise.
8163 (mremap_chunk): Likewise.
8164
81652013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8166
8a43e768 8167 [BZ #15799]
bbea82f7
OB
8168 * stdlib/div.c (div): Remove obsolete code.
8169 * stdlib/ldiv.c (ldiv): Likewise.
8170 * stdlib/lldiv.c (lldiv): Likewise.
8171
977f4b31
SP
81722013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8173
8174 [BZ #16071]
8175 * nss/nss_files/files-XXX.c (get_contents_ret): New
8176 enumerator.
8177 (get_contents): New function.
8178 (internal_getent): Use it. Expand size of LINEBUFLEN.
8179
cb8a6dbd
MF
81802013-10-30 Mike Frysinger <vapier@gentoo.org>
8181
8182 * configure.in: Moved to ...
8183 * configure.ac: ... here. Change reference to configure.in
8184 to configure.ac.
8185 * sysdeps/arm/preconfigure.ac: ... here.
8186 configure.in to configure.ac.
8187 * sysdeps/gnu/configure.in: Moved to ...
8188 * sysdeps/gnu/configure.ac: ... here.
8189 * sysdeps/i386/configure.in: Moved to ...
8190 * sysdeps/i386/configure.ac: ... here.
8191 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8192 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8193 * sysdeps/mach/configure.in: Moved to ...
8194 * sysdeps/mach/configure.ac: ... here.
8195 * sysdeps/mach/hurd/configure.in: Moved to ...
8196 * sysdeps/mach/hurd/configure.ac: ... here.
8197 * sysdeps/powerpc/configure.in: Moved to ...
8198 * sysdeps/powerpc/configure.ac: ... here.
8199 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8200 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8201 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8202 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8203 * sysdeps/s390/s390-32/configure.in: Moved to ...
8204 * sysdeps/s390/s390-32/configure.ac: ... here.
8205 * sysdeps/s390/s390-64/configure.in: Moved to ...
8206 * sysdeps/s390/s390-64/configure.ac: ... here.
8207 * sysdeps/sh/configure.in: Moved to ...
8208 * sysdeps/sh/configure.ac: ... here.
8209 * sysdeps/sparc/configure.in: Moved to ...
8210 * sysdeps/sparc/configure.ac: ... here.
8211 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8212 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8213 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8214 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8215 * sysdeps/x86_64/configure.in: Moved to ...
8216 * sysdeps/x86_64/configure.ac: ... here.
8217 * sysdeps/x86_64/preconfigure.in: Moved to ...
8218 * sysdeps/x86_64/preconfigure.ac: ... here.
8219 * aclocal.m4: Change reference to configure.in to configure.ac.
8220 * config.h.in: Likewise.
8221 * manual/install.texi: Likewise.
8222 * manual/maint.texi: Likewise.
8223 * Makefile: Likewise.
8224 * malloc/Makefile: Likewise.
8225 * nscd/Makefile: Likewise.
8226 * Makeconfig: Change reference to configure.in and
8227 preconfigure.in to configure.ac and preconfigure.ac
8228 respectively.
8229 * INSTALL: Regenerated.
8230 * configure: Likewise.
8231 * sysdeps/gnu/configure: Likewise.
8232 * sysdeps/i386/configure: Likewise.
8233 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8234 * sysdeps/mach/configure: Likewise.
8235 * sysdeps/mach/hurd/configure: Likewise.
8236 * sysdeps/powerpc/configure: Likewise.
8237 * sysdeps/powerpc/powerpc32/configure: Likewise.
8238 * sysdeps/powerpc/powerpc64/configure: Likewise.
8239 * sysdeps/s390/s390-32/configure: Likewise.
8240 * sysdeps/s390/s390-64/configure: Likewise.
8241 * sysdeps/sh/configure: Likewise.
8242 * sysdeps/sparc/configure: Likewise.
8243 * sysdeps/unix/sysv/linux/configure: Likewise.
8244 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8245 * sysdeps/x86_64/configure: Likewise.
8246 * sysdeps/x86_64/preconfigure: Likewise.
8247
36a4953a
AS
82482013-10-29 Andreas Schwab <schwab@suse.de>
8249
8250 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8251
c79a1204
SP
82522013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8253
dfa1b402
SP
8254 * benchtests/pow-inputs: Add new inputs.
8255
54f73d9c
SP
8256 * benchtests/exp-inputs: Add new inputs.
8257
c79a1204
SP
8258 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8259 conditional check for return value.
8260 (__cos32): Likewise.
8261
67beb545 82622013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8263
8264 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8265 to provide a boost for large inputs with word alignment.
8266 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8267 implementation based on optimized PPC64 strcpy.
8268 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8269 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8270 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8271 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8272
151659f6
OB
82732013-10-25 Ondřej Bílka <neleai@seznam.cz>
8274
482a077e 8275 [BZ #2801]
151659f6
OB
8276 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8277
10b0f26b
OB
82782013-10-25 Ondřej Bílka <neleai@seznam.cz>
8279
8280 [BZ #14876]
8281 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8282 * time/tst-strptime.c (day_tests): Add testcase.
8283
ca42d35e
OB
82842013-10-25 Ondřej Bílka <neleai@seznam.cz>
8285
482a077e 8286 [BZ #14029]
ca42d35e
OB
8287 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8288
52e6d801
FB
82892013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8290
8291 [BZ #16074]
8292 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8293 MAP_FAILED on error.
8294
7cbcdb36
SP
82952013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8296
8297 [BZ #16072]
8298 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8299 heap for large requests.
8300
894f3f10
AM
83012013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8302
8303 [BZ #9954]
8304 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8305 result if the result has no associated interface.
8306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8307 interface for all 127.X.Y.Z addresses.
8308
b85545a6
CL
83092013-10-24 Chris Leonard <cjl@sugarlabs.org>
8310
8311 * locale/iso-639.def: Add Ligurian (lij)
8312
d1f23d46
OB
83132013-10-21 Ondřej Bílka <neleai@seznam.cz>
8314
8315 [BZ #15825]
8316 * sunrpc/rpc_main.c: Document rpcgen -5.
8317
4db5b08f
MS
83182013-10-19 Michael Stahl <mstahl@redhat.com>
8319
8320 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8321
a471e96a
OB
83222013-10-19 Ondřej Bílka <neleai@seznam.cz>
8323
d1f23d46 8324 [BZ #10278]
a471e96a
OB
8325 * posix/glob.c: Match only directories when trailing slash is present.
8326 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8327 (main): Add testcase.
8328
45c30c61
OB
83292013-10-19 Ondřej Bílka <neleai@seznam.cz>
8330
8331 [BZ #15670]
8332 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8333
484c12fb
CD
83342013-10-18 Carlos O'Donell <carlos@redhat.com>
8335
3d7dc513
CD
8336 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8337 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8338 AUTH_DES and cindex for FIPS 140-2.
8339 (DES Encryption): Add cindex FIPS 46-3.
8340
484c12fb
CD
8341 * locale/locarchive.h (struct locarhandle): Add fname.
8342 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8343 if an optional argument was specified to --list-archive,
8344 otherwise NULL.
8345 * locale/programs/locarchive.c (show_archive_content): Take new
8346 argument fname and pass it via ah.fname to open_archive.
8347 * locale/programs/localedef.h: Update decl.
8348 (open_archive): If AH->fname is non-null, open that file
8349 rather than the default file name, and don't ignore ENOENT.
8350 (create_archive): Set AH.fname to NULL.
8351 (delete_locales_from_archive): Likewise.
8352 (add_locales_to_archive): Likewise.
8353 * locale/programs/locfile.c (write_all_categories): Likewise.
8354
3c8325fb
JM
83552013-10-18 Joseph Myers <joseph@codesourcery.com>
8356 Aldy Hernandez <aldyh@redhat.com>
8357
8358 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8359 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8360 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8361 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8362 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8363 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8364 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8365 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8366 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8367 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8368 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8369 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8370 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8371 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8372 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8373 Likewise.
8374 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8375 Likewise.
8376 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8377 Likewise.
8378 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8379 Likewise.
8380 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8381 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8382 Likewise.
8383 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8384 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8385 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8386 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8387 Likewise.
8388 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8389 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8390 * sysdeps/powerpc/preconfigure: Likewise.
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8392 Likewise.
8393 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8394 Replace contents of file by #include of <fenv_libc.h>.
8395 * sysdeps/powerpc/soft-fp/sfp-machine.h
8396 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8397 and <sys/prctl.h>.
8398 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8399 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8400 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8401 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8402 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8403 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8405 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8406 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8407 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8408 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8409 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8411 Allow copysignl PLT reference to be missing.
8412
5abe0682
RS
84132013-10-18 Richard Sandiford <richard@codesourcery.com>
8414 Joseph Myers <joseph@codesourcery.com
8415
8416 [BZ #15948]
8417 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8418 single character.
8419 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8420
c7738d08
SP
84212013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8422
8423 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8424 * elf/tst-tls1.c: Likewise.
8425 * elf/tst-tls10.h: Likewise.
8426 * elf/tst-tls14.c: Likewise.
8427 * elf/tst-tls2.c: Likewise.
8428 * elf/tst-tls3.c: Likewise.
8429 * elf/tst-tls4.c: Likewise.
8430 * elf/tst-tls5.c: Likewise.
8431 * elf/tst-tls6.c: Likewise.
8432 * elf/tst-tls7.c: Likewise.
8433 * elf/tst-tls8.c: Likewise.
8434 * elf/tst-tls9.c: Likewise.
8435 * elf/tst-tlsmod1.c: Likewise.
8436 * elf/tst-tlsmod13.c: Likewise.
8437 * elf/tst-tlsmod13a.c: Likewise.
8438 * elf/tst-tlsmod14a.c: Likewise.
8439 * elf/tst-tlsmod16a.c: Likewise.
8440 * elf/tst-tlsmod16b.c: Likewise.
8441 * elf/tst-tlsmod2.c: Likewise.
8442 * elf/tst-tlsmod3.c: Likewise.
8443 * elf/tst-tlsmod4.c: Likewise.
8444 * elf/tst-tlsmod5.c: Likewise.
8445 * elf/tst-tlsmod6.c: Likewise.
8446
0bfcf2c7
OB
84472013-10-18 Ondřej Bílka <neleai@seznam.cz>
8448
8449 [BZ #12486]
8450 * malloc/malloc.c: remove checks for statistics.
8451
264aad1e
OB
84522013-10-17 Ondřej Bílka <neleai@seznam.cz>
8453
8454 [BZ #15277]
8455 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8456 * inet/tst-network.c: Add testcase.
8457
b957ced8
AS
84582013-10-17 Andreas Schwab <schwab@suse.de>
8459
8460 [BZ #15218]
8461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8462 to determine canonical name.
8463
c5d5d574
OB
84642013-10-17 Ondřej Bílka <neleai@seznam.cz>
8465
8466 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8467 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8469 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8490 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8491 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8496 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8524
e5c2c2d0
JM
85252013-10-17 Joseph Myers <joseph@codesourcery.com>
8526
8527 [BZ #16041]
8528 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8529 make result into a quiet NaN.
8530
51ca9e29
JM
85312013-10-16 Joseph Myers <joseph@codesourcery.com>
8532
8533 * soft-fp/adddf3.c: Fix horizontal whitespace.
8534 * soft-fp/addsf3.c: Likewise.
8535 * soft-fp/addtf3.c: Likewise.
8536 * soft-fp/divdf3.c: Likewise.
8537 * soft-fp/divsf3.c: Likewise.
8538 * soft-fp/divtf3.c: Likewise.
8539 * soft-fp/double.h: Likewise.
8540 * soft-fp/eqdf2.c: Likewise.
8541 * soft-fp/eqsf2.c: Likewise.
8542 * soft-fp/eqtf2.c: Likewise.
8543 * soft-fp/extenddftf2.c: Likewise.
8544 * soft-fp/extended.h: Likewise.
8545 * soft-fp/extendsfdf2.c: Likewise.
8546 * soft-fp/extendsftf2.c: Likewise.
8547 * soft-fp/extendxftf2.c: Likewise.
8548 * soft-fp/fixdfdi.c: Likewise.
8549 * soft-fp/fixdfsi.c: Likewise.
8550 * soft-fp/fixdfti.c: Likewise.
8551 * soft-fp/fixsfdi.c: Likewise.
8552 * soft-fp/fixsfsi.c: Likewise.
8553 * soft-fp/fixsfti.c: Likewise.
8554 * soft-fp/fixtfdi.c: Likewise.
8555 * soft-fp/fixtfsi.c: Likewise.
8556 * soft-fp/fixtfti.c: Likewise.
8557 * soft-fp/fixunsdfdi.c: Likewise.
8558 * soft-fp/fixunsdfsi.c: Likewise.
8559 * soft-fp/fixunsdfti.c: Likewise.
8560 * soft-fp/fixunssfdi.c: Likewise.
8561 * soft-fp/fixunssfsi.c: Likewise.
8562 * soft-fp/fixunssfti.c: Likewise.
8563 * soft-fp/fixunstfdi.c: Likewise.
8564 * soft-fp/fixunstfsi.c: Likewise.
8565 * soft-fp/fixunstfti.c: Likewise.
8566 * soft-fp/floatdidf.c: Likewise.
8567 * soft-fp/floatdisf.c: Likewise.
8568 * soft-fp/floatditf.c: Likewise.
8569 * soft-fp/floatsidf.c: Likewise.
8570 * soft-fp/floatsisf.c: Likewise.
8571 * soft-fp/floatsitf.c: Likewise.
8572 * soft-fp/floattidf.c: Likewise.
8573 * soft-fp/floattisf.c: Likewise.
8574 * soft-fp/floattitf.c: Likewise.
8575 * soft-fp/floatundidf.c: Likewise.
8576 * soft-fp/floatundisf.c: Likewise.
8577 * soft-fp/floatunditf.c: Likewise.
8578 * soft-fp/floatunsidf.c: Likewise.
8579 * soft-fp/floatunsisf.c: Likewise.
8580 * soft-fp/floatunsitf.c: Likewise.
8581 * soft-fp/floatuntidf.c: Likewise.
8582 * soft-fp/floatuntisf.c: Likewise.
8583 * soft-fp/floatuntitf.c: Likewise.
8584 * soft-fp/fmadf4.c: Likewise.
8585 * soft-fp/fmasf4.c: Likewise.
8586 * soft-fp/fmatf4.c: Likewise.
8587 * soft-fp/gedf2.c: Likewise.
8588 * soft-fp/gesf2.c: Likewise.
8589 * soft-fp/getf2.c: Likewise.
8590 * soft-fp/ledf2.c: Likewise.
8591 * soft-fp/lesf2.c: Likewise.
8592 * soft-fp/letf2.c: Likewise.
8593 * soft-fp/muldf3.c: Likewise.
8594 * soft-fp/mulsf3.c: Likewise.
8595 * soft-fp/multf3.c: Likewise.
8596 * soft-fp/negdf2.c: Likewise.
8597 * soft-fp/negsf2.c: Likewise.
8598 * soft-fp/negtf2.c: Likewise.
8599 * soft-fp/op-1.h: Likewise.
8600 * soft-fp/op-2.h: Likewise.
8601 * soft-fp/op-4.h: Likewise.
8602 * soft-fp/op-8.h: Likewise.
8603 * soft-fp/op-common.h: Likewise.
8604 * soft-fp/quad.h: Likewise.
8605 * soft-fp/single.h: Likewise.
8606 * soft-fp/soft-fp.h: Likewise.
8607 * soft-fp/sqrtdf2.c: Likewise.
8608 * soft-fp/sqrtsf2.c: Likewise.
8609 * soft-fp/sqrttf2.c: Likewise.
8610 * soft-fp/subdf3.c: Likewise.
8611 * soft-fp/subsf3.c: Likewise.
8612 * soft-fp/subtf3.c: Likewise.
8613 * soft-fp/truncdfsf2.c: Likewise.
8614 * soft-fp/trunctfdf2.c: Likewise.
8615 * soft-fp/trunctfsf2.c: Likewise.
8616 * soft-fp/trunctfxf2.c: Likewise.
8617 * soft-fp/unorddf2.c: Likewise.
8618 * soft-fp/unordsf2.c: Likewise.
8619 * soft-fp/unordtf2.c: Likewise.
8620
9ebb0332
JM
86212013-10-15 Joseph Myers <joseph@codesourcery.com>
8622
8623 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8624 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8625
4b1a6d8b
OB
86262013-10-15 Ondřej Bílka <neleai@seznam.cz>
8627
8628 * elf/dl-libc.c: Clear initfini list after freeing.
8629
1e145589
JM
86302013-10-14 Joseph Myers <joseph@codesourcery.com>
8631
8632 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8633 * soft-fp/addsf3.c: Likewise.
8634 * soft-fp/addtf3.c: Likewise.
8635 * soft-fp/divdf3.c: Likewise.
8636 * soft-fp/divsf3.c: Likewise.
8637 * soft-fp/divtf3.c: Likewise.
8638 * soft-fp/double.h: Likewise.
8639 * soft-fp/eqdf2.c: Likewise.
8640 * soft-fp/eqsf2.c: Likewise.
8641 * soft-fp/eqtf2.c: Likewise.
8642 * soft-fp/extenddftf2.c: Likewise.
8643 * soft-fp/extended.h: Likewise.
8644 * soft-fp/extendsfdf2.c: Likewise.
8645 * soft-fp/extendsftf2.c: Likewise.
8646 * soft-fp/extendxftf2.c: Likewise.
8647 * soft-fp/fixdfdi.c: Likewise.
8648 * soft-fp/fixdfsi.c: Likewise.
8649 * soft-fp/fixdfti.c: Likewise.
8650 * soft-fp/fixsfdi.c: Likewise.
8651 * soft-fp/fixsfsi.c: Likewise.
8652 * soft-fp/fixsfti.c: Likewise.
8653 * soft-fp/fixtfdi.c: Likewise.
8654 * soft-fp/fixtfsi.c: Likewise.
8655 * soft-fp/fixtfti.c: Likewise.
8656 * soft-fp/fixunsdfdi.c: Likewise.
8657 * soft-fp/fixunsdfsi.c: Likewise.
8658 * soft-fp/fixunsdfti.c: Likewise.
8659 * soft-fp/fixunssfdi.c: Likewise.
8660 * soft-fp/fixunssfsi.c: Likewise.
8661 * soft-fp/fixunssfti.c: Likewise.
8662 * soft-fp/fixunstfdi.c: Likewise.
8663 * soft-fp/fixunstfsi.c: Likewise.
8664 * soft-fp/fixunstfti.c: Likewise.
8665 * soft-fp/floatdidf.c: Likewise.
8666 * soft-fp/floatdisf.c: Likewise.
8667 * soft-fp/floatditf.c: Likewise.
8668 * soft-fp/floatsidf.c: Likewise.
8669 * soft-fp/floatsisf.c: Likewise.
8670 * soft-fp/floatsitf.c: Likewise.
8671 * soft-fp/floattidf.c: Likewise.
8672 * soft-fp/floattisf.c: Likewise.
8673 * soft-fp/floattitf.c: Likewise.
8674 * soft-fp/floatundidf.c: Likewise.
8675 * soft-fp/floatundisf.c: Likewise.
8676 * soft-fp/floatunsidf.c: Likewise.
8677 * soft-fp/floatunsisf.c: Likewise.
8678 * soft-fp/floatuntidf.c: Likewise.
8679 * soft-fp/floatuntisf.c: Likewise.
8680 * soft-fp/floatuntitf.c: Likewise.
8681 * soft-fp/fmadf4.c: Likewise.
8682 * soft-fp/fmasf4.c: Likewise.
8683 * soft-fp/fmatf4.c: Likewise.
8684 * soft-fp/gedf2.c: Likewise.
8685 * soft-fp/gesf2.c: Likewise.
8686 * soft-fp/getf2.c: Likewise.
8687 * soft-fp/ledf2.c: Likewise.
8688 * soft-fp/lesf2.c: Likewise.
8689 * soft-fp/letf2.c: Likewise.
8690 * soft-fp/muldf3.c: Likewise.
8691 * soft-fp/mulsf3.c: Likewise.
8692 * soft-fp/multf3.c: Likewise.
8693 * soft-fp/negdf2.c: Likewise.
8694 * soft-fp/negsf2.c: Likewise.
8695 * soft-fp/negtf2.c: Likewise.
8696 * soft-fp/op-1.h: Likewise.
8697 * soft-fp/op-2.h: Likewise.
8698 * soft-fp/op-4.h: Likewise.
8699 * soft-fp/op-8.h: Likewise.
8700 * soft-fp/op-common.h: Likewise.
8701 * soft-fp/quad.h: Likewise.
8702 * soft-fp/single.h: Likewise.
8703 * soft-fp/soft-fp.h: Likewise.
8704 * soft-fp/sqrtdf2.c: Likewise.
8705 * soft-fp/sqrtsf2.c: Likewise.
8706 * soft-fp/sqrttf2.c: Likewise.
8707 * soft-fp/subdf3.c: Likewise.
8708 * soft-fp/subsf3.c: Likewise.
8709 * soft-fp/subtf3.c: Likewise.
8710 * soft-fp/truncdfsf2.c: Likewise.
8711 * soft-fp/trunctfdf2.c: Likewise.
8712 * soft-fp/trunctfsf2.c: Likewise.
8713 * soft-fp/trunctfxf2.c: Likewise.
8714 * soft-fp/unorddf2.c: Likewise.
8715 * soft-fp/unordsf2.c: Likewise.
8716 * soft-fp/unordtf2.c: Likewise.
8717
17c48a60
OB
87182013-10-14 Ondřej Bílka <neleai@seznam.cz>
8719
8720 [BZ #15672]
8721 * misc/error.c (error_tail): Fix possible buffer overflow.
8722
cabba934
OB
87232013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8724
8725 [BZ #13028]
8726 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8727 address.
8728
94bf958a
PM
87292013-10-14 P. J. McDermott <pj@pehjota.net>
8730
8731 [BZ #832]
8732 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8733 testing pipefail option.
8734
71b4dea7
JM
87352013-10-12 Joseph Myers <joseph@codesourcery.com>
8736
8737 * soft-fp/double.h: Indent preprocessor directives inside #if.
8738 * soft-fp/extended.h: Likewise.
8739 * soft-fp/op-2.h: Likewise.
8740 * soft-fp/op-4.h: Likewise.
8741 * soft-fp/op-common.h: Likewise.
8742 * soft-fp/quad.h: Likewise.
8743 * soft-fp/single.h: Likewise.
8744 * soft-fp/soft-fp.h: Likewise.
8745
55602758
YC
87462013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8747
8748 * iconv/iconv_prog.c: Fix typos.
8749 * stdio-common/psiginfo-data.h: Likewise.
8750
9cd83302
RT
87512013-10-12 Reuben Thomas <rrt@sc3d.org>
8752
8753 [BZ #15764]
8754 * locale/setlocale.c: Fix typo.
8755
99fd9f47
JM
87562013-10-12 Joseph Myers <joseph@codesourcery.com>
8757
b7ea74f0
JM
8758 [BZ #16036]
8759 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8760 signaling NaN arguments.
8761 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8762 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8763
8a509447
JM
8764 [BZ #14910]
8765 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8766 unordered operands.
8767 * soft-fp/gesf2.c (__gesf2): Likewise.
8768 * soft-fp/getf2.c (__getf2): Likewise.
8769 * soft-fp/ledf2.c (__ledf2): Likewise.
8770 * soft-fp/lesf2.c (__lesf2): Likewise.
8771 * soft-fp/letf2.c (__letf2): Likewise.
8772
98998e9f
JM
8773 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8774 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8775 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8776 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8777 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8778 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8779 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8780 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8781 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8782 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8783 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8784 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8785 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8786 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8787 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8788 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8789 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8790 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8791 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8792 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8793 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8794 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8795 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8796 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8797 * soft-fp/floattidf.c (__floattidf): Likewise.
8798 * soft-fp/floattisf.c (__floattisf): Likewise.
8799 * soft-fp/floattitf.c (__floattitf): Likewise.
8800 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8801 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8802 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8803 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8804 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8805 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8806 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8807 * soft-fp/gesf2.c (__gesf2): Likewise.
8808 * soft-fp/getf2.c (__getf2): Likewise.
8809 * soft-fp/ledf2.c (__ledf2): Likewise.
8810 * soft-fp/lesf2.c (__lesf2): Likewise.
8811 * soft-fp/letf2.c (__letf2): Likewise.
8812
8edc4a11
JM
8813 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8814 Undefine and redefine.
8815 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8816 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8817 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8818 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8819 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8820 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8821 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8822 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8823 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8824 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8825 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8826 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8827 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8828 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8829 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8830
8399acaf
JM
8831 [BZ #16032]
8832 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8833 without decrementing exponent if mantissa >= that for the
8834 denominator, not >.
8835 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8836 denominator, not >. Decrement exponent in < case instead of
8837 incrementing in >= case.
8838 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8839 without decrementing exponent if mantissa >= that for the
8840 denominator, not >.
8841
99fd9f47
JM
8842 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8843 computing saturated result for unsigned overflow.
8844
10e1cf6b
SP
88452013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8846 Jeff Law <law@redhat.com>
8847
8848 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8849 (atan2Mp): Add systemtap probe marker.
8850 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8851 (__ieee754_log): Add systemtap probe marker.
8852 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8853 (atanMp): Add systemtap probe marker.
8854 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8855 (tanMp): Add systemtap probe marker.
8856 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8857 (__slowexp): Add systemtap probe marker.
8858 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8859 (__slowpow): Add systemtap probe marker.
8860 * manual/probes.texi: Document probes.
8861
3d110c7c
EB
88622013-10-11 Eric Biggers <ebiggers3@gmail.com>
8863
8864 [BZ #15362]
8865 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8866 written.
8867 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8868 written.
8869 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8870 written to buffer but not flushed.
8871 * libio/iofwrite_u.c: Likewise.
8872 * libio/iopadn.c: Return bytes returned even if EOF was
8873 encountered.
8874 * libio/iowpadn.c: Likewise.
8875 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8876 if _IO_padn does not write the whole buffer.
8877 [!COMPILE_WPRINTF] (PAD): Likewise.
8878
75b4202a
DM
88792013-10-10 David S. Miller <davem@davemloft.net>
8880
8881 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8882 directory block.
8883
6c6352e6
JM
88842013-10-10 Joseph Myers <joseph@codesourcery.com>
8885
33b853c3
JM
8886 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8887 instead of FSF address.
8888 * soft-fp/fixdfti.c: Likewise.
8889 * soft-fp/fixsfti.c: Likewise.
8890 * soft-fp/fixtfti.c: Likewise.
8891 * soft-fp/fixunsdfti.c: Likewise.
8892 * soft-fp/fixunssfti.c: Likewise.
8893 * soft-fp/fixunstfti.c: Likewise.
8894 * soft-fp/floattidf.c: Likewise.
8895 * soft-fp/floattisf.c: Likewise.
8896 * soft-fp/floattitf.c: Likewise.
8897 * soft-fp/floatuntidf.c: Likewise.
8898 * soft-fp/floatuntisf.c: Likewise.
8899 * soft-fp/floatuntitf.c: Likewise.
8900 * soft-fp/trunctfxf2.c: Likewise.
8901
6c6352e6
JM
8902 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8903 * soft-fp/fixdfti.c: Likewise.
8904 * soft-fp/fixsfti.c: Likewise.
8905 * soft-fp/fixtfti.c: Likewise.
8906 * soft-fp/fixunsdfti.c: Likewise.
8907 * soft-fp/fixunssfti.c: Likewise.
8908 * soft-fp/fixunstfti.c: Likewise.
8909 * soft-fp/floattidf.c: Likewise.
8910 * soft-fp/floattisf.c: Likewise.
8911 * soft-fp/floattitf.c: Likewise.
8912 * soft-fp/floatuntidf.c: Likewise.
8913 * soft-fp/floatuntisf.c: Likewise.
8914 * soft-fp/floatuntitf.c: Likewise.
8915 * soft-fp/trunctfxf2.c: Likewise.
8916
3bf78b71
DM
89172013-10-10 David S. Miller <davem@davemloft.net>
8918
8919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8920
6f10289e
JM
89212013-10-10 Joseph Myers <joseph@codsourcery.com>
8922
bd878fc0
JM
8923 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8924 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8925 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8926 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8927 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8928 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8929 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8930
6f10289e
JM
8931 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8932 for NaNs before doing comparisons on argument.
8933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8934 Likewise.
8935
321e2684
WN
89362013-10-10 Will Newton <will.newton@linaro.org>
8937
8938 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8939 passed to _int_memalign does not overflow.
8940
40fefba1
TR
89412013-10-10 Torvald Riegel <triegel@redhat.com>
8942
8943 * scripts/bench.pl: Add include-sources directive.
8944 * benchtests/README: Update documentation.
8945
2ae21ed2
JM
89462013-10-10 Joseph Myers <joseph@codesourcery.com>
8947
dcc2dd3f
JM
8948 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8949 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8950 instead of FP_INIT_ROUNDMODE.
8951 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8952 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8953
2ae21ed2
JM
8954 [BZ #16034]
8955 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8956 copy class of input value.
8957 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8958 not handle exceptions.
8959 * soft-fp/negsf2.c (__negsf2): Likewise.
8960 * soft-fp/negtf2.c (__negtf2): Likewise.
8961 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8962
cb8f9562
JM
89632013-10-09 Joseph Myers <joseph@codesourcery.com>
8964
8965 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8966 semicolon. From Linux kernel.
8967
5b60c59d
AB
89682013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8969
8970 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8971
b86835ca
YC
89722013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8973
8974 [BZ #156]
8975 * manual/socket.texi: Added statement about buffer
8976 for gethostbyname2_r.
8977
e7044ea7
OB
89782013-10-08 Ondřej Bílka <neleai@seznam.cz>
8979
8980 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8981 Use .p2align directive instead, throughout.
8982 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8983 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8984 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8987 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8988 * sysdeps/x86_64/strchr.S: Likewise.
8989 * sysdeps/x86_64/strrchr.S: Likewise.
8990
09544cbc
SP
89912013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8992
88576635
SP
8993 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8994
e7b2d1dd
SP
8995 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8996
09544cbc
SP
8997 * sysdeps/generic/math_private.h (__mpsin1): Remove
8998 declaration.
8999 (__mpcos1): Likewise.
9000 (__mpsin): New argument __range_reduce.
9001 (__mpcos): Likewise.
9002 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9003 (slow): Use __mpsin and __mpcos.
9004 (slow1): Likewise.
9005 (slow2): Likewise.
9006 (sloww): Likewise.
9007 (sloww1): Likewise.
9008 (sloww2): Likewise.
9009 (bsloww): Likewise.
9010 (bsloww1): Likewise.
9011 (bsloww2): Likewise.
9012 (cslow2): Likewise.
9013 (csloww): Likewise.
9014 (csloww1): Likewise.
9015 (csloww2): Likewise.
9016 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9017 range_reduce. Merge in __mpsin1.
9018 (__mpcos): Likewise.
9019 (__mpsin1): Remove.
9020 (__mpcos1): Likewise.
9021
7602d070
JM
90222013-10-07 Joseph Myers <joseph@codesourcery.com>
9023
9024 * locale/loadlocale.c (_nl_intern_locale_data): Use
9025 LOCFILE_ALIGNED_P.
9026 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9027 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9028 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9029 obstack data is appropriately aligned.
9030 (obstack_int32_grow_fast): Likewise.
9031 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9032 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9033 (add_locale_uint32_array): Likewise.
9034
a357259b
SP
90352013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9036
9037 * benchtests/Makefile: Remove ARGLIST and RET variables.
9038 ($(objpfx)bench-%.c): Pass only function name to the script.
9039 * benchtests/README: Update documentation.
9040 * benchtests/acos-inputs: Add new directives.
9041 * benchtests/acosh-inputs: Likewise.
9042 * benchtests/asin-inputs: Likewise.
9043 * benchtests/asinh-inputs: Likewise.
9044 * benchtests/atan-inputs: Likewise.
9045 * benchtests/atanh-inputs: Likewise.
9046 * benchtests/cos-inputs: Likewise.
9047 * benchtests/cosh-inputs: Likewise.
9048 * benchtests/exp-inputs: Likewise.
9049 * benchtests/log-inputs: Likewise.
9050 * benchtests/pow-inputs: Likewise.
9051 * benchtests/rint-inputs: Likewise.
9052 * benchtests/sin-inputs: Likewise.
9053 * benchtests/sinh-inputs: Likewise.
9054 * benchtests/tan-inputs: Likewise.
9055 * benchtests/tanh-inputs: Likewise.
9056 * scripts/bench.pl: Add support for new directives.
9057
9ec1b13d
AM
90582013-10-07 Alan Modra <amodra@gmail.com>
9059
9060 * README: Fix careless merge.
9061
8b7d57cd
AM
90622013-10-05 Alan Modra <amodra@gmail.com>
9063
9064 * NEWS: Mention powerpc64le support and bugs fixed.
9065 * README: Both big-endian and little-endian powerpc64 supported.
9066
7b7bab13
ST
90672013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9068
9069 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9070 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9071 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9072 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9073
d39baad1
RA
90742013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9075
9076 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9077 match prototype.
9078
cd78f7e7
JM
90792013-10-04 Joseph Myers <joseph@codesourcery.com>
9080
29d73d86
JM
9081 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9082 Move -mhard-float appending from
9083 ports/sysdeps/powerpc/powerpc32/Makefile.
9084 [$(with-fp) = yes] (ASFLAGS): Likewise.
9085 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9086 * sysdeps/powerpc/nofpu: Move directory from
9087 ports/sysdeps/powerpc/nofpu.
9088 * sysdeps/powerpc/soft-fp: Move directory from
9089 ports/sysdeps/powerpc/soft-fp.
9090 * sysdeps/powerpc/powerpc32/405: Move directory from
9091 ports/sysdeps/powerpc/powerpc32/405.
9092 * sysdeps/powerpc/powerpc32/440: Move directory from
9093 ports/sysdeps/powerpc/powerpc32/440.
9094 * sysdeps/powerpc/powerpc32/464: Move directory from
9095 ports/sysdeps/powerpc/powerpc32/464.
9096 * sysdeps/powerpc/powerpc32/476: Move directory from
9097 ports/sysdeps/powerpc/powerpc32/476.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9099 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9101 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9103 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9105 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9107 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9108 * README: Update for powerpc-*-linux-gnu software floating point
9109 support in libc.
9110
e246b347
JM
9111 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9112 case to powerpc/powerpc32*.
9113 * sysdeps/unix/sysv/linux/configure: Regenerated.
9114
89c2003e
JM
9115 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9116 (_FPU_MASK_OM): Define as 0x04.
9117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9119 0x00c10080.
9120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9121 0x0000003c.
9122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9123
cd78f7e7
JM
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9125 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9126 getcontext_e500.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9128 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9129 setcontext_e500.
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9131 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9132 and setcontext_e500.
9133
c755294d
CL
91342013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9135
9136 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9137
e16d221c
SP
91382013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9139
9140 * manual/threads.texi (Default Thread Attributes): Fix typo.
9141
215c7d43
WN
91422013-10-04 Will Newton <will.newton@linaro.org>
9143
9144 * malloc/Makefile: Add tst-memalign.
9145 * malloc/tst-memalign.c: New file.
9146
27d0461b
WN
9147 * malloc/tst-posix_memalign.c: Add comments.
9148 (do_test): Add comments and call free on all potentially
9149 allocated pointers. Add space after cast.
9150
1bc92709
WN
9151 * malloc/tst-pvalloc.c: Add comments.
9152 (do_test): Add comments and call free on all potentially
9153 allocated pointers. Remove duplicate check for NULL pointer.
9154 Add space after cast.
9155
66a9be9d
WN
9156 * malloc/tst-valloc.c: Add comments.
9157 (do_test): Add comments and call free on all potentially
9158 allocated pointers. Remove duplicate check for NULL pointer.
9159 Add space after cast.
9160
4cb81307
AM
91612013-10-04 Alan Modra <amodra@gmail.com>
9162
9163 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9164 Use stdint types in rather than __attribute__((mode())).
9165 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9166
f8e3e9f3
AM
91672013-10-04 Alan Modra <amodra@gmail.com>
9168
9169 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9170 Correct handling of unaligned relocs for little-endian.
9171 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9172
8f9ebb08
AM
91732013-10-04 Alan Modra <amodra@gmail.com>
9174
9175 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9176 * configure: Regenerate.
9177 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9178 * shlib-versions: Likewise.
9179
0edf96c2
AM
91802013-10-04 Alan Modra <amodra@gmail.com>
9181
9182 * string/tester.c (test_memrchr): Increment reported test cycle.
9183
e0f7a380
AM
91842013-10-04 Alan Modra <amodra@gmail.com>
9185
9186 * string/test-memcpy.c (do_one_test): When reporting errors, print
9187 string address and don't overrun end of string.
9188
466b0393
AM
91892013-10-04 Alan Modra <amodra@gmail.com>
9190
9191 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9192 insrdi. Make better use of reg selection to speed exit slightly.
9193 Schedule entry path a little better. Remove useless "are we done"
9194 checks on entry to main loop. Handle wrapping around zero address.
9195 Correct main loop count. Handle single left-over word from main
9196 loop inline rather than by using loop_small. Remove extra word
9197 case in loop_small caused by wrong loop count. Add little-endian
9198 support.
9199 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9200 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9201 cache hint.
9202 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9203 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9204 support. Avoid rlwimi.
9205 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9206
3be87c77
AM
92072013-10-04 Alan Modra <amodra@gmail.com>
9208
9209 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9210 insrdi. Formatting.
3be87c77
AM
9211 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9212 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9213 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9214 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9215 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9216 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9217
759cfef3
AM
92182013-10-04 Alan Modra <amodra@gmail.com>
9219
9220 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9221 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9222 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9223 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9224 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9225 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9226 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9227 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9228 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9229 use of regs. Use power7 mtocrf. Tidy function tails.
9230
fe6e95d7
AM
92312013-10-04 Alan Modra <amodra@gmail.com>
9232
9233 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9234 Formatting. Consistently use rXXX register defines or rN defines.
9235 Use early exit labels that avoid restoring unused non-volatile regs.
9236 Make cr field use more consistent with rWORDn compares. Rename
9237 regs used as shift registers for unaligned loop, using rN defines
9238 for short lifetime/multiple use regs.
9239 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9240 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9241 addi 1,1,64 to pop stack frame. Simplify return value code.
9242 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9243
664318c3
AM
92442013-10-04 Alan Modra <amodra@gmail.com>
9245
9246 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9247 support. Correct typos, formatting. Optimize tail. Use insrdi
9248 rather than rlwimi.
9249 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9250 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9251 little-endian support. Correct typos.
9252 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9253 rather than rlwimi.
9254 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9255 in loop and entry code to keep "and." results.
9256 (strchr): Add little-endian support. Comment. Move cntlzd
9257 earlier in tail.
9258 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9259
43b84013
AM
92602013-10-04 Alan Modra <amodra@gmail.com>
9261
9262 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9263 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9264 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9266
8a7413f9
AM
92672013-10-04 Alan Modra <amodra@gmail.com>
9268
9269 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9270 (rTMP): Define as r11.
9271 (strcmp): Add little-endian support. Optimise tail.
9272 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9273 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9274 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9275 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9278 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9279
33ee81de
AM
92802013-10-04 Alan Modra <amodra@gmail.com>
9281
9282 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9283 little-endian support. Remove unnecessary "are we done" tests.
9284 Handle "s" wrapping around zero and extremely large "size".
9285 Correct main loop count. Handle single left-over word from main
9286 loop inline rather than by using small_loop. Correct comments.
9287 Delete "zero" tail, use "end_max" instead.
9288 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9289
db9b4570
AM
92902013-10-04 Alan Modra <amodra@gmail.com>
9291
9292 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9293 support. Don't branch over align.
9294 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9295 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9296 support. Rearrange tmp reg use to suit. Comment.
9297 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9298
f7c399cf
AM
92992013-10-04 Alan Modra <amodra@gmail.com>
9300
9301 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9302
0b2c2ace
AM
93032013-10-04 Alan Modra <amodra@gmail.com>
9304
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9306 conditional form of branch and link when obtaining pc.
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9308
02f04a6c
AM
93092013-10-04 Alan Modra <amodra@gmail.com>
9310
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9312 HIWORD/LOWORD.
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9315
9b874b2f
AM
93162013-10-04 Alan Modra <amodra@gmail.com>
9317
9318 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9319 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9320 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9321 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9322 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9323 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9324 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9325 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9326 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9327 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9328
be1e5d31
AB
93292013-10-04 Anton Blanchard <anton@au1.ibm.com>
9330 Alistair Popple <alistair@ozlabs.au.ibm.com>
9331 Alan Modra <amodra@gmail.com>
9332
9333 [BZ #15723]
9334 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9335 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9336 _dl_hwcap access for little-endian.
9337 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9338 destroy vmx regs when saving unaligned.
9339 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9340 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9341 destroy vmx regs when saving unaligned.
9342
fef13a78
AM
93432013-10-04 Alan Modra <amodra@gmail.com>
9344
9345 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9346 Don't use a union to pack hi/low value.
9347
76a66d51
AB
93482013-10-04 Anton Blanchard <anton@au1.ibm.com>
9349
9350 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9351 for little-endian.
9352 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9353 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9354 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9355 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9356 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9357
6a31fe7f
AM
93582013-10-04 Alan Modra <amodra@gmail.com>
9359
9360 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9361 constants to usual value for .cst8 section, and remove redundant
9362 high address load.
9363 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9364 constant for 0x1p52. Load little-endian words of double from
9365 correct stack offsets.
9366
7b88401f
AM
93672013-10-04 Alan Modra <amodra@gmail.com>
9368
9369 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9370 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9371 words of double from correct stack offsets.
9372 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9373 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9374 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9375 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9376 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9377 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9378 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9379 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9380 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9382 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9383 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9384 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9385 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9386 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9387 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9388 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9389
9c008155
AM
93902013-10-04 Alan Modra <amodra@gmail.com>
9391
9392 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9393 64-bit int/double union.
9394 (_FPU_SETCW): Likewise.
9395 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9396 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9397
da13146d
AM
93982013-10-04 Alan Modra <amodra@gmail.com>
9399
9400 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9401 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9402
603e8410
AM
94032013-10-04 Alan Modra <amodra@gmail.com>
9404
9405 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9406 use vector int constants.
9407 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9408
4a28b3ca
AB
94092013-10-04 Anton Blanchard <anton@au1.ibm.com>
9410
9411 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9412 array with long long.
9413 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9414 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9415 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9416 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9417 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9418 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9419 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9420 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9421 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9422 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9423 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9424 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9425 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9426
2ca85d2b
AB
94272013-10-04 Anton Blanchard <anton@au1.ibm.com>
9428
9429 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9430 (__signbit): Likewise. Correct for little-endian.
9431 (__signbitl): Call __signbit.
9432 (lrint): Correct for little-endian.
9433 (lrintf): Call lrint.
9434
62a728ae
AM
94352013-10-04 Alan Modra <amodra@gmail.com>
9436
9437 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9438 union 32-bit int array member with 64-bit int array.
9439 (t515, tm256): Double rather than long double.
9440 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9441
32c301df
AM
94422013-10-04 Alan Modra <amodra@gmail.com>
9443
9444 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9445 Delete.
9446 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9447 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9448 version of math_ldbl.h.
9449
650ef4bd
AM
94502013-10-04 Alan Modra <amodra@gmail.com>
9451
9452 [BZ #15734], [BZ #15735]
9453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9454 all uses of ieee875 long double macros and unions. Simplify test
9455 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9456 ldbl_extract_mantissa value for ix,iy exponents. Properly
9457 normalize after ldbl_extract_mantissa, and don't add hidden bit
9458 already handled. Don't treat low word of ieee854 mantissa like
9459 low word of IBM long double and mask off bit when testing for
9460 zero.
9461 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9462 all uses of ieee875 long double macros and unions. Simplify tests
9463 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9464 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9465 two1022, instead use their values. Recognise that tests for large
9466 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9467 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9468 Rewrite all uses of ieee875 long double macros and unions. Simplify
9469 test for 0.0L and nan. Correct negation.
9470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9471 ieee875 long double macros and unions. Correct output for large
9472 magnitude x. Correct absolute value calculation.
9473 (__erfcl): Likewise.
9474 * math/libm-test.inc: Add tests for errors discovered in IBM long
9475 double versions of fmodl, remainderl, erfl and erfcl.
9476
765714ca
AM
94772013-10-04 Alan Modra <amodra@gmail.com>
9478
9479 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9480 all uses of ieee854 long double macros and unions. Simplify tests
9481 for long doubles that are fully specified by the high double.
9482 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9483 Likewise.
9484 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9485 Remove dead code too.
9486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9487 (__ieee754_ynl): Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9489 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9491 Remove dead code too.
9492 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9495 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9496 Simplify.
9497 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9498 Simplify.
9499 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9500 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9501 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9502 Comment on variable precision.
9503 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9504 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9505 Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9510 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9511
4ebd120c
AM
95122013-10-04 Alan Modra <amodra@gmail.com>
9513
9514 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9515 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9516 all uses of ieee854 long double macros and unions.
9517 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9523 Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9530 Simplify sign and nan test too.
9531 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9535 Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9538 Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9545
1b6adf88
AM
95462013-10-04 Alan Modra <amodra@gmail.com>
9547
9548 * stdio-common/printf_size.c (__printf_size): Don't use
9549 union ieee854_long_double in fpnum union.
9550 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9551 signbit macro to retrieve sign from long double.
9552 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9553 retrieve sign from long double.
9554 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9555 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9557 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9558 * math/test-misc.c (main): Don't use union ieee854_long_double.
9559
4cf69995
AM
95602013-10-04 Alan Modra <amodra@gmail.com>
9561
9562 [BZ #15680]
9563 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9564 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9565 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9566 calculation. Remove unnecessary test for denormal exponent.
9567 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9568 Correct handling of denormals. Avoid undefined shift behaviour.
9569 Correct normalisation of low mantissa when low double is denormal.
9570 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9571 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9572 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9573 Correct normalisation of low mantissa. Test for overflow of high
9574 mantissa and normalise.
9575 (ldbl_nearbyint): Use more readable constant for two52.
9576 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9577 (__mpn_construct_long_double): Fix test for overflow of high
9578 mantissa and correct normalisation. Avoid undefined shift.
9579
9605ca6c
AM
95802013-10-04 Alan Modra <amodra@gmail.com>
9581
9582 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9583 (union ibm_extended_long_double): Define as an array of ieee754_double.
9584 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9585 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9586 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9587 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9591 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9595
975569d0
JM
95962013-10-03 Joseph Myers <joseph@codesourcery.com>
9597
d3d23756
JM
9598 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9599 page size instead of calling getpagesize.
9600
975569d0
JM
9601 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9602 (LOCFILE_ALIGN_MASK): Likewise.
9603 (LOCFILE_ALIGN_UP): Likewise.
9604 (LOCFILE_ALIGNED_P): Likewise.
9605 * locale/programs/ld-collate.c (collate_output): Use the new
9606 macros instead of __alignof__ (int32_t).
9607 * locale/weight.h (findidx): Likewise.
9608
b1fe1f2b
OB
96092013-10-03 Ondřej Bílka <neleai@seznam.cz>
9610
9611 [BZ #431]
9612 * manual/string.texi: Fix strncat and wcsncat.
9613
5f855e35
BM
96142013-10-03 Brooks Moses <bmoses@google.com>
9615
9616 [BZ #15915]
9617 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9618 * Makerules: ...here, and adjust associated comments.
9619
3cef6009
WN
96202013-10-02 Will Newton <will.newton@linaro.org>
9621
9622 * malloc/Makefile: Add tst-pvalloc.
9623 * malloc/tst-pvalloc.c: New file.
9624
7815420b
WN
96252013-10-02 Will Newton <will.newton@linaro.org>
9626
9627 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9628 improve test coverage.
9629
4868b204
WN
96302013-10-02 Will Newton <will.newton@linaro.org>
9631
9632 * malloc/Makefile: Add tst-posix_memalign.
9633 * malloc/tst-posix_memalign.c: New file.
9634
29c793b3
EB
96352013-10-01 Eric Blake <eblake@redhat.com>
9636
9637 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9638 Use __THROWNL rather than __THROW on static functions.
9639
fd967522
PM
96402013-09-30 Petr Machata <pmachata@redhat.com>
9641
9642 * elf/elf.h (R_AARCH64_ABS16): New macro.
9643 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9644 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9645 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9646 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9647 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9648 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9649 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9650 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9651 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9652 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9653 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9654 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9655 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9656 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9657 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9658 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9659 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9660 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9661 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9662 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9663 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9664 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9665 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9666 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9667 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9668 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9669 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9670 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9671 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9672 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9673 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9674 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9675 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9676 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9677 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9678 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9679 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9680 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9681 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9682 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9683 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9684 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9685 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9686 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9687 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9688 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9689 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9690 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9691 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9692 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9693 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9694 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9695 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9696 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9697 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9698 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9699 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9700 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9701 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9702 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9703 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9704 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9705 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9706 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9707 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9708 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9709 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9710 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9711 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9712 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9713 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9714 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9715 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9716 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9717 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9718 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9719 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9720 (R_AARCH64_TLSDESC_LDR): Likewise.
9721 (R_AARCH64_TLSDESC_ADD): Likewise.
9722 (R_AARCH64_TLSDESC_CALL): Likewise.
9723
b2179107
AS
97242013-09-30 Andreas Schwab <schwab@suse.de>
9725
9726 [BZ #15048]
9727 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9728 the nss database lookup.
9729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9731
47f28d0a
MF
97322013-09-28 Mike Frysinger <vapier@gentoo.org>
9733
9734 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9735
97362013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9737
9738 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9739 ${Bash-specific parameter/pattern/string} parameter expansion.
9740 * sysdeps/unix/make-syscalls.sh: Likewise.
9741
f4518a17
KK
97422013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9743
9744 * sysdeps/sh/stackguard-macros.h: New file.
9745
dc1a95c7
OB
97462013-09-26 Ondřej Bílka <neleai@seznam.cz>
9747
9748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9750 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9751 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9752 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9753 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9754
5ebbff8f
AZ
97552013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9756
9757 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9758 Fix thread ID register.
9759
4fd2cf9f
JM
97602013-09-25 Joseph Myers <joseph@codesourcery.com>
9761
9762 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9763 [POSIX || UNIX98]: Require rather than permitting all symbols from
9764 <time.h>.
9765 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9766 element of struct sched_param.
9767 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9768 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9769 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9770 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9771 constant.
9772
12c22bc4
OL
97732013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9774
9775 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9776 argument calculation.
9777
a03d8ea7
JM
97782013-09-24 Joseph Myers <joseph@codesourcery.com>
9779
9780 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9781 Expect macro.
9782 [POSIX] (pthread_attr_t): Do not require type.
9783 [POSIX] (pthread_cond_t): Likewise.
9784 [POSIX] (pthread_condattr_t): Likewise.
9785 [POSIX] (pthread_key_t): Likewise.
9786 [POSIX] (pthread_mutex_t): Likewise.
9787 [POSIX] (pthread_mutexattr_t): Likewise.
9788 [POSIX] (pthread_once_t): Likewise.
9789 [POSIX] (pthread_t): Likewise.
9790 [POSIX-based standards] (pthread_atfork): Expect function.
9791
6055173a
JM
97922013-09-24 Joseph Myers <joseph@codesourcery.com>
9793 Richard Sandiford <richard@codesourcery.com>
9794
9795 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9796 (swap_endianness_p): New extern variable.
9797 (set_big_endian): New inline function.
9798 (maybe_swap_uint32): Likewise.
9799 (maybe_swap_uint32_array): Likewise.
9800 (maybe_swap_uint32_obstack): Likewise.
9801 * locale/programs/locfile.c: Include <stdbool.h>.
9802 (swap_endianness_p): New variable.
9803 (add_locale_uint32): Call maybe_swap_uint32.
9804 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9805 (write_locale_data): Call maybe_swap_uint32_array.
9806 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9807 maybe_swap_uint32.
9808 (obstack_int32_grow_fast): Likewise.
9809 (output_weightwc): Call maybe_swap_uint32_obstack.
9810 (collate_output): Likewise.
9811 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9812 (OPT_LITTLE_ENDIAN): Likewise.
9813 (options): Add --little-endian and --big-endian options.
9814 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9815 * locale/programs/locarchive.c: Include "locfile.h".
9816 (GET): New macro.
9817 (SET): Likewise.
9818 (INC): Likewise.
9819 (create_archive): Use the new macros to access fields of
9820 structures directly mapped from or written to locale archives.
9821 (oldlocrecentcmp): Likewise.
9822 (enlarge_archive): Likewise.
9823 (insert_name): Likewise.
9824 (add_alias): Likewise.
9825 (add_locale): Likewise.
9826 (delete_locales_from_archive): Likewise.
9827 (show_archive_content): Likewise.
9828 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9829 locale data.
9830
39bf0bb4
RM
98312013-09-24 Roland McGrath <roland@hack.frob.com>
9832
9833 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9834 http://www.gnu.org/doc/freemanuals.texi.
9835 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9836
f02eed10
WN
98372013-09-24 Will Newton <will.newton@linaro.org>
9838
9839 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9840 macro.
9841
a3a6c312
JM
98422013-09-23 Joseph Myers <joseph@codesourcery.com>
9843
9844 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9845 unsigned char.
9846
107375ac
MR
98472013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9848
9849 * manual/threads.texi (POSIX Threads): Fix a typo.
9850
141f3a77
SP
98512013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9852
303e567a
SP
9853 [BZ #14547]
9854 * string/tst-strcoll-overflow.c: New test case.
9855 * string/Makefile (xtests): Add tst-strcoll-overflow.
9856 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9857 cache if string sizes may cause integer overflow.
9858
141f3a77
SP
9859 [BZ #14547]
9860 * string/strcoll_l.c (coll_seq): New members rule, idx,
9861 save_idx and back_us.
9862 (get_next_seq_nocache): New function.
9863 (do_compare_nocache): New function.
9864 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9865 when malloc fails.
9866
c61b4d41
CD
98672013-09-23 Carlos O'Donell <carlos@redhat.com>
9868
0b1f8e35
CD
9869 [BZ #15754]
9870 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9871 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9872 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9873
c61b4d41
CD
9874 [BZ #15754]
9875 * elf/Makefile (tests): Add tst-ptrguard1.
9876 (tests-static): Add tst-ptrguard1-static.
9877 (tst-ptrguard1-ARGS): Define.
9878 (tst-ptrguard1-static-ARGS): Define.
9879 * elf/tst-ptrguard1.c: New file.
9880 * elf/tst-ptrguard1-static.c: New file.
9881 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9882 * sysdeps/i386/stackguard-macros.h: Likewise.
9883 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9884 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9885 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9886 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9887 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9888 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9889
98902013-09-23 Hector Marco <hecmargi@upv.es>
9891 Ismael Ripoll <iripoll@disca.upv.es>
9892 Carlos O'Donell <carlos@redhat.com>
9893
9894 [BZ #15754]
9895 * sysdeps/generic/stackguard-macros.h: Define
9896 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9897 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9898 Define __pointer_chk_guard_local.
9899 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9900 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9901
f5f4e7b4
VV
99022013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9903
9904 [BZ #15859]
9905 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9906
5bb43a43
AS
99072013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9908
9909 * include/string.h (__ffs): Declare as hidden.
9910 * string/ffs.c (__ffs): Define as hidden.
9911 * sysdeps/i386/ffs.c (__ffs): Likewise.
9912 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9913 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9914 * sysdeps/s390/ffs.c (__ffs): Likewise.
9915 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9916
3ea5be54
AO
99172013-09-20 Alexandre Oliva <aoliva@redhat.com>
9918
ffb89e53
AO
9919 * NEWS: Mention malloc probes.
9920
322dea08
AO
9921 * malloc/arena.c (new_heap): New memory_heap_new probe.
9922 (grow_heap): New memory_heap_more probe.
9923 (shrink_heap): New memory_heap_less probe.
9924 (heap_trim): New memory_heap_free probe.
9925 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9926 (systrim): New memory_sbrk_less probe.
9927 * manual/probes.texi: Document them.
9928
655673f3
AO
9929 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9930 * manual/probes.texi: Document it.
9931
35fed6f1
AO
9932 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9933 (__libc_realloc): Add memory_realloc_retry probe.
9934 (__libc_memalign): Add memory_memalign_retry probe.
9935 (__libc_valloc): Add memory_valloc_retry probe.
9936 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9937 (__libc_calloc): Add memory_calloc_retry probe.
9938 * manual/probes.texi: Document them.
9939
6999d38c
AO
9940 * malloc/arena.c (get_free_list): Add probe
9941 memory_arena_reuse_free_list.
9942 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9943 and memory_arena_reuse.
9944 (arena_get2) [!PER_THREAD]: Likewise.
9945 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9946 memory_arena_reuse_realloc.
9947 * manual/probes.texi: Document them.
9948
0653427f
AO
9949 * malloc/malloc.c (__libc_free): Add
9950 memory_mallopt_free_dyn_thresholds probe.
9951 (__libc_mallopt): Add multiple memory_mallopt probes.
9952 * manual/probes.texi: Document them.
9953
3ea5be54
AO
9954 * malloc/malloc.c: Include stap-probe.h.
9955 (__libc_mallopt): Add memory_mallopt probe.
9956 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9957 * manual/probes.texi: New.
9958 * manual/Makefile (chapters): Add probes.
9959 * manual/threads.texi: Set next node.
9960
e35696c3 99612013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9962
e35696c3
CL
9963 [BZ #15963, #13985]
9964 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9965 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9966 Add `Chinese' to `nan' entry name.
9967
4aafb73c
SP
99682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9969
9970 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9971 (POLYNOMIAL): Likewise.
9972 (TAYLOR_SINCOS): Likewise.
9973 (TAYLOR_SLOW): Likewise.
9974 (__sin): Use TAYLOR_SINCOS.
9975 (__cos): Likewise.
9976 (slow): Use TAYLOR_SLOW.
9977 (sloww): Likewise.
9978 (bsloww): Likewise.
9979 (csloww): Likewise.
9980
d84f25c7
LD
99812013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9982
9983 * stdlib/strtod_l.c: Fix buffer overrun.
9984
5eea0404
SP
99852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9986
7849ff93
SP
9987 * benchtests/Makefile (bench): Add sincos.
9988 * benchtests/bench-sincos.c: New file.
9989
cfa3c886
SP
9990 * math/libm-test.inc (cos_test_data): New test inputs.
9991 (sin_test_data): Likewise.
9992
b348e1e3
SP
9993 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9994 macro.
9995 (__sin): Use it.
9996 (__cos): Likewise.
9997 (slow1): Likewise.
9998 (slow2): Likewise.
9999 (sloww1): Likewise.
10000 (sloww2): Likewise.
10001 (bsloww1): Likewise.
10002 (bsloww2): Likewise.
10003 (cslow2): Likewise.
10004 (csloww1): Likewise.
10005 (csloww2): Likewise.
10006
6cce25f8
SP
10007 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10008 function.
10009 (__sin): Use it.
10010 (__cos): Likewise.
10011
5eea0404
SP
10012 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10013 gotos.
10014 (__cos): Likewise.
10015
9c21573c
MR
100162013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10017
10018 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10019 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10020 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10021 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10022 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10023 * elf/cache.c (print_entry): Handle the new cache flags.
10024
24d22e65
JM
100252013-09-18 Joseph Myers <joseph@codesourcery.com>
10026 Aldy Hernandez <aldyh@redhat.com>
10027
10028 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10029 Change condition to [_SOFT_FLOAT].
10030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10042 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10045 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10046 declaration.
10047
d13ef066
JM
100482013-09-18 Joseph Myers <joseph@codesourcery.com>
10049
2e071de0
JM
10050 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10051 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10052 (__longjmp): Use LOAD_GP to load saved GPRs.
10053 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10054 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10055 (__sigsetjmp): Use SAVE_GP to save GPRs.
10056
d13ef066
JM
10057 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10058 Do not append -msoft-float.
10059 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10060
97a0650b
SP
100612013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10062
10063 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10064
11ca09e9
JM
100652013-09-17 Joseph Myers <joseph@codesourcery.com>
10066
10067 [BZ #15966]
10068 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10069 (_FPU_GETCW): Use initial "__" on variable and field names but not
10070 on macro parameter name.
10071 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10072 parentheses around reference to macro parameter.
10073
08ffcf34
RS
100742013-09-13 Richard Sandiford <richard@codesourcery.com>
10075
10076 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10077 prototype.
10078 (ctype_startup): Use uint32_t in cast and sizeof for
10079 ctype->charnames.
10080
ae7080d3
JL
100812013-09-11 Jia Liu <proljc@gmail.com>
10082
10083 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10084 __daddr_t_defined.
10085 [__FreeBSD__]: Likewise.
10086
5905e7b3
OB
100872013-09-11 Ondřej Bílka <neleai@seznam.cz>
10088
10089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10090 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10091 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10092 (strchr): Remove __strchr_sse42 ifunc selection.
10093 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10094 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10095
b987c776
WN
100962013-09-11 Will Newton <will.newton@linaro.org>
10097
10098 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10099 parameter to RES. Remove hardcoded 1000 value.
10100 * benchtests/bench-skeleton.c (main): Pass RES parameter
10101 to TIMING_INIT and multiply result by 1000.
10102
ddf985af
AZ
101032013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10104
10105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10106
ffdd3181
AS
101072013-09-11 Andreas Schwab <schwab@suse.de>
10108
10109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10110 if not defined.
10111 (O_TMPFILE) [__USE_GNU]: Define.
10112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10113 Define.
10114
b73ed247
WN
101152013-09-11 Will Newton <will.newton@linaro.org>
10116
10117 [BZ #15857]
10118 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10119 does not overflow.
10120
55e17aad
WN
101212013-09-11 Will Newton <will.newton@linaro.org>
10122
10123 [BZ #15856]
10124 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10125 does not overflow.
10126
1159a193
WN
101272013-09-11 Will Newton <will.newton@linaro.org>
10128
10129 [BZ #15855]
10130 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10131 does not overflow.
10132
5905e7b3 101332013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10134
10135 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10136 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10140
cdfc721b
AM
101412013-09-10 Allan McRae <allan@archlinux.org>
10142
aa04af00
AM
10143 [BZ #15748]
10144 * manual/arith.texi (Parsing of Floats): Clarify
10145 cross-reference.
10146
cdfc721b
AM
10147 [BZ #15849]
10148 * manual/install.texi (Running make install): Mention
10149 --enable-pt-chown.
10150 * INSTALL: Regenerated.
10151
95e7cf29
MR
101522013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10153
10154 * csu/init-first.c (_init): Remove the !SHARED condition around
10155 FPU control word initialization.
10156 * elf/dl-support.c (_dl_fpu_control): New variable.
10157 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10158 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10159 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10160 * math/test-fpucw-static.c: New file.
10161 * math/test-fpucw-ieee.c: New file.
10162 * math/test-fpucw-ieee-static.c: New file.
10163 * math/Makefile (tests): Add `test-fpucw-ieee' and
10164 `$(tests-static)'.
10165 (tests-static): New variable.
10166 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10167 dependency to...
10168 [($(build-shared),yes)]
10169 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10170 ... this.
10171 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10172 New dependency.
10173
83e43bf0
AM
101742013-09-09 Allan McRae <allan@archlinux.org>
10175
a9f5ce09
AM
10176 [BZ #15939]
10177 * manual/string.texi (Collation Functions): Fix typo in
10178 strcoll example.
10179 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10180
34829bc2
AM
10181 [BZ #15893]
10182 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10183
3932737d
AM
10184 [BZ #15892]
10185 * libio/memstream.c (open_memstream): Fix memory leak.
10186 * libio/wmemstream.c (open_wmemstream): Likewise.
10187
83e43bf0
AM
10188 [BZ #15895]
10189 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10190
0c66b8e9
WN
101912013-09-09 Will Newton <will.newton@linaro.org>
10192
10193 * malloc/Makefile: Add tst-realloc to tests.
10194 * malloc/tst-realloc.c: New file.
10195
f6b00fd1
AM
101962013-09-09 Allan McRae <allan@archlinux.org>
10197
10198 [BZ #15844]
10199 * COPYING: Update from GNU website to fix FSF address.
10200 * COPYING.LIB: Likewise.
10201
eec55e16
DM
102022013-09-06 David S. Miller <davem@davemloft.net>
10203
10204 * po/zh_TW.po: Update Chinese (traditional) translation from
10205 translation project.
10206
1ecbb381
RS
102072013-09-06 Richard Sandiford <richard@codesourcery.com>
10208 Joseph Myers <joseph@codesourcery.com>
10209
10210 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10211 "localeinfo.h".
10212 (obstack_chunk_alloc): New macro.
10213 (obstack_chunk_free): Likewise.
10214 (record_offset): New function.
10215 (init_locale_data): Likewise.
10216 (align_locale_data): Likewise.
10217 (add_locale_empty): Likewise.
10218 (add_locale_raw_data): Likewise.
10219 (add_locale_raw_obstack): Likewise.
10220 (add_locale_string): Likewise.
10221 (add_locale_wstring): Likewise.
10222 (add_locale_uint32): Likewise.
10223 (add_locale_uint32_array): Likewise.
10224 (add_locale_char): Likewise.
10225 (start_locale_structure): Likewise.
10226 (end_locale_structure): Likewise.
10227 (start_locale_prelude): Likewise.
10228 (end_locale_prelude): Likewise.
10229 (write_locale_data): Take locale_file structure rather than an
10230 iovec.
10231 * locale/programs/locfile.h: Include "obstack.h".
10232 (struct locale_file): Change to store locale file contents instead
10233 of header.
10234 (init_locale_data): New prototype.
10235 (align_locale_data): Likewise.
10236 (add_locale_empty): Likewise.
10237 (add_locale_raw_data): Likewise.
10238 (add_locale_raw_obstack): Likewise.
10239 (add_locale_string): Likewise.
10240 (add_locale_wstring): Likewise.
10241 (add_locale_uint32): Likewise.
10242 (add_locale_uint32_array): Likewise.
10243 (add_locale_char): Likewise.
10244 (start_locale_structure): Likewise.
10245 (end_locale_structure): Likewise.
10246 (start_locale_prelude): Likewise.
10247 (end_locale_prelude): Likewise.
10248 (write_locale_data): Update prototype.
10249 * locale/programs/3level.h (struct TABLE): Remove result field.
10250 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10251 Use new locale_file interface.
10252 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10253 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10254 * locale/programs/ld-address.c (address_output): Use new
10255 locale_file interface.
10256 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10257 NO_ADD_LOCALE.
10258 (collate_finish): Don't call collseq_table_finalize.
10259 (collate_output): Use new locale_file interface.
10260 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10261 in file.
10262 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10263 (TABLE): Move defines earlier in file.
10264 (ELEMENT): Likewise.
10265 (DEFAULT): Likewise.
10266 (wctrans_table_add): Move macro and inline function earlier in
10267 file.
10268 (struct wctype_table): Move type earlier in file.
10269 (add_locale_wctype_table): New static prototype.
10270 (struct locale_ctype_t): Use logical types instead of struct iovec
10271 pointers for members.
10272 (ctype_output): Use new locale_file interface.
10273 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10274 new locale_file interface.
10275 (allocate_arrays): Update for use of new locale_file interface.
10276 * locale/programs/ld-identification.c (identification_output): Use
10277 new locale_file interface.
10278 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10279 * locale/programs/ld-messages.c (messages_output): Likewise.
10280 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10281 * locale/programs/ld-name.c (name_output): Likewise.
10282 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10283 * locale/programs/ld-paper.c (paper_output): Likewise.
10284 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10285 * locale/programs/ld-time.c (time_output): Likewise.
10286
e029e2e5
AZ
102872013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10288
10289 * benchtests/Makefile: Add memrchr benchmark.
10290 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10291 benchmark as memrchr.
10292 * benchtests/bench-memrchr-ifunc.c: New file.
10293 * benchtests/bench-memrchr.c: New file.
10294
bbf6e8e4
WN
102952013-09-06 Will Newton <will.newton@linaro.org>
10296
10297 * benchtests/Makefile (string-bench): Add memcpy.
10298
6c82a2f8
CD
102992013-09-05 Carlos O'Donell <carlos@redhat.com>
10300 Cong Wang <amwang@redhat.com>
10301
e732c5f0 10302 [BZ #15850]
6c82a2f8
CD
10303 * sysdeps/unix/sysv/linux/bits/in.h
10304 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10305 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10306 before __USE_KERNEL_IPV6_DEFS uses.
10307 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10308 IPPROTO_BEETPH.
10309 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10310 sockaddr_in6, or ipv6_mreq.
10311
5430fc65
AZ
103122013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10313
10314 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10315 memory access for final bytes in some large inputs.
10316 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10317
4660856c
AZ
103182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10319
10320 * string/test-memrchr.c: New file.
10321 * string/test-memrchr-ifunc.c: New file.
10322 * string/Makefile: Add new memrchr testcase.
10323
bb8ea713
MF
103242013-09-05 Mike Frysinger <vapier@gentoo.org>
10325
10326 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10327 fanotify_init returns EPERM.
10328
b92a20b5
JM
103292013-09-04 Joseph Myers <joseph@codesourcery.com>
10330
10331 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10332 errors.
10333 (top level): Treat second token from macro or constant entries for
10334 allowed headers as allowed.
10335 * include/complex.h: Condition internal declarations on
10336 [!_ISOMAC].
10337 * include/fenv.h: Condition include of <stdbool.h> and internal
10338 declarations on [!_ISOMAC].
7447ccd9
CL
10339
103402013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10341
3e181dda 10342 [BZ #15923]
7447ccd9
CL
10343 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10344
3f2e46a4
JM
103452013-09-04 Joseph Myers <joseph@codesourcery.com>
10346
10347 * configure.in (--enable-versioning): Remove configure option.
10348 (libc_cv_asm_symver_directive): Remove configure test.
10349 (libc_cv_ld_version_script_option): Likewise.
10350 (VERSIONING): Remove variable and AC_SUBST.
10351 (DO_VERSIONING): Remove AC_DEFINE.
10352 * configure: Regenerated.
10353 * config.h.in (DO_VERSIONING): Remove macro.
10354 * Makerules [$(versioning) = yes]: Change conditionals to
10355 [$(build-shared) = yes].
10356 * config.make.in (versioning): Remove variable.
10357 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10358 [$(build-shared) = yes].
10359 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10360 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10361 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10362 [$(build-shared) = yes].
10363 * extra-lib.mk [$(versioning) = yes]: Likewise.
10364 * hurd/Makefile [$(versioning) = yes]: Likewise.
10365 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10366 [SHARED].
10367 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10368 [SHARED].
10369 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10370 [SHARED && !NO_HIDDEN].
10371 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10372 [SHARED].
10373 [SHARED && DO_VERSIONING]: Likewise..
10374 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10375 [$(build-shared) = yes].
10376 * manual/install.texi (--disable-versioning): Remove
10377 documentation.
10378 * INSTALL: Regenerated.
10379 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10380 to [SHARED].
10381 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10382 [$(build-shared) = yes].
10383 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10384 * sysdeps/i386/i686/multiarch/strstr-c.c
10385 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10386 [SHARED && !NO_HIDDEN].
10387 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10388 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10389 * sysdeps/powerpc/powerpc32/dl-machine.c
10390 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10391 * sysdeps/powerpc/powerpc32/sysdep.h
10392 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10393 to [SHARED && PIC && !NO_HIDDEN].
10394 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10395 conditional to [SHARED].
10396
44558701
WN
103972013-09-04 Will Newton <will.newton@linaro.org>
10398
10399 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10400 * benchtests/bench-string.h: Include bench-timing.h instead
10401 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10402 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10403 call to HP_TIMING_DIFF_INIT.
10404 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10405 instead of hp-timing.h macros.
10406 * benchtests/bench-memchr.c: Likewise.
10407 * benchtests/bench-memcmp.c: Likewise.
10408 * benchtests/bench-memcpy.c: Likewise.
10409 * benchtests/bench-memmem.c: Likewise.
10410 * benchtests/bench-memmove.c: Likewise.
10411 * benchtests/bench-memset.c: Likewise.
10412 * benchtests/bench-rawmemchr.c: Likewise.
10413 * benchtests/bench-strcasecmp.c: Likewise.
10414 * benchtests/bench-strcasestr.c: Likewise.
10415 * benchtests/bench-strcat.c: Likewise.
10416 * benchtests/bench-strchr.c: Likewise.
10417 * benchtests/bench-strcmp.c: Likewise.
10418 * benchtests/bench-strcpy.c: Likewise.
10419 * benchtests/bench-strcpy_chk.c: Likewise.
10420 * benchtests/bench-strlen.c: Likewise.
10421 * benchtests/bench-strncasecmp.c: Likewise.
10422 * benchtests/bench-strncat.c: Likewise.
10423 * benchtests/bench-strncmp.c: Likewise.
10424 * benchtests/bench-strncpy.c: Likewise.
10425 * benchtests/bench-strnlen.c: Likewise.
10426 * benchtests/bench-strpbrk.c: Likewise.
10427 * benchtests/bench-strrchr.c: Likewise.
10428 * benchtests/bench-strspn.c: Likewise.
10429 * benchtests/bench-strstr.c: Likewise.
10430
cae16d66
WN
104312013-09-04 Will Newton <will.newton@linaro.org>
10432
10433 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10434
ffa3cd7f
JM
104352013-09-03 Joseph Myers <joseph@codesourcery.com>
10436
10437 [BZ #15427]
10438 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10439 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10440 * math/libm-test.inc (lgamma_test_data): Add more tests.
10441 * sysdeps/i386/fpu/libm-test-ulps: Update.
10442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10443
8f02859f
OB
104442013-09-03 Ondřej Bílka <neleai@seznam.cz>
10445
10446 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10448 Add ifunc.
10449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10450 Add strcmp-sse2-unaligned
10451 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10452
18d43716
MF
104532013-09-02 Mike Frysinger <vapier@gentoo.org>
10454
10455 * Versions.def (libc): Add GLIBC_2.19.
10456
ac444012
MF
104572013-09-02 Mike Frysinger <vapier@gentoo.org>
10458
10459 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10460 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10461
b7835e32
JM
104622013-09-02 Joseph Myers <joseph@codesourcery.com>
10463
10464 [BZ #14155]
10465 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10466 intermediate calculations in recurrence.
10467 (__ieee754_ynf): Likewise.
10468 * math/libm-test.inc (jn_test_data): Do not allow spurious
10469 underflow exception. Add more tests.
10470 (yn_test_data): Add more tests.
10471 * sysdeps/i386/fpu/libm-test-ulps: Update.
10472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10473
8220f4f0
OB
104742013-09-02 Ondřej Bílka <neleai@seznam.cz>
10475
10476 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10477
f24a6d08
OB
104782013-08-30 Ondřej Bílka <neleai@seznam.cz>
10479
10480 * csu/init-first.c: Fix then/than typos.
10481 * locale/programs/ld-collate.c: Likewise.
10482 * locale/programs/linereader.h: Likewise.
10483 * manual/charset.texi: Likewise.
10484 * manual/filesys.texi: Likewise.
10485 * manual/stdio.texi: Likewise.
10486 * manual/string.texi: Likewise.
10487 * stdlib/fmtmsg.c: Likewise.
10488 * sysdeps/i386/stpncpy.S: Likewise.
10489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10490 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10492 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10493
382466e0
OB
104942013-08-30 Ondřej Bílka <neleai@seznam.cz>
10495
10496 * elf/dl-open.c: Fix typos.
10497 * iconvdata/gbbig5.c: Likewise.
10498 * iconvdata/iso-2022-jp.c: Likewise.
10499 * iconv/gconv_int.h: Likewise.
10500 * iconv/loop.c: Likewise.
10501 * nis/rpcsvc/nis.h: Likewise.
10502 * resolv/ns_name.c: Likewise.
10503 * stdio-common/vfscanf.c: Likewise.
10504 * streams/stropts.h: Likewise.
10505 * sunrpc/rpc_thread.c: Likewise.
10506 * sysdeps/i386/strpbrk.S: Likewise.
10507 * sysdeps/ieee754/k_standard.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10510 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10511 * sysdeps/mach/hurd/profil.c: Likewise.
10512 * sysdeps/s390/dl-procinfo.h: Likewise.
10513 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10514 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10515 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10516 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10517 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10518
0186c6e9
OB
105192013-08-30 Ondřej Bílka <neleai@seznam.cz>
10520
10521 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10523
d4e16af1
OB
105242013-08-29 Ondřej Bílka <neleai@seznam.cz>
10525
10526 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10527 aix specific files.
10528 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10529 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10530 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10531 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10532 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10533 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10534 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10535 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10536
88335980
TS
105372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10538 Roland McGrath <roland@hack.frob.com>
10539
10540 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10541 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10542
ed479b02
ST
105432013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10544
10545 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10546 __executable_start symbol instead of _start.
10547
f1cc4c86
TS
105482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10549
d821f07c
TS
10550 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10551 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10552 Move macros to...
10553 * sysdeps/gnu/ldsodefs.h: ... this new file.
10554
c54290cf
TS
10555 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10556 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10557 instead of ELFOSABI_LINUX.
10558
0007fc9b 10559 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10560 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10561 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10562 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10563 Likewise.
10564 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10565 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10566 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10567 Likewise.
10568 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10569 (ibm_extended_long_double): Add ieee_nan member.
10570 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10571 (do_test): New function.
10572
f1cc4c86
TS
10573 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10574 TEST_TRUNC.
10575 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10576 functions, renamed from truncdfsf_test, trunctfsf_test,
10577 trunctfdf_test.
10578 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10579 functions.
10580 (do_test): Run all these.
10581
6f65e668
OB
105822013-08-29 Ondřej Bílka <neleai@seznam.cz>
10583
10584 * argp/argp-help.c: Fix typos.
10585 * argp/argp-parse.c: Likewise.
10586 * debug/backtracesyms.c: Likewise.
10587 * elf/elf.h: Likewise.
10588 * malloc/malloc.c: Likewise.
10589 * nis/nis_print.c: Likewise.
10590 * resolv/res_comp.c: Likewise.
10591 * stdlib/stdlib.h: Likewise.
10592 * sunrpc/clnt_tcp.c: Likewise.
10593 * sunrpc/clnt_udp.c: Likewise.
10594 * sunrpc/clnt_unix.c: Likewise.
10595 * sysdeps/unix/bsd/ptsname.c: Likewise.
10596 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10597 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10599 Likewise.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10601 Likewise.
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10603 Likewise.
6f65e668
OB
10604 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10605
3a309239
SP
106062013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10607
10608 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10610
3b813b29
MF
106112013-08-27 Mike Frysinger <vapier@gentoo.org>
10612
10613 [BZ #15897]
10614 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10615 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10616 ($(objpfx)bug-dl-leaf): New rule.
10617 ($(objpfx)bug-dl-leaf.so): Likewise.
10618 ($(objpfx)bug-dl-leaf.out): Likewise.
10619 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10620 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10621 * dlfcn/bug-dl-leaf.c: New test.
10622 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10623 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10624 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10625 (dlclose): Likewise.
10626 (dlmopen): Likewise.
10627
8cc3269f
RM
106282013-08-27 Roland McGrath <roland@hack.frob.com>
10629
7f9d0034
RM
10630 * include/netdb.h [!_ISOMAC]:
10631 Don't include <tls.h>.
10632 (h_errno, __libc_h_errno): Move declaration and macros out of
10633 [_LIBC_REENTRANT].
10634
fb431262
RM
10635 * include/resolv.h [_RESOLV_H_]:
10636 Don't include <tls.h>.
10637 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10638 * resolv/res_libc.c: Don't include <tls.h>.
10639 (_res): Use __attribute__ ((nocommon)) in place of
10640 __attribute__ ((section (".bss"))).
10641
bd81123a
RM
10642 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10643 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10644
c4e42566
RM
10645 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10646
f890a59b
RM
10647 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10648 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10649
10650 * resolv/res_mkquery.c: Include <sys/time.h>.
10651
5d1f0a09
RM
10652 * inet/ifreq.c: Moved to ...
10653 * sysdeps/unix/ifreq.c: ... here.
10654 * inet/ifreq.c: New file, true stub version.
10655
6fcf28b3
RM
10656 * socket/sa_len.c: New file.
10657 * socket/Makefile (aux): Add it.
10658 * sysdeps/unix/sysv/linux/Makefile
10659 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10660 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10661 and #include <socket/sa_len.c>.
10662 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10663 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10664
e041fb8b
RM
10665 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10666 * bits/socket.h: ... here.
10667
8cc3269f
RM
10668 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10669 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10670 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10671
5d228a43
AS
106722013-08-27 Andreas Schwab <schwab@suse.de>
10673
45b8accc
AS
10674 [BZ #15736]
10675 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10676 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10677 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10678 * string/test-strcasecmp.c (test_main): Run tests in several
10679 locales.
10680 * string/test-strncasecmp.c (test_main): Likewise.
10681
5d228a43
AS
10682 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10683 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10684 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10686 (__strncasecmp_ssse3) [PIC]: Likewise.
10687
59d112a4
RM
106882013-08-26 Roland McGrath <roland@hack.frob.com>
10689
53234cc3
RM
10690 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10691
59d112a4
RM
10692 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10693 instead of explicitly declaring xdecrypt.
10694 * nis/nss_nis/nis-publickey.c: Likewise.
10695
595aba70
SP
106962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10697
10698 [BZ #15890]
10699 * nscd/aicache.c: Include res_hconf.h.
10700 (addhstaiX): Initialize res_hconf.
10701
ffabd393
AS
107022013-08-26 Andreas Schwab <schwab@suse.de>
10703
10704 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10705 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10706
e0a69f5c
SP
107072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10708
10709 * nscd/aicache.c (addhstaiX): Fix indentation.
10710
8c12f01d
MF
107112013-08-25 Mike Frysinger <vapier@gentoo.org>
10712
10713 * configure.ac: Quote $build_pt_chown test.
10714 * configure: Regenerated.
10715
8fe89494
JM
107162013-08-23 Joseph Myers <joseph@codesourcery.com>
10717
10718 [BZ #15532]
10719 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10720 * math/s_cexpf.c (__cexpf): Likewise.
10721 * math/s_cexpl.c (__cexpl): Likewise.
10722 * math/libm-test.inc (cexp_test_data): Correct expected return
10723 value for NaN + i0. Add another test.
10724
75b181d6
DM
107252013-08-22 David S. Miller <davem@davemloft.net>
10726
10727 * po/ca.po: Update Catalan translation from translation project.
936241e4 10728 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10729
acd06bb1
JM
107302013-08-21 Joseph Myers <joseph@codesourcery.com>
10731
10732 [BZ #15797]
10733 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10734 is infinite, not alongside NaN test.
10735 * math/s_fdimf.c (__fdimf): Likewise.
10736 * math/s_fdiml.c (__fdiml): Likewise.
10737 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10738 errno is unchanged.
10739
c0c3f78a
OB
107402013-08-21 Ondřej Bílka <neleai@seznam.cz>
10741
10742 * argp/argp-help.c: Fix typos.
10743 * crypt/speeds.c: Likewise.
10744 * csu/check_fds.c: Likewise.
10745 * elf/dl-load.c: Likewise.
10746 * elf/dl-open.c: Likewise.
10747 * elf/reldep3.c: Likewise.
10748 * elf/reldep.c: Likewise.
10749 * elf/sprof.c: Likewise.
10750 * iconv/iconv_charmap.c: Likewise.
10751 * iconv/skeleton.c: Likewise.
10752 * iconv/strtab.c: Likewise.
10753 * io/lockf64.c: Likewise.
10754 * libio/libioP.h: Likewise.
10755 * resolv/gai_notify.c: Likewise.
10756 * resolv/ns_name.c: Likewise.
10757 * resolv/ns_samedomain.c: Likewise.
10758 * resolv/res_send.c: Likewise.
10759 * stdlib/random.c: Likewise.
10760 * sunrpc/rpc/xdr.h: Likewise.
10761 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10762 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10763 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10764 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10765 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10768 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10769 * sysdeps/mach/hurd/check_fds.c: Likewise.
10770 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10771 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10773 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10774 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10775 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10776 * sysdeps/pthread/aio_notify.c: Likewise.
10777 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10778 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10779 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10780 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10781 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10782
46ed1038
LD
107832013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10784
10785 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10786 version if bit_Slow_SSE4_2 is set.
10787 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10788 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10789
d400dcac
AZ
107902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10791
10792 [BZ #15867]
10793 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10794 trampoline stack frame information.
10795 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10797 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10798 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10799 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10800 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10801 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10802 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10803 sa_flags value.
10804 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10805 interrupting a syscall and set with option SA_SIGINFO.
10806
42c8fdd8
JM
108072013-08-20 Joseph Myers <joseph@codesourcery.com>
10808
c980f2f4
JM
10809 [BZ #15531]
10810 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10811 argument is infinite.
10812 * math/s_cprojf.c (__cprojf): Likewise.
10813 * math/s_cprojl.c (__cprojl): Likewise.
10814 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10815 * math/libm-test.inc (cproj_test_data): Add more tests.
10816
0716c4fc
JM
10817 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10818
42c8fdd8
JM
10819 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10820 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10821 size. Use __ffs to determine corresponding shift.
10822
b31469d0
JM
108232013-08-20 Joseph Myers <joseph@codesourcery.com>
10824 Roland McGrath <roland@hack.frob.com>
10825
10826 * Makefile (INSTALL): Remove trailing blank lines from output of
10827 makeinfo.
10828
4e39af6e
AK
108292013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10830
10831 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10832 Align 32 bit compat elf_greg to 8 bytes.
10833
f315524e
AA
108342013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10835
10836 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10837
1326ba1a
SP
108382013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10839
10840 * string/strcoll_l.c (coll_seq): New structure.
10841 (get_next_seq_cached): New function.
10842 (get_next_seq): New function.
10843 (do_compare): New function.
10844 (STRCOLL): Use GNU style definition. Simplify implementation
10845 by using get_next_seq, get_next_seq_cached and do_compare.
10846
91ce4085
FW
108472013-08-16 Florian Weimer <fweimer@redhat.com>
10848
10849 [BZ #14699]
10850 CVE-2013-4237
10851 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10852 member.
10853 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10854 member.
10855 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10856 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10857 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10858 conditional.
10859 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10860 GETDENTS_64BIT_ALIGNED.
10861 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10862 * manual/filesys.texi (Reading/Closing Directory): Document
10863 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10864 strongly.
10865 * manual/conf.texi (Limits for Files): Add portability note to
10866 NAME_MAX, PATH_MAX.
10867 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10868
ca0a6bc4
AS
108692013-08-13 Andreas Schwab <schwab@suse.de>
10870
10871 [BZ #15749]
10872 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10873 of fabs.
10874 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10875 LDBL_MAX_EXP >= 16384]: Add tests for it.
10876
6c1fd795
DM
108772013-08-12 David S. Miller <davem@davemloft.net>
10878
10879 * version.h (RELEASE): Set to "development".
10880 (VERSION): Set to "2.18.90".
10881 * NEWS: Add 2.19 section.
10882
31ad488d
DM
108832013-08-03 David S. Miller <davem@davemloft.net>
10884
10885 * po/ko.po: Update Korean translation from translation project.
10886
db24e684
DM
108872013-08-01 David S. Miller <davem@davemloft.net>
10888
10889 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10890 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10891 Bilka.
10892
f723285b
DM
108932013-07-30 David S. Miller <davem@davemloft.net>
10894
10895 * po/fr.po: Update French translation from translation project.
10896
3cbc52db
DM
108972013-07-28 David S. Miller <davem@davemloft.net>
10898
30bbc0cc
DM
10899 * po/cs.po: Update Czech translation from translation project.
10900
3cbc52db
DM
10901 * po/sv.po: Update Swedish translation from translation project.
10902
d492e6d0
DM
109032013-07-27 David S. Miller <davem@davemloft.net>
10904
f1a7f492
DM
10905 * po/eo.po: Update Esperanto translation from translation project.
10906
90e62a4a
DM
10907 * po/vi.po: Update Vietnamese translation from translation project.
10908
d492e6d0
DM
10909 * po/de.po: Update German translation from translation project.
10910
d4baa62d
DM
109112013-07-26 David S. Miller <davem@davemloft.net>
10912
641aa7b4
DM
10913 * po/bg.po: Update Bulgarian translation from translation project.
10914
d4baa62d
DM
10915 * po/nl.po: Update Dutch translation from translation project.
10916 * po/pl.po: Update Polish translation from translation project.
10917 * po/ru.po: Update Russian translation from translation project.
10918
61a9dcb9
DM
109192013-07-24 David S. Miller <davem@davemloft.net>
10920
10921 * po/libc.pot: Update.
10922
7b1f8b58
AZ
109232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10924
10925 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10926 variable page size.
10927 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10928 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10929 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10930
a8fc7a03
AK
109312013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10932
10933 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10934
e4608715
CD
109352013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10936 Andreas Schwab <schwab@suse.de>
10937 Roland McGrath <roland@hack.frob.com>
10938 Joseph Myers <joseph@codesourcery.com>
10939 Carlos O'Donell <carlos@redhat.com>
10940
10941 [BZ #15755]
10942 * config.h.in: Define HAVE_PT_CHOWN.
10943 * config.make.in (build-pt-chown): New variable.
10944 * configure.in (--enable-pt_chown): New configure option.
10945 * configure: Regenerate.
10946 * login/Makefile: Include Makeconfig. Build pt_chown only if
10947 build-pt-chown is enabled.
10948 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10949 pt_chown to fix pty ownership.
10950 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10951 CLOSE_ALL_FDS.
10952 * manual/install.texi (Configuring and compiling): Mention
10953 --enable-pt_chown. Add @findex for grantpt.
10954 * INSTALL: Regenerate.
10955
da2d62df
DM
109562013-07-20 David S. Miller <davem@davemloft.net>
10957
10958 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10959 difference between 32-bit and 64-bit.
10960
d7e06450
CD
109612013-07-15 Carlos O'Donell <carlos@redhat.com>
10962
10963 [BZ #15711]
10964 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10965 Avoid system header dependency with -ffreestanding.
10966 ($(objpfx)bits/syscall%d): Likewise.
10967
f959cfd7
DM
109682013-07-13 David S. Miller <davem@davemloft.net>
10969
10970 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10971 underflows from atanl/atan2l due to bug 15319.
10972 (casinh_test_data): Likewise.
10973
c61f8513
DM
109742013-07-07 David S. Miller <davem@davemloft.net>
10975
10976 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10977
72c90ed0
JA
109782013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10979
10980 * sysdeps/i386/fpu/libm-test-ulps: Update.
10981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10982
52dfbe13
SP
109832013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10984
10985 * configure.in (--enable-lock-elision): Fix message text.
10986 * INSTALL: Regenerate.
10987 * configure: Regenerate.
10988
3f169543
AZ
109892013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10990
10991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10992
521c6785
AJ
109932013-07-03 Andreas Jaeger <aj@suse.de>
10994
10995 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10996 define.
10997 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10998 (ptrace_peeksiginfo_args): Add.
10999 (__ptrace_peeksiginfo_flags): Add.
11000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11002 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11003
d2cc15cb
AM
110042013-07-03 Allan McRae <allan@archlinux.org>
11005
11006 * sysdeps/i386/fpu/libm-test-ulps: Update.
11007
3aaeeca7
DM
110082013-07-02 David S. Miller <davem@davemloft.net>
11009
11010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11011
5314ed1a
MT
110122013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11013
11014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11015
67338156
JM
110162013-07-02 Joseph Myers <joseph@codesourcery.com>
11017
11018 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11020
1717da59
AK
110212013-07-02 Andi Kleen <ak@linux.intel.com>
11022
11023 * config.h.in (ENABLE_LOCK_ELISION): Add.
11024 * configure.in (--enable-lock-elision): Add option.
11025 * manual/install.texi: Document --enable lock elision.
11026 * configure: Regenerate
11027 * INSTALL: Regenerate.
11028
1c81621c
L
110292013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11030
11031 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11032 SSE4.2 strcasecmp for libc.a.
11033 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11034
77f01ab5
JM
110352013-07-02 Joseph Myers <joseph@codesourcery.com>
11036
11037 [BZ #13304]
11038 * soft-fp/op-common.h (_FP_FMA): New macro.
11039 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11040 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11041 (_FP_MUL_MEAT_1_imm): ... here.
11042 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11043 (_FP_MUL_MEAT_1_wide): ... here.
11044 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11045 (_FP_MUL_MEAT_1_hard): ... here.
11046 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11047 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11048 (_FP_MUL_MEAT_2_wide): ... here.
11049 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11050 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11051 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11052 (_FP_MUL_MEAT_2_gmp): ... here.
11053 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11054 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11055 (_FP_MUL_MEAT_4_wide): ... here.
11056 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11057 (_FP_MUL_MEAT_4_gmp): ... here.
11058 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11059 (_FP_WFRACBITS_DW_S): Likewise.
11060 (_FP_WFRACXBITS_DW_S): Likewise.
11061 (_FP_HIGHBIT_DW_S): Likewise.
11062 (FP_FMA_S): Likewise.
11063 (_FP_FRAC_HIGH_DW_S): Likewise.
11064 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11065 (_FP_WFRACBITS_DW_D): Likewise.
11066 (_FP_WFRACXBITS_DW_D): Likewise.
11067 (_FP_HIGHBIT_DW_D): Likewise.
11068 (FP_FMA_D): Likewise.
11069 (_FP_FRAC_HIGH_DW_D): Likewise.
11070 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11071 (_FP_WFRACBITS_DW_E): Likewise.
11072 (_FP_WFRACXBITS_DW_E): Likewise.
11073 (_FP_HIGHBIT_DW_E): Likewise.
11074 (FP_FMA_E): Likewise.
11075 (_FP_FRAC_HIGH_DW_E): Likewise.
11076 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11077 (_FP_WFRACBITS_DW_Q): Likewise.
11078 (_FP_WFRACXBITS_DW_Q): Likewise.
11079 (_FP_HIGHBIT_DW_Q): Likewise.
11080 (FP_FMA_Q): Likewise.
11081 (_FP_FRAC_HIGH_DW_Q): Likewise.
11082 * soft-fp/fmasf4.c: New file.
11083 * soft-fp/fmadf4.c: Likewise.
11084 * soft-fp/fmatf4.c: Likewise.
11085
6308fd9a
LD
110862013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11087
11088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11089 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11090 Silvermont.
11091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11092 macro.
11093 (index_Slow_SSE4_2): Likewise.
11094 (index_Prefer_PMINUB_for_stringop): Likewise.
11095 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11096 bit_Slow_SSE4_2 is set.
11097 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11098 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11099
89cd9569
RA
111002013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11101
11102 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11103 rtld_global._dl_hwcap2.
11104 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11105 POWER8.
11106 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11107 POWER8 feature descriptions defined in _dl_hwcap2.
11108 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11109 string handling for POWER8 feature bits.
11110 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11111 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11112 _dl_powerpc_cap_flags.
11113 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11114 * sysdeps/powerpc/rtld-global-offsets.sym
11115 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11116 _dl_hwcap2 in the rtld_global_ro structure.
11117
1ae8bfe0
RA
111182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11119
11120 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11121 hardware capabilities in support of AT_HWCAP2.
11122 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11123 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11124 GLRO(dl_hwcap2).
11125 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11126 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11127 explicitly the unknown a_type display mechanism is used.
11128 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11129 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11130 struct member.
11131 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11132 to macro prototype for AT_HWCAP2 support.
11133 * sysdeps/i386/dl-procinfo.h: Likewise.
11134 * sysdeps/s390/dl-procinfo.h: Likewise.
11135 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11136 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11137 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11138 return -1 for unknown a_type display fallback.
11139 * sysdeps/sparc/dl-procinfo.h: Likewise.
11140 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11141 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11142
8fbec010
JM
111432013-06-28 Joseph Myers <joseph@codesourcery.com>
11144
11145 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11146 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11147
0432680e
PY
111482013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11149
11150 [BZ #12492]
11151 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11152 mprotect making __stack_prot writable.
11153
ce61a2ad
NF
111542013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11155 Joseph Myers <joseph@codesourcery.com>
11156
11157 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11158 as being properly aligned.
11159
f91f1c0f
MR
111602013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11161
3d0f5d0c
MR
11162 * dlfcn/modstatic5.c: New file.
11163 * dlfcn/tststatic5.c: New file.
11164 * dlfcn/Makefile (tests): Add tststatic5.
11165 (tests-static): Likewise.
11166 (modules-names): Add modstatic5.
11167 (tststatic5-ENV): New variable.
11168 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11169
f91f1c0f
MR
11170 [BZ #15022]
11171 * elf/dl-support.c (_dl_main_map): New variable.
11172 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11173 (_dl_nns, _dl_load_adds): Set to 1.
11174 (_dl_initial_searchlist): Refer to _dl_main_map.
11175 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11176 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11177 call to _dl_get_origin.
11178 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11179 around call_map.
11180 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11181 * dlfcn/modstatic3.c: New file.
11182 * dlfcn/tststatic3.c: New file.
11183 * dlfcn/tststatic4.c: New file.
11184 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11185 (tests-static): Likewise.
11186 (modules-names): Add modstatic3.
11187 (tststatic3-ENV, tststatic4-ENV): New variables.
11188 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11189 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11190
cbe7d24b
JM
111912013-06-26 Joseph Myers <joseph@codesourcery.com>
11192
11193 * configure.in (CC): Require GCC version 4.4 or later.
11194 * configure: Regenerated.
11195 * manual/install.texi (Tools for Compilation): Update GCC version
11196 requirement.
11197 * INSTALL: Regenerated.
11198
11b8a0e1
LD
111992013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11200
11201 [BZ #15674]
bb5bb87c
L
11202 * string/test-memcmp.c (check2): New.
11203 (main): Call check2.
11204
11b8a0e1
LD
11205 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11206
b0037103
MR
112072013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11208
11209 [BZ #15022]
11210 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11211 over to...
11212 (dl_open_worker) [!SHARED]: ... here.
11213
c18c701d
RA
112142013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11215
11216 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11217
1d17fa5f
RH
112182013-06-25 Richard Henderson <rth@redhat.com>
11219
11220 * locale/programs/locarchive.c: Include <libc-internal.h>
11221
8fcb833a
JM
112222013-06-25 Joseph Myers <joseph@codesourcery.com>
11223
11224 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11225 trailing whitespace removed.
11226
17db6e8d
MF
112272013-06-24 Mike Frysinger <vapier@gentoo.org>
11228
11229 [BZ #10283]
17db6e8d
MF
11230 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11231 * locale/programs/locarchive.c: Include libc-mmap.h.
11232 (prepare_address_space): Take two new outputs (the mmap base and len).
11233 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11234 values.
11235 (create_archive): Declare new mmap base and len values for
11236 prepare_address_space, and store the result in ah.
11237 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11238 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11239 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11240 Declare new mmap base and len values for
11241 prepare_address_space, and store the result in new_ah.
11242 (open_archive): Declare new mmap base and len values for
11243 prepare_address_space, and store the result in ah.
11244 (close_archive): If ah->mmap_base is not NULL, use that and
11245 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11246 * sysdeps/generic/libc-mmap.h: New file.
11247
d605071e
MF
112482013-06-24 Mike Frysinger <vapier@gentoo.org>
11249
11250 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11251 (ALIGN_UP): Likewise.
11252 (PTR_ALIGN_DOWN): Likewise.
11253 (PTR_ALIGN_UP): Likewise.
11254
2f063a6e
RA
112552013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11256
11257 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11258 entry mapped to PPC_PLATFORM_POWER8.
11259 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11260 POWER8.
11261 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11262 (_dl_string_platform): Add case for exporting platform position for
11263 POWER8.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11265 search path to sysdeps/powerpc/powerpc32/power8 directory.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11267 search path to sysdeps/powerpc/powerpc64/power8 directory.
11268 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11269 power7 directories.
11270 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11271 power7 directories.
11272
a31ee4b3
SP
112732013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11274
a74ca98f
SP
11275 * INSTALL: Regenerate.
11276
a31ee4b3
SP
11277 * nscd/connections.c (nscd_init): Fix comment.
11278
695c378f
JM
112792013-06-22 Joseph Myers <joseph@codesourcery.com>
11280
d8412221
JM
11281 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11282
695c378f
JM
11283 [BZ #15667]
11284 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11285 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11286
d1d54715
MR
112872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11288
11289 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11290 DL_DST_REQ_STATIC.
11291 (DL_DST_REQ_STATIC): Remove macro.
11292
8fdda7af
JM
112932013-06-21 Joseph Myers <joseph@codesourcery.com>
11294
11295 [BZ #7006]
11296 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11297 with a shift of 0 bits.
11298
f3bc5e5a
MR
112992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11300
11301 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11302 $(tststatic-ENV).
11303
be09e8c9
KK
113042013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11305
11306 [BZ #15655]
11307 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11308
85c2e611
AZ
113092013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11310
11311 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11312 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11313 accepts -fno-tree-loop-distribute-patterns.
11314 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11315 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11316 recursive call.
11317 * string/memset.c (memset): Likewise.
11318 * string/test-memmove.c (simple_memmove): Disable loop transformation
11319 to library calls.
11320 * string/test-memset.c (simple_memset): Likewise.
11321 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11322 * benchtests/bench-memset.c (simple_memset): Likewise.
11323 * configure: Regenerated.
11324
c91e0825
JM
113252013-06-20 Joseph Myers <joseph@codesourcery.com>
11326
b8c792af
JM
11327 * math/test-misc.c (main): Ignore fesetround failure when failures
11328 of subsequent rounding tests would be ignored.
11329
c91e0825
JM
11330 [BZ #15654]
11331 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11332 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11333 * math/fegetenv.c (__fegetenv): Return 0.
11334 * math/fegetexcept.c (fegetexcept): Return 0.
11335 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11336 FE_TONEAREST.
11337 * math/feholdexcpt.c (feholdexcept): Return 0.
11338 * math/fesetenv.c (__fesetenv): Return 0.
11339 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11340 argument FE_TONEAREST.
11341 * math/feupdateenv.c (__feupdateenv): Return 0.
11342 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11343
bfcacbde
RM
113442013-06-18 Roland McGrath <roland@hack.frob.com>
11345
11346 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11347 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11348 ($(objpfx)rtld-%.os rules): Use them.
11349
e55a9b25
AZ
113502013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11351
11352 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11353 fields.
11354
346d65b3
RM
113552013-06-17 Roland McGrath <roland@hack.frob.com>
11356
12086fb4
RM
11357 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11358 length of target pattern, then descending length of dependency pattern.
11359 * configure.in (AWK): Require gawk 3.1.2 or newer.
11360 * manual/install.texi (Tools for Compilation): Say that we do.
11361 * configure: Regenerated.
11362
346d65b3
RM
11363 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11364 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11365 * scripts/sysd-rules.awk: ... this new script.
11366 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11367 than a glob-style pattern.
11368
1a846317
JM
113692013-06-17 Joseph Myers <joseph@codesourcery.com>
11370
11371 * math/test-misc.c (main): Do not treat incorrectly rounded
11372 conversions as failure unless ROUNDING_TESTS passes.
11373
8fc75e6f
JM
113742013-06-15 Joseph Myers <joseph@codesourcery.com>
11375
3711a167
JM
11376 [BZ #15631]
11377 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11378 restore exception state around main square root computation, then
11379 check for inexactness explicitly.
11380
8fc75e6f
JM
11381 * math/libm-test.inc (fma_test_data): Add another test.
11382
61dd6208
SP
113832013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11384
adf23d2c
SP
11385 * manual/threads.texi (Non-POSIX Extensions): New document
11386 node. Document pthread_getattr_default_np and
11387 pthread_setattr_default_np.
11388
61dd6208
SP
11389 * Versions.def (libpthread): Add GLIBC_2.18.
11390 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11392 Likewise.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11394 Likewise.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11396 Likewise.
11397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11398 Likewise.
11399 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11400 Likewise.
11401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11402 Likewise.
11403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11404 Likewise.
11405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11406 Likewise.
11407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11408 Likewise.
11409
d086fc7b
LD
114102013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11411
11412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11413 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11414
747ef469
SP
114152013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11416 H.J. Lu <hjl.tools@gmail.com>
11417
11418 [BZ #15627]
11419 * sysdeps/x86_64/rtld-memset.c: Remove file.
11420 * sysdeps/x86_64/rtld-memset.S: New file.
11421
1b2feed2
JM
114222013-06-14 Joseph Myers <joseph@codesourcery.com>
11423
11424 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11425 (test_in_one_mode): Take arguments for whether the rounding mode
11426 is supported for each floating-point type.
11427 (do_test): Pass new arguments to test_in_one_mode using
11428 ROUNDING_TESTS.
11429
a58ad3f8
RM
114302013-06-13 Roland McGrath <roland@hack.frob.com>
11431
11432 * posix/tst-waitid.c (do_test): Distinguish different instances of
11433 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11434 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11435 before entering the kernel for waitpid.
11436
c204ab28
SP
114372013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11438
11439 * NEWS: Fix note on clock function precision. Text by Roland
11440 McGrath.
11441
f4a29fba
RM
114422013-06-13 Roland McGrath <roland@hack.frob.com>
11443
11444 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11445 it into place only when and if the sanity check passes.
11446
1f24b9ad
JM
114472013-06-13 Joseph Myers <joseph@codesourcery.com>
11448
11449 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11450 output for whether conversion result is exact. Take argument
11451 indicating whether type is IBM long double.
11452 (round_for_all): Change need_exact field to ibm_ld.
11453 * stdlib/tst-strtod-round.c (struct exactness): New type.
11454 (struct test): Change bool ld_ok field to struct exactness exact.
11455 (TEST): Update all definitions for change to field.
11456 (tests): Regenerate array contents.
11457 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11458 field value. Check for IBM long double here.
11459 (do_test): Update calls to test_in_one_mode.
11460
58206c68
SP
114612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11462
11463 [BZ #12515]
11464 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11465 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11466
2d6f4c5b 114672013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11468
11469 [BZ #15605]
11470 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11471 generated by the compiler on loop optimizations.
11472 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11473 general definitions.
11474
94f2c076
JM
114752013-06-12 Joseph Myers <joseph@codesourcery.com>
11476
11477 * math/bug-nextafter.c: Include <math-tests.h>.
11478 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11479 the relevant type.
11480 * math/bug-nexttoward.c: Include <math-tests.h>.
11481 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11482 the relevant type.
11483 * math/test-misc.c: Include <math-tests.h>.
11484 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11485 the relevant type.
11486
e0e50a0a
AJ
114872013-06-12 Andreas Jaeger <aj@suse.de>
11488
11489 * po/ia.po: Update Interlingua translation from translation
11490 project.
11491
25061094
SP
114922013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11493
11494 * include/fenv.h: Include stdbool.h.
11495 (struct rm_ctx): New structure.
11496 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11497 Define macro.
11498 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11499 (SET_RESTORE_ROUNDF): Likewise.
11500 (SET_RESTORE_ROUNDL): Likewise.
11501 (SET_RESTORE_ROUND_NOEX): Likewise.
11502 (SET_RESTORE_ROUND_NOEXF): Likewise.
11503 (SET_RESTORE_ROUND_NOEXL): Likewise.
11504 (SET_RESTORE_ROUND_53BIT): Likewise.
11505 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11506 (libc_feresetround_noexf_ctx): Likewise.
11507 (libc_feresetround_noexl_ctx): Likewise.
11508 (libc_feholdsetround_53bit_ctx): Likewise.
11509 (libc_feresetround_53bit_ctx): Likewise.
11510 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11511 (libc_feholdexcept_setround_sse_ctx): New function.
11512 (libc_fesetenv_sse_ctx): Likewise.
11513 (libc_feupdateenv_sse_ctx): Likewise.
11514 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11515 (libc_feholdexcept_setround_387_ctx): Likewise.
11516 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11517 (libc_feholdsetround_387_prec_ctx): Likewise.
11518 (libc_feholdsetround_387_ctx): Likewise.
11519 (libc_feholdsetround_387_53bit_ctx): Likewise.
11520 (libc_feholdsetround_sse_ctx): Likewise.
11521 (libc_feresetround_sse_ctx): Likewise.
11522 (libc_feresetround_387_ctx): Likewise.
11523 (libc_feupdateenv_387_ctx): Likewise.
11524 (libc_feholdexcept_setroundf_ctx): Define macro.
11525 (libc_fesetenvf_ctx): Likewise.
11526 (libc_feupdateenvf_ctx): Likewise.
11527 (libc_feholdsetroundf_ctx): Likewise.
11528 (libc_feresetroundf_ctx): Likewise.
11529 (libc_feholdexcept_setround_ctx): Likewise.
11530 (libc_fesetenv_ctx): Likewise.
11531 (libc_feupdateenv_ctx): Likewise.
11532 (libc_feholdsetround_ctx): Likewise.
11533 (libc_feresetround_ctx): Likewise.
11534 (libc_feholdexcept_setroundl_ctx): Likewise.
11535 (libc_feupdateenvl_ctx): Likewise.
11536 (libc_feholdsetroundl_ctx): Likewise.
11537 (libc_feresetroundl_ctx): Likewise.
11538 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11539 (libc_feresetround_53bit_ctx): Likewise.
11540
59b30555
SP
115412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11542
11543 * locale/iso-639.def: Convert to UTF-8.
11544
f1d73d30
JM
115452013-06-11 Joseph Myers <joseph@codesourcery.com>
11546
11547 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11548 (EXCEPTION_TESTS_double): Likewise.
11549 (EXCEPTION_TESTS_long_double): Likewise.
11550 (EXCEPTION_TESTS): Likewise.
11551 * math/libm-test.inc (test_exceptions): Only test exceptions if
11552 EXCEPTION_TESTS (FLOAT).
11553
94aca5e7
SP
115542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11555
11556 * benchtests/Makefile (string-bench): Add strcpy_chk and
11557 stpcpy_chk.
11558 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11559 * benchtests/bench-stpcpy_chk.c: New file.
11560 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11561 * benchtests/bench-strcpy_chk.c: New file.
11562 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11563 code.
11564 (do_test): Likewise.
11565
fac0c5f2
RA
115662013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11567
11568 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11569 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11570 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11571 with tabs where appropriate.
11572 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11573 dl-procinfo.h.
11574 [PPC_PLATFORM_PPC440]: Likewise.
11575 [PPC_PLATFORM_PPC464]: Likewise.
11576 [PPC_PLATFORM_PPC476]: Likewise.
11577 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11578 ppc464, and ppc476 platform strings merging from ports/
11579 dl-procinfo.h.
11580
f22bc486
AS
115812013-06-11 Andreas Schwab <schwab@suse.de>
11582
11583 [BZ #14991]
11584 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11585 (from_ucs4_idx): Regenerate.
11586 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11587 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11588 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11589 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11590 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11591 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11592 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11593 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11594 from FROM_LOOP and TO_LOOP specific macros.
11595 (BODY): Handle combining characters.
11596 * iconvdata/BIG5HKSCS.irreversible: Update.
11597 * iconvdata/BIG5HKSCS.precomposed: New file.
11598 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11599 characters.
11600 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11601
c1f75dc3
SP
116022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11603
4eacded2
SP
11604 * include/sys/time.h: Fix indentation and add copyright header.
11605
fec799f8
SP
11606 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11607 (do_test): Likewise.
11608 * string/test-memchr.c (do_one_test): Likewise.
11609 (do_test): Likewise.
11610 * string/test-memcmp.c (do_one_test): Likewise.
11611 (do_test): Likewise.
11612 * string/test-memcpy.c (do_one_test): Likewise.
11613 (do_test): Likewise.
11614 * string/test-memmem.c (do_one_test): Likewise.
11615 (do_test): Likewise.
11616 (do_random_tests): Likewise.
11617 * string/test-memmove.c (do_one_test): Likewise.
11618 (do_test): Likewise.
11619 * string/test-memset.c (do_one_test): Likewise.
11620 (do_test): Likewise.
11621 * string/test-rawmemchr.c (do_one_test): Likewise.
11622 (do_test): Likewise.
11623 * string/test-strcasecmp.c (do_one_test): Likewise.
11624 (do_test): Likewise.
11625 * string/test-strcasestr.c (do_one_test): Likewise.
11626 (do_test): Likewise.
11627 * string/test-strcat.c (do_one_test): Likewise.
11628 (do_test): Likewise.
11629 * string/test-strchr.c (do_one_test): Likewise.
11630 (do_test): Likewise.
11631 * string/test-strcmp.c (do_one_test): Likewise.
11632 (do_test): Likewise.
11633 * string/test-strcpy.c (do_one_test): Likewise.
11634 (do_test): Likewise.
11635 * string/test-string.h: Likewise.
11636 (test_init): Likewise.
11637 * string/test-strlen.c (do_one_test): Likewise.
11638 (do_test): Likewise.
11639 * string/test-strncasecmp.c (do_one_test): Likewise.
11640 (do_test): Likewise.
11641 * string/test-strncat.c (do_one_test): Likewise.
11642 (do_test): Likewise.
11643 * string/test-strncmp.c (do_one_test): Likewise.
11644 (do_test_limit): Likewise.
11645 (do_test): Likewise.
11646 * string/test-strncpy.c (do_one_test): Likewise.
11647 (do_test): Likewise.
11648 * string/test-strnlen.c (do_one_test): Likewise.
11649 (do_test): Likewise.
11650 * string/test-strpbrk.c (do_one_test): Likewise.
11651 (do_test): Likewise.
11652 * string/test-strrchr.c (do_one_test): Likewise.
11653 (do_test): Likewise.
11654 * string/test-strspn.c (do_one_test): Likewise.
11655 (do_test): Likewise.
11656 * string/test-strstr.c (do_one_test): Likewise.
11657 (do_test): Likewise.
11658
97020474
SP
11659 * benchtests/Makefile (string-bench): Add string benchmarks.
11660 * benchtests/bench-bcopy-ifunc.c: New file.
11661 * benchtests/bench-bcopy.c: New file.
11662 * benchtests/bench-bzero-ifunc.c: New file.
11663 * benchtests/bench-bzero.c: New file.
11664 * benchtests/bench-memccpy-ifunc.c: New file.
11665 * benchtests/bench-memccpy.c: New file.
11666 * benchtests/bench-memchr-ifunc.c: New file.
11667 * benchtests/bench-memchr.c: New file.
11668 * benchtests/bench-memcmp-ifunc.c: New file.
11669 * benchtests/bench-memcmp.c: New file.
11670 * benchtests/bench-memmem-ifunc.c: New file.
11671 * benchtests/bench-memmem.c: New file.
11672 * benchtests/bench-memmove-ifunc.c: New file.
11673 * benchtests/bench-memmove.c: New file.
11674 * benchtests/bench-mempcpy-ifunc.c: New file.
11675 * benchtests/bench-mempcpy.c: New file.
11676 * benchtests/bench-memset-ifunc.c: New file.
11677 * benchtests/bench-memset.c: New file.
11678 * benchtests/bench-rawmemchr-ifunc.c: New file.
11679 * benchtests/bench-rawmemchr.c: New file.
11680 * benchtests/bench-stpcpy-ifunc.c: New file.
11681 * benchtests/bench-stpcpy.c: New file.
11682 * benchtests/bench-stpncpy-ifunc.c: New file.
11683 * benchtests/bench-stpncpy.c: New file.
11684 * benchtests/bench-strcasecmp-ifunc.c: New file.
11685 * benchtests/bench-strcasecmp.c: New file.
11686 * benchtests/bench-strcasestr-ifunc.c: New file.
11687 * benchtests/bench-strcasestr.c: New file.
11688 * benchtests/bench-strcat-ifunc.c: New file.
11689 * benchtests/bench-strcat.c: New file.
11690 * benchtests/bench-strchr-ifunc.c: New file.
11691 * benchtests/bench-strchr.c: New file.
11692 * benchtests/bench-strchrnul-ifunc.c: New file.
11693 * benchtests/bench-strchrnul.c: New file.
11694 * benchtests/bench-strcmp-ifunc.c: New file.
11695 * benchtests/bench-strcmp.c: New file.
11696 * benchtests/bench-strcpy-ifunc.c: New file.
11697 * benchtests/bench-strcpy.c: New file.
11698 * benchtests/bench-strcspn-ifunc.c: New file.
11699 * benchtests/bench-strcspn.c: New file.
11700 * benchtests/bench-strlen-ifunc.c: New file.
11701 * benchtests/bench-strlen.c: New file.
11702 * benchtests/bench-strncasecmp-ifunc.c: New file.
11703 * benchtests/bench-strncasecmp.c: New file.
11704 * benchtests/bench-strncat-ifunc.c: New file.
11705 * benchtests/bench-strncat.c: New file.
11706 * benchtests/bench-strncmp-ifunc.c: New file.
11707 * benchtests/bench-strncmp.c: New file.
11708 * benchtests/bench-strncpy-ifunc.c: New file.
11709 * benchtests/bench-strncpy.c: New file.
11710 * benchtests/bench-strnlen-ifunc.c: New file.
11711 * benchtests/bench-strnlen.c: New file.
11712 * benchtests/bench-strpbrk-ifunc.c: New file.
11713 * benchtests/bench-strpbrk.c: New file.
11714 * benchtests/bench-strrchr-ifunc.c: New file.
11715 * benchtests/bench-strrchr.c: New file.
11716 * benchtests/bench-strspn-ifunc.c: New file.
11717 * benchtests/bench-strspn.c: New file.
11718 * benchtests/bench-strstr-ifunc.c: New file.
11719 * benchtests/bench-strstr.c: New file.
11720
c1f75dc3
SP
11721 * benchtests/Makefile: Disable parallel execution of targets.
11722 (string-bench): Add memcpy.
11723 (benchset): New variable to store a list of benchmark sets.
11724 (bench-func): Renamed from bench.
11725 (bench-set): New target.
11726 (bench): Depend on bench-func and bench-set.
11727 * benchtests/README: Add section on benchmark sets.
11728 * benchtests/bench-memcpy-ifunc.c: New file.
11729 * benchtests/bench-memcpy.c: New file.
11730 * benchtests/bench-string.h: New file.
11731
50fd745b
AS
117322013-06-11 Andreas Schwab <schwab@suse.de>
11733
11734 [BZ #15577]
11735 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11736 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11737 values in the triple.
11738 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11739 terminator in the group key.
11740
3ee7e9fe
AJ
117412013-06-11 Andreas Jaeger <aj@suse.de>
11742
11743 * po/zh_TW.po: Update Chinese (traditional) translation from
11744 translation project.
11745
89fb6835
SP
117462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11747
11748 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11749 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11750 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11751 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11752 (clock_getcpuclockid): Likewise.
11753 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11754 Add weak_alias and libc_hidden_def.
11755 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11756 * rt/clock_gettime.c (clock_gettime): Rename to
11757 __clock_gettime. Add weak_alias and libc_hidden_def.
11758 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11759 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11760 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11761 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11762 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11763 Likewise.
11764 * rt/clock_settime.c (clock_settime): Rename to
11765 __clock_settime. Add weak_alias and libc_hidden_def.
11766 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11767
0efa6f8b
JM
117682013-06-10 Joseph Myers <joseph@codesourcery.com>
11769
b8c61b4b
JM
11770 * mach/err_boot.sub: Remove trailing whitespace.
11771 * mach/err_ipc.sub: Likewise.
11772 * mach/err_mach.sub: Likewise.
11773
0efa6f8b
JM
11774 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11775 (ROUNDING_TESTS_double): Likewise.
11776 (ROUNDING_TESTS_long_double): Likewise.
11777 (ROUNDING_TESTS): Likewise.
11778 * math/libm-test.inc: Include <math-tests.h>.
11779 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11780 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11781 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11782 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11783
50b818bf
SP
117842013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11785
11786 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11787 of assigning.
11788
60d2f8f3
JM
117892013-06-08 Joseph Myers <joseph@codesourcery.com>
11790
4902d2c3
JM
11791 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11792 otherwise empty TRANS lines.
11793 * sysdeps/gnu/errlist.c: Regenerated.
11794
60d2f8f3
JM
11795 * catgets/gencat.c (error_print): Use (void) in function
11796 definition.
11797 * crypt/crypt_util.c (__init_des): Likewise.
11798 * crypt/speeds.c (Stop): Likewise.
11799 (main): Likewise.
11800 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11801 * inet/ruserpass.c (token): Likewise.
11802 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11803 * intl/localealias.c (extend_alias_table): Likewise.
11804 * intl/plural-exp.c (init_germanic_plural): Likewise.
11805 * libio/fcloseall.c (__fcloseall): Likewise.
11806 * libio/genops.c (_IO_flush_all): Likewise.
11807 (_IO_flush_all_linebuffered): Likewise.
11808 (_IO_cleanup): Likewise.
11809 (_IO_iter_begin): Likewise.
11810 (_IO_iter_end): Likewise.
11811 (_IO_list_lock): Likewise.
11812 (_IO_list_unlock): Likewise.
11813 (_IO_list_resetlock): Likewise.
11814 * libio/getchar.c (getchar): Likewise.
11815 * libio/getchar_u.c (getchar_unlocked): Likewise.
11816 * libio/getwchar.c (getwchar): Likewise.
11817 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11818 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11819 * login/getpt.c (__getpt): Likewise.
11820 * login/tst-utmp.c (main): Likewise.
11821 * malloc/hooks.c (__malloc_check_init): Likewise.
11822 * malloc/malloc.c (__malloc_stats): Likewise.
11823 * malloc/mtrace.c (tr_break): Likewise.
11824 (mtrace): Likewise.
11825 (muntrace): Likewise.
11826 * misc/fstab.c (endfsent): Likewise.
11827 * misc/getclktck.c (__getclktck): Likewise.
11828 * misc/getdtsz.c (__getdtablesize): Likewise.
11829 * misc/gethostid.c (gethostid): Likewise.
11830 * misc/getpagesize.c (__getpagesize): Likewise.
11831 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11832 (__get_nprocs): Likewise.
11833 (__get_phys_pages): Likewise.
11834 (__get_avphys_pages): Likewise.
11835 * misc/getttyent.c (getttyent): Likewise.
11836 (setttyent): Likewise.
11837 (endttyent): Likewise.
11838 * misc/getusershell.c (getusershell): Likewise.
11839 (endusershell): Likewise.
11840 (setusershell): Likewise.
11841 (initshells): Likewise.
11842 * misc/hsearch.c (__hdestroy): Likewise.
11843 * misc/sync.c (sync): Likewise.
11844 * misc/syslog.c (closelog_internal): Likewise.
11845 (closelog): Likewise.
11846 * misc/ttyslot.c (ttyslot): Likewise.
11847 * misc/vhangup.c (vhangup): Likewise.
11848 * posix/fork.c (__fork): Likewise.
11849 * posix/getegid.c (__getegid): Likewise.
11850 * posix/geteuid.c (__geteuid): Likewise.
11851 * posix/getgid.c (__getgid): Likewise.
11852 * posix/getpid.c (__getpid): Likewise.
11853 * posix/getppid.c (__getppid): Likewise.
11854 * posix/getuid.c (__getuid): Likewise.
11855 * posix/pause.c (pause): Likewise.
11856 * posix/setpgrp.c (setpgrp): Likewise.
11857 * posix/setsid.c (__setsid): Likewise.
11858 * posix/test-vfork.c (noop): Likewise.
11859 * resolv/gethnamaddr.c (_endhtent): Likewise.
11860 (_gethtent): Likewise.
11861 (ht_endhostent): Likewise.
11862 (gethostent): Likewise.
11863 (dns_service): Likewise.
11864 * stdlib/drand48.c (drand48): Likewise.
11865 * stdlib/lrand48.c (lrand48): Likewise.
11866 * stdlib/mrand48.c (mrand48): Likewise.
11867 * stdlib/rand.c (rand): Likewise.
11868 * stdlib/random.c (__random): Likewise.
11869 * stdlib/setenv.c (clearenv): Likewise.
11870 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11871 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11872 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11873 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11874 (__get_nprocs): Likewise.
11875 (__get_phys_pages): Likewise.
11876 (__get_avphys_pages): Likewise.
11877 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11878 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11879 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11880 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11881 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11882 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11883 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11884 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11885 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11886 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11887 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11888 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11889 * sysdeps/posix/clock.c (clock): Likewise.
11890 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11891 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11892 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11893 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11894 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11896 (__get_nprocs_conf): Likewise.
11897 (__get_phys_pages): Likewise.
11898 (__get_avphys_pages): Likewise.
11899 * time/clock.c (clock): Likewise.
11900 * time/tzset.c (__tzname_max): Likewise.
11901
2e09a79a
JM
119022013-06-07 Joseph Myers <joseph@codesourcery.com>
11903
11904 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11905 (__bswap_32): Do not use "register".
11906 * crypt/crypt.c (_ufc_doit_r): Likewise.
11907 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11908 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11909 * gmon/gmon.c (__monstartup): Likewise.
11910 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11911 * hurd/hurdmalloc.c (more_memory): Likewise.
11912 (malloc): Likewise.
11913 (free): Likewise.
11914 (realloc): Likewise.
11915 (malloc_fork_prepare): Likewise.
11916 (malloc_fork_parent): Likewise.
11917 (malloc_fork_child): Likewise.
11918 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11919 (_svcauth_des): Likewise.
11920 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11921 * inet/inet_net.c (inet_network): Likewise.
11922 * inet/inet_netof.c (inet_netof): Likewise.
11923 * inet/rcmd.c (__validuser2_sa): Likewise.
11924 * io/fts.c (fts_open): Likewise.
11925 (fts_load): Likewise.
11926 (fts_close): Likewise.
11927 (fts_read): Likewise.
11928 (fts_children): Likewise.
11929 (fts_build): Likewise.
11930 (fts_stat): Likewise.
11931 (fts_sort): Likewise.
11932 (fts_alloc): Likewise.
11933 (fts_lfree): Likewise.
11934 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11935 (_IO_file_xsgetn): Likewise.
11936 (_IO_file_xsgetn_mmap): Likewise.
11937 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11938 (_IO_cookie_write): Likewise.
11939 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11940 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11941 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11942 * malloc/obstack.c (_obstack_begin): Likewise.
11943 (_obstack_begin_1): Likewise.
11944 (_obstack_newchunk): Likewise.
11945 (_obstack_allocated_p): Likewise.
11946 (obstack_free): Likewise.
11947 (_obstack_memory_used): Likewise.
11948 * misc/getttyent.c (getttynam): Likewise.
11949 (getttyent): Likewise.
11950 (skip): Likewise.
11951 (value): Likewise.
11952 * misc/getusershell.c (initshells): Likewise.
11953 * misc/syslog.c (__vsyslog_chk): Likewise.
11954 * misc/ttyslot.c (ttyslot): Likewise.
11955 * nis/nis_hash.c (__nis_hash): Likewise.
11956 * posix/fnmatch_loop.c (FCT): Likewise.
11957 * posix/getconf.c (print_all): Likewise.
11958 (main): Likewise.
11959 * posix/getopt.c (exchange): Likewise.
11960 * posix/glob.c (globfree): Likewise.
11961 (prefix_array): Likewise.
11962 (__glob_pattern_type): Likewise.
11963 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11964 (NS_GET32): Likewise.
11965 (NS_PUT16): Likewise.
11966 (NS_PUT32): Likewise.
11967 * resolv/gethnamaddr.c (getanswer): Likewise.
11968 (gethostbyname2): Likewise.
11969 (gethostbyaddr): Likewise.
11970 (_gethtent): Likewise.
11971 (_gethtbyname2): Likewise.
11972 (_gethtbyaddr): Likewise.
11973 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11974 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11975 * resolv/res_init.c (__res_vinit): Likewise.
11976 (net_mask): Likewise.
11977 * resolv/res_mkquery.c (outchar): Likewise.
11978 (PRINT): Likewise.
11979 * stdio-common/printf_fp.c (outchar): Likewise.
11980 (PRINT): Likewise.
11981 * stdio-common/printf_fphex.c (outchar): Likewise.
11982 (PRINT): Likewise.
11983 * stdio-common/printf_size.c (outchar): Likewise.
11984 (PRINT): Likewise.
11985 * stdio-common/test_rdwr.c (main): Likewise.
11986 * stdio-common/tfformat.c (matches): Likewise.
11987 * stdio-common/vfprintf.c (outchar): Likewise.
11988 (printf_unknown): Likewise.
11989 (buffered_vfprintf): Likewise.
11990 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11991 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11992 (ReadFile): Likewise.
11993 * stdlib/qsort.c (SWAP): Likewise.
11994 (_quicksort): Likewise.
11995 * stdlib/setenv.c (__add_to_environ): Likewise.
11996 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11997 * stdlib/strtol_l.c (__strtol_l): Likewise.
11998 * stdlib/tst-strtod.c (main): Likewise.
11999 * stdlib/tst-strtol.c (main): Likewise.
12000 * stdlib/tst-strtoll.c (main): Likewise.
12001 * string/bits/string2.h (__strcmp_cc): Likewise.
12002 (__strcmp_cg): Likewise.
12003 (__strcspn_c1): Likewise.
12004 (__strcspn_c2): Likewise.
12005 (__strcspn_c3): Likewise.
12006 (__strspn_c1): Likewise.
12007 (__strspn_c2): Likewise.
12008 (__strspn_c3): Likewise.
12009 (__strsep_1c): Likewise.
12010 (__strsep_2c): Likewise.
12011 (__strsep_3c): Likewise.
12012 * string/memccpy.c (__memccpy): Likewise.
12013 * string/stpcpy.c (__stpcpy): Likewise.
12014 * string/strcmp.c (strcmp): Likewise.
12015 * string/strrchr.c (strrchr): Likewise.
12016 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12017 Likewise.
12018 * sysdeps/mach/hurd/getcwd.c
12019 (_hurd_canonicalize_directory_name_internal): Likewise.
12020 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12021 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12022 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12023 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12024 Likewise, in both definitions.
12025 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12026 definitions.
12027 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12028 64] (__bswap_64): Likewise.
12029 * time/test_time.c (main): Likewise.
12030 * time/tzfile.c (__tzfile_read): Likewise.
12031 (__tzfile_compute): Likewise.
12032 * time/tzset.c (__tzset_parse_tz): Likewise.
12033 (tzset_internal): Likewise.
12034 (compute_change): Likewise.
12035 * wcsmbs/wcscat.c (__wcscat): Likewise.
12036 * wcsmbs/wcschr.c (wcschr): Likewise.
12037 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12038 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12039 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12040 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12041 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12042 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12043 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12044 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12045 * wcsmbs/wmemset.c (wmemset): Likewise.
12046
9e54314b
JM
120472013-06-06 Joseph Myers <joseph@codesourcery.com>
12048
12049 * scripts/config.guess: Update to version 2013-05-16.
12050 * scripts/config.sub: Update to version 2013-04-24.
12051 * scripts/install-sh: Update to version 2011-11-20.07.
12052 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12053 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12054
350635a5
OB
120552013-06-06 Ondřej Bílka <neleai@seznam.cz>
12056
12057 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12058 * elf/sln.c: Likewise.
12059 * hurd/hurd/ioctl.h: Likewise.
12060 * hurd/hurdmalloc.c: Likewise.
12061 * hurd/xattr.c: Likewise.
12062 * include/shlib-compat.h: Likewise.
12063 * inet/ruserpass.c: Likewise.
12064 * libio/iofgets_u.c: Likewise.
12065 * libio/iofgetws_u.c: Likewise.
12066 * locale/programs/ld-identification.c: Likewise.
12067 * locale/programs/ld-time.c: Likewise.
12068 * mach/msg-destroy.c: Likewise.
12069 * nss/nss_files/files-netgrp.c: Likewise.
12070 * resolv/res_data.c: Likewise.
12071 * soft-fp/op-1.h: Likewise.
12072 * soft-fp/op-2.h: Likewise.
12073 * soft-fp/op-4.h: Likewise.
12074 * soft-fp/op-common.h: Likewise.
12075 * stdio-common/printf_fphex.c: Likewise.
12076 * stdlib/strtod_l.c: Likewise.
12077 * sunrpc/rpc/clnt.h: Likewise.
12078 * sysdeps/generic/framestate.c: Likewise.
12079 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12080 * sysdeps/i386/bsd-setjmp.S: Likewise.
12081 * sysdeps/i386/__longjmp.S: Likewise.
12082 * sysdeps/i386/setjmp.S: Likewise.
12083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12084 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12086 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12087 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12088 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12090 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12092 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12095 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12099 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12100 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12101 * sysdeps/ieee754/support.c: Likewise.
12102 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12103 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12104 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12105 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12106 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12107 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12108 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12109 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12110 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12111 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12112 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12113 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12114 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12115 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12116 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12117 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12118 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12120
44a988af
OB
121212013-06-05 Ondřej Bílka <neleai@seznam.cz>
12122
25506f09 12123 * posix/transbug.c: Remove executable mode.
44a988af 12124
9c84384c
JM
121252013-06-05 Joseph Myers <joseph@codesourcery.com>
12126
12127 * crypt/speeds.c: Remove trailing whitespace.
12128 * dlfcn/default.c: Likewise.
12129 * elf/ifuncdep2.c: Likewise.
12130 * elf/ifuncmain1.c: Likewise.
12131 * elf/ifuncmain1vis.c: Likewise.
12132 * elf/testobj.h: Likewise.
12133 * elf/tst-stackguard1.c: Likewise.
12134 * gmon/sys/gmon.h: Likewise.
12135 * hurd/hurdmsg.c: Likewise.
12136 * hurd/new-fd.c: Likewise.
12137 * hurd/ports-get.c: Likewise.
12138 * iconvdata/ibm1008_420.c: Likewise.
12139 * inet/tst-getni1.c: Likewise.
12140 * inet/tst-getni2.c: Likewise.
12141 * libio/ioungetc.c: Likewise.
12142 * libio/wfiledoalloc.c: Likewise.
12143 * manual/libm-err-tab.pl: Likewise.
12144 * math/w_dremf.c: Likewise.
12145 * misc/ftruncate.c: Likewise.
12146 * posix/bug-glob2.c: Likewise.
12147 * posix/tst-pcre.c: Likewise.
12148 * posix/wait4.c: Likewise.
12149 * resolv/README: Likewise.
12150 * resolv/res_debug.h: Likewise.
12151 * resolv/tst-inet_ntop.c: Likewise.
12152 * setjmp/bug269-setjmp.c: Likewise.
12153 * soft-fp/extended.h: Likewise.
12154 * soft-fp/op-1.h: Likewise.
12155 * soft-fp/op-2.h: Likewise.
12156 * soft-fp/op-4.h: Likewise.
12157 * soft-fp/op-8.h: Likewise.
12158 * soft-fp/testit.c: Likewise.
12159 * stdio-common/bug16.c: Likewise.
12160 * stdlib/random.c: Likewise.
12161 * sunrpc/rpcsvc/rquota.x: Likewise.
12162 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12163 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12165 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12166 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12169 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12170 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12171 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12172 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12180 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12189 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12191 * sysdeps/ieee754/s_lib_version.c: Likewise.
12192 * sysdeps/mach/hurd/check_fds.c: Likewise.
12193 * sysdeps/mach/hurd/getsockname.c: Likewise.
12194 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12195 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12196 * sysdeps/powerpc/bits/link.h: Likewise.
12197 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12198 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12199 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12200 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12201 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12202 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12203 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12204 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12205 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12206 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12207 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12208 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12209 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12210 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12211 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12212 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12213 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12214 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12215 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12216 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12217 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12218 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12219 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12220 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12221 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12222 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12223 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12224 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12225 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12226 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12227 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12228 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12229 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12230 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12231 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12232 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12233 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12234 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12235 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12236 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12237 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12238 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12239 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12240 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12241 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12242 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12243 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12244 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12245 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12246 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12249 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12250 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12251 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12252 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12253 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12254 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12255 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12256 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12257 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12258 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12259 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12260 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12261 * sysdeps/powerpc/sysdep.h: Likewise.
12262 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12263 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12264 * sysdeps/sh/dl-trampoline.S: Likewise.
12265 * sysdeps/sh/memset.S: Likewise.
12266 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12267 * sysdeps/sh/strlen.S: Likewise.
12268 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12269 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12270 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12271 * sysdeps/sparc/sparc32/rem.S: Likewise.
12272 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12273 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12274 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12275 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12276 * sysdeps/sparc/sparc32/urem.S: Likewise.
12277 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12278 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12279 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12280 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12281 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12282 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12283 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12284 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12285 * sysdeps/unix/bsd/times.c: Likewise.
12286 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12287 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12291 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12292 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12293 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12294 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12295 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12296 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12297 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12298 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12299 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12300 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12301 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12302 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12303 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12304 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12305 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12306 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12307 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12308 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12309 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12310 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12311 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12312 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12313 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12314 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12315 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12316 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12317 * sysdeps/x86_64/strcspn.S: Likewise.
12318
869378a5
RA
123192013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12320
12321 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12322 generated file. Regenerate properly from gen-translit.pl.
12323 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12324 locale/C-translit.h.
12325
840e2943
AS
123262013-06-05 Andreas Schwab <schwab@suse.de>
12327
12328 [BZ #15100]
12329 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12330 week as 6 instead of -1.
12331 * time/tst-strptime.c (day_tests): Add test case.
12332
4c60cb0c
SP
123332013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12334
12335 * sysdeps/generic/math_private.h
12336 (libc_feholdexcept_setround_53bit): Replace with
12337 libc_feholdsetround_53bit.
12338 (libc_feupdateenv_53bit): Replace with
12339 libc_feresetround_53bit.
12340 (SET_RESTORE_ROUND_53BIT): Adjust.
12341
d180203e
SP
123422013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12343
96df079a
SP
12344 * string/test-strchrnul.c: Add copyright header.
12345
d180203e
SP
12346 * posix/tst-getaddrinfo4.c: Increase test timeout.
12347
8b0ccb2d
CD
123482013-06-03 Carlos O'Donell <carlos@redhat.com>
12349
12350 [BZ #15536]
12351 * math/libm-test.inc (MAX_EXP): Remove
12352 (MIN_EXP): Define.
12353 (ulp): Use MIN_EXP - MANT_DIG.
12354 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12355
3b3c4d40
CD
123562013-05-31 Carlos O'Donell <carlos@redhat.com>
12357
12358 * po/be.po: Revert last change.
12359 * po/zh_CN.po: Likewise.
12360 * po/header.pot: Likewise.
12361
fab7ce3f
JM
123622013-05-31 Joseph Myers <joseph@codesourcery.com>
12363
12364 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12365 link-libc-deps to empty as target-specific variable.
12366 * Makerules (link-libc-args): New variable.
12367 (libc-for-link): Likewise.
12368 (link-libc-deps): Likewise.
12369 (lib%.so): Depend on $(link-libc-deps). Link with
12370 $(link-libc-args).
12371 (build-module): Link with $(link-libc-args).
12372 (build-module-asneeded): Likewise.
12373 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12374 list of objects.
12375 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12376 target-specific variable.
12377 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12378 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12379 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12380 libc.
12381 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12382 libc and ld.so.
12383 ($(objpfx)libpcprofile.so): Likewise.
12384 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12385 libc_nonshared.a.
12386 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12387 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12388 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12389 $(link-libc-deps).
12390 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12391 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12392 * login/Makefile ($(objpfx)libutil.so): Likewise.
12393 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12394 * math/Makefile ($(objpfx)libm.so): Likewise.
12395 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12396 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12397 variable instead of depending directly on libc.
12398 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12399 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12400 $(link-libc-deps).
12401 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12402 libc.
12403 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12404 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12405 ($(objpfx)libanl.so): Likewise.
12406 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12407 ld.so.
12408 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12409 $(link-libc-deps).
12410 * sysdeps/i386/fpu/Makefile: Remove file.
12411 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12412 ($(objpfx)libm.so): Remove dependency on ld.so.
12413
eca5920c
PF
124142013-05-30 Patsy Franklin <pfrankli@redhat.com>
12415
12416 [BZ # 15553]
12417 * nis/yp_xdr.c (XDRMAXNAME): Define.
12418 (XDRMAXRECORD): Define.
12419 (xdr_domainname): Use XDRMAXNAME.
12420 (xdr_mapname): Likewise.
12421 (xdr_peername): Likewise.
12422 (xdr_keydat): Use XDRMAXRECORD.
12423 (xdr_valdat): Likewise.
12424
124252013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12426
12427 [BZ #14256]
12428 * manual/errno.texi (ESTALE): Update to account for more than
12429 just NFS file systems.
12430 * sysdeps/gnu/errlist.c: Regenerated.
12431
b9375348
SP
124322013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12433
12434 [BZ #15465]
12435 * elf/Makefile (tests): Add tst-null-argv.
12436 (modules-names): Add tst-null-argv-lib.
12437 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12438 (tst-null-argv-ENV): Set environment for tst-null-argv.
12439 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12440 (RTLD_PROGNAME): New macro.
12441 * elf/tst-null-argv.c: New test case.
12442 * elf/tst-null-argv-lib.c: Library for test case.
12443 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12444 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12445 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12446 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12447 * elf/dl-init.c (call_init): Likewise.
12448 (_dl_init): Likewise.
12449 * elf/dl-load.c (print_search_path): Likewise.
12450 (_dl_map_object): Likewise.
12451 * elf/dl-lookup.c (do_lookup_x): Likewise.
12452 (add_dependency): Likewise.
12453 (_dl_lookup_symbol_x): Likewise.
12454 (_dl_debug_bindings): Likewise.
12455 * elf/dl-open.c (_dl_show_scope): Likewise.
12456 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12457 * elf/dl-version.c (match_symbol): Likewise.
12458 (_dl_check_map_versions): Likewise.
12459 * elf/rtld.c (dl_main): Likewise.
12460 (print_unresolved): Use RTLD_PROGNAME.
12461 (print_missing_version): Likewise.
12462 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12463 (elf_machine_rela): Likewise.
12464 * sysdeps/powerpc/powerpc32/dl-machine.c
12465 (__process_machine_rela): Likewise.
12466 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12467 Likewise.
12468 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12469 Likewise.
12470 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12471 Likewise.
12472 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12474 Likewise.
12475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12476 Likewise.
12477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12478
8a9f20c8
CD
124792013-05-28 Carlos O'Donell <carlos@redhat.com>
12480
12481 * po/be.po: Add descriptive title.
12482 * po/zh_CN.po: Likewise.
12483 * po/header.pot: Likewise.
12484
0e60d68e
MF
124852013-05-28 Mike Frysinger <vapier@gentoo.org>
12486
12487 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12488 error message.
12489 (enlarge_archive): Likewise.
12490
56b672e9
BN
124912013-05-28 Ben North <ben@redfrontdoor.org>
12492
12493 * manual/arith.texi (frexp): It is the magnitude of the return
12494 value which lies in [0.5, 1), not the return value itself.
12495
5e056687
AZ
124962013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12497
12498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12499
2b66ef5d
TS
125002013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12501
528c2405
TS
12502 * stdio-common/bug26.c (main): Correct fscanf template.
12503
07b4c13d
TS
12504 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12505 declare _dl_skip_args.
12506
ec9dd97c
TS
12507 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12508 Don't declare.
12509
2b66ef5d
TS
12510 * manual/platform.texi: Add missing @end deftypefun.
12511
4f8dfe27
JM
125122013-05-24 Joseph Myers <joseph@codesourcery.com>
12513
0323d086
JM
12514 [BZ #15529]
12515 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12516 bit of mantissa of 2^16382.
12517 * math/libm-test.inc (hypot_test_data): Add more tests.
12518
dd4259b9
JM
12519 * math/libm-test.inc: Add drem and pow10 to list of tested
12520 functions.
12521 (pow10_test): New function.
12522 (drem_test): Likewise.
12523 (drem_test_tonearest): Likewise.
12524 (drem_test_towardzero): Likewise.
12525 (drem_test_downward): Likewise.
12526 (drem_test_upward): Likewise.
12527 (main): Call the new functions.
12528
4f8dfe27
JM
12529 * math/libm-test.inc (finite_test_data): Remove.
12530 (finite_test): Run tests from isfinite_test_data.
12531 (gamma_test_data): Remove.
12532 (gamma_test): Run tests from lgamma_test_data.
12533 * sysdeps/i386/fpu/libm-test-ulps: Update.
12534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12535
d116b7c4
AZ
125362013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12537
12538 * manual/platform.texi: Add PowerPC PPR function set documentation.
12539 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12540 implementation.
12541
e96e3767
CD
125422013-05-24 Carlos O'Donell <carlos@redhat.com>
12543
12544 * math/libm-test.inc (MAX_EXP): Define.
12545 (ULPDIFF): Define.
12546 (ulp): New function.
12547 (check_float_internal): Use ULPDIFF.
12548 (cpow_test): Disable failing test.
12549 (check_ulp): Test ulp() implemetnation.
12550 (main): Call check_ulp before starting tests.
12551
b679a606
JM
125522013-05-24 Joseph Myers <joseph@codesourcery.com>
12553
e8bdba36
JM
12554 * math/gen-libm-test.pl (generate_testfile): Do not handle
12555 START_DATA and END_DATA.
12556 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12557 END_DATA.
12558 (acos_tonearest_test_data): Likewise.
12559 (acos_towardzero_test_data): Likewise.
12560 (acos_downward_test_data): Likewise.
12561 (acos_upward_test_data): Likewise.
12562 (acosh_test_data): Likewise.
12563 (asin_test_data): Likewise.
12564 (asin_tonearest_test_data): Likewise.
12565 (asin_towardzero_test_data): Likewise.
12566 (asin_downward_test_data): Likewise.
12567 (asin_upward_test_data): Likewise.
12568 (asinh_test_data): Likewise.
12569 (atan_test_data): Likewise.
12570 (atanh_test_data): Likewise.
12571 (atan2_test_data): Likewise.
12572 (cabs_test_data): Likewise.
12573 (cacos_test_data): Likewise.
12574 (cacosh_test_data): Likewise.
12575 (carg_test_data): Likewise.
12576 (casin_test_data): Likewise.
12577 (casinh_test_data): Likewise.
12578 (catan_test_data): Likewise.
12579 (catanh_test_data): Likewise.
12580 (cbrt_test_data): Likewise.
12581 (ccos_test_data): Likewise.
12582 (ccosh_test_data): Likewise.
12583 (ceil_test_data): Likewise.
12584 (cexp_test_data): Likewise.
12585 (cimag_test_data): Likewise.
12586 (clog_test_data): Likewise.
12587 (clog10_test_data): Likewise.
12588 (conj_test_data): Likewise.
12589 (copysign_test_data): Likewise.
12590 (cos_test_data): Likewise.
12591 (cos_tonearest_test_data): Likewise.
12592 (cos_towardzero_test_data): Likewise.
12593 (cos_downward_test_data): Likewise.
12594 (cos_upward_test_data): Likewise.
12595 (cosh_test_data): Likewise.
12596 (cosh_tonearest_test_data): Likewise.
12597 (cosh_towardzero_test_data): Likewise.
12598 (cosh_downward_test_data): Likewise.
12599 (cosh_upward_test_data): Likewise.
12600 (cpow_test_data): Likewise.
12601 (cproj_test_data): Likewise.
12602 (creal_test_data): Likewise.
12603 (csin_test_data): Likewise.
12604 (csinh_test_data): Likewise.
12605 (csqrt_test_data): Likewise.
12606 (ctan_test_data): Likewise.
12607 (ctan_tonearest_test_data): Likewise.
12608 (ctan_towardzero_test_data): Likewise.
12609 (ctan_downward_test_data): Likewise.
12610 (ctan_upward_test_data): Likewise.
12611 (ctanh_test_data): Likewise.
12612 (ctanh_tonearest_test_data): Likewise.
12613 (ctanh_towardzero_test_data): Likewise.
12614 (ctanh_downward_test_data): Likewise.
12615 (ctanh_upward_test_data): Likewise.
12616 (erf_test_data): Likewise.
12617 (erfc_test_data): Likewise.
12618 (exp_test_data): Likewise.
12619 (exp_tonearest_test_data): Likewise.
12620 (exp_towardzero_test_data): Likewise.
12621 (exp_downward_test_data): Likewise.
12622 (exp_upward_test_data): Likewise.
12623 (exp10_test_data): Likewise.
12624 (exp2_test_data): Likewise.
12625 (expm1_test_data): Likewise.
12626 (fabs_test_data): Likewise.
12627 (fdim_test_data): Likewise.
12628 (finite_test_data): Likewise.
12629 (floor_test_data): Likewise.
12630 (fma_test_data): Likewise.
12631 (fma_towardzero_test_data): Likewise.
12632 (fma_downward_test_data): Likewise.
12633 (fma_upward_test_data): Likewise.
12634 (fmax_test_data): Likewise.
12635 (fmin_test_data): Likewise.
12636 (fmod_test_data): Likewise.
12637 (fpclassify_test_data): Likewise.
12638 (frexp_test_data): Likewise.
12639 (gamma_test_data): Likewise.
12640 (hypot_test_data): Likewise.
12641 (ilogb_test_data): Likewise.
12642 (isfinite_test_data): Likewise.
12643 (isgreater_test_data): Likewise.
12644 (isgreaterequal_test_data): Likewise.
12645 (isinf_test_data): Likewise.
12646 (isless_test_data): Likewise.
12647 (islessequal_test_data): Likewise.
12648 (islessgreater_test_data): Likewise.
12649 (isnan_test_data): Likewise.
12650 (isnormal_test_data): Likewise.
12651 (issignaling_test_data): Likewise.
12652 (isunordered_test_data): Likewise.
12653 (j0_test_data): Likewise.
12654 (j1_test_data): Likewise.
12655 (jn_test_data): Likewise.
12656 (ldexp_test_data): Likewise.
12657 (lgamma_test_data): Likewise.
12658 (lrint_test_data): Likewise.
12659 (lrint_tonearest_test_data): Likewise.
12660 (lrint_towardzero_test_data): Likewise.
12661 (lrint_downward_test_data): Likewise.
12662 (lrint_upward_test_data): Likewise.
12663 (llrint_test_data): Likewise.
12664 (llrint_tonearest_test_data): Likewise.
12665 (llrint_towardzero_test_data): Likewise.
12666 (llrint_downward_test_data): Likewise.
12667 (llrint_upward_test_data): Likewise.
12668 (log_test_data): Likewise.
12669 (log10_test_data): Likewise.
12670 (log1p_test_data): Likewise.
12671 (log2_test_data): Likewise.
12672 (logb_test_data): Likewise.
12673 (logb_downward_test_data): Likewise.
12674 (lround_test_data): Likewise.
12675 (llround_test_data): Likewise.
12676 (modf_test_data): Likewise.
12677 (nearbyint_test_data): Likewise.
12678 (nextafter_test_data): Likewise.
12679 (nexttoward_test_data): Likewise.
12680 (pow_test_data): Likewise.
12681 (pow_tonearest_test_data): Likewise.
12682 (pow_towardzero_test_data): Likewise.
12683 (pow_downward_test_data): Likewise.
12684 (pow_upward_test_data): Likewise.
12685 (remainder_test_data): Likewise.
12686 (remainder_tonearest_test_data): Likewise.
12687 (remainder_towardzero_test_data): Likewise.
12688 (remainder_downward_test_data): Likewise.
12689 (remainder_upward_test_data): Likewise.
12690 (remquo_test_data): Likewise.
12691 (rint_test_data): Likewise.
12692 (rint_tonearest_test_data): Likewise.
12693 (rint_towardzero_test_data): Likewise.
12694 (rint_downward_test_data): Likewise.
12695 (rint_upward_test_data): Likewise.
12696 (round_test_data): Likewise.
12697 (scalb_test_data): Likewise.
12698 (scalbn_test_data): Likewise.
12699 (scalbln_test_data): Likewise.
12700 (signbit_test_data): Likewise.
12701 (sin_test_data): Likewise.
12702 (sin_tonearest_test_data): Likewise.
12703 (sin_towardzero_test_data): Likewise.
12704 (sin_downward_test_data): Likewise.
12705 (sin_upward_test_data): Likewise.
12706 (sincos_test_data): Likewise.
12707 (sinh_test_data): Likewise.
12708 (sinh_tonearest_test_data): Likewise.
12709 (sinh_towardzero_test_data): Likewise.
12710 (sinh_downward_test_data): Likewise.
12711 (sinh_upward_test_data): Likewise.
12712 (sqrt_test_data): Likewise.
12713 (tan_test_data): Likewise.
12714 (tan_tonearest_test_data): Likewise.
12715 (tan_towardzero_test_data): Likewise.
12716 (tan_downward_test_data): Likewise.
12717 (tan_upward_test_data): Likewise.
12718 (tanh_test_data): Likewise.
12719 (tgamma_test_data): Likewise.
12720 (trunc_test_data): Likewise.
12721 (y0_test_data): Likewise.
12722 (y1_test_data): Likewise.
12723 (yn_test_data): Likewise.
12724 (significand_test_data): Likewise.
12725
b679a606
JM
12726 * math/gen-libm-test.pl (@functions): Remove variable.
12727 (generate_testfile): Don't handle START and END lines.
12728 * math/libm-test.inc (START): New macro.
12729 (END): Likewise.
12730 (END_COMPLEX): Likewise.
12731 (acos_test): Use END macro without arguments.
12732 (acos_test_tonearest): Likewise.
12733 (acos_test_towardzero): Likewise.
12734 (acos_test_downward): Likewise.
12735 (acos_test_upward): Likewise.
12736 (acosh_test): Likewise.
12737 (asin_test): Likewise.
12738 (asin_test_tonearest): Likewise.
12739 (asin_test_towardzero): Likewise.
12740 (asin_test_downward): Likewise.
12741 (asin_test_upward): Likewise.
12742 (asinh_test): Likewise.
12743 (atan_test): Likewise.
12744 (atanh_test): Likewise.
12745 (atan2_test): Likewise.
12746 (cabs_test): Likewise.
12747 (cacos_test): Use END_COMPLEX macro without arguments.
12748 (cacosh_test): Likewise.
12749 (carg_test): Use END macro without arguments.
12750 (casin_test): Use END_COMPLEX macro without arguments.
12751 (casinh_test): Likewise.
12752 (catan_test): Likewise.
12753 (catanh_test): Likewise.
12754 (cbrt_test): Use END macro without arguments.
12755 (ccos_test): Use END_COMPLEX macro without arguments.
12756 (ccosh_test): Likewise.
12757 (ceil_test): Use END macro without arguments.
12758 (cexp_test): Use END_COMPLEX macro without arguments.
12759 (cimag_test): Use END macro without arguments.
12760 (clog_test): Use END_COMPLEX macro without arguments.
12761 (clog10_test): Likewise.
12762 (conj_test): Likewise.
12763 (copysign_test): Use END macro without arguments.
12764 (cos_test): Likewise.
12765 (cos_test_tonearest): Likewise.
12766 (cos_test_towardzero): Likewise.
12767 (cos_test_downward): Likewise.
12768 (cos_test_upward): Likewise.
12769 (cosh_test): Likewise.
12770 (cosh_test_tonearest): Likewise.
12771 (cosh_test_towardzero): Likewise.
12772 (cosh_test_downward): Likewise.
12773 (cosh_test_upward): Likewise.
12774 (cpow_test): Use END_COMPLEX macro without arguments.
12775 (cproj_test): Likewise.
12776 (creal_test): Use END macro without arguments.
12777 (csin_test): Use END_COMPLEX macro without arguments.
12778 (csinh_test): Likewise.
12779 (csqrt_test): Likewise.
12780 (ctan_test): Likewise.
12781 (ctan_test_tonearest): Likewise.
12782 (ctan_test_towardzero): Likewise.
12783 (ctan_test_downward): Likewise.
12784 (ctan_test_upward): Likewise.
12785 (ctanh_test): Likewise.
12786 (ctanh_test_tonearest): Likewise.
12787 (ctanh_test_towardzero): Likewise.
12788 (ctanh_test_downward): Likewise.
12789 (ctanh_test_upward): Likewise.
12790 (erf_test): Use END macro without arguments.
12791 (erfc_test): Likewise.
12792 (exp_test): Likewise.
12793 (exp_test_tonearest): Likewise.
12794 (exp_test_towardzero): Likewise.
12795 (exp_test_downward): Likewise.
12796 (exp_test_upward): Likewise.
12797 (exp10_test): Likewise.
12798 (exp2_test): Likewise.
12799 (expm1_test): Likewise.
12800 (fabs_test): Likewise.
12801 (fdim_test): Likewise.
12802 (finite_test): Likewise.
12803 (floor_test): Likewise.
12804 (fma_test): Likewise.
12805 (fma_test_towardzero): Likewise.
12806 (fma_test_downward): Likewise.
12807 (fma_test_upward): Likewise.
12808 (fmax_test): Likewise.
12809 (fmin_test): Likewise.
12810 (fmod_test): Likewise.
12811 (fpclassify_test): Likewise.
12812 (frexp_test): Likewise.
12813 (gamma_test): Likewise.
12814 (hypot_test): Likewise.
12815 (ilogb_test): Likewise.
12816 (isfinite_test): Likewise.
12817 (isgreater_test): Likewise.
12818 (isgreaterequal_test): Likewise.
12819 (isinf_test): Likewise.
12820 (isless_test): Likewise.
12821 (islessequal_test): Likewise.
12822 (islessgreater_test): Likewise.
12823 (isnan_test): Likewise.
12824 (isnormal_test): Likewise.
12825 (issignaling_test): Likewise.
12826 (isunordered_test): Likewise.
12827 (j0_test): Likewise.
12828 (j1_test): Likewise.
12829 (jn_test): Likewise.
12830 (ldexp_test): Likewise.
12831 (lgamma_test): Likewise.
12832 (lrint_test): Likewise.
12833 (lrint_test_tonearest): Likewise.
12834 (lrint_test_towardzero): Likewise.
12835 (lrint_test_downward): Likewise.
12836 (lrint_test_upward): Likewise.
12837 (llrint_test): Likewise.
12838 (llrint_test_tonearest): Likewise.
12839 (llrint_test_towardzero): Likewise.
12840 (llrint_test_downward): Likewise.
12841 (llrint_test_upward): Likewise.
12842 (log_test): Likewise.
12843 (log10_test): Likewise.
12844 (log1p_test): Likewise.
12845 (log2_test): Likewise.
12846 (logb_test): Likewise.
12847 (logb_test_downward): Likewise.
12848 (lround_test): Likewise.
12849 (llround_test): Likewise.
12850 (modf_test): Likewise.
12851 (nearbyint_test): Likewise.
12852 (nextafter_test): Likewise.
12853 (nexttoward_test): Likewise.
12854 (pow_test): Likewise.
12855 (pow_test_tonearest): Likewise.
12856 (pow_test_towardzero): Likewise.
12857 (pow_test_downward): Likewise.
12858 (pow_test_upward): Likewise.
12859 (remainder_test): Likewise.
12860 (remainder_test_tonearest): Likewise.
12861 (remainder_test_towardzero): Likewise.
12862 (remainder_test_downward): Likewise.
12863 (remainder_test_upward): Likewise.
12864 (remquo_test): Likewise.
12865 (rint_test): Likewise.
12866 (rint_test_tonearest): Likewise.
12867 (rint_test_towardzero): Likewise.
12868 (rint_test_downward): Likewise.
12869 (rint_test_upward): Likewise.
12870 (round_test): Likewise.
12871 (scalb_test): Likewise.
12872 (scalbn_test): Likewise.
12873 (scalbln_test): Likewise.
12874 (signbit_test): Likewise.
12875 (sin_test): Likewise.
12876 (sin_test_tonearest): Likewise.
12877 (sin_test_towardzero): Likewise.
12878 (sin_test_downward): Likewise.
12879 (sin_test_upward): Likewise.
12880 (sincos_test): Likewise.
12881 (sinh_test): Likewise.
12882 (sinh_test_tonearest): Likewise.
12883 (sinh_test_towardzero): Likewise.
12884 (sinh_test_downward): Likewise.
12885 (sinh_test_upward): Likewise.
12886 (sqrt_test): Likewise.
12887 (tan_test): Likewise.
12888 (tan_test_tonearest): Likewise.
12889 (tan_test_towardzero): Likewise.
12890 (tan_test_downward): Likewise.
12891 (tan_test_upward): Likewise.
12892 (tanh_test): Likewise.
12893 (tgamma_test): Likewise.
12894 (trunc_test): Likewise.
12895 (y0_test): Likewise.
12896 (y1_test): Likewise.
12897 (yn_test): Likewise.
12898 (significand_test): Likewise.
12899
bae143d2
OB
129002013-05-24 Ondřej Bílka <neleai@seznam.cz>
12901
12902 [BZ #15381]
12903 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12904
9323d39b
EM
129052013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12906
d4ea44a0 12907 [BZ #14894]
9323d39b
EM
12908 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12909 __ppc_mdoio and __ppc_mdoom.
12910 * manual/platform.texi: Document new functions __ppc_yield,
12911 __ppc_mdoio and __ppc_mdoom.
12912
13e23af7
CD
129132013-05-22 Carlos O'Donell <carlos@redhat.com>
12914
12915 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12916 (main): Mention "tls" pseudo-hwcap is legacy.
12917 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12918
351fe550
JM
129192013-05-22 Joseph Myers <joseph@codesourcery.com>
12920
12921 * math/gen-libm-test.pl (parse_args): Output only string of
12922 arguments as text for test name, not full call or descriptions of
12923 tests for extra outputs.
12924 (generate_testfile): Do not pass function name to parse_args.
12925 Generate this_func variable from START.
12926 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12927 field to arg_str.
12928 (struct test_ff_f_data): Likewise.
12929 (test_ff_f_data_nexttoward): Likewise.
12930 (struct test_fi_f_data): Likewise.
12931 (struct test_fl_f_data): Likewise.
12932 (struct test_if_f_data): Likewise.
12933 (struct test_fff_f_data): Likewise.
12934 (struct test_c_f_data): Likewise.
12935 (struct test_f_f1_data): Likewise. Remove field extra_name.
12936 (struct test_fF_f1_data): Likewise.
12937 (struct test_ffI_f1_data): Likewise.
12938 (struct test_c_c_data): Rename test_name field to arg_str.
12939 (struct test_cc_c_data): Likewise.
12940 (struct test_f_i_data): Likewise.
12941 (struct test_ff_i_data): Likewise.
12942 (struct test_f_l_data): Likewise.
12943 (struct test_f_L_data): Likewise.
12944 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12945 and extra2_name.
12946 (COMMON_TEST_SETUP): New macro.
12947 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12948 (COMMON_TEST_CLEANUP): Likewise.
12949 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12950 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12951 macros.
12952 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12953 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12954 macros.
12955 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12956 (RUN_TEST_fff_f): Take argument string. Call new setup and
12957 cleanup macros.
12958 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12959 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12960 macros.
12961 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12962 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12963 macros.
12964 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12965 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12966 cleanup macros.
12967 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12968 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12969 cleanup macros.
12970 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12971 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12972 cleanup macros.
12973 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12974 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12975 macros.
12976 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12977 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12978 macros.
12979 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12980 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12981 macros.
12982 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12983 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12984 cleanup macros.
12985 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12986 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12987 cleanup macros.
12988 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12989 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12990 macros.
12991 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12992 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12993 cleanup macros.
12994 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12995 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12996 macros.
12997 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12998 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12999 macros.
13000 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13001 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13002 cleanup macros.
13003 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13004
85118d4d
EBM
130052013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13006
13007 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13008 to _sifields.sigfault.
13009 (si_addr_lsb): Define new macro.
13010 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13012 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13013
7a44c18f
CD
130142013-05-03 Carlos O'Donell <carlos at redhat.com>
13015
13016 [BZ #15441]
13017 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13018 returns -1.
13019 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13020 null return -1.
13021 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13022 loading the domain.
13023
b50a7181
JM
130242013-05-22 Joseph Myers <joseph@codesourcery.com>
13025
13026 * math/gen-libm-test.pl (parse_args): Do not include expected
13027 result in test name.
13028 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13030 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13031 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13032 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13034
051063c8
SP
130352013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13036
3ce9e010
SP
13037 * benchtests/Makefile: Sort function entries.
13038
051063c8
SP
13039 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13040 tanh, asinh, acosh, atanh.
13041 * benchtests/acos-inputs: New file.
13042 * benchtests/acosh-inputs: New file.
13043 * benchtests/asin-inputs: New file.
13044 * benchtests/asinh-inputs: New file.
13045 * benchtests/atanh-inputs: New file.
13046 * benchtests/cosh-inputs: New file.
13047 * benchtests/log-inputs: New file.
13048 * benchtests/sinh-inputs: New file.
13049 * benchtests/tanh-inputs: New file.
13050
47c22455
DL
130512013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13052
13053 [BZ #15339]
13054 * posix/tst-getaddrinfo4.c: New test.
13055 * posix/Makefile (tests): Add it.
13056
3d04f5db
SP
130572013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13058
13059 [BZ #15339]
13060 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13061 when no services were used.
13062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13063 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13064
d5dd6189
AS
130652013-05-21 Andreas Schwab <schwab@suse.de>
13066
13067 [BZ #15014]
13068 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13069 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13070 successful.
13071 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13072 redundant variable declarations and reallocation of buffer when
13073 parsing as IPv6 address. Always set NSS status when called from
13074 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13075 buffer too small. Correct computation of needed size.
13076 * nss/Makefile (tests): Add test-digits-dots.
13077 * nss/test-digits-dots.c: New test.
13078
fef94eab
SP
130792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13080
13081 * benchtests/Makefile: Remove instructions for adding
13082 benchmark tests.
13083 * benchtests/README: New file to explain how to execute and
13084 enhance the benchmark tests.
13085
e39adf43
AS
130862013-05-21 Andreas Schwab <schwab@suse.de>
13087
13088 [BZ #15493]
13089 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13090 * setjmp/tst-sigsetjmp.c: New test.
13091
b2b671b6
OB
130922013-05-20 Ondřej Bílka <neleai@seznam.cz>
13093
13094 * sysdeps/x86_64/memset.S (memset): New implementation.
13095 (__bzero): Likewise.
13096 (__memset_tail): New function.
13097
2d48b41c
OB
130982013-05-20 Ondřej Bílka <neleai@seznam.cz>
13099
13100 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13101 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13102 __memcpy_sse2_unaligned ifunc selection.
13103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13104 Add memcpy-sse2-unaligned.S.
13105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13106 Add: __memcpy_sse2_unaligned.
13107
f16cc3eb
JM
131082013-05-19 Joseph Myers <joseph@codesourcery.com>
13109
3e694268
JM
13110 [BZ #15490]
13111 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13112 math_force_eval before restoring floating-point envrionment.
13113 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13115 Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13117 <math_private.h>.
13118 (__nearbyintl): Use math_force_eval before restoring
13119 floating-point environment.
13120 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13121
db62a907
JM
13122 * math/gen-libm-test.pl (special_functions): Remove.
13123 (parse_args): Don't handle TEST_extra. Handle functions with no
13124 return value.
13125 * math/libm-test.inc (struct test_sincos_data): Replace with
13126 struct test_fFF_11_data.
13127 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13128 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13129 (sincos_test_data): Change element type to struct
13130 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13131 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13132 RUN_TEST_LOOP_sincos.
13133 * math/README.libm-test: Don't mention special handling of
13134 individual functions.
13135 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13136 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13137 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13138 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13139 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13141
f16cc3eb
JM
13142 * math/gen-libm-test.pl (get_variable): Remove function.
13143 (parse_args): Don't show pointer parameters to call in test
13144 names. Use "extra output N" in test names for extra outputs
13145 rather than naming variables.
13146
3779b5b6
JM
131472013-05-18 Joseph Myers <joseph@codesourcery.com>
13148
2ee094ff
JM
13149 [BZ #15488]
13150 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13151 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13152 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13153 double tests.
13154 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13155 disable.
13156 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13157 check_long_double.
13158
3779b5b6
JM
13159 * math/gen-libm-test.pl (@tests): Remove variable.
13160 ($count): Likewise.
13161 (new_test): Remove function.
13162 (show_exceptions): New function.
13163 (special_functions): Use show_exceptions instead of new_test.
13164 (parse_args): Likewise.
13165 (generate_testfile): Pass only function name in generated call to
13166 print_max_error or print_complex_max_error.
13167 (get_ulps): Do not handle complex tests specially.
13168 (output_test): Rename to ...
13169 (get_all_ulps_for_test): ... this. Return a string rather than
13170 printing to a file. Require ulps to be present.
13171 (output_ulps): Generate arrays rather than #defines.
13172 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13173 (struct ulp_data): New type.
13174 (BUILD_COMPLEX_ULP): Remove macro.
13175 (compare_ulp_data): New function.
13176 (find_ulps): Likewise.
13177 (find_test_ulps): Likewise.
13178 (find_function_ulps): Likewise.
13179 (find_complex_function_ulps): Likewise.
13180 (print_max_error): Determine allowed ulps using
13181 find_function_ulps.
13182 (print_complex_max_error): Determine allowed ulps using
13183 find_complex_function_ulps.
13184 (check_float_internal): Determine max ulps using find_test_ulps.
13185 (check_float): Do not take max_ulp parameter. Update call to
13186 check_float_internal.
13187 (check_complex): Likewise.
13188 (check_int): Do not take max_ulp parameter.
13189 (check_long): Likewise.
13190 (check_bool): Likewise.
13191 (check_longlong): Likewise.
13192 (struct test_f_f_data): Remove max_ulp field.
13193 (struct test_ff_f_data): Likewise.
13194 (struct test_ff_f_data_nexttoward): Likewise.
13195 (struct test_fi_f_data): Likewise.
13196 (struct test_fl_f_data): Likewise.
13197 (struct test_if_f_data): Likewise.
13198 (struct test_fff_f_data): Likewise.
13199 (struct test_c_f_data): Likewise.
13200 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13201 (struct test_fF_f1_data): Likewise.
13202 (struct test_ffI_f1_data): Likewise.
13203 (struct test_c_c_data): Remove max_ulp field.
13204 (struct test_cc_c_data): Likewise.
13205 (struct test_f_i_data): Likewise.
13206 (struct test_ff_i_data): Likewise.
13207 (struct test_f_l_data): Likewise.
13208 (struct test_f_L_data): Likewise.
13209 (struct test_sincos_data): Likewise.
13210 (RUN_TEST_f_f): Do not handle ulps.
13211 (RUN_TEST_LOOP_f_f): Likewise.
13212 (RUN_TEST_2_f): Likewise.
13213 (RUN_TEST_LOOP_2_f): Likewise.
13214 (RUN_TEST_fff_f): Likewise.
13215 (RUN_TEST_LOOP_fff_f): Likewise.
13216 (RUN_TEST_c_f): Likewise.
13217 (RUN_TEST_LOOP_c_f): Likewise.
13218 (RUN_TEST_f_f1): Likewise.
13219 (RUN_TEST_LOOP_f_f1): Likewise.
13220 (RUN_TEST_fF_f1): Likewise.
13221 (RUN_TEST_LOOP_fF_f1): Likewise.
13222 (RUN_TEST_fI_f1): Likewise.
13223 (RUN_TEST_LOOP_fI_f1): Likewise.
13224 (RUN_TEST_ffI_f1): Likewise.
13225 (RUN_TEST_LOOP_ffI_f1): Likewise.
13226 (RUN_TEST_c_c): Likewise.
13227 (RUN_TEST_LOOP_c_c): Likewise.
13228 (RUN_TEST_cc_c): Likewise.
13229 (RUN_TEST_LOOP_cc_c): Likewise.
13230 (RUN_TEST_f_i): Likewise.
13231 (RUN_TEST_LOOP_f_i): Likewise.
13232 (RUN_TEST_f_i_tg): Likewise.
13233 (RUN_TEST_LOOP_f_i_tg): Likewise.
13234 (RUN_TEST_ff_i_tg): Likewise.
13235 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13236 (RUN_TEST_f_b): Likewise.
13237 (RUN_TEST_LOOP_f_b): Likewise.
13238 (RUN_TEST_f_b_tg): Likewise.
13239 (RUN_TEST_LOOP_f_b_tg): Likewise.
13240 (RUN_TEST_f_l): Likewise.
13241 (RUN_TEST_LOOP_f_l): Likewise.
13242 (RUN_TEST_f_L): Likewise.
13243 (RUN_TEST_LOOP_f_L): Likewise.
13244 (RUN_TEST_sincos): Likewise.
13245 (RUN_TEST_LOOP_sincos): Likewise.
13246
8269107f
JM
132472013-05-17 Joseph Myers <joseph@codesourcery.com>
13248
bb38759d
JM
13249 [BZ #15480]
13250 [BZ #15485]
13251 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13252 main case of finite arguments, set rounding mode to FE_TONEAREST
13253 and discard exceptions.
13254 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13255 exceptions.
13256 (remainder_tonearest_test_data): New variable.
13257 (remainder_test_tonearest): New function.
13258 (remainder_towardzero_test_data): New variable.
13259 (remainder_test_towardzero): New function.
13260 (remainder_downward_test_data): New variable.
13261 (remainder_test_downward): New function.
13262 (remainder_upward_test_data): New variable.
13263 (remainder_test_upward): New function.
13264 (main): Call the new test functions.
13265
a00bdcf0
JM
13266 * math/libm-test.inc (struct test_f_f1_data): Remove field
13267 extra_init.
13268 (struct test_fF_f1_data): Likewise.
13269 (struct test_ffI_f1_data): Likewise.
13270 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13271 based on value of EXTRA_EXPECTED.
13272 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13273 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13274 EXTRA_VAR based on value of EXTRA_EXPECTED.
13275 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13276 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13277 EXTRA_VAR based on value of EXTRA_EXPECTED.
13278 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13279 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13280 EXTRA_VAR based on value of EXTRA_EXPECTED.
13281 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13282 * math/gen-libm-test.pl (parse_args): Don't output initializers
13283 for extra output values.
13284
de407f79
JM
13285 * math/libm-test.inc (check_int): Expect result to be exactly
13286 equal to expected value and do not handle ulps.
13287 (check_long): Likewise.
13288 (check_longlong): Likewise.
13289
8269107f
JM
13290 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13291 exceptions.
13292 (cimag_test_data): Likewise.
13293 (conj_test_data): Likewise.
13294 (copysign_test_data): Likewise.
13295 (cproj_test_data): Likewise.
13296 (creal_test_data): Likewise.
13297 (fabs_test_data): Likewise.
13298 (fdim_test_data): Likewise.
13299 (finite_test_data): Likewise.
13300 (floor_test_data): Likewise.
13301 (fmax_test_data): Likewise.
13302 (fmin_test_data): Likewise.
13303 (fmod_test_data): Likewise.
13304 (fpclassify_test_data): Likewise.
13305 (frexp_test_data): Likewise.
13306 (ilogb_test_data): Likewise.
13307 (isfinite_test_data): Likewise.
13308 (isgreater_test_data): Likewise.
13309 (isgreaterequal_test_data): Likewise.
13310 (isinf_test_data): Likewise.
13311 (isless_test_data): Likewise.
13312 (islessequal_test_data): Likewise.
13313 (islessgreater_test_data): Likewise.
13314 (isnan_test_data): Likewise.
13315 (isnormal_test_data): Likewise.
13316 (issignaling_test_data): Likewise.
13317 (isunordered_test_data): Likewise.
13318 (ldexp_test_data): Likewise.
13319 (lrint_test_data): Likewise.
13320 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13321 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13322 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13323 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13324 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13325 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13326 test input.
13327 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13328 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13329 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13330 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13331 that test input.
13332 (lrint_downward_test_data): Test for "inexact" exceptions.
13333 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13334 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13335 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13336 test input.
13337 (lrint_upward_test_data): Test for "inexact" exceptions.
13338 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13339 test input.
13340 (llrint_test_data): Test for "inexact" exceptions.
13341 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13342 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13343 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13344 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13345 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13346 (llrint_downward_test_data): Test for "inexact" exceptions.
13347 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13348 (llrint_upward_test_data): Test for "inexact" exceptions.
13349 (logb_test_data): Likewise.
13350 (logb_downward_test_data): Likewise.
13351 (nextafter_test_data): Likewise.
13352 (nexttoward_test_data): Likewise.
13353 (remainder_test_data): Likewise.
13354 (remquo_test_data): Likewise.
13355 (scalbn_test_data): Likewise.
13356 (scalbln_test_data): Likewise.
13357 (signbit_test_data): Likewise.
13358 (sqrt_test_data): Likewise.
13359 (significand_test_data): Likewise.
13360
48a18de1
SP
133612013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13362
13363 [BZ #15424]
13364 * benchtests/bench-modf.c (struct args): Mark arg0 as
13365 volatile.
13366 * scripts/bench.pl: Mark members of struct args as volatile.
13367
13d3b41a
AZ
133682013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13369
68191c1d 13370 [BZ # 15497]
13d3b41a
AZ
13371 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13372 negative infinity on POWER6 or lower.
13373 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13374
2848b105
MR
133752013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13376
13377 [BZ #15442]
13378 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13379 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13380 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13381 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13382 (_FP_SETQNAN): New macro.
13383 (_FP_SETQNAN_SEMIRAW): Likewise.
13384 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13385 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13386 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13387 (FP_EXTEND): Use _FP_FRAC_SNANP.
13388 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13389 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13390 into account.
13391 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13392 New macro.
13393 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13394 Likewise.
13395
323e5cb7
JM
133962013-05-16 Joseph Myers <joseph@codesourcery.com>
13397
c58b274f
JM
13398 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13399 with DIVIDE_BY_ZERO_EXCEPTION.
13400 (gamma_test_data): Likewise.
13401 (lgamma_test_data): Likewise.
13402 (log_test_data): Likewise.
13403 (log10_test_data): Likewise.
13404 (log2_test_data): Likewise.
13405 (tgamma_test_data): Likewise.
13406
0ab34904
JM
13407 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13408 (acos_test_tonearest): Likewise.
13409 (acos_test_towardzero): Likewise.
13410 (acos_test_downward): Likewise.
13411 (acos_test_upward): Likewise.
13412 (acosh_test): Likewise.
13413 (asin_test): Likewise.
13414 (asin_test_tonearest): Likewise.
13415 (asin_test_towardzero): Likewise.
13416 (asin_test_downward): Likewise.
13417 (asin_test_upward): Likewise.
13418 (asinh_test): Likewise.
13419 (atan_test): Likewise.
13420 (atanh_test): Likewise.
13421 (atan2_test): Likewise.
13422 (cabs_test): Likewise.
13423 (cacos_test): Likewise.
13424 (cacosh_test): Likewise.
13425 (casin_test): Likewise.
13426 (casinh_test): Likewise.
13427 (catan_test): Likewise.
13428 (catanh_test): Likewise.
13429 (cbrt_test): Likewise.
13430 (ccos_test): Likewise.
13431 (ccosh_test): Likewise.
13432 (cexp_test): Likewise.
13433 (clog_test): Likewise.
13434 (clog10_test): Likewise.
13435 (cos_test): Likewise.
13436 (cos_test_tonearest): Likewise.
13437 (cos_test_towardzero): Likewise.
13438 (cos_test_downward): Likewise.
13439 (cos_test_upward): Likewise.
13440 (cosh_test): Likewise.
13441 (cosh_test_tonearest): Likewise.
13442 (cosh_test_towardzero): Likewise.
13443 (cosh_test_downward): Likewise.
13444 (cosh_test_upward): Likewise.
13445 (cpow_test): Likewise.
13446 (csin_test): Likewise.
13447 (csinh_test): Likewise.
13448 (csqrt_test): Likewise.
13449 (ctan_test): Likewise.
13450 (ctan_test_tonearest): Likewise.
13451 (ctan_test_towardzero): Likewise.
13452 (ctan_test_downward): Likewise.
13453 (ctan_test_upward): Likewise.
13454 (ctanh_test): Likewise.
13455 (ctanh_test_tonearest): Likewise.
13456 (ctanh_test_towardzero): Likewise.
13457 (ctanh_test_downward): Likewise.
13458 (ctanh_test_upward): Likewise.
13459 (erf_test): Likewise.
13460 (erfc_test): Likewise.
13461 (exp_test): Likewise.
13462 (exp_test_tonearest): Likewise.
13463 (exp_test_towardzero): Likewise.
13464 (exp_test_downward): Likewise.
13465 (exp_test_upward): Likewise.
13466 (exp10_test): Likewise.
13467 (exp2_test): Likewise.
13468 (expm1_test): Likewise.
13469 (fmod_test): Likewise.
13470 (gamma_test): Likewise.
13471 (hypot_test): Likewise.
13472 (j0_test): Likewise.
13473 (j1_test): Likewise.
13474 (jn_test): Likewise.
13475 (lgamma_test): Likewise.
13476 (log_test): Likewise.
13477 (log10_test): Likewise.
13478 (log1p_test): Likewise.
13479 (log2_test): Likewise.
13480 (logb_test_downward): Likewise.
13481 (pow_test): Likewise.
13482 (pow_test_tonearest): Likewise.
13483 (pow_test_towardzero): Likewise.
13484 (pow_test_downward): Likewise.
13485 (pow_test_upward): Likewise.
13486 (remainder_test): Likewise.
13487 (remquo_test): Likewise.
13488 (sin_test): Likewise.
13489 (sin_test_tonearest): Likewise.
13490 (sin_test_towardzero): Likewise.
13491 (sin_test_downward): Likewise.
13492 (sin_test_upward): Likewise.
13493 (sincos_test): Likewise.
13494 (sinh_test): Likewise.
13495 (sinh_test_tonearest): Likewise.
13496 (sinh_test_towardzero): Likewise.
13497 (sinh_test_downward): Likewise.
13498 (sinh_test_upward): Likewise.
13499 (sqrt_test): Likewise.
13500 (tan_test): Likewise.
13501 (tan_test_tonearest): Likewise.
13502 (tan_test_towardzero): Likewise.
13503 (tan_test_downward): Likewise.
13504 (tan_test_upward): Likewise.
13505 (tanh_test): Likewise.
13506 (tgamma_test): Likewise.
13507 (y0_test): Likewise.
13508 (y1_test): Likewise.
13509 (yn_test): Likewise.
13510
323e5cb7
JM
13511 * math/gen-libm-test.pl (adjust_arg): Remove function.
13512 (special_function): Remove argument $in_func. Only handle
13513 generating output for tables of tests, not inside functions.
13514 (parse_args): Likewise.
13515 (generate_testfile): Remove variable $in_func. Update call to
13516 parse_args.
13517 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13518 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13519 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13520 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13521 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13522 (MAX_VALUE_INIT): Rename macro to max_value.
13523 (MIN_VALUE_INIT): Rename macro to min_value.
13524 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13525 (plus_zero): Remove variable.
13526 (minus_zero): Likewise.
13527 (plus_infty): Likewise.
13528 (minus_infty): Likewise.
13529 (qnan_value): Likewise.
13530 (max_value): Likewise.
13531 (min_value): Likewise.
13532 (min_subnorm_value): Likewise.
13533
e054f494
RA
135342013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13535
13536 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13537 uint64_t or uint32_t usage.
13538 * crypt/sha256-block.c: Likewise.
13539 * crypt/sha256-crypt.c: Likewise.
13540 * crypt/sha256.c: Likewise.
13541 * crypt/sha512-block.c: Likewise.
13542 * crypt/sha512-crypt.c: Likewise.
13543 * crypt/sha512.c: Likewise.
13544 * debug/backtrace-tst.c: Likewise.
13545 * debug/pcprofiledump.c: Likewise.
13546 * elf/cache.c: Likewise.
13547 * elf/dl-cache.c: Likewise.
13548 * elf/dl-misc.c: Likewise.
13549 * elf/dl-profile.c: Likewise.
13550 * elf/dl-support.c: Likewise.
13551 * elf/ldconfig.c: Likewise.
13552 * elf/sprof.c: Likewise.
13553 * iconv/dummy-repertoire.c: Likewise.
13554 * iconv/iconv_charmap.c: Likewise.
13555 * iconv/skeleton.c: Likewise.
13556 * iconvdata/8bit-generic.c: Likewise.
13557 * iconvdata/cp737.h: Likewise.
13558 * iconvdata/cp775.h: Likewise.
13559 * iconvdata/ibm1008.h: Likewise.
13560 * iconvdata/ibm1025.h: Likewise.
13561 * iconvdata/ibm1046.h: Likewise.
13562 * iconvdata/ibm1097.h: Likewise.
13563 * iconvdata/ibm1112.h: Likewise.
13564 * iconvdata/ibm1122.h: Likewise.
13565 * iconvdata/ibm1123.h: Likewise.
13566 * iconvdata/ibm1124.h: Likewise.
13567 * iconvdata/ibm1129.h: Likewise.
13568 * iconvdata/ibm1130.h: Likewise.
13569 * iconvdata/ibm1132.h: Likewise.
13570 * iconvdata/ibm1133.h: Likewise.
13571 * iconvdata/ibm1137.h: Likewise.
13572 * iconvdata/ibm1140.h: Likewise.
13573 * iconvdata/ibm1141.h: Likewise.
13574 * iconvdata/ibm1142.h: Likewise.
13575 * iconvdata/ibm1143.h: Likewise.
13576 * iconvdata/ibm1144.h: Likewise.
13577 * iconvdata/ibm1145.h: Likewise.
13578 * iconvdata/ibm1146.h: Likewise.
13579 * iconvdata/ibm1147.h: Likewise.
13580 * iconvdata/ibm1148.h: Likewise.
13581 * iconvdata/ibm1149.h: Likewise.
13582 * iconvdata/ibm1153.h: Likewise.
13583 * iconvdata/ibm1154.h: Likewise.
13584 * iconvdata/ibm1155.h: Likewise.
13585 * iconvdata/ibm1156.h: Likewise.
13586 * iconvdata/ibm1157.h: Likewise.
13587 * iconvdata/ibm1158.h: Likewise.
13588 * iconvdata/ibm1160.h: Likewise.
13589 * iconvdata/ibm1161.h: Likewise.
13590 * iconvdata/ibm1162.h: Likewise.
13591 * iconvdata/ibm1163.h: Likewise.
13592 * iconvdata/ibm1164.h: Likewise.
13593 * iconvdata/ibm1166.h: Likewise.
13594 * iconvdata/ibm1167.h: Likewise.
13595 * iconvdata/ibm12712.h: Likewise.
13596 * iconvdata/ibm1390.h: Likewise.
13597 * iconvdata/ibm1399.h: Likewise.
13598 * iconvdata/ibm16804.h: Likewise.
13599 * iconvdata/ibm4517.h: Likewise.
13600 * iconvdata/ibm4899.h: Likewise.
13601 * iconvdata/ibm4909.h: Likewise.
13602 * iconvdata/ibm4971.h: Likewise.
13603 * iconvdata/ibm5347.h: Likewise.
13604 * iconvdata/ibm803.h: Likewise.
13605 * iconvdata/ibm856.h: Likewise.
13606 * iconvdata/ibm901.h: Likewise.
13607 * iconvdata/ibm902.h: Likewise.
13608 * iconvdata/ibm9030.h: Likewise.
13609 * iconvdata/ibm9066.h: Likewise.
13610 * iconvdata/ibm921.h: Likewise.
13611 * iconvdata/ibm922.h: Likewise.
13612 * iconvdata/ibm9448.h: Likewise.
13613 * iconvdata/isiri-3342.h: Likewise.
13614 * iconvdata/jis0201.h: Likewise.
13615 * include/link.h: Likewise.
13616 * include/netdb.h: Likewise.
13617 * inet/check_native.c: Likewise.
13618 * inet/check_pf.c: Likewise.
13619 * inet/getipv4sourcefilter.c: Likewise.
13620 * inet/getnameinfo.c: Likewise.
13621 * inet/getsourcefilter.c: Likewise.
13622 * inet/htonl.c: Likewise.
13623 * inet/setipv4sourcefilter.c: Likewise.
13624 * inet/setsourcefilter.c: Likewise.
13625 * inet/test-inet6_opt.c: Likewise.
13626 * inet/tst-network.c: Likewise.
13627 * locale/C-collate.c: Likewise.
13628 * locale/C-ctype.c: Likewise.
13629 * locale/C-time.c: Likewise.
13630 * locale/C-translit.h: Likewise.
13631 * locale/loadarchive.c: Likewise.
13632 * locale/programs/3level.h: Likewise.
13633 * locale/programs/charmap.c: Likewise.
13634 * locale/programs/charmap.h: Likewise.
13635 * locale/programs/ld-address.c: Likewise.
13636 * locale/programs/ld-collate.c: Likewise.
13637 * locale/programs/ld-ctype.c: Likewise.
13638 * locale/programs/ld-identification.c: Likewise.
13639 * locale/programs/ld-measurement.c: Likewise.
13640 * locale/programs/ld-messages.c: Likewise.
13641 * locale/programs/ld-monetary.c: Likewise.
13642 * locale/programs/ld-name.c: Likewise.
13643 * locale/programs/ld-numeric.c: Likewise.
13644 * locale/programs/ld-paper.c: Likewise.
13645 * locale/programs/ld-telephone.c: Likewise.
13646 * locale/programs/ld-time.c: Likewise.
13647 * locale/programs/linereader.c: Likewise.
13648 * locale/programs/locale.c: Likewise.
13649 * locale/programs/locarchive.c: Likewise.
13650 * locale/programs/locfile.h: Likewise.
13651 * locale/programs/repertoire.c: Likewise.
13652 * locale/programs/simple-hash.c: Likewise.
13653 * locale/programs/simple-hash.h: Likewise.
13654 * malloc/memusage.c: Likewise.
13655 * malloc/memusagestat.c: Likewise.
13656 * nis/nis_defaults.c: Likewise.
13657 * nis/nis_hash.c: Likewise.
13658 * nis/nis_print.c: Likewise.
13659 * nis/nis_xdr.c: Likewise.
13660 * nscd/connections.c: Likewise.
13661 * nscd/hstcache.c: Likewise.
13662 * nscd/nscd_gethst_r.c: Likewise.
13663 * nscd/nscd_getserv_r.c: Likewise.
13664 * nscd/nscd_helper.c: Likewise.
13665 * nscd/servicescache.c: Likewise.
13666 * nss/makedb.c: Likewise.
13667 * nss/nss_db/db-XXX.c: Likewise.
13668 * nss/nss_db/db-initgroups.c: Likewise.
13669 * nss/nss_db/db-netgrp.c: Likewise.
13670 * nss/nss_files/files-network.c: Likewise.
13671 * nss/nss_files/files-parse.c: Likewise.
13672 * posix/bug-regex5.c: Likewise.
13673 * posix/fnmatch_loop.c: Likewise.
13674 * posix/regcomp.c: Likewise.
13675 * posix/regexec.c: Likewise.
13676 * posix/tst-rfc3484-2.c: Likewise.
13677 * posix/tst-rfc3484-3.c: Likewise.
13678 * posix/tst-rfc3484.c: Likewise.
13679 * resolv/nss_dns/dns-canon.c: Likewise.
13680 * resolv/nss_dns/dns-network.c: Likewise.
13681 * resolv/res_init.c: Likewise.
13682 * resolv/res_mkquery.c: Likewise.
13683 * resolv/tst-aton.c: Likewise.
13684 * stdlib/cxa_atexit.c: Likewise.
13685 * stdlib/cxa_finalize.c: Likewise.
13686 * stdlib/gen-fpioconst.c: Likewise.
13687 * stdlib/strtol_l.c: Likewise.
13688 * string/tst-endian.c: Likewise.
13689 * sunrpc/auth_des.c: Likewise.
13690 * sunrpc/clnt_udp.c: Likewise.
13691 * sunrpc/rtime.c: Likewise.
13692 * sunrpc/svcauth_des.c: Likewise.
13693 * sunrpc/xdr.c: Likewise.
13694 * sunrpc/xdr_intXX_t.c: Likewise.
13695 * sunrpc/xdr_rec.c: Likewise.
13696 * sysdeps/generic/ldconfig.h: Likewise.
13697 * sysdeps/generic/ldsodefs.h: Likewise.
13698 * sysdeps/generic/memusage.h: Likewise.
13699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13702 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13705 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13706 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13707 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13709 * sysdeps/posix/getaddrinfo.c: Likewise.
13710 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13711 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13712 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13713 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13714 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13715 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13716 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13717 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13718 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13719 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13720 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13721 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13722 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13723 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13724 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13725 * sysdeps/x86_64/dl-tls.h: Likewise.
13726 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13727 * time/alt_digit.c: Likewise.
13728 * time/era.c: Likewise.
13729 * wcsmbs/tst-c16c32-1.c: Likewise.
13730
8c75f674
JM
137312013-05-16 Joseph Myers <joseph@codesourcery.com>
13732
13733 * math/libm-test.inc (struct test_sincos_data): New type.
13734 (RUN_TEST_LOOP_sincos): New macro.
13735 (sincos_test_data): New variable.
13736 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13737
e6e49e59
RH
137382013-05-16 Richard Henderson <rth@redhat.com>
13739
13740 * math/atest-exp2.c (LIMB64): New macro.
13741 (CONSTSZ): New macro.
13742 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13743 (hexdig): Move ...
13744 (print_mpn_fp): ... to function scope.
13745 (read_mpn_hex): Remove.
13746 (get_log2): Remove.
13747 (exp2_mpn): Use mp_log2.
13748 (main): Use mp_exp1.
13749
15c7c18d
JM
137502013-05-16 Joseph Myers <joseph@codesourcery.com>
13751
105a07df
JM
13752 * math/libm-test.inc: Remove comment about not testing "inexact"
13753 exceptions.
13754 (INEXACT_EXCEPTION): New macro.
13755 (NO_INEXACT_EXCEPTION): Likewise.
13756 (INVALID_EXCEPTION_OK): Update value.
13757 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13758 (OVERFLOW_EXCEPTION_OK): Likewise.
13759 (UNDERFLOW_EXCEPTION_OK): Likewise.
13760 (IGNORE_ZERO_INF_SIGN): Likewise.
13761 (ERRNO_UNCHANGED): Likewise.
13762 (ERRNO_EDOM): Likewise.
13763 (ERRNO_ERANGE): Likewise.
13764 (test_exceptions): Handle testing "inexact" exceptions.
13765 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13766 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13767 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13768 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13769 INEXACT_EXCEPTION.
13770 (rint_towardzero_test_data): Likewise.
13771 (rint_downward_test_data): Likewise.
13772 (rint_upward_test_data): Likewise.
13773
e9eee333
JM
13774 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13775 with OVERFLOW_EXCEPTION.
13776 (exp10_test_data): Likewise.
13777 (exp2_test_data): Likewise.
13778 (expm1_test_data): Likewise.
13779 (lgamma_test_data): Likewise.
13780 (pow_test_data): Likewise.
13781 (tgamma_test_data): Likewise.
13782 (yn_test_data): Remove duplicate test of overflow.
13783
1c38ff73
JM
13784 * math/libm-test.inc (struct test_cc_c_data): New type.
13785 (RUN_TEST_LOOP_cc_c): New macro.
13786 (cpow_test_data): New variable.
13787 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13788
15c7c18d
JM
13789 * math/libm-test.inc (struct test_f_L_data): New type.
13790 (RUN_TEST_LOOP_f_L): New macro.
13791 (llrint_test_data): New variable.
13792 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13793 (llrint_tonearest_test_data): New variable.
13794 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13795 (llrint_towardzero_test_data): New variable.
13796 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13797 (llrint_downward_test_data): New variable.
13798 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13799 (llrint_upward_test_data): New variable.
13800 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13801 (llround_test_data): New variable.
13802 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13803
f137ff13
PC
138042013-05-13 Peter Collingbourne <pcc@google.com>
13805
13806 * math/atest-exp2.c (get_log2): Remove const attribute.
13807
3608cb24
JM
138082013-05-15 Joseph Myers <joseph@codesourcery.com>
13809
13810 * math/libm-test.inc (struct test_f_l_data): New type.
13811 (RUN_TEST_LOOP_f_l): New macro.
13812 (lrint_test_data): New variable.
13813 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13814 (lrint_tonearest_test_data): New variable.
13815 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13816 (lrint_towardzero_test_data): New variable.
13817 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13818 (lrint_downward_test_data): New variable.
13819 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13820 (lrint_upward_test_data): New variable.
13821 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13822 (lround_test_data): New variable.
13823 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13824
39b1f617
PC
138252013-05-15 Peter Collingbourne <pcc@google.com>
13826
1deff3dc
PC
13827 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13828 (EXTRACT_WORDS64) Use where appropriate.
13829 (INSERT_WORDS64) Likewise.
13830
791f3ba0
PC
13831 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13832 constraints with x constraints.
13833 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13834
39b1f617
PC
13835 * malloc/obstack.c (_obstack_compat): Add initializer.
13836
12fba011
EM
138372013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13838
13839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13840 si_trapno and add si_addr_lsb to _sifields.sigfault.
13841 (si_trapno): Remove macro.
13842 (si_addr_lsb): Define new macro.
13843 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13844
d369f531
JM
138452013-05-15 Joseph Myers <joseph@codesourcery.com>
13846
b861c6c4
JM
13847 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13848 instead of TEST_f_l.
13849 (llrint_test_tonearest): Likewise.
13850 (llrint_test_towardzero): Likewise.
13851 (llrint_test_downward): Likewise.
13852 (llrint_test_upward): Likewise.
13853 (llround_test): Likewise.
13854
7abeee12
JM
13855 * math/libm-test.inc (struct test_f_i_data): Add comment.
13856 (RUN_TEST_LOOP_f_b): New macro.
13857 (RUN_TEST_LOOP_f_b_tg): Likewise.
13858 (finite_test_data): New variable.
13859 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13860 (isfinite_test_data): New variable.
13861 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13862 (isinf_test_data): New variable.
13863 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13864 (isnan_test_data): New variable.
13865 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13866 (isnormal_test_data): New variable.
13867 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13868 (issignaling_test_data): New variable.
13869 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13870 (signbit_test_data): New variable.
13871 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13872
cbe8c4d3
JM
13873 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13874 with INVALID_EXCEPTION.
13875 (acosh_test_data): Likewise.
13876 (asin_test_data): Likewise.
13877 (atanh_test_data): Likewise.
13878 (fmod_test_data): Likewise.
13879 (log_test_data): Likewise.
13880 (log10_test_data): Likewise.
13881 (log2_test_data): Likewise.
13882 (pow_test_data): Likewise.
13883 (sqrt_test_data): Likewise.
13884 (y0_test_data): Likewise.
13885 (y1_test_data): Likewise.
13886 (yn_test_data): Likewise.
13887
5575c0e5
JM
13888 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13889 function contents.
13890
d369f531
JM
13891 * math/libm-test.inc (struct test_ff_i_data): New type.
13892 (RUN_TEST_LOOP_ff_i_tg): New macro.
13893 (isgreater_test_data): New variable.
13894 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13895 (isgreaterequal_test_data): New variable.
13896 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13897 (isless_test_data): New variable.
13898 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13899 (islessequal_test_data): New variable.
13900 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13901 (islessgreater_test_data): New variable.
13902 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13903 (isunordered_test_data): New variable.
13904 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13905
781fd748
DM
139062013-05-14 David S. Miller <davem@davemloft.net>
13907
13908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13909
87aa21df
JM
139102013-05-14 Joseph Myers <joseph@codesourcery.com>
13911
5e908270
JM
13912 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13913
f71172e5
JM
13914 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13915 extra_test to int.
13916 (struct test_f_i_data): Change type of max_ulp to int.
13917
8cfa635a
JM
13918 * math/libm-test.inc (test_ffI_f1_data): New type.
13919 (RUN_TEST_LOOP_ffI_f1): New macro.
13920 (remquo_test_data): New variable.
13921 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13922
2bcb36b2
JM
13923 * setjmp/tst-setjmp-fp.c: New file.
13924 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13925 (link-libm): New variable.
13926 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13927
acbd839a
JM
13928 * math/libm-test.inc (struct test_f_i_data): New type.
13929 (RUN_TEST_LOOP_f_i): New macro.
13930 (RUN_TEST_LOOP_f_i_tg): Likewise.
13931 (fpclassify_test_data): New variable.
13932 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13933 (ilogb_test_data): New variable.
13934 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13935
e414d745
JM
13936 * math/libm-test.inc (scalbln_test): Correct function name in END
13937 call.
13938
d9c2a0fd
JM
13939 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13940 (RUN_TEST_LOOP_fI_f1): New macro.
13941 (frexp_test_data): New variable.
13942 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13943
9dc9095d
JM
13944 * math/libm-test.inc (struct test_fF_f1_data): New type.
13945 (RUN_TEST_LOOP_fF_f1): New macro.
13946 (modf_test_data): New variable.
13947 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13948
87aa21df
JM
13949 * math/libm-test.inc (struct test_f_f1_data): New type.
13950 (RUN_TEST_LOOP_f_f1): New macro.
13951 (gamma_test_data): New variable.
13952 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13953 (lgamma_test_data): New variable.
13954 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13955
141af660
CD
139562013-05-13 Carlos O'Donell <carlos@redhat.com>
13957
13958 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13959 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13960 (main): Comment "tls" pseudo-hwcap.
13961
6d33265c
JM
139622013-05-13 Joseph Myers <joseph@codesourcery.com>
13963
68fc074c
JM
13964 * math/libm-test.inc (struct test_fl_f_data): New type.
13965 (RUN_TEST_LOOP_fl_f): New variable.
13966 (scalbln_test_data): New variable.
13967 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13968
243216e1
JM
13969 * math/libm-test.inc (struct test_fi_f_data): New type.
13970 (RUN_TEST_LOOP_fi_f): New macro.
13971 (ldexp_test_data): New variable.
13972 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13973 (scalbn_test_data): New variable.
13974 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13975
6a1992e2
JM
13976 * math/libm-test.inc (struct test_c_f_data): New type.
13977 (RUN_TEST_LOOP_c_f): New macro.
13978 (cabs_test_data): New variable.
13979 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13980 (carg_test_data): New variable.
13981 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13982 (cimag_test_data): New variable.
13983 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13984 (creal_test_data): New variable.
13985 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13986
0e400df5
JM
13987 * math/libm-test.inc (struct test_if_f_data): New type.
13988 (RUN_TEST_LOOP_if_f): New macro.
13989 (jn_test_data): New variable.
13990 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13991 (yn_test_data): New variable.
13992 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13993
6d33265c
JM
13994 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13995
f98ece5f
AZ
139962013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13997
13998 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13999 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14000
0f7d347b
SP
140012013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14002
43fe811b
SP
14003 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14004 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14005 (bench-deps): Add bench-timing.h.
14006 * benchtests-bench-skeleton.c: Include bench-timing.h.
14007 (main): Use TIMING_* macros instead of clock_gettime.
14008 * benchtests/bench-timing.h: New file.
14009
0f7d347b
SP
14010 [BZ #14582]
14011 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14012 Renamed from _LIB_VERSION.
14013 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14014
601a3a5f
JM
140152013-05-12 Joseph Myers <joseph@codesourcery.com>
14016
4f184d30
JM
14017 * math/libm-test.inc (struct test_fff_f_data): New type.
14018 (RUN_TEST_LOOP_fff_f): New macro.
14019 (fma_test_data): New variable.
14020 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14021 (fma_towardzero_test_data): New variable.
14022 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14023 (fma_downward_test_data): New variable.
14024 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14025 (fma_upward_test_data): New variable.
14026 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14027
08198877
JM
14028 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14029 (struct test_c_c_data): New type.
14030 (RUN_TEST_LOOP_c_c): New macro.
14031 (cacos_test_data): New variable.
14032 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14033 (cacosh_test_data): New variable.
14034 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14035 (casin_test_data): New variable.
14036 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14037 (casinh_test_data): New variable.
14038 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14039 (catan_test_data): New variable.
14040 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14041 (catanh_test_data): New variable.
14042 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14043 (ccos_test_data): New variable.
14044 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14045 (ccosh_test_data): New variable.
14046 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14047 (cexp_test_data): New variable.
14048 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14049 (clog_test_data): New variable.
14050 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14051 (clog10_test_data): New variable.
14052 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14053 (conj_test_data): New variable.
14054 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14055 (cproj_test_data): New variable.
14056 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14057 (csin_test_data): New variable.
14058 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14059 (csinh_test_data): New variable.
14060 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14061 (csqrt_test_data): New variable.
14062 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14063 (ctan_test_data): New variable.
14064 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14065 (ctan_tonearest_test_data): New variable.
14066 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14067 (ctan_towardzero_test_data): New variable.
14068 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14069 (ctan_downward_test_data): New variable.
14070 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14071 (ctan_upward_test_data): New variable.
14072 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14073 (ctanh_test_data): New variable.
14074 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14075 (ctanh_tonearest_test_data): New variable.
14076 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14077 (ctanh_towardzero_test_data): New variable.
14078 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14079 (ctanh_downward_test_data): New variable.
14080 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14081 (ctanh_upward_test_data): New variable.
14082 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14083 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14084 of BUILD_COMPLEX.
14085
601a3a5f
JM
14086 * math/libm-test.inc (struct test_ff_f_data): New type.
14087 (struct test_ff_f_data_nexttoward): Likewise.
14088 (RUN_TEST_LOOP_2_f): New macro.
14089 (RUN_TEST_LOOP_ff_f): Likewise.
14090 (atan2_test_data): New variable.
14091 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14092 (copysign_test_data): New variable.
14093 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14094 (fdim_test_data): New variable.
14095 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14096 (fmax_test_data): New variable.
14097 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14098 (fmin_test_data): New variable.
14099 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14100 (fmod_test_data): New variable.
14101 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14102 (hypot_test_data): New variable.
14103 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14104 (nextafter_test_data): New variable.
14105 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14106 (nexttoward_test_data): New variable.
14107 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14108 (pow_test_data): New variable.
14109 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14110 (pow_tonearest_test_data): New variable.
14111 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14112 (pow_towardzero_test_data): New variable.
14113 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14114 (pow_downward_test_data): New variable.
14115 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14116 (pow_upward_test_data): New variable.
14117 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14118 (remainder_test_data): New variable.
14119 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14120 (scalb_test_data): New variable.
14121 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14122 * sysdeps/i386/fpu/libm-test-ulps: Update.
14123
74c57478
JM
141242013-05-11 Joseph Myers <joseph@codesourcery.com>
14125
8329e4da
JM
14126 * math/libm-test.inc (fma_test): Use max_value instead of local
14127 variable fltmax.
14128 (nextafter_test): Likewise.
14129
74c57478
JM
14130 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14131 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14132 (acos_downward_test_data): New variable.
14133 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14134 (acos_upward_test_data): New variable.
14135 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14136 (acosh_test_data): New variable.
14137 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14138 (asin_test_data): New variable.
14139 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14140 (asin_tonearest_test_data): New variable.
14141 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14142 (asin_towardzero_test_data): New variable.
14143 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14144 (asin_downward_test_data): New variable.
14145 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14146 (asin_upward_test_data): New variable.
14147 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14148 (asinh_test_data): New variable.
14149 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14150 (atan_test_data): New variable.
14151 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14152 (atanh_test_data): New variable.
14153 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14154 (cbrt_test_data): New variable.
14155 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14156 (ceil_test_data): New variable.
14157 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14158 (cos_test_data): New variable.
14159 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14160 (cos_tonearest_test_data): New variable.
14161 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14162 (cos_towardzero_test_data): New variable.
14163 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14164 (cos_downward_test_data): New variable.
14165 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14166 (cos_upward_test_data): New variable.
14167 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14168 (cosh_test_data): New variable.
14169 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14170 (cosh_tonearest_test_data): New variable.
14171 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14172 (cosh_towardzero_test_data): New variable.
14173 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14174 (cosh_downward_test_data): New variable.
14175 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14176 (cosh_upward_test_data): New variable.
14177 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14178 (erf_test_data): New variable.
14179 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14180 (erfc_test_data): New variable.
14181 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14182 (exp_test_data): New variable.
14183 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14184 (exp_tonearest_test_data): New variable.
14185 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14186 (exp_towardzero_test_data): New variable.
14187 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14188 (exp_downward_test_data): New variable.
14189 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14190 (exp_upward_test_data): New variable.
14191 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14192 (exp10_test_data): New variable.
14193 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14194 (exp2_test_data): New variable.
14195 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14196 (expm1_test_data): New variable.
14197 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14198 (fabs_test_data): New variable.
14199 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14200 (floor_test_data): New variable.
14201 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14202 (j0_test_data): New variable.
14203 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14204 (j1_test_data): New variable.
14205 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14206 (log_test_data): New variable.
14207 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14208 (log10_test_data): New variable.
14209 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14210 (log1p_test_data): New variable.
14211 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14212 (log2_test_data): New variable.
14213 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14214 (logb_test_data): New variable.
14215 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14216 (logb_downward_test_data): New variable.
14217 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14218 (nearbyint_test_data): New variable.
14219 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14220 (rint_test_data): New variable.
14221 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14222 (rint_tonearest_test_data): New variable.
14223 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14224 (rint_towardzero_test_data): New variable.
14225 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14226 (rint_downward_test_data): New variable.
14227 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14228 (rint_upward_test_data): New variable.
14229 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14230 (round_test_data): New variable.
14231 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14232 (sin_test_data): New variable.
14233 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14234 (sin_tonearest_test_data): New variable.
14235 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14236 (sin_towardzero_test_data): New variable.
14237 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14238 (sin_downward_test_data): New variable.
14239 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14240 (sin_upward_test_data): New variable.
14241 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14242 (sinh_test_data): New variable.
14243 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14244 (sinh_tonearest_test_data): New variable.
14245 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14246 (sinh_towardzero_test_data): New variable.
14247 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14248 (sinh_downward_test_data): New variable.
14249 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14250 (sinh_upward_test_data): New variable.
14251 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14252 (sqrt_test_data): New variable.
14253 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14254 (tan_test_data): New variable.
14255 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14256 (tan_tonearest_test_data): New variable.
14257 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14258 (tan_towardzero_test_data): New variable.
14259 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14260 (tan_downward_test_data): New variable.
14261 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14262 (tan_upward_test_data): New variable.
14263 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14264 (tanh_test_data): New variable.
14265 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14266 (tgamma_test_data): New variable.
14267 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14268 (trunc_test_data): New variable.
14269 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14270 (y0_test_data): New variable.
14271 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14272 (y1_test_data): New variable.
14273 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14274 (significand_test_data): New variable.
14275 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14276
7187d844
CG
142772013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14278
14279 [BZ #12387]
14280 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14281
f63fae73
PT
142822013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14283
14284 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14285
8a67a4b3
AJ
142862013-05-10 Andreas Jaeger <aj@suse.de>
14287
14288 [BZ #15448]
14289 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14290 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14291
51df539d
JM
142922013-05-10 Joseph Myers <joseph@codesourcery.com>
14293
14294 * math/gen-libm-test.pl (adjust_arg): New function.
14295 (special_functions): Handle generating output in both functions
14296 and arrays.
14297 (parse_args): Likewise.
14298 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14299 $in_func argument to parse_args.
14300 * math/libm-test.inc (struct test_f_f_data): New type.
14301 (IF_ROUND_INIT_): New macro.
14302 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14303 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14304 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14305 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14306 (ROUND_RESTORE_): Likewise.
14307 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14308 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14309 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14310 (ROUND_RESTORE_FE_UPWARD): Likewise.
14311 (RUN_TEST_LOOP_f_f): New macro.
14312 (acos_test_data): New variable.
14313 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14314 (acos_tonearest_test_data): New variable.
14315 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14316
5c637fe5
SP
143172013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14318
14319 * benchtests/bench-skeleton.c (startup): Fix coding style.
14320
ab2b9461
JM
143212013-05-10 Joseph Myers <joseph@codesourcery.com>
14322
14323 [BZ #6809]
14324 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14325 negative infinity argument.
14326 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14327 negative infinity argument.
14328 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14329 negative infinity argument.
14330 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14331 domain errors.
14332
4c0fe6fe
FW
143332013-05-10 Florian Weimer <fweimer@redhat.com>
14334
14335 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14336 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14337 * iconv/iconv_prog.c (main): Likewise.
14338 * locale/programs/charmap-dir.c (charmap_readdir)
14339 (fopen_uncompressed): Likewise.
14340 * locale/programs/locfile.c (siblings_uncached)
14341 (write_locale_data): Use lstat64 instead of lstat.
14342 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14343 stat.
14344
a3375d29
AJ
143452013-05-10 Andreas Jaeger <aj@suse.de>
14346
14347 [BZ #15395]
14348 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14349 localization.
14350 Include <locale.h>.
14351
36129722
CD
143522013-05-09 Carlos O'Donell <carlos@redhat.com>
14353
14354 * elf/dl-close.c (_dl_close_worker): Add comments.
14355
faa7f811
JM
143562013-05-09 Joseph Myers <joseph@codesourcery.com>
14357
ed41ffef
JM
14358 [BZ #15359]
14359 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14360 high part of pi/2.
14361 (__ieee754_rem_pio2l): Update comments.
14362
d0213cd0
JM
14363 [BZ #15429]
14364 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14365 high part of pi/2.
14366 (__ieee754_rem_pio2l): Update comments.
14367
0d3e777a
JM
14368 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14369 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14370
24f56066
JM
14371 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14372 M_PI_4l.
14373
faa7f811
JM
14374 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14375 (M_PI_34_LOG10El): Likewise.
14376 (M_PI2_LOG10El): Likewise.
14377 (M_PI4_LOG10El): Likewise.
14378 (M_PI_LOG10El): Likewise.
14379
e9a5e0fd
AZ
143802013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14381
14382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14383
d8cd06db
JM
143842013-05-08 Joseph Myers <joseph@codesourcery.com>
14385
a0d9f9d7
JM
14386 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14387 (MINUS_ZERO_INIT): Likewise.
14388 (PLUS_INFTY_INIT): Likewise.
14389 (MINUS_INFTY_INIT): Likewise.
14390 (QNAN_VALUE_INIT): Likewise.
14391 (MAX_VALUE_INIT): Likewise.
14392 (MIN_VALUE_INIT): Likewise.
14393 (MIN_SUBNORM_VALUE_INIT): Likewise.
14394 (plus_zero): Initialize with PLUS_ZERO_INIT.
14395 (minus_zero): Initialize with MINUS_ZERO_INIT.
14396 (plus_infty): Initialize with PLUS_INFTY_INIT.
14397 (minus_infty): Initialize with MINUS_INFTY_INIT.
14398 (qnan_value): Initialize with QNAN_VALUE_INIT.
14399 (max_value): Initialize with MAX_VALUE_INIT.
14400 (min_value): Initialize with MIN_VALUE_INIT.
14401 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14402
ae08db3b
JM
14403 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14404 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14405 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14406 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14407
f44bf14a
JM
14408 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14409 (RUN_TEST_2_f): Likewise.
14410 (RUN_TEST_ff_f): Likewise.
14411 (RUN_TEST_fi_f): Likewise.
14412 (RUN_TEST_fl_f): Likewise.
14413 (RUN_TEST_fff_f): Likewise.
14414 (RUN_TEST_c_f): Likewise.
14415 (RUN_TEST_f_f1): Likewise.
14416 (RUN_TEST_fF_f1): Likewise.
14417 (RUN_TEST_fI_f1): Likewise.
14418 (RUN_TEST_ffI_f1): Likewise.
14419 (RUN_TEST_c_c): Likewise.
14420 (RUN_TEST_cc_c): Likewise.
14421 (RUN_TEST_f_i): Likewise.
14422 (RUN_TEST_f_i_tg): Likewise.
14423 (RUN_TEST_ff_i_tg): Likewise.
14424 (RUN_TEST_f_b): Likewise.
14425 (RUN_TEST_f_b_tg): Likewise.
14426 (RUN_TEST_f_l): Likewise.
14427 (RUN_TEST_f_L): Likewise.
14428 (RUN_TEST_sincos): Likewise.
14429 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14430 whether to show exceptions. Do not include ");\n" in return
14431 value.
14432 (special_functions): Output call to RUN_TEST_sincos instead of
14433 check_float calls. Update calls to new_test.
14434 (parse_args): Output call to single RUN_TEST_* macro instead of
14435 check_* calls and other assignments. Update calls to new_test.
14436
d8cd06db
JM
14437 [BZ #2546]
14438 [BZ #2560]
14439 [BZ #5159]
14440 [BZ #15426]
14441 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14442 input to result for tgamma overflow.
14443 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14444 (gamma_coeff): New variable.
14445 (NCOEFF): New macro.
14446 (gamma_positive): New function.
14447 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14448 underflow here. Use gamma_positive instead of exp (lgamma) for
14449 other arguments.
14450 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14451 (gamma_coeff): New variable.
14452 (NCOEFF): New macro.
14453 (gammaf_positive): New function.
14454 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14455 underflow here. Use gamma_positive instead of exp (lgamma) for
14456 other arguments.
14457 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14458 (gamma_coeff): New variable.
14459 (NCOEFF): New macro.
14460 (gammal_positive): New function.
14461 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14462 underflow here. Use gamma_positive instead of exp (lgamma) for
14463 other arguments.
14464 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14465 (gamma_coeff): New variable.
14466 (NCOEFF): New macro.
14467 (gammal_positive): New function.
14468 (__ieee754_gammal_r): Handle positive infinity, overflow and
14469 underflow here. Handle NaN the same as positive infinity. Remove
14470 check x < 0xffffffff for negative integers. Use gamma_positive
14471 instead of exp (lgamma) for other arguments.
14472 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14473 (gamma_coeff): New variable.
14474 (NCOEFF): New macro.
14475 (gammal_positive): New function.
14476 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14477 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14478 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14479 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14480 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14481 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14482 * sysdeps/generic/math_private.h (__gamma_productf): New
14483 prototype.
14484 (__gamma_product): Likewise.
14485 (__gamma_productl): Likewise.
14486 * math/Makefile (libm-calls): Add gamma_product.
14487 * math/libm-test.inc (tgamma_test): Add more tests.
14488 * sysdeps/i386/fpu/libm-test-ulps: Update.
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14490
bb7cf681
OB
144912013-05-08 Ondřej Bílka <neleai@seznam.cz>
14492
14493 * benchtests/bench-skeleton.c (main): Preheat CPU.
14494
ba853947
AJ
144952013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14496
14497 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14498
8347c74c
RM
144992013-05-07 Roland McGrath <roland@hack.frob.com>
14500
14501 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14502 and _dl_skip_args_internal.
14503
e8dd4791
CD
145042013-05-07 Carlos O'Donell <carlos@redhat.com>
14505
14506 * manual/message.texi (Message Translation): Talk about users.
14507 Message to key mapping impacts design.
14508
c7405830
RM
145092013-05-06 Roland McGrath <roland@hack.frob.com>
14510
a9173057
RM
14511 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14512
976e2f03
RM
14513 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14514
9723ffc5
RM
14515 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14516 * sysdeps/wordsize-64/glob64.c: ... here.
14517
962e6658
RM
14518 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14519 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14520 New macros.
14521
ee586a6d
RM
14522 * debug/getlogin_r_chk.c: Moved to ...
14523 * login/getlogin_r_chk.c: ... here.
14524 * debug/Makefile (routines): Move getlogin_r_chk to ...
14525 * login/Makefile (routines): ... here.
14526 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14527 * login/Versions (libc: GLIBC_2.4): ... here.
14528
355f9165
RM
14529 * io/poll.c (__poll): Renamed from poll.
14530 Add libc_hidden_def.
14531 (poll): Define as weak alias.
14532
bd9ffde6
RM
14533 * debug/ptsname_r_chk.c: Moved to ...
14534 * login/ptsname_r_chk.c: ... here.
14535 * debug/Makefile (routines): Move ptsname_r_chk to ...
14536 * login/Makefile (routines): ... here.
14537 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14538 * login/Versions (libc: GLIBC_2.4): ... here.
14539
8fb16a04
RM
14540 * posix/getlogin.c: Moved to ...
14541 * login/getlogin.c: ... here.
14542 * posix/getlogin_r.c: Moved to ...
14543 * login/getlogin_r.c: ... here.
14544 * posix/getlogin_r.c: Moved to ...
14545 * login/getlogin_r.c: ... here.
14546 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14547 * login/Makefile (routines): ... here.
14548 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14549 * login/Versions (libc: GLIBC_2.0): ... here.
14550
b99b892f
RM
14551 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14552 (setrlimit): Define as weak alias.
14553
c7405830
RM
14554 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14555 Call __ names for open, ftruncate, and close.
14556 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14557 (truncate): Define as weak alias.
14558
5bf96de5
JM
145592013-05-06 Joseph Myers <joseph@codesourcery.com>
14560
9ea3513c
JM
14561 * math/gen-libm-test.pl (parse_args): Initialize x before each
14562 test of frexp, modf and remquo.
14563
5bf96de5
JM
14564 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14565 test signgam value.
14566
16e616a7
AZ
145672013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14568
14569 [BZ #15418]
14570 [BZ #15419]
14571 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14572 internal tests.
14573 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14574
d5e82754
RM
145752013-05-06 Roland McGrath <roland@hack.frob.com>
14576
14577 * elf/dl-writev.h: New file.
14578 * elf/dl-misc.c: Include it.
14579 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14580 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14581
a7548d41
JM
145822013-05-04 Joseph Myers <joseph@codesourcery.com>
14583
b7dab1e4
JM
14584 * math/libm-test.inc (noXFails): Remove variable.
14585 (noXPasses): Likewise.
14586 (BUILD_COMPLEX_INT): Remove macro.
14587 (print_screen): Remove xfail argument.
14588 (print_screen_max_error): Likewise.
14589 (update_stats): Likewise.
14590 (print_max_error): Likewise. Update calls to other affected
14591 functions.
14592 (print_complex_max_error): Likewise.
14593 (test_single_exception): Update calls to print_screen.
14594 (test_single_errno): Likewise.
14595 (check_float_internal): Remove xfail argument. Update calls to
14596 other affected functions.
14597 (check_float): Likewise.
14598 (check_complex): Likewise.
14599 (check_int): Likewise.
14600 (check_long): Likewise.
14601 (check_bool): Likewise.
14602 (check_longlong): Likewise.
14603 (main): Don't print noXFails and noXPasses.
14604 * math/gen-libm-test.pl (top level): Don't mention expected
14605 failure handling in comment.
14606 (new_test): Don't handle expected failures.
14607 (parse_args): Don't mention expected failure handling in comment.
14608 (generate_testfile): Don't handle expected failures.
14609 (parse_ulps): Likewise.
14610 (print_ulps_file): Likewise.
14611 (get_failure): Remove function.
14612 (output_test): Don't handle expected failures.
14613 * make/README.libm-test: Don't mention expected failure handling.
14614
a7548d41
JM
14615 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14616 (minus_zero): Likewise.
14617 (plus_infty): Likewise.
14618 (minus_infty): Likewise.
14619 (qnan_value): Likewise.
14620 (max_value): Likewise.
14621 (min_value): Likewise.
14622 (min_subnorm_value): Likewise.
14623 (initialize): Do not initialize those variables dynamically.
14624
60bfd54c
RM
146252013-05-03 Roland McGrath <roland@hack.frob.com>
14626
cc0e6ed8
RM
14627 * io/open.c (__open_2): Moved to ...
14628 * io/open_2.c: ... this new file.
14629 * io/open64.c (__open64_2): Moved to ...
14630 * io/open64_2.c: ... this new file.
14631 * io/openat.c (__openat_2): Moved to ...
14632 * io/openat_2.c: ... this new file.
14633 * io/openat64.c (__openat64_2): Moved to ...
14634 * io/openat64_2.c: ... this new file.
14635 * io/Makefile (routines): Add them.
14636 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14637 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14638 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14639 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14640 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14641 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14642 (__openat64): Add hidden_ver.
14643 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14644 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14645
60bfd54c
RM
14646 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14647 Separately conditionalize setting of GLRO(dl_sysinfo) so
14648 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14649 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14650
83e7640f
AZ
146512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14652
14653 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14654 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14655 definition.
14656 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14657 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14658 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14659 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14660 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14661
d5dc2af3
JM
146622013-05-03 Joseph Myers <joseph@codesourcery.com>
14663
c31a5b1e
JM
14664 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14665 test signgam value.
14666
d5dc2af3
JM
14667 * math/libm-test.inc (hypot_test): Do not use
14668 IGNORE_ZERO_INF_SIGN.
14669
164fd39d
AJ
146702013-05-03 Andreas Jaeger <aj@suse.de>
14671
14672 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14673 Linux 3.9.
14674 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14675 (PF_MAX): Adjust for VSOCK change.
14676
8237f48c
AZ
146772013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14678
14679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14680
9df02941
CD
146812013-05-02 Carlos O'Donell <carlos@redhat.com>
14682
14683 [BZ #15264]
14684 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14685 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14686 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14687
d422395e
DM
146882013-05-02 David S. Miller <davem@davemloft.net>
14689
14690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14691
a07c5731
OB
146922013-05-01 Ondřej Bílka <neleai@seznam.cz>
14693
14694 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14695
1324e37f
RM
146962013-05-01 Roland McGrath <roland@hack.frob.com>
14697
14698 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14699
0695940b
RS
147002013-05-01 Richard Smith <richard@metafoo.co.uk>
14701
bb5f27ad 14702 [BZ #14952]
0695940b
RS
14703 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14704 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14705 Use __attribute__ ((__gnu_inline__)).
14706 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14707 Don't use __attribute__ ((__gnu_inline__)).
14708
10de07f5
JM
147092013-05-01 Joseph Myers <joseph@codesourcery.com>
14710
14711 [BZ #15423]
14712 * math/s_catan.c (__catan): Handle small real or imaginary part of
14713 input specially to avoid spurious underflow.
14714 * math/s_catanf.c (__catanf): Likewise.
14715 * math/s_catanh.c (__catanh): Likewise.
14716 * math/s_catanhf.c (__catanhf): Likewise.
14717 * math/s_catanhl.c (__catanhl): Likewise.
14718 * math/s_catanl.c (__catanl): Likewise.
14719 * math/libm-test.inc (catan_test): Add more tests.
14720 (catanh_test): Likewise.
14721 * sysdeps/i386/fpu/libm-test-ulps: Update.
14722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14723
cb4d5414
AZ
147242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14725
14726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14727
caf84319
JM
147282013-04-30 Joseph Myers <joseph@codesourcery.com>
14729
14730 [BZ #15416]
14731 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14732 accurately for denominator in atan2.
14733 * math/s_catanf.c (__catanf): Likewise.
14734 * math/s_catanh.c (__catanh): Likewise.
14735 * math/s_catanhf.c (__catanhf): Likewise.
14736 * math/s_catanhl.c (__catanhl): Likewise.
14737 * math/s_catanl.c (__catanl): Likewise.
14738 * math/libm-test.inc (catan_test): Add more tests.
14739 (catanh_test): Likewise.
14740 * sysdeps/i386/fpu/libm-test-ulps: Update.
14741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14742
d569c6ee
SP
147432013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14744
6dbe713d
SP
14745 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14746
f0ee064b
SP
14747 * benchtests/Makefile (bench): Remove slow benchmarks.
14748 * benchtests/atan-inputs: Add slow benchmark inputs.
14749 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14750 (BENCH_FUNC): Accept variant offset.
14751 (VARIANT): Define.
14752 * benchtests/bench-skeleton.c (main): Run benchmark for each
14753 variant.
14754 * benchtests/cos-inputs: Add slow benchmark inputs.
14755 * benchtests/exp-inputs: Likewise.
14756 * benchtests/pow-inputs: Likewise.
14757 * benchtests/sin-inputs: Likewise.
14758 * benchtests/slowatan-inputs: Remove.
14759 * benchtests/slowatan.c: Remove.
14760 * benchtests/slowcos-inputs: Remove.
14761 * benchtests/slowcos.c: Remove.
14762 * benchtests/slowexp-inputs: Remove.
14763 * benchtests/slowexp.c: Remove.
14764 * benchtests/slowpow-inputs: Remove.
14765 * benchtests/slowpow.c: Remove.
14766 * benchtests/slowsin-inputs: Remove.
14767 * benchtests/slowsin.c: Remove.
14768 * benchtests/slowtan-inputs: Remove.
14769 * benchtests/slowtan.c: Remove.
14770 * benchtests/tan-inputs: Add slow benchmark inputs.
14771 * scripts/bench.pl: Parse comments and directives.
14772
d569c6ee
SP
14773 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14774 in CPPFLAGS.
14775 ($(objpfx)bench-%.c): Remove *-ITER.
14776 * benchtests/bench-modf.c: Remove definition of ITER.
14777 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14778 (main): Loop for DURATION seconds instead of fixed number of
14779 iterations.
14780 * scripts/bench.pl: Don't expect iterations in parameters.
14781
a6a242fe
RM
147822013-04-29 Roland McGrath <roland@hack.frob.com>
14783
14784 * io/fchdir.c (__fchdir): Renamed from fchdir.
14785 (fchdir): Define as weak alias.
14786
f2da7793
JM
147872013-04-29 Joseph Myers <joseph@codesourcery.com>
14788
14789 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14790 (ERRNO_EDOM): Likewise.
14791 (ERRNO_ERANGE): Likewise.
14792 (noErrnoTests): New variable.
14793 (init_max_error): Set errno to 0.
14794 (test_single_errno): New function.
14795 (test_errno): Likewise.
14796 (check_float_internal): Call test_errno. Set errno to 0.
14797 (check_complex): Refer to errno tests in comment.
14798 (check_int): Call test_errno. Set errno to 0.
14799 (check_long): Likewise.
14800 (check_bool): Likewise.
14801 (check_longlong): Likewise.
14802 (cos_test): Use ERRNO_* flags for errno tests instead of
14803 check_int.
14804 (expm1_test): Likewise.
14805 (fmod_test): Likewise.
14806 (ilogb_test): Likewise.
14807 (lgamma_test): Likewise.
14808 (pow_test): Likewise.
14809 (remainder_test): Likewise.
14810 (sin_test): Likewise.
14811 (tan_test): Likewise.
14812 (yn_test): Likewise.
14813 (initialize): Set errno to 0.
14814 (main): Print number of errno tests.
14815 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14816
b1a36ceb
AJ
148172013-04-29 Andreas Jaeger <aj@suse.de>
14818
c3ed8088
AJ
14819 [BZ #15084]
14820 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14821 and RES_USEVC.
14822
f1a24198
AJ
14823 [BZ #15085]
14824 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14825 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14826 unimplemented.
14827
9ce3b2cb
AJ
14828 [BZ #15380]
14829 * stdlib/random.c (__initstate): Return NULL if
14830 __initstate fails.
14831
f1a24198 14832 [BZ #15086]
b1a36ceb
AJ
14833 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14834 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14835 RES_SNGLKUPREOP.
14836
7e7b6f36
AZ
148372013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14838
14839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14840
4d14f449
JM
148412013-04-29 Joseph Myers <joseph@codesourcery.com>
14842
14843 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14844 of individual tests.
14845 (casin_test): Likewise.
14846 (casinh_test): Likewise.
14847
5b4217d7
JM
148482013-04-27 Joseph Myers <joseph@codesourcery.com>
14849
14850 [BZ #15409]
14851 * math/s_catan.c (__catan): Handle arguments with large real or
14852 imaginary part separately without squaring.
14853 * math/s_catanf.c (__catanf): Likewise.
14854 * math/s_catanh.c (__catanh): Likewise.
14855 * math/s_catanhf.c (__catanhf): Likewise.
14856 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14857 and redefine.
14858 (__catanhl): Handle arguments with large real or imaginary part
14859 separately without squaring.
14860 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14861 and redefine.
14862 (__catanl): Handle arguments with large real or imaginary part
14863 separately without squaring.
14864 * math/libm-test.inc (catan_test): Add more tests.
14865 (catanh_test): Likewise.
14866 * sysdeps/i386/fpu/libm-test-ulps: Update.
14867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14868
4220c3ef
AJ
148692013-04-27 Andreas Jaeger <aj@suse.de>
14870
14871 [BZ #15007]
14872 * stdlib/stdlib.h: Update guards for qecvt.
14873 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14874 <stdlib.h>.
14875
4721b2d1
AM
148762013-04-27 Allan McRae <allan@archlinux.org>
14877
14878 * sysdeps/i386/fpu/libm-test-ulps: Update.
14879
f0302940
JM
148802013-04-26 Joseph Myers <joseph@codesourcery.com>
14881
9457fd95
JM
14882 [BZ #15406]
14883 * math/s_catan.c: Include <float.h>.
14884 (__catan): Ensure underflow exception occurs for underflowed
14885 result.
14886 * math/s_catanf.c: Include <float.h>.
14887 (__catanf): Ensure underflow exception occurs for underflowed
14888 result.
14889 * math/s_catanh.c: Include <float.h>.
14890 (__catanh): Ensure underflow exception occurs for underflowed
14891 result.
14892 * math/s_catanhf.c: Include <float.h>.
14893 (__catanhf): Ensure underflow exception occurs for underflowed
14894 result.
14895 * math/s_catanhl.c: Include <float.h>.
14896 (__catanhl): Ensure underflow exception occurs for underflowed
14897 result.
14898 * math/s_catanl.c: Include <float.h>.
14899 (__catanl): Ensure underflow exception occurs for underflowed
14900 result.
14901 * math/libm-test.inc (catan_test): Add more tests.
14902 (catanh_test): Likewise.
14903
f0302940
JM
14904 [BZ #15405]
14905 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14906 underflowed result.
14907 * math/s_ccoshf.c (__ccoshf): Likewise.
14908 * math/s_ccoshl.c (__ccoshl): Likewise.
14909 * math/s_csin.c (__csin): Likewise.
14910 * math/s_csinf.c (__csinf): Likewise.
14911 * math/s_csinh.c (__csinh): Likewise.
14912 * math/s_csinhf.c (__csinhf): Likewise.
14913 * math/s_csinhl.c (__csinhl): Likewise.
14914 * math/s_csinl.c (__csinl): Likewise.
14915 * math/libm-test.inc (ccos_test): Add more tests.
14916 (ccosh_test): Likewise.
14917 (csin_test): Likewise.
14918 (csinh_test): Likewise.
14919
aa630f59
AZ
149202013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14921
14922 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14923 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14924 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14925 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14926 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14927 powerpc/power5+/fpu folders.
14928 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14929
14930
1b835983
MT
149312013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14932
14933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14934
73709b26
JM
149352013-04-25 Joseph Myers <joseph@codesourcery.com>
14936
14937 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14938 additions to variable.
14939 [$(config-machine) = x86_64] (modules-names): Likewise.
14940 ($(objpfx)tst-audit3): Remove dependency.
14941 ($(objpfx)tst-audit3.out): Likewise.
14942 ($(objpfx)tst-audit4): Likewise.
14943 ($(objpfx)tst-audit4.out): Likewise.
14944 ($(objpfx)tst-audit5): Likewise.
14945 ($(objpfx)tst-audit5.out): Likewise.
14946 ($(objpfx)tst-audit6): Likewise.
14947 ($(objpfx)tst-audit6.out): Likewise.
14948 ($(objpfx)tst-audit7): Likewise.
14949 ($(objpfx)tst-audit7.out): Likewise.
14950 (tst-audit3-ENV): Remove variable.
14951 (tst-audit4-ENV): Likewise.
14952 (tst-audit5-ENV): Likewise.
14953 (tst-audit6-ENV): Likewise.
14954 (tst-audit7-ENV): Likewise.
14955 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14956 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14957 addition to variable.
14958 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14959 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14960 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14961 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14962 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14963 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14964 tst-audit3, tst-audit4 and tst-audit5.
14965 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14966 tst-audit6 and tst-audit7.
14967 [$(subdir) = elf] (modules-names): Add audit modules for those
14968 tests.
14969 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14970 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14971 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14972 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14973 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14974 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14975 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14976 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14977 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14978 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14979 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14980 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14981 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14982 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14983 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14984 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14985 Likewise.
14986 [$(subdir) = elf && $(config-cflags-avx) = yes]
14987 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14988 [$(subdir) = elf && $(config-cflags-avx) = yes]
14989 (CFLAGS-tst-auditmod4a.c): Likewise.
14990 [$(subdir) = elf && $(config-cflags-avx) = yes]
14991 (CFLAGS-tst-auditmod4b.c): Likewise.
14992 [$(subdir) = elf && $(config-cflags-avx) = yes]
14993 (CFLAGS-tst-auditmod6b.c): Likewise.
14994 [$(subdir) = elf && $(config-cflags-avx) = yes]
14995 (CFLAGS-tst-auditmod6c.c): Likewise.
14996 [$(subdir) = elf && $(config-cflags-avx) = yes]
14997 (CFLAGS-tst-auditmod7b.c): Likewise.
14998 * elf/tst-audit3.c: Move to ...
14999 * sysdeps/x86_64/tst-audit3.c: ... here.
15000 * elf/tst-audit4.c: Move to ...
15001 * sysdeps/x86_64/tst-audit4.c: ... here.
15002 * elf/tst-audit5.c: Move to ...
15003 * sysdeps/x86_64/tst-audit5.c: ... here.
15004 * elf/tst-audit6.c: Move to ...
15005 * sysdeps/x86_64/tst-audit6.c: ... here.
15006 * elf/tst-audit7.c: Move to ...
15007 * sysdeps/x86_64/tst-audit7.c: ... here.
15008 * elf/tst-auditmod3a.c: Move to ...
15009 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15010 * elf/tst-auditmod3b.c: Move to ...
15011 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15012 * elf/tst-auditmod4a.c: Move to ...
15013 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15014 * elf/tst-auditmod4b.c: Move to ...
15015 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15016 * elf/tst-auditmod5a.c: Move to ...
15017 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15018 * elf/tst-auditmod5b.c: Move to ...
15019 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15020 * elf/tst-auditmod6a.c: Move to ...
15021 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15022 * elf/tst-auditmod6b.c: Move to ...
15023 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15024 * elf/tst-auditmod6c.c: Move to ...
15025 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15026 * elf/tst-auditmod7a.c: Move to ...
15027 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15028 * elf/tst-auditmod7b.c: Move to ...
15029 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15030
1ef74943
PP
150312013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15032
15033 [BZ #15366]
15034 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15035 define unconditionally.
15036 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15037 define unconditionally.
15038 (INT8_C, INT16_C, etc.): Likewise.
15039
93fd48c5
MR
150402013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15041
ae9552cf
MR
15042 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15043 __ehdr_start with hidden visibility.
15044
93fd48c5
MR
15045 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15046
418601aa
CD
150472013-04-24 Carlos O'Donell <carlos@redhat.com>
15048
15049 * math/libm-test.inc (cos_test): Use accurate hex constants.
15050 (sincost_test): Likewise.
15051
2f38fbfe
JM
150522013-04-24 Joseph Myers <joseph@codesourcery.com>
15053
5e221800
JM
15054 * math/libm-test.inc (catan_test): Add more tests.
15055 (catanh_test): Likewise.
15056
77f143fd
JM
15057 * math/s_catanf.c (__catanf): Use suffixed floating-point
15058 constants.
15059 * math/s_catanhf.c (__catanhf): Likewise.
15060 * math/s_catanhl.c (__catanhl): Likewise.
15061 * math/s_catanl.c (__catanl): Likewise.
15062
2f38fbfe
JM
15063 [BZ #15394]
15064 * math/s_catan.c (__catan): Calculate imaginary part of result
15065 with log1p not log unless computing log of number close to 0.
15066 * math/s_catanf.c (__catanf): Likewise.
15067 * math/s_catanl.c (__catanl): Likewise.
15068 * math/s_catanh.c (__catanh): Calculate real part of result with
15069 log1p not log unless computing log of number close to 0.
15070 * math/s_catanhf.c (__catanhf): Likewise.
15071 * math/s_catanhl.c (__catanhl): Likewise.
15072 * math/libm-test.inc (catan_test): Add more tests.
15073 (catanh_test): Likewise.
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15076
45d69176
SP
150772013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15078
15079 * benchtests/Makefile: Mention files in which fast and slow
15080 paths of math functions are implemented.
15081
87f51853
RM
150822013-04-23 Roland McGrath <roland@hack.frob.com>
15083
15084 * sysdeps/posix/timespec_get.c: New file.
15085
3c026539
AZ
150862013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15087
15088 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15089 POWER.
15090 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15091 for POWER.
15092 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15093 powerpc/power5/fpu folders.
15094 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15095 * benchtests/Makefile: Add modf testcase.
15096 * benchtests/bench-modf.c: New file: Benchmark test for mo
15097
ff491d14
SP
150982013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15099
15100 [BZ #14888]
15101 * time/Makefile (tests): Add tst-strptime-whitespace.
15102 * time/strptime_l.c (get_number): Use ISSPACE.
15103 (__strptime_internal): Likewise.
15104 * time/tst-strptime-whitespace.c: New test case.
15105
7ed3f4e8
AS
151062013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15107
15108 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15109 member.
15110 (_nss_files_init): Set it here.
15111
5c95f7b6
HC
151122013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15113
15114 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15115 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15116 unsigned.
15117
d34c9158
JBG
151182013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15119
15120 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15121
2169712d
SP
151222013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15123
15124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15125 size just once.
15126
29c5de99
DM
151272013-04-21 David S. Miller <davem@davemloft.net>
15128
15129 * po/ru.po: Update Russion translation from translation project.
15130
ccdad15d
AC
151312013-04-17 Adam Conrad <adconrad@0c3.net>
15132
15133 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15134 and setfsgid.
15135
0f122b8d
CD
151362013-04-17 Carlos O'Donell <carlos@redhat.com>
15137
5c5b07da 15138 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15139 * configure: Regenerate.
5c5b07da 15140 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15141 Add example to error message.
15142 * sysdeps/i386/configure: Regenerate.
15143
037714dd
SP
151442013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15145
15146 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15147 slowtan.
15148 * benchtests/cos-inputs: New file.
15149 * benchtests/slowcos-inputs: New file.
15150 * benchtests/slowcos.c: New file.
15151 * benchtests/slowtan-inputs: New file.
15152 * benchtests/slowtan.c: New file.
15153 * benchtests/tan-inputs: New file.
15154
e913141d
RM
151552013-04-16 Roland McGrath <roland@hack.frob.com>
15156
15157 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15158 considered kosher.
15159
a2964074
SP
151602013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15161
4856bcd2
SP
15162 * benchtests/Makefile: Include cppflags-iterator.mk to add
15163 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15164
a2964074
SP
15165 * Makefile.in (bench-clean): New target.
15166 * benchtests/Makefile (bench-clean): Likewise.
15167
9fbf9aca
DH
151682013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15169
15170 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15171
207d1e2a
TS
151722013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15173
15174 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15175
306dfba9
AS
151762013-04-15 Andreas Schwab <schwab@suse.de>
15177
15178 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15180 * nscd/pwdcache.c (cache_addpw): Likewise.
15181 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15182 more than recsize.
15183
206a6699
SP
151842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15185
15186 * benchtests/Makefile (bench): Write all output to
15187 bench-out.tmp together.
15188
0582f6b3
AS
151892013-04-15 Andreas Schwab <schwab@suse.de>
15190
15191 * nscd/nscd.c (main): Don't fork again after closing files.
15192
acb4325f
SP
151932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15194
5cb26d0a
SP
15195 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15196
acb4325f
SP
15197 * benchtests/Rules (bench-deps): Collect dependencies into a
15198 single variable. Add Makefile to dependencies.
15199 ($(objpfx)bench-%.c): Depend on bench-deps.
15200
47792506
RM
152012013-04-12 Roland McGrath <roland@hack.frob.com>
15202 Xavier Roche <roche+kml2@exalead.com>
15203
15204 [BZ #15361]
15205 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15206 just that it's a file descriptor.
15207 * manual/llio.texi (Synchronizing AIO Operations): Update description
15208 for EBADF error from aio_fsync.
15209
8fc1bee5
SP
152102013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15211
15212 * Rules (bench): Move target definition...
15213 * benchtests/Makefile: ... here.
15214
aba5e333
CD
152152013-04-11 Carlos O'Donell <carlos@redhat.com>
15216
15217 * math/libm-test.inc (cos_test): Fix PI/2 test.
15218 (sincos_test): Likewise.
15219 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15220 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15221
273cdee8
AS
152222013-04-11 Andreas Schwab <schwab@suse.de>
15223
6ecec3b6
AS
15224 [BZ #13988]
15225 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15226 accept exponent character only when digits were seen.
15227 * stdio-common/Makefile (tests): Add bug26.
15228 * stdio-common/bug26.c: New file.
15229
273cdee8
AS
15230 [BZ #14293]
15231 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15232 non-freeable.
15233
8da491f5
SP
152342013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15235
01dc6df9
SP
15236 * Makeconfig (rtld-prefix): Define built linker prefix.
15237 * Rules (run-bench): Use it.
15238 * math/Makefile (run-regen-ulps): Likewise.
15239
8da491f5
SP
15240 * Rules (bench): Remove eval.
15241
abe7f530
SP
152422013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15243 Roland McGrath <roland@hack.frob.com>
15244 Ondrej Bilka <neleai@seznam.cz>
15245
15246 [BZ #15346]
15247 * time/getdate.c: Include ctype.h and alloca.h.
15248 (__getdate_r): Trim leading and trailing spaces of input.
15249 * time/tst-getdate.c (tests): Add tests with leading and
15250 trailing spaces.
15251
61c23e62
RM
152522013-04-08 Roland McGrath <roland@hack.frob.com>
15253
15254 [BZ #14280]
15255 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15256 when computing value.
15257
7208a313
CD
152582013-04-06 Carlos O'Donell <carlos@redhat.com>
15259
085b2d41
CD
15260 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15261 Use testrun.sh to run libm tests.
15262
7208a313
CD
15263 [BZ #15309]
15264 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15265
872c0acd
MM
152662013-04-06 Marko Myllynen <myllynen@redhat.com>
15267
15268 [BZ #15264]
15269 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15270
26510bdd
CD
152712013-04-06 Carlos O'Donell <carlos@redhat.com>
15272
15273 * Makefile.in (regen-ulps): New target.
15274 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15275 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15276 [ifneq (no,$(PERL)] (regen-ulps): New target.
15277 [ifeq (no,$(PERL)] (regen-ulps): New target.
15278 * math/libm-test.inc (ulps_file_name): Define.
15279 (output_dir): New variable.
15280 (options): Add "output-dir" option.
15281 (parse_opt): Handle 'o' case.
15282 (main): If output_dir is non-NULL use it as a prefix
15283 otherwise use "".
15284 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15285
a01f19c8
CD
152862013-04-06 Carlos O'Donell <carlos@redhat.com>
15287
15288 [BZ #10060, #10062]
15289 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15290 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15291 fail configure if __sync_val_compare_and_swap is not inlined.
15292 * sysdeps/i386/configure: Regenerate.
15293 * configure.in: Build for i686 when configured for i386.
15294 * configure: Regenerate.
15295 * README: Remove i386 reference.
15296
b7a329a5
CD
152972013-04-06 Carlos O'Donell <carlos@redhat.com>
15298
15299 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15300 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15301
bf0f50df
TS
153022013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15303
ee091edf
TS
15304 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15305 (lmsnanval): New variables.
15306 (F): Add conversion tests.
15307 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15308 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15309
a8b792d6
TS
15310 * stdio-common/tstdiomisc.c (F): Properly collect individual
15311 tests' results.
15312
a1cbf437
TS
15313 [BZ #14686, #15336]
15314 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15315 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15316 Instead, use input NaN values or generate a qNaN by arithmetic
15317 operation. Also fix bugs to comply with the standard.
15318 * math/libm-test.inc (remainder_test): Add more tests.
15319
8b43a0c9
TS
15320 [BZ #15335, #15342]
15321 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15322 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15323 input NaN values or generate a qNaN by arithmetic operation.
15324
d91da4ce
TS
15325 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15326 unreachable code.
15327
bf0f50df
TS
15328 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15329 definitions.
15330
05e166c8
JM
153312013-04-03 Joseph Myers <joseph@codesourcery.com>
15332
15333 [BZ #14478]
15334 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15335 underflowed result.
15336 * math/s_cexpf.c (__cexpf): Likewise.
15337 * math/s_cexpl.c (__cexpl): Likewise.
15338 * math/libm-test.inc (cexp_test): Add more tests.
15339
1cef1b19
AS
153402013-04-03 Andreas Schwab <schwab@suse.de>
15341
15342 [BZ #15330]
15343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15344 order arrays from heap if bigger than alloca cutoff.
15345
74d87055
TS
153462013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15347
15348 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15349 (SNAN_TESTS_double): Refer to GCC PR56831.
15350 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15351 GCC PR56828.
15352
d755bba4
SP
153532013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15354
90d5d5bb
SP
15355 * Rules (bench): Move bench.out after the run is complete.
15356
73e0cd5d
SP
15357 * Rules (bench): Echo currently running benchmark.
15358
64aabd4b
SP
15359 * benchtests/Makefile (bench): Add atan and slowatan.
15360 * benchtests/atan-inputs: New file.
15361 * benchtests/slowatan-inputs: New file.
15362 * benchtests/slowatan.c: New file.
15363
c871eccd
SP
15364 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15365 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15366 its value.
15367
d755bba4
SP
15368 [BZ #15305]
15369 * sysdeps/unix/sysv/linux/kernel-features.h
15370 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15371 __ASSUME_XFS_RESTRICTED_CHOWN.
15372 * sysdeps/unix/sysv/linux/pathconf.c
15373 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15374 Save and restore errno.
15375
52ce4860
JM
153762013-04-02 Joseph Myers <joseph@codesourcery.com>
15377
15378 [BZ #15327]
15379 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15380 arguments using __kernel_casinh.
15381 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15382 arguments using __kernel_casinhf.
15383 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15384 arguments using __kernel_casinhl.
15385 * math/libm-test.inc (cacosh_test): Add more tests.
15386 * sysdeps/i386/fpu/libm-test-ulps: Update.
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15388
81f311c2
SP
153892013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15390
e7906a47
SP
15391 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15393
92e3664b
SP
15394 * bench/Makefile (bench): Add sin and slowsin.
15395 * benchtests/sin-inputs: New file.
15396 * benchtests/slowsin-inputs: New file.
15397 * benchtests/slowsin.c: New file.
15398
81f311c2
SP
15399 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15400 (bench): Add slowexp and slowpow.
15401 (exp-ITER): Increase iterations.
15402 (pow-ITER): Likewise.
15403 * benchtests/exp-inputs: Change input.
15404 * benchtests/pow-inputs: Likewise.
15405 * benchtests/slowexp-inputs: New file.
15406 * benchtests/slowexp.c: New file.
15407 * benchtests/slowpow-inputs: New file.
15408 * benchtests/slowpow.c: New file.
15409
ab0f1aa9
AZ
154102013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15411
15412 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15413 instructions.
15414 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15415 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15416 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15417 * benchtests/Makefile: Add rint benchtest.
15418 * benchtests/rint-inputs: Input for rint benchtest.
15419
57267616
TS
154202013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15421
15422 * Versions.def (libm): Add GLIBC_2.18.
15423 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15424 hidden libm prototypes.
15425 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15426 * math/Makefile (libm-calls): Add s_issignaling.
15427 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15428 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15429 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15430 declaration.
15431 * math/math.h [__USE_GNU] (issignaling): New macro.
15432 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15433 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15435 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15438 * manual/arith.texi (issignaling): New section.
15439 * manual/libm-err-tab.pl (@all_functions): Update comment.
15440 * math/gen-libm-test.pl (parse_args): Apply special handling for
15441 issignaling.
15442 * math/libm-test.inc (print_float, issignaling_test): New
15443 functions.
15444 (check_float_internal): Add issignaling checks.
15445 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15446 default definition.
15447 * sysdeps/powerpc/math-tests.h: New file.
15448 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15449 tests.
15450 * math/test-snan.c (TEST_FUNC): Likewise.
15451
6142896d
DM
154522013-03-30 David S. Miller <davem@davemloft.net>
15453
15454 * po/de.po: Update from translation team.
15455
ccc8cadf
JM
154562013-03-30 Joseph Myers <joseph@codesourcery.com>
15457
15458 [BZ #10357]
15459 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15460 imaginary part less than 1.0 and real part less than 0.5
15461 specially.
15462 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15463 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15464 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15465 (cacos_test): Add more tests.
15466 (casin_test): Likewise.
15467 (casinh_test): Likewise.
15468 * sysdeps/i386/fpu/libm-test-ulps: Update.
15469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15470
0f6a8d4b
SP
154712013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15472
0d1029de
SP
15473 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15474 ONE with its value.
15475
c2d94018
SP
15476 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15477 (__pow_mp): Replace ONE and MONE with their values.
15478 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15480 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15481 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15482 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15483 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15484
27ec37f1
SP
15485 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15486
a64d7e0e
SP
15487 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15488 (__pow_mp): Replace ZERO and MZERO with their values.
15489 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15491 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15493 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15494 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15495 (__sqr): Likewise.
15496
d26dd3eb
SP
15497 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15498
0f6a8d4b
SP
15499 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15500
e57b0c61
RM
155012013-03-28 Roland McGrath <roland@hack.frob.com>
15502
15503 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15504 Declare with __attribute__ ((weak)).
15505 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15506 Call __call_tls_dtors only if it's not NULL.
15507
356b3480
RM
155082013-03-28 Roland McGrath <roland@hack.frob.com>
15509
288f7d79
RM
15510 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15511 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15512 magic __ehdr_start linker symbol if it's defined.
15513 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15514 them up here if it was already done.
15515
dc0a0263
RM
15516 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15517 (_dl_aux_init): Use const in cast when setting it.
15518 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15519 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15520 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15521
3d3436ae
RM
15522 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15523 Declare them here.
15524 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15525 * csu/libc-tls.c: Nor here.
15526 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15527
356b3480
RM
15528 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15529 (__libc_message): Never call vsyslog.
15530
b0f1246a
AM
155312013-03-28 Alan Modra <amodra@gmail.com>
15532
15533 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15534 Define as empty.
15535 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15536 Likewise.
15537
fbbe2b9a
AZ
155382013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15539
15540 [BZ #15214]
15541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15542 underflow.
15543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15544
1728ab37
SP
155452013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15546
7a86be6e
SP
15547 [BZ #15304]
15548 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15549 Don't add gid passed as argument.
15550
1728ab37
SP
15551 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15552
3a7182a1
JM
155532013-03-27 Joseph Myers <joseph@codesourcery.com>
15554
15555 [BZ #15307]
15556 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15557 imaginary part between 1.0 and 1.5 and real part less than 0.5
15558 specially.
15559 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15560 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15561 * math/libm-test.inc (cacos_test): Add more tests.
15562 (casin_test): Likewise.
15563 (casinh_test): Likewise.
15564 * sysdeps/i386/fpu/libm-test-ulps: Update.
15565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15566
6f2e90e7
SP
155672013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15568
5739f705
SP
15569 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15570 constants.
15571 (norm): Likewise.
15572 (denorm): Likewise.
15573 (__dbl_mp): Likewise.
15574 (add_magnitudes): Likewise.
15575 (sub_magnitudes): Likewise.
15576 (__add): Likewise.
15577 (__sub): Likewise.
15578 (__mul): Likewise.
15579 (__sqr): Likewise.
15580 (__inv): Likewise.
15581 (__dvd): Likewise.
15582
e375e83d
SP
15583 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15584 commented code.
15585 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15586 (__dubcos): Likewise.
15587 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15588 (__ieee754_acos): Likewise.
15589 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15590 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15591 (__exp1): Likewise.
15592 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15594 (log1): Likewise.
15595 (my_log2): Likewise.
15596 (checkint): Likewise.
15597 * sysdeps/ieee754/dbl-64/e_remainder.c
15598 (__ieee754_remainder): Likewise.
15599 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15600 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15601 (bsloww): Likewise.
15602 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15603
6f2e90e7
SP
15604 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15605 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15606 MANTISSA_STORE_T to store computations on mantissa. Use
15607 macros for rounding and division.
15608 (denorm): Likewise.
15609 (__dbl_mp): Likewise.
15610 (add_magnitudes): Likewise.
15611 (sub_magnitudes): Likewise.
15612 (__mul): Likewise.
15613 (__sqr): Likewise.
15614 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15615 powers of two in terms of TWOPOW macro.
15616 (mp_no): Make type of mantissa as MANTISSA_T.
15617 [!RADIXI]: Define RADIXI.
15618 [!TWO52]: Define TWO52.
15619 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15620
fce14d4e
AZ
156212013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15622
15623 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15624 llroundl symbol when building for PPC32.
15625
9ad027fb
MW
156262013-03-24 Mark H Weaver <mhw@netris.org>
15627
15628 * manual/arith.texi (Normalization Functions): Fix prototypes for
15629 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15630
e42a38dd
AZ
156312013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15632
15633 [BZ #13889]
15634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15635 high value to check if expl overflow.
15636 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15637 to check for underflow and overflow.
15638 * math/libm-test.inc: Add exp test.
15639
2e0fb521
DL
156402013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15641
15642 [BZ #11120]
15643 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15644 with NOT_IN_libc.
15645
b5784d95
AZ
156462013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15647
15648 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15649 symbol.
15650
5aa4a1a1
TS
156512013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15652
bdef0be7
TS
15653 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15654 wrap blocks consisting of several statements.
15655
5aa4a1a1
TS
15656 * sysdeps/generic/math-tests.h: New file.
15657 * sysdeps/i386/fpu/math-tests.h: Likewise.
15658 * math/test-snan.c: Include it.
15659 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15660
98c48fe5
JM
156612013-03-21 Joseph Myers <joseph@codesourcery.com>
15662
15663 [BZ #15285]
15664 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15665 (__ieee754_j0l): Do not improve calculations using cos of twice
15666 input for inputs above LDBL_MAX / 2.0L.
15667 (__ieee754_y0l): Likewise.
15668 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15669 (__ieee754_j1l): Do not improve calculations using cos of twice
15670 input for inputs above LDBL_MAX / 2.0L.
15671 (__ieee754_y1l): Likewise.
15672 * math/libm-test.inc (j0_test): Add another test.
15673 (j1_test): Likewise.
15674 (y0_test): Likewise.
15675 (y1_test): Likewise.
15676 * sysdeps/i386/fpu/libm-test-ulps: Update.
15677
3775a8bc
SP
156782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15679
15680 * Rules ($(objpfx)bench-%.c): Include code from a C source
15681 file.
15682
0a1b2ae6
JM
156832013-03-21 Joseph Myers <joseph@codesourcery.com>
15684
15685 [BZ #15287]
15686 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15687 imaginary part 1.0 and real part less than 0.5 specially.
15688 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15689 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15690 * math/libm-test.inc (cacos_test): Add more tests.
15691 (casin_test): Likewise.
15692 (casinh_test): Likewise.
15693 * sysdeps/i386/fpu/libm-test-ulps: Update.
15694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15695
b33d4ce4
SP
156962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15697
15698 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15699 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15700
bef0b507
JM
157012013-03-20 Joseph Myers <joseph@codesourcery.com>
15702
15703 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15704 * config.make.in (config-cflags-sse4): Remove variable.
15705 (config-cflags-avx): Likewise.
15706 (config-cflags-sse2avx): Likewise.
15707 (config-cflags-novzeroupper): Likewise.
15708 (config-asflags-i686): Likewise.
15709 (have-mfma4): Likewise.
15710 (have-as-vis3): Likewise.
15711 (MIG): Likewise.
15712 * configure.in (MIG): Do not AC_SUBST.
15713 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15714 (libc_cv_cc_sse4): Do not AC_SUBST.
15715 (libc_cv_cc_avx): Likewise.
15716 (libc_cv_cc_sse2avx): Likewise.
15717 (libc_cv_cc_novzeroupper): Likewise.
15718 (libc_cv_cc_fma4): Likewise.
15719 (libc_cv_as_i686): Likewise.
15720 (libc_cv_sparc_as_vis3): Likewise.
15721 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15722 LIBC_CONFIG_VAR.
15723 (config-asflags-i686): Likewise.
15724 (config-cflags-avx): Likewise.
15725 (config-cflags-sse2avx): Likewise.
15726 (have-mfma4): Likewise.
15727 (config-cflags-novzeroupper): Likewise.
15728 * sysdeps/mach/configure.in (MIG): Likewise.
15729 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15730 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15731 LIBC_CONFIG_VAR.
15732 (config-cflags-avx): Likewise.
15733 (config-cflags-sse2avx): Likewise.
15734 (have-mfma4): Likewise.
15735 (config-cflags-novzeroupper): Likewise.
15736 * configure: Regenerated.
15737 * sysdeps/i386/configure: Likewise.
15738 * sysdeps/mach/configure: Likewise.
15739 * sysdeps/sparc/configure: Likewise.
15740 * sysdeps/x86_64/configure: Likewise.
15741
912cc4b3
RM
157422013-03-20 Roland McGrath <roland@hack.frob.com>
15743
15744 [BZ #14812]
15745 * locale/programs/localedef.c (options): Put N_ translation marker
15746 on argument names, not just descriptions.
15747
04eed2b0
MS
157482013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15749
15750 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15751
a065ceff
OB
157522013-03-20 Ondřej Bílka <neleai@seznam.cz>
15753
9bb2a810 15754 [BZ #14176]
a065ceff
OB
15755 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15756
a600e5ce
RM
157572013-03-19 Roland McGrath <roland@hack.frob.com>
15758
15759 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15760 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15761 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15762 [!BEFORE_ABORT] (before_abort): New function.
15763 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15764 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15765 (writev_for_fatal): New function.
15766 (WRITEV_FOR_FATAL): New macro; call that.
15767 (backtrace_and_maps): New function.
15768 (BEFORE_ABORT): New macro; call that.
15769 (struct str_list): Type removed.
15770 (__libc_message, __libc_fatal): Functions removed.
15771 Include <sysdeps/posix/libc_fatal.c> instead.
15772
6b18bea6
JM
157732013-03-19 Joseph Myers <joseph@codesourcery.com>
15774
15775 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15776 constants.
15777 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15778 double constants.
15779
aaa8cb4b
AS
157802013-03-19 Andreas Schwab <schwab@suse.de>
15781
44673770
AS
15782 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15783 * sysdeps/gnu/configure: Regenerate.
15784
aaa8cb4b
AS
15785 * configure.in: Substitute libc_cv_rtlddir.
15786 * configure: Regenerate.
15787 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15788 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15789 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15790 * elf/Makefile (install-others, CFLAGS-interp.c)
15791 (ldso_install, common-ldd-rewrite): Likewise.
15792 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15793 $(inst_slibdir)/$(rtld-installed-name).
15794 * scripts/rellns-sh: Add -p option.
15795 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15796 for source.
15797
d3cfc668
SP
157982013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15799
15800 * manual/nptl.texi: Renamed to ...
15801 * manual/threads.texi: ... this.
15802 * manual/Makefile (chapters): Update.
15803
0e2b9cdd
RM
158042013-03-18 Roland McGrath <roland@hack.frob.com>
15805
15806 [BZ #14812]
15807 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15808 on argument names, not just descriptions.
0e2b9cdd
RM
15809 * malloc/memusagestat.c (options): Likewise.
15810 * nss/getent.c (options): Likewise.
63270c24
RM
15811
158122013-03-18 Benno Schulenberg <bensberg@justemail.net>
15813
15814 [BZ #14812]
15815 * iconv/iconv_prog.c (options): Put N_ translation marker
15816 on argument names, not just descriptions.
15817 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15818
b2e1393c
OB
158192013-03-18 Ondrej Bilka <neleai@seznam.cz>
15820
15821 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15822 implementation which is faster on all x86_64 architectures.
15823 Tested on AMD, Intel Nehalem, SNB, IVB.
15824 * sysdeps/x86_64/strnlen.S: Likewise.
15825
15826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15827 Remove all multiarch strlen and strnlen versions.
15828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15829 Remove strlen and strnlen related parts.
15830
15831 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15832 Inline strlen part.
15833 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15834
15835 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15836 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15837 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15838 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15839 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15840 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15841
ec4ff04d
CD
158422013-03-17 Carlos O'Donell <carlos@redhat.com>
15843
15844 * manual/memory.texi (Malloc Tunable Parameters):
15845 Sort parameters alphabetically. Add comments for missing entries.
15846
cd18e90a
DM
158472013-03-17 David S. Miller <davem@davemloft.net>
15848
15849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15850
2a185d32
JM
158512013-03-16 Joseph Myers <joseph@codesourcery.com>
15852
d2f9799e
JM
15853 [BZ #15283]
15854 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15855 for arguments at most half maximum finite value.
15856 * math/libm-test.inc (j0_test): Add more tests.
15857 (j1_test): Likewise.
15858 (y0_test): Likewise.
15859 (y1_test): Likewise.
15860 * sysdeps/i386/fpu/libm-test-ulps: Update.
15861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15862
2a185d32
JM
15863 [BZ #14155]
15864 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15865 1 / x and functions P and Q for arguments above 0x1p256L.
15866 (__ieee754_y0l): Likewise.
15867 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15868 (__ieee754_y1l): Likewise.
15869 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15870 (j1_test): Likewise.
15871 (y0_test): Likewise.
15872 (y1_test): Likewise.
15873
6cbec759
TS
158742013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15875
15876 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15877 variable.
15878
bc16e260
RM
158792013-03-15 Roland McGrath <roland@hack.frob.com>
15880
aefc9b8c
RM
15881 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15882 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15883 zero since it's initialized to EXEC_PAGESIZE.
15884
bc16e260
RM
15885 * sysdeps/unix/sysv/linux/ldsodefs.h
15886 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15887 * sysdeps/generic/ldsodefs.h: ... here.
15888
a57da955
TS
158892013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15890
af00a34d
TS
15891 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15892
495ded2c
TS
15893 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15894 math/test-snan.c.
15895 * math/test-snan.c: Renamed from
15896 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15897 * math/Makefile (tests): Add test-snan.
15898 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15899 test-powerpc-snan.
15900
777b0332
TS
15901 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15902 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15903 functions.
15904 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15905 __builtin_nan family of functions.
15906 * math/libm-test.inc (initialize): Initialize qnan_value with
15907 __builtin_nan family of functions.
15908 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15909 Remove variables.
15910 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15911 Remove functions.
15912 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15913 storage class. Initialize qNaN_var and sNaN_var with
15914 __builtin_nan and __builtin_nans families of functions,
15915 respectively.
15916
64d063b8
TS
15917 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15918 (sqrt_test): Remove duplicate test with qNaN input.
15919 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15920 (round_test, signbit_test, significand_test): Note missing +/-Inf
15921 as well as qNaN tests.
15922
67e971f1
TS
15923 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15924 qNaN_var. Fix a few strings, too.
15925 * math/libm-test.inc (nan_value): Rename to qnan_value.
15926 * math/gen-libm-test.pl (%beautify): Adjust to that.
15927 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15928 * math/test-misc.c (main): Likewise.
15929 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15930 to __qnan_bytes, and __qnan_union, respectively.
15931 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15932 Likewise.
15933 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15934 and lqnanval, respectively.
15935 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15936 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15937 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15938 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15939
64487e12
TS
15940 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15941 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15942 doubles.
15943
e015e27b
TS
15944 * math/test-misc.c (main): Fix copy'n'pastos.
15945 * misc/tst-efgcvt.c (special): Likewise.
15946
a57da955
TS
15947 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15948 Remove declarations.
15949
1e380345
SP
159502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15951
15952 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15953 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15954 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15955 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15956
ef26eece
AZ
159572013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15958
15959 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15960 macro to return vdso values correctly in IFUNC implementations.
15961 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15962 Optimization by using IFUNC.
15963
8cfdb7e0
SP
159642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15965 Richard Henderson <rth@redhat.com>
15966 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15967
15968 * Makefile.in (bench): New target.
15969 * NEWS: Mention the benchmark framework.
15970 * Rules (bench): Likewise.
15971 (binaries-bench): Generate binaries for functions to
15972 benchmark.
15973 * benchtests/Makefile: New makefile for benchmark tests.
15974 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15975 programs.
15976 * benchtests/exp-inputs: New input file for EXP function.
15977 * benchtests/pow-inputs: New input file for POW function.
15978 * scripts/bench.pl: New script to generate source files for
15979 benchmark programs.
15980
bcda9880
SP
159812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15982
d22ca8cd
SP
15983 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15984 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15985 computations on mantissa. Use macros for rounding and
15986 division.
15987 (denorm): Likewise.
15988 (__dbl_mp): Likewise.
15989 (add_magnitudes): Likewise.
15990 (sub_magnitudes): Likewise.
15991 (__mul): Likewise.
15992 (__sqr): Likewise.
15993 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15994 powers of two in terms of TWOPOW macro.
15995 (mp_no): Make type of mantissa as MANTISSA_T.
15996 [!RADIXI]: Define RADIXI.
15997 [!TWO52]: Define TWO52.
15998 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15999
bcda9880
SP
16000 * manual/nptl.texi (cindex): Modify threads to pthreads.
16001
06d5adfb
JM
160022013-03-15 Joseph Myers <joseph@codesourcery.com>
16003
16004 * sysdeps/x86_64/preconfigure: Regenerated.
16005
41c7328e
JM
160062013-03-14 Joseph Myers <joseph@codesourcery.com>
16007
16008 [BZ #14155]
16009 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16010 0x1p28 and above.
16011 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16012 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16013 0x1p28 and above.
16014 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16015 * math/libm-test.inc (j0_test): Do not allow one spurious
16016 underflow exception.
16017 (y1_test): Likewise.
16018
e25cfa60
SP
160192013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16020
0409959c
SP
16021 * manual/Makefile (chapters): Add nptl.
16022 * manual/debug.texi (Debugging Support): Add link to Threads
16023 chapter.
16024 * manual/nptl.texi: New file.
16025
e25cfa60
SP
16026 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16027
58a1335e
PB
160282013-03-14 Petr Baudis <pasky@ucw.cz>
16029
16030 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16031 for non-NULL pointer before the memory validity test. Pointed
16032 out by Holger Brunck <holger.brunck@keymile.com>.
16033
9dc7c64f
AS
160342013-03-13 Andreas Schwab <schwab@suse.de>
16035
16036 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16037 instead of .os.
16038
54206aa6
JM
160392013-03-13 Joseph Myers <joseph@codesourcery.com>
16040
16041 * timezone/zic.c: Update from tzcode 2013b.
16042
e98cdb38
CD
160432013-03-12 Carlos O'Donell <carlos@redhat.com>
16044
16045 * manual/install.texi (Configuring and compiling):
16046 Mention i686 and i586.
16047 * INSTALL: Regenerate.
16048
9967e003
RM
160492013-03-12 Roland McGrath <roland@hack.frob.com>
16050
16051 * sysdeps/init_array/elf-init.c: New file.
16052 * csu/elf-init.c
16053 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16054 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16055
16056 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16057 __gmon_start__ as global, but as static with a .preinit_array pointer.
16058 * sysdeps/init_array/gmon-start.c: New file. Use that.
16059 * sysdeps/init_array/crti.S: New file, empty except for comments.
16060 * sysdeps/init_array/crtn.S: Likewise.
16061
e6b5a293 160622013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16063
16064 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16065 definining bcopy.
80f844c9
OB
16066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16067 Remove Prefer_SSE_for_memop.
16068 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16069 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16070 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16072 memset-x86-64.
80f844c9 16073 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16074 Remove bzero, memset ifunc support.
80f844c9
OB
16075 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16076 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16077 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16078 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16079
fb6b0fcb
AS
160802013-03-11 Andreas Schwab <schwab@suse.de>
16081
16082 [BZ #15234]
16083 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16084 by SHLIB_COMPAT.
16085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16086 (GLIBC_2.16): Remove pthread_atfork.
16087
3e6bd4b1
PP
160882013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16089
16090 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16091 (ptestcases.h): Likewise.
16092
222d7f00
RM
160932013-03-08 Roland McGrath <roland@hack.frob.com>
16094
16095 * Makeconfig ($(common-objpfx)config.status): Depend on
16096 sysdeps/*/preconfigure{,.in} too.
16097
1ba4f030
JM
160982013-03-08 Joseph Myers <joseph@codesourcery.com>
16099
a222d91a
JM
16100 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16101 (__free_hook): Use void * instead of __malloc_ptr_t.
16102 (__malloc_hook): Likewise.
16103 (__realloc_hook): Likewise.
16104 (__memalign_hook): Likewise.
16105 (__after_morecore_hook): Likewise.
16106 * malloc/arena.c (save_malloc_hook): Likewise.
16107 (save_free_hook): Likewise.
16108 * malloc/hooks.c (malloc_hook_ini): Likewise.
16109 (realloc_hook_ini): Likewise.
16110 (memalign_hook_ini): Likewise.
16111 * malloc/malloc.c (malloc_hook_ini): Likewise.
16112 (realloc_hook_ini): Likewise.
16113 (memalign_hook_ini): Likewise.
16114 (__free_hook): Likewise.
16115 (__malloc_hook): Likewise.
16116 (__realloc_hook): Likewise.
16117 (__memalign_hook): Likewise.
16118 (__libc_malloc): Likewise.
16119 (__libc_free): Likewise.
16120 (__libc_realloc): Likewise.
16121 (__libc_memalign): Likewise.
16122 (__libc_valloc): Likewise.
16123 (__libc_pvalloc): Likewise.
16124 (__libc_calloc): Likewise.
16125 (__posix_memalign): Likewise.
16126 * malloc/morecore.c (__sbrk): Likewise.
16127 (__default_morecore): Likewise.
16128
5cc45e10
JM
16129 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16130
dd54b864
JM
16131 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16132 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16133 __malloc_ptrdiff_t.
16134
1ba4f030
JM
16135 * malloc/malloc.h (__malloc_size_t): Remove macro.
16136 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16137 __malloc_size_t.
16138 (old_memalign_hook): Likewise.
16139 (old_realloc_hook): Likewise.
16140 (struct hdr): Likewise.
16141 (flood): Likewise.
16142 (mallochook): Likewise.
16143 (memalignhook): Likewise.
16144 (reallochook): Likewise.
16145 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16146 (tr_old_realloc_hook): Likewise.
16147 (tr_old_memalign_hook): Likewise.
16148 (tr_mallochook): Likewise.
16149 (tr_reallochook): Likewise.
16150 (tr_memalignhook): Likewise.
16151
edf66e57
AZ
161522013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16153
16154 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16155 default_ldbl_pack and using as default implementation.
16156 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16157 implementation.
16158 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16159 redundant definition.
16160 (ldbl_insert_mantissa): Likewise.
16161 (ldbl_canonicalize): Likewise.
16162 (ldbl_nearbyint): Likewise.
16163 (ldbl_pack): Rename to ldbl_pack_ppc.
16164 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16165 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16166 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16167
6d9145d8
SP
161682013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16169
16170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16171 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16172 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16173 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16175 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16176 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16177 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16178
4dd4e157
AJ
161792013-03-07 Andreas Jaeger <aj@suse.de>
16180
16181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16182 bits/mman-linux.h.
16183
adbb8027
SP
161842013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16185
ce544b5b
SP
16186 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16187 Include mpa.h and declare __MPEXP.
16188 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16189 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16190 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16191 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16192 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16193 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16194 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16195
4cc149fd
SP
16196 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16197 (__slowpow): Use long double EXPL and LOGL functions to
16198 compute POW.
16199 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16200 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16201 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16202 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16203 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16204 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16205
e6ebd4a7
SP
16206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16207 intermediate variable to calculate exponent.
16208 (__sqr): Likewise.
16209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16210 Likewise.
16211 (__sqr): Likewise.
16212
82a9811d
SP
16213 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16214 [!NO__SQR]: Define __sqr.
16215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16216 and NO__SQR. Remove all code except __mul and __sqr. Include
16217 sysdeps/ieee754/dbl-64/mpa.c.
16218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16219
adbb8027
SP
16220 [BZ #12723]
16221 * posix/Makefile (tests): Add tst-pathconf.
16222 * posix/tst-pathconf.c: New test case.
16223 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16224 _PC_PIPE_BUF.
16225 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16226
39120df9
PF
162272013-03-06 Patsy Franklin <pfrankli@redhat.com>
16228
16229 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16230
67525cb8
AJ
162312013-03-06 Andreas Jaeger <aj@suse.de>
16232
664a9ce4
AJ
16233 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16234 definition via __MAP_ANONYMOUS.
16235
8e39047d
AJ
16236 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16237 it's not part of Linux headers.
16238
67525cb8
AJ
16239 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16240 (MAP_HUGE_MASK): Define.
16241
16242 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16243 Define.
16244 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16245 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16246 Define.
16247 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16248 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16249 Define.
16250 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16251 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16252 Define.
16253 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16254
16255 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16256 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16257 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16258 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16259 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16260 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16261
16262 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16263 Handle f2fs.
16264
16265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16266 Handle f2fs and efivarfs.
16267
16268 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16269 f2fs.
16270
16271 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16272 (EFIVARFS_MAGIC): Add.
16273 (F2FS_LINK_MAX): Add.
16274
e1b42695
PP
162752013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16276
16277 * stdio-common/vfprintf.c: Replace __builtin_expect with
16278 __glibc_unlikely.
16279
2d67d91a
JM
162802013-03-06 Joseph Myers <joseph@codesourcery.com>
16281
16282 [BZ #13550]
16283 * sysdeps/generic/bp-sym.h: Remove file.
16284 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16285 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16286 <bp-sym.h> and <bp-asm.h>.
16287 (__longjmp): Don't use BP_SYM.
16288 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16289 and <bp-asm.h>.
16290 (memcpy): Don't use BP_SYM.
16291 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16292 <bp-sym.h> and <bp-asm.h>.
16293 (memcpy): Don't use BP_SYM.
16294 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16295 <bp-asm.h>.
16296 (memcpy): Don't use BP_SYM.
16297 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16298 <bp-asm.h>.
16299 (memset): Don't use BP_SYM.
16300 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16301 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16302 (__bzero): Don't use BP_SYM.
16303 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16304 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16305 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16306 <bp-sym.h> and <bp-asm.h>.
16307 (memcmp): Don't use BP_SYM. Remove comment about bounded
16308 pointers.
16309 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16310 <bp-sym.h> and <bp-asm.h>.
16311 (memcpy): Don't use BP_SYM.
16312 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16313 <bp-sym.h> and <bp-asm.h>.
16314 (memset): Don't use BP_SYM.
16315 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16316 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16317 (__bzero): Don't use BP_SYM.
16318 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16319 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16320 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16321 <bp-sym.h> and <bp-asm.h>.
16322 (strncmp): Don't use BP_SYM. Remove comment about bounded
16323 pointers.
16324 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16325 <bp-sym.h> and <bp-asm.h>.
16326 (memcpy): Don't use BP_SYM.
16327 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16328 <bp-sym.h> and <bp-asm.h>.
16329 (memset): Don't use BP_SYM.
16330 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16331 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16332 (__bzero): Don't use BP_SYM.
16333 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16334 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16335 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16336 <bp-sym.h> and <bp-asm.h>.
16337 (__memchr): Don't use BP_SYM.
16338 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16339 <bp-sym.h> and <bp-asm.h>.
16340 (memcmp): Don't use BP_SYM. Remove comment about bounded
16341 pointers.
16342 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16343 <bp-sym.h> and <bp-asm.h>.
16344 (memcpy): Don't use BP_SYM.
16345 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16346 <bp-sym.h> and <bp-asm.h>.
16347 (__mempcpy): Don't use BP_SYM.
16348 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16349 <bp-sym.h> and <bp-asm.h>.
16350 (__memrchr): Don't use BP_SYM.
16351 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16352 <bp-sym.h> and <bp-asm.h>.
16353 (memset): Don't use BP_SYM.
16354 (__bzero): Likewise.
16355 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16356 <bp-sym.h> and <bp-asm.h>.
16357 (__rawmemchr): Don't use BP_SYM.
16358 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16359 <bp-sym.h> and <bp-asm.h>.
16360 (__STRCMP): Don't use BP_SYM.
16361 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16362 <bp-sym.h> and <bp-asm.h>.
16363 (strchr): Don't use BP_SYM.
16364 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16365 <bp-sym.h> and <bp-asm.h>.
16366 (__strchrnul): Don't use BP_SYM.
16367 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16368 <bp-sym.h> and <bp-asm.h>.
16369 (strlen): Don't use BP_SYM.
16370 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16371 <bp-sym.h> and <bp-asm.h>.
16372 (strncmp): Don't use BP_SYM. Remove comment about bounded
16373 pointers.
16374 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16375 <bp-sym.h> and <bp-asm.h>.
16376 (__strnlen): Don't use BP_SYM.
16377 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16378 <bp-sym.h> and <bp-asm.h>.
16379 (__GI__setjmp): Don't use BP_SYM.
16380 (_setjmp): Likewise.
16381 (__sigsetjmp): Likewise.
16382 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16383 (L(start_addresses)): Don't use BP_SYM.
16384 (_start): Likewise.
16385 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16386 <bp-asm.h>.
16387 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16388 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16389 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16390 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16391 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16392 <bp-asm.h>.
16393 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16394 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16395 about bounded pointers.
16396 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16397 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16398 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16399 <bp-asm.h>.
16400 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16401 about bounded pointers. Remove GKM FIXME comments.
16402 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16403 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16404 <bp-asm.h>.
16405 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16406 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16407 Remove GKM FIXME comments.
16408 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16409 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16410 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16411 <bp-asm.h>.
16412 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16413 about bounded pointers. Remove GKM FIXME comment.
16414 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16415 and <bp-asm.h>.
16416 (strncmp): Don't use BP_SYM. Remove comment about bounded
16417 pointers.
16418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16419 <bp-sym.h> and <bp-asm.h>.
16420 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16422 <bp-sym.h> and <bp-asm.h>.
16423 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16424 comment.
16425
cdcf361f
PP
164262013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16427
16428 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16429 call free(NULL).
16430
3c4a2b15
DM
164312013-03-05 David S. Miller <davem@davemloft.net>
16432
16433 * po/es.po: Update from translation team.
16434
cdcf361f 164352013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16436
16437 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16438 <bits/mman-linux.h>.
16439 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16440 is fine.
16441 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16442 <bits/mman-linux.h> to end of file.
16443 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16444 is fine.
16445 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16446 <bits/mman-linux.h> to end of file.
16447 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16448 is fine.
16449 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16450 <bits/mman-linux.h> to end of file.
16451
16452 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16453 (MCL_CURRENT, MCL_FUTURE): Define here.
16454
5f67c04f
AK
164552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16456
8a4473cc 16457 [BZ #15232]
5f67c04f
AK
16458 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16459 attribute_hidden.
16460 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16461
c3e94a95
AK
164622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16463
16464 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16465 fourth parameter needed for rt_sigprocmask syscall.
16466 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16467 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16468 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16469 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16470 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16471 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16472
cfb6382a
JM
164732013-03-04 Joseph Myers <joseph@codesourcery.com>
16474
16475 [BZ #13550]
16476 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16477 comment about bounded pointers.
16478 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16479 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16480
539d8e01
AJ
164812013-03-04 Andreas Jaeger <aj@suse.de>
16482
16483 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16484 common definitions.
16485
16486 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16487 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16488 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16489 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16490 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16491 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16492
2e167a70 164932013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16494
16495 [BZ #15055]
16496 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16497 __ieee754_sqrl instead of __sqrl.
16498
68508633
JM
164992013-03-01 Joseph Myers <joseph@codesourcery.com>
16500
16501 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16502 * sysdeps/powerpc/fpu_control.h: ... here.
16503 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16504 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16505 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16506 * sysdeps/powerpc/bits/mathinline.h: ... here.
16507
7775448e
RM
165082013-03-01 Roland McGrath <roland@hack.frob.com>
16509
16510 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16511 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16512 to just [NEED_DL_SYSINFO_DSO].
16513 * elf/dl-support.c: Likewise.
16514 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16515 * elf/rtld.c (dl_main): Likewise.
16516 * elf/setup-vdso.h (setup_vdso): Likewise.
16517 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16518 * sysdeps/unix/sysv/linux/dl-sysdep.c
16519 (_dl_discover_osversion): Likewise.
16520
4e9b5995
CD
165212013-03-01 Carlos O'Donell <carlos@redhat.com>
16522
16523 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16524 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16525
e23872c8
SP
165262013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16527
e5c74c63
SP
16528 * NEWS: Mention libm performance improvements and non-x86 PI
16529 futex support.
16530
e23872c8
SP
16531 * csu/libc-start.c (__pthread_initialize_minimal): Change
16532 function arguments.
16533 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16534
b5510883
JM
165352013-02-28 Joseph Myers <joseph@codesourcery.com>
16536
16537 [BZ #13550]
16538 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16539 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16540 <bp-sym.h> and <bp-asm.h>.
16541 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16542 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16543 and <bp-asm.h>.
16544 (memcpy): Don't use BP_SYM.
16545 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16546 <bp-asm.h>.
16547 (__mpn_add_n): Don't use BP_SYM.
16548 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16549 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16550 and <bp-asm.h>.
16551 (__mpn_addmul_1): Don't use BP_SYM.
16552 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16553 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16554 <bp-sym.h>.
16555 (_setjmp): Don't use BP_SYM.
16556 (__novmx_setjmp): Likewise.
16557 (__GI__setjmp): Likewise.
16558 (__vmx_setjmp): Likewise.
16559 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16560 <bp-sym.h>.
16561 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16562 (__bzero): Don't use BP_SYM.
16563 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16564 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16565 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16566 <bp-sym.h> and <bp-asm.h>.
16567 (memcpy): Don't use BP_SYM.
16568 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16569 <bp-sym.h> and <bp-asm.h>.
16570 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16571 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16572 <bp-sym.h> and <bp-asm.h>.
16573 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16574 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16575 <bp-asm.h>.
16576 (__mpn_lshift): Don't use BP_SYM.
16577 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16578 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16579 <bp-asm.h>.
16580 (memset): Don't use BP_SYM.
16581 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16582 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16583 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16584 <bp-asm.h>.
16585 (__mpn_mul_1): Don't use BP_SYM.
16586 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16587 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16588 <bp-sym.h> and <bp-asm.h>.
16589 (memcmp): Don't use BP_SYM.
16590 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16591 <bp-sym.h> and <bp-asm.h>.
16592 (memcpy): Don't use BP_SYM.
16593 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16594 <bp-sym.h> and <bp-asm.h>.
16595 (memset): Don't use BP_SYM.
16596 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16597 <bp-sym.h> and <bp-asm.h>.
16598 (strncmp): Don't use BP_SYM.
16599 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16600 <bp-sym.h> and <bp-asm.h>.
16601 (memcpy): Don't use BP_SYM.
16602 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16603 <bp-sym.h> and <bp-asm.h>.
16604 (memset): Don't use BP_SYM.
16605 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16606 <bp-sym.h> and <bp-asm.h>.
16607 (__memchr): Don't use BP_SYM.
16608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16609 <bp-sym.h> and <bp-asm.h>.
16610 (memcmp): Don't use BP_SYM.
16611 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16612 <bp-sym.h> and <bp-asm.h>.
16613 (memcpy): Don't use BP_SYM.
16614 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16615 <bp-sym.h> and <bp-asm.h>.
16616 (__mempcpy): Don't use BP_SYM.
16617 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16618 <bp-sym.h> and <bp-asm.h>.
16619 (__memrchr): Don't use BP_SYM.
16620 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16621 <bp-sym.h> and <bp-asm.h>.
16622 (memset): Don't use BP_SYM.
16623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16624 <bp-sym.h> and <bp-asm.h>.
16625 (__rawmemchr): Don't use BP_SYM.
16626 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16627 <bp-sym.h> and <bp-asm.h>.
16628 (__STRCMP): Don't use BP_SYM.
16629 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16630 <bp-sym.h> and <bp-asm.h>.
16631 (strchr): Don't use BP_SYM.
16632 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16633 <bp-sym.h> and <bp-asm.h>.
16634 (__strchrnul): Don't use BP_SYM.
16635 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16636 <bp-sym.h> and <bp-asm.h>.
16637 (strlen): Don't use BP_SYM.
16638 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16639 <bp-sym.h> and <bp-asm.h>.
16640 (strncmp): Don't use BP_SYM.
16641 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16642 <bp-sym.h> and <bp-asm.h>.
16643 (__strnlen): Don't use BP_SYM.
16644 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16645 <bp-asm.h>.
16646 (__mpn_rshift): Don't use BP_SYM.
16647 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16648 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16649 <bp-sym.h> and <bp-asm.h>.
16650 (__sigsetjmp): Don't use BP_SYM.
16651 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16652 (L(start_addresses)): Don't use BP_SYM.
16653 (_start): Likewise.
16654 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16655 <bp-asm.h>.
16656 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16657 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16658 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16659 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16660 <bp-asm.h>.
16661 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16662 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16663 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16664 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16665 <bp-asm.h>.
16666 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16667 comments.
16668 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16669 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16670 <bp-asm.h>.
16671 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16672 FIXME comments.
16673 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16674 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16675 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16676 <bp-asm.h>.
16677 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16678 comment.
16679 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16680 and <bp-asm.h>.
16681 (strncmp): Don't use BP_SYM,
16682 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16683 <bp-asm.h>.
16684 (__mpn_sub_n): Don't use BP_SYM.
16685 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16686 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16687 and <bp-asm.h>.
16688 (__mpn_submul_1): Don't use BP_SYM.
16689 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16691 <bp-sym.h> and <bp-asm.h>.
16692 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16694 <bp-sym.h> and <bp-asm.h>.
16695 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16696 comment.
16697
8d19fe64
SP
166982013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16699
16700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16701 Use ZK to minimize writes to Z.
16702 (sub_magnitudes): Simplify code a bit.
16703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16704 Use ZK to minimize writes to Z.
16705 (sub_magnitudes): Simplify code a bit.
16706
85bd816a
RM
167072013-02-27 Roland McGrath <roland@hack.frob.com>
16708
16709 * csu/gmon-start.c: Add special exception to license text.
16710
b5977bf2
RH
167112013-02-27 Richard Henderson <rth@redhat.com>
16712
16713 * scripts/config.guess: Update from config.git.
16714 * scripts/config.sub: Likewise.
16715
11d6e2f2
SP
167162013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16717
09c14ed2
SP
16718 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16719
a688864e
SP
16720 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16721
6295157a
SP
16722 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16723
b8de2202
SP
16724 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16725
11d6e2f2
SP
16726 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16727
7e80ddb8
RM
167282013-02-26 Roland McGrath <roland@hack.frob.com>
16729
16730 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16731 [$(build-shared = yes].
7e80ddb8 16732
7da6d9ed
SP
167332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16734
45f05884
SP
16735 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16736 (__mul): Reduce iterations for calculating mantissa.
16737
2236d359
SP
16738 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16739 MPTWO.
16740 (__mpranred): Likewise.
16741
7da6d9ed
SP
16742 [BZ #15160]
16743 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16744 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16745
b7688c42
PE
167462013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16747
16748 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16749 Define __attribute__.
16750
53a5c423
SP
167512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16752
16753 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16754 unused.
16755 * posix/regex_internal.h (__attribute): Remove.
16756 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16757 (re_string_context_at): Likewise.
16758 (bitset_not): Use __attribute__ and mark function as possibly
16759 unused.
16760 (bitset_merge): Likewise.
16761 (bitset_mask): Likewise.
16762 (re_string_char_size_at): Likewise.
16763 (re_string_wchar_at): Likewise.
16764 (re_string_elem_size_at): Likewise.
16765
60f5a8b5
SP
167662013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16767
2a983a2e
SP
16768 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16769 code.
16770 (cc32): Likewise.
16771
e69804d1
SP
16772 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16773 (__acr): Likewise.
16774 (__cpy): Likewise.
16775 (norm): Likewise.
16776 (denorm): Likewise.
16777 (__dbl_mp): Likewise.
16778 (add_magnitudes): Likewise.
16779 (sub_magnitudes): Likewise.
16780 (__mul): Likewise.
16781 (__inv): Likewise.
16782
2f22a1e8
SP
16783 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16784 style.
16785
8930ddc7
SP
16786 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16787 style.
16788
dc60cb11
SP
16789 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16790 code.
16791
60f5a8b5
SP
16792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16793 up changes with default code.
16794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16795 Likewise.
16796
b4d1fd33
AM
167972013-02-24 Allan McRae <allan@archlinux.org>
16798
faf6f8bc
AM
16799 * manual/socket.texi (The Internet Namespace): Order menu items
16800 to match that in the file.
16801
b4d1fd33
AM
16802 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16803 node listing of the info page menu.
16804
2366713d
JM
168052013-02-21 Joseph Myers <joseph@codesourcery.com>
16806
16807 [BZ #13550]
16808 * sysdeps/i386/bp-asm.h: Remove file.
16809 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16810 (PARMS): Do not use macros from bp-asm.h.
16811 (S1): Likewise.
16812 (S2): Likewise.
16813 (SIZE): Likewise.
16814 (__mpn_add_n): Do not use BP_SYM
16815 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16816 "bp-asm.h".
16817 (PARMS): Do not use macros from bp-asm.h.
16818 (S1): Likewise.
16819 (SIZE): Likewise.
16820 (__mpn_addmul_1): Do not use BP_SYM
16821 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16822 "bp-asm.h".
16823 (PARMS): Do not use macros from bp-asm.h.
16824 (SIGMSK): Likewise.
16825 (_setjmp): Likewise. Do not use BP_SYM.
16826 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16827 "bp-asm.h".
16828 (PARMS): Do not use macros from bp-asm.h.
16829 (SIGMSK): Likewise.
16830 (setjmp): Likewise. Do not use BP_SYM.
16831 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16832 "bp-asm.h".
16833 (PARMS): Do not use macros from bp-asm.h.
16834 (__frexp): Do not use BP_SYM.
16835 (frexp): Likewise.
16836 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16837 "bp-asm.h".
16838 (PARMS): Do not use macros from bp-asm.h.
16839 (__frexpf): Do not use BP_SYM.
16840 (frexpf): Likewise.
16841 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16842 "bp-asm.h".
16843 (PARMS): Do not use macros from bp-asm.h.
16844 (__frexpl): Do not use BP_SYM.
16845 (frexpl): Likewise.
16846 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16847 "bp-asm.h".
16848 (PARMS): Do not use macros from bp-asm.h.
16849 (__remquo): Do not use BP_SYM.
16850 (remquo): Likewise.
16851 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16852 "bp-asm.h".
16853 (PARMS): Do not use macros from bp-asm.h.
16854 (__remquof): Do not use BP_SYM.
16855 (remquof): Likewise.
16856 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16857 "bp-asm.h".
16858 (PARMS): Do not use macros from bp-asm.h.
16859 (__remquol): Do not use BP_SYM.
16860 (remquol): Likewise.
16861 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16862 "bp-asm.h".
16863 (PARMS): Do not use macros from bp-asm.h.
16864 (DEST): Likewise.
16865 (SRC): Likewise.
16866 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16867 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16868 "bp-asm.h".
16869 (PARMS): Do not use macros from bp-asm.h.
16870 (strlen): Do not use BP_SYM.
16871 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16872 "bp-asm.h".
16873 (PARMS): Do not use macros from bp-asm.h.
16874 (S1): Likewise.
16875 (S2): Likewise.
16876 (SIZE): Likewise.
16877 (__mpn_add_n): Do not use BP_SYM.
16878 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16879 "bp-asm.h".
16880 (PARMS): Do not use macros from bp-asm.h.
16881 (S1): Likewise.
16882 (SIZE): Likewise.
16883 (__mpn_addmul_1): Do not use BP_SYM.
16884 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16885 weak_alias.
16886 (bzero): Likewise.
16887 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16888 "bp-asm.h".
16889 (PARMS): Do not use macros from bp-asm.h.
16890 (S): Likewise.
16891 (SIZE): Likewise.
16892 (__mpn_lshift): Do not use BP_SYM.
16893 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16894 "bp-asm.h".
16895 (PARMS): Do not use macros from bp-asm.h.
16896 (DEST): Likewise.
16897 (SRC): Likewise.
16898 (LEN): Likewise.
16899 (memcpy): Likewise. Do not use BP_SYM.
16900 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16901 libc_hidden_def and weak_alias.
16902 (mempcpy): Do not use BP_SYM in weak_alias.
16903 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16904 "bp-asm.h".
16905 (PARMS): Do not use macros from bp-asm.h.
16906 (DEST): Likewise.
16907 (LEN): Likewise.
16908 [!BZERO_P] (CHR): Likewise.
16909 (memset): Likewise. Do not use BP_SYM.
16910 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16911 "bp-asm.h".
16912 (PARMS): Do not use macros from bp-asm.h.
16913 (S1): Likewise.
16914 (SIZE): Likewise.
16915 (__mpn_mul_1): Do not use BP_SYM.
16916 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16917 "bp-asm.h".
16918 (PARMS): Do not use macros from bp-asm.h.
16919 (S): Likewise.
16920 (SIZE): Likewise.
16921 (__mpn_rshift): Do not use BP_SYM.
16922 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16923 "bp-asm.h".
16924 (PARMS): Do not use macros from bp-asm.h.
16925 (STR): Likewise.
16926 (CHR): Likewise.
16927 (strchr): Likewise. Do not use BP_SYM.
16928 (index): Do not use BP_SYM in weak_alias.
16929 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16930 "bp-asm.h".
16931 (PARMS): Do not use macros from bp-asm.h.
16932 (DEST): Likewise.
16933 (SRC): Likewise.
16934 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16935 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16936 "bp-asm.h".
16937 (PARMS): Do not use macros from bp-asm.h.
16938 (strlen): Do not use BP_SYM.
16939 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16940 "bp-asm.h".
16941 (PARMS): Do not use macros from bp-asm.h.
16942 (S1): Likewise.
16943 (S2): Likewise.
16944 (SIZE): Likewise.
16945 (__mpn_sub_n): Do not use BP_SYM.
16946 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16947 "bp-asm.h".
16948 (PARMS): Do not use macros from bp-asm.h.
16949 (S1): Likewise.
16950 (SIZE): Likewise.
16951 (__mpn_submul_1): Do not use BP_SYM.
16952 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16953 "bp-asm.h".
16954 (PARMS): Do not use macros from bp-asm.h.
16955 (S1): Likewise.
16956 (S2): Likewise.
16957 (SIZE): Likewise.
16958 (__mpn_add_n): Do not use BP_SYM.
16959 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16960 weak_alias.
16961 (bzero): Likewise.
16962 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16963 "bp-asm.h".
16964 (PARMS): Do not use macros from bp-asm.h.
16965 (BLK2): Likewise.
16966 (LEN): Likewise.
16967 (memcmp): Do not use BP_SYM.
16968 (bcmp): Do not use BP_SYM in weak_alias.
16969 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16970 "bp-asm.h".
16971 (PARMS): Do not use macros from bp-asm.h.
16972 (DEST): Likewise.
16973 (SRC): Likewise.
16974 (LEN): Likewise.
16975 (memcpy): Likewise. Do not use BP_SYM.
16976 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16977 "bp-asm.h".
16978 (PARMS): Do not use macros from bp-asm.h.
16979 (DEST): Likewise.
16980 (SRC): Likewise.
16981 (LEN): Likewise.
16982 (memmove): Likewise. Do not use BP_SYM.
16983 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16984 "bp-asm.h".
16985 (PARMS): Do not use macros from bp-asm.h.
16986 (DEST): Likewise.
16987 (SRC): Likewise.
16988 (LEN): Likewise.
16989 (__mempcpy): Likewise. Do not use BP_SYM.
16990 (mempcpy): Do not use BP_SYM in weak_alias.
16991 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16992 "bp-asm.h".
16993 (PARMS): Do not use macros from bp-asm.h.
16994 (DEST): Likewise.
16995 (LEN): Likewise.
16996 [!BZERO_P] (CHR): Likewise.
16997 (memset): Likewise. Do not use BP_SYM.
16998 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16999 "bp-asm.h".
17000 (PARMS): Do not use macros from bp-asm.h.
17001 (STR2): Likewise.
17002 (strcmp): Do not use BP_SYM.
17003 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17004 "bp-asm.h".
17005 (PARMS): Do not use macros from bp-asm.h.
17006 (STR): Likewise.
17007 (DELIM): Likewise.
17008 [USE_AS_STRTOK_R] (SAVE): Likewise.
17009 (FUNCTION): Likewise. Do not use BP_SYM.
17010 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17011 aliases.
17012 (strtok_r): Likewise.
17013 (__GI___strtok_r): Likewise.
17014 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17015 (PARMS): Do not use macros from bp-asm.h.
17016 (S): Likewise.
17017 (SIZE): Likewise.
17018 (__mpn_lshift): Do not use BP_SYM.
17019 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17020 (PARMS): Do not use macros from bp-asm.h.
17021 (STR): Likewise.
17022 (CHR): Likewise.
17023 (__memchr): Do not use BP_SYM.
17024 (memchr): Do not use BP_SYM in weak_alias.
17025 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17026 (PARMS): Do not use macros from bp-asm.h.
17027 (BLK2): Likewise.
17028 (LEN): Likewise.
17029 (memcmp): Do not use BP_SYM.
17030 (bcmp): Do not use BP_SYM in weak_alias.
17031 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17032 (PARMS): Do not use macros from bp-asm.h.
17033 (S1): Likewise.
17034 (SIZE): Likewise.
17035 (__mpn_mul_1): Do not use BP_SYM.
17036 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17037 "bp-asm.h".
17038 (PARMS): Do not use macros from bp-asm.h.
17039 (STR): Likewise.
17040 (CHR): Likewise.
17041 (__rawmemchr): Do not use BP_SYM.
17042 (rawmemchr): Do not use BP_SYM in weak_alias.
17043 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17044 (PARMS): Do not use macros from bp-asm.h.
17045 (S): Likewise.
17046 (SIZE): Likewise.
17047 (__mpn_rshift): Do not use BP_SYM.
17048 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17049 (PARMS): Do not use macros from bp-asm.h.
17050 (SIGMSK): Likewise.
17051 (__sigsetjmp): Likewise. Do not use BP_SYM.
17052 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17053 (_start): Do not use BP_SYM.
17054 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17055 (PARMS): Do not use macros from bp-asm.h.
17056 (DEST): Likewise.
17057 (SRC): Likewise.
17058 (__stpcpy): Likewise. Do not use BP_SYM.
17059 (stpcpy): Do not use BP_SYM in weak_alias.
17060 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17061 "bp-asm.h".
17062 (PARMS): Do not use macros from bp-asm.h.
17063 (DEST): Likewise.
17064 (SRC): Likewise.
17065 (LEN): Likewise.
17066 (__stpncpy): Likewise. Do not use BP_SYM.
17067 (stpncpy): Do not use BP_SYM in weak_alias.
17068 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17069 (PARMS): Do not use macros from bp-asm.h.
17070 (STR): Likewise.
17071 (CHR): Likewise.
17072 (strchr): Likewise. Do not use BP_SYM.
17073 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17074 "bp-asm.h".
17075 (PARMS): Do not use macros from bp-asm.h.
17076 (STR): Likewise.
17077 (CHR): Likewise.
17078 (__strchrnul): Likewise. Do not use BP_SYM.
17079 (strchrnul): Do not use BP_SYM in weak_alias.
17080 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17081 "bp-asm.h".
17082 (PARMS): Do not use macros from bp-asm.h.
17083 (STOP): Likewise.
17084 (strcspn): Do not use BP_SYM.
17085 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17086 "bp-asm.h".
17087 (PARMS): Do not use macros from bp-asm.h.
17088 (STR): Likewise.
17089 (STOP): Likewise.
17090 (strpbrk): Likewise. Do not use BP_SYM.
17091 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17092 "bp-asm.h".
17093 (PARMS): Do not use macros from bp-asm.h.
17094 (STR): Likewise.
17095 (CHR): Likewise.
17096 (strrchr): Likewise. Do not use BP_SYM.
17097 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17098 (PARMS): Do not use macros from bp-asm.h.
17099 (SKIP): Likewise.
17100 (strspn): Do not use BP_SYM.
17101 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17102 (PARMS): Do not use macros from bp-asm.h.
17103 (STR): Likewise.
17104 (DELIM): Likewise.
17105 (SAVE): Likewise.
17106 (FUNCTION): Likewise. Do not use BP_SYM.
17107 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17108 aliases.
17109 (strtok_r): Likewise.
17110 (__GI___strtok_r): Likewise.
17111 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17112 (PARMS): Do not use macros from bp-asm.h.
17113 (S1): Likewise.
17114 (S2): Likewise.
17115 (SIZE): Likewise.
17116 (__mpn_sub_n): Do not use BP_SYM.
17117 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17118 "bp-asm.h".
17119 (PARMS): Do not use macros from bp-asm.h.
17120 (S1): Likewise.
17121 (SIZE): Likewise.
17122 (__mpn_submul_1): Do not use BP_SYM.
17123 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17124 <bp-sym.h>.
17125 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17126 and <bp-asm.h>.
17127 (PARMS): Do not use macros from bp-asm.h.
17128 (FLAGS): Likewise.
17129 (PTID): Likewise.
17130 (TLS): Likewise.
17131 (CTID): Likewise.
17132 (__clone): Do not use BP_SYM.
17133 (clone): Do not use BP_SYM in weak_alias.
17134 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17135 and <bp-asm.h>.
17136 (PARMS): Do not use macros from bp-asm.h.
17137 (LEN): Likewise.
17138 (__mmap64): Do not use BP_SYM.
17139 (mmap64): Do not use BP_SYM in weak_alias.
17140 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17141 <bp-sym.h> and <bp-asm.h>.
17142 (PARMS): Do not use macros from bp-asm.h.
17143 (__posix_fadvise64_l64): Do not use BP_SYM.
17144 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17145 (PARMS): Do not use macros from bp-asm.h.
17146 (NSOPS): Likewise.
17147 (semtimedop): Do not use BP_SYM.
17148 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17149 and <bp-asm.h>.
17150
582a3cff
AM
171512013-02-21 Allan McRae <allan@archlinux.org>
17152
17153 * manual/message.texi (Charset conversion in gettext):
17154 Move @end statement to beginning of line.
17155
bab8a695
SP
171562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17157
80945231
SP
17158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17159 static.
17160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17161 Likewise.
17162
bab8a695
SP
17163 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17164 (denorm): Likewise.
17165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17167
e21d7aa7
AK
171682013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17169
17170 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17171 tail-call to the resolved function if pltexit isn't needed.
17172
4c7a4263
SP
171732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17174
17175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17176 or Y being zero as being unlikely.
17177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17178 Likewise.
17179
41f49342
CD
171802013-02-20 Carlos O'Donell <carlos@redhat.com>
17181
17182 * manual/nss.texi (System Databases and Name Service Switch):
17183 Remove frobnicate @pxref.
17184
50022a93
TS
171852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17186
17187 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17188 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17189
08cbd996
PM
171902013-02-20 Petr Machata <pmachata@redhat.com>
17191
17192 * elf/elf.h (R_ARM_TARGET1): New macro.
17193 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17194 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17195 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17196 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17197 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17198 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17199 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17200 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17201 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17202 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17203 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17204 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17205 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17206 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17207 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17208 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17209 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17210 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17211 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17212 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17213 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17214 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17215 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17216 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17217 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17218 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17219 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17220 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17221 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17222 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17223 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17224 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17225 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17226 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17227 (R_ARM_THM_GOT_BREL12): Likewise.
17228 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17229 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17230 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17231 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17232 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17233 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17234 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17235 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17236 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17237
c7b275d6
TS
172382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17239
17240 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17241 __attribute_used__ to __attribute__ ((unused)).
17242
20cd7fb3
SP
172432013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17244
17245 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17246 powerpc mpa.c.
17247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17248 comment formatting.
17249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17250
92945b52
JM
172512013-02-19 Joseph Myers <joseph@codesourcery.com>
17252
17253 [BZ #13550]
17254 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17255 Remove macro.
17256 (ENTER): Remove both macro definitions.
17257 (LEAVE): Likewise.
17258 (CHECK_BOUNDS_LOW): Likewise.
17259 (CHECK_BOUNDS_HIGH): Likewise.
17260 (CHECK_BOUNDS_BOTH): Likewise.
17261 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17262 (RETURN_BOUNDED_POINTER): Likewise.
17263 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17264 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17265 (POP_ERRNO_LOCATION_RETURN): Likewise.
17266 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17267 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17268 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17269 macros.
17270 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17271 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17272 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17273 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17274 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17275 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17276 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17277 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17278 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17279 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17280 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17281 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17282 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17283 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17284 removed macros.
17285 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17286 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17287 macros.
17288 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17289 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17290 * sysdeps/i386/i586/memset.S (memset): Likewise.
17291 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17292 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17293 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17294 macros.
17295 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17296 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17297 Change uses of L(2) to L(out).
17298 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17299 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17300 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17301 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17302 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17303 removed macros.
17304 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17305 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17306 macros.
17307 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17308 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17309 (RETURN): Do not use macro LEAVE.
17310 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17311 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17312 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17313 * sysdeps/i386/i686/memset.S (memset): Likewise.
17314 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17315 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17316 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17317 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17318 Likewise.
17319 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17320 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17321 L(1_2) and L(1_3) into L(1).
17322 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17323 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17324 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17325 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17326 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17327 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17328 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17329 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17330 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17331 macros.
17332 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17333 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17334 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17335 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17336 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17337 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17338 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17339 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17340 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17341 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17342 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17343 * sysdeps/i386/strspn.S (strspn): Likewise.
17344 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17345 conditional code.
17346 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17347 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17348 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17349 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17350 L(1_3) into L(1_1).
17351 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17352 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17353 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17354 macros.
17355 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17356
2389741a
JJ
173572013-02-19 Jakub Jelinek <jakub@redhat.com>
17358
17359 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17360 macro.
17361
2016b3cd
SP
173622013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17363
e4f22324
SP
17364 * math/atest-exp.c (exp_mpn): Remove ROUND.
17365 * math/atest-exp2.c (exp_mpn): Likewise.
17366 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17367
2016b3cd
SP
17368 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17369 * stdlib/tst-tls-atexit-lib.c: Likewise.
17370 * stdlib/tst-tls-atexit.c: Likewise.
17371
4be9b544
MF
173722013-02-18 Mike Frysinger <vapier@gentoo.org>
17373
17374 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17375 and __attribute_alloc_size__.
17376
2f62b9ee
MF
173772013-02-18 Mike Frysinger <vapier@gentoo.org>
17378
17379 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17380 __attribute_alloc_size__.
17381 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17382 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17383
6ff444c4
MF
173842013-02-18 Mike Frysinger <vapier@gentoo.org>
17385
17386 * include/programs/xmalloc.h: New file.
17387 * catgets/gencat.c: Include it.
17388 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17389 * elf/pldd.c: Likewise.
17390 * iconv/iconv_charmap.c: Likewise.
17391 * iconv/iconvconfig.c: Likewise.
17392 * iconv/strtab.c: Likewise.
17393 * locale/programs/locale.c: Likewise.
17394 * locale/programs/localedef.h: Likewise.
17395 * locale/programs/simple-hash.c: Likewise.
17396 * nscd/nscd.h: Likewise.
17397 * nss/makedb.c: Likewise.
17398 * sysdeps/generic/ldconfig.h: Likewise.
17399
be179c8a
SP
174002013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17401
ba384f6e
SP
17402 * Versions.def: Add GLIBC_2.18.
17403 * include/link.h (struct link_map): New member l_tls_dtor_count.
17404 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17405 (__call_tls_dtors): Likewise.
17406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17407 __cxa_thread_atexit_impl.
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17409 Likewise.
17410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17411 Likewise.
17412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17413 Likewise.
17414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17415 Likewise.
17416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17418 Likewise.
17419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17420 Likewise.
17421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17423 Likewise.
17424 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17425 (tests): Add test case tst-tls-atexit.
17426 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17427 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17428 (GLIBC_PRIVATE): Add __call_tls_dtors.
17429 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17430 for libstdc++.
17431 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17432 * stdlib/tst-tls-atexit.c: New test case.
17433 * stdlib/tst-tls-atexit-lib.c: New test case.
17434
ffaa74cf 17435 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17436
be179c8a
SP
17437 * elf/Versions (ld): Add _dl_find_dso_for_object.
17438 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17439 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17440 (dl_open_worker): Use _dl_find_dso_for_object.
17441 * elf/dl-sym.c (do_sym): Likewise.
17442 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17443
f78b5caa
AK
174442013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17445
17446 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17447 Syntactic changes only.
17448 (_dl_runtime_profile): Do a tail-call to the resolved function.
17449
29691210
JM
174502013-02-17 Joseph Myers <joseph@codesourcery.com>
17451
17452 [BZ #13550]
17453 * sysdeps/x86_64/bp-asm.h: Remove file.
17454 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17455 <bp-sym.h> and <bp-asm.h>.
17456 (__clone): Do not use BP_SYM.
17457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17458 <bp-sym.h> and <bp-asm.h>.
17459 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17460 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17461 "bp-asm.h".
17462 (_setjmp): Do not use BP_SYM.
17463 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17464 "bp-asm.h".
17465 (setjmp): Do not use BP_SYM.
17466 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17467 libc_hidden_def.
17468 (mempcpy): Do not use BP_SYM in weak_alias.
17469 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17470 "bp-asm.h".
17471 (strchr): Do not use BP_SYM.
17472 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17473 "bp-asm.h".
17474 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17475 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17476 (_start): Do not use BP_SYM.
17477 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17478 "bp-asm.h".
17479 (strcat): Do not use BP_SYM.
17480 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17481 "bp-asm.h".
17482 (STRCMP): Do not use BP_SYM.
17483 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17484 "bp-asm.h".
17485 (STRCPY): Do not use BP_SYM.
17486 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17487 "bp-asm.h".
17488 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17489 "bp-asm.h".
17490 (FUNCTION): Do not use BP_SYM.
17491 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17492 weak_alias.
17493 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17494
f238fd19
AJ
174952013-02-17 Andreas Jaeger <aj@suse.de>
17496
17497 * time/Versions: Sort entries.
17498 * string/Versions: Likewise.
17499 * resolv/Versions: Likewise.
17500 * posix/Versions: Likewise.
17501 * iconv/Versions: Likewise.
17502 * elf/Versions: Likewise.
17503 * wcsmbs/Versions: Likewise.
17504
bd07f23c 175052013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17506
22af19f9
SP
17507 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17508 loop termination condition.
17509
4709fe76
SP
17510 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17511 variable to calculate EZ.
17512 (__sqr): Likewise.
2d0e0f29
SP
17513
17514 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17515 the lower precision input.
17516
daaa7713
JM
175172013-02-15 Joseph Myers <joseph@codesourcery.com>
17518
17519 [BZ #13550]
17520 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17521 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17522 (run-via-rtld-prefix): Do not handle %-bp tests.
17523 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17524 (all-object-suffixes): Remove .ob.
17525 (bppfx): Remove variable.
17526 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17527 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17528 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17529 [$(build-bounded) = yes] (libtype.ob): Likewise.
17530 * Makerules (elide-routines.ob): Remove variable.
17531 (do-tests-clean): Do not handle *-bp.out.
17532 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17533 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17534 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17535 (tests): Do not include $(tests-bp.out).
17536 (xtests): Do not include $(xtests-bp.out).
17537 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17538 [$(build-bounded) = yes] ($(addprefix
17539 $(objpfx),$(binaries-bounded))): Remove rule.
17540 ($(objpfx)%-bp.out): Remove rule.
17541 * config.make.in (build-bounded): Remove variable.
17542 * crypt/Makefile [$(build-bounded) = yes]
17543 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17544 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17545 append to variable.
17546 [$(build-bounded) = yes] (install-lib): Likewise.
17547 [$(build-bounded) = yes] (generated): Likewise.
17548 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17549 Remove rule.
17550 * intl/Makefile [$(build-bounded) = yes]
17551 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17552 * math/Makefile [$(build-bounded) = yes]
17553 ($(tests:%=$(objpfx)%-bp): Likewise.
17554 * misc/Makefile [$(build-bounded) = yes]
17555 ($(objpfx)tst-tsearch-bp): Likewise.
17556 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17557 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17558 Remove dependency.
17559 * string/Makefile (o-objects.ob): Remove variable.
17560 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17561 (CFLAGS-.ob): Remove variable.
17562 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17563 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17564 both definitions of variable.
17565 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17566 (ASFLAGS-.ob): Remove variable.
17567
e97ed6dd
JM
175682013-02-14 Joseph Myers <joseph@codesourcery.com>
17569
2bdd4ca6
JM
17570 [BZ #13550]
17571 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17572 Remove __BOUNDED_POINTERS__ from condition.
17573 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17574 * string/bits/string2.h [!__NO_STRING_INLINES &&
17575 !__BOUNDED_POINTERS__]: Likewise.
17576 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17577 Likewise.
17578 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17579 Remove conditional code.
17580 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17581 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17582 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17583 condition.
17584
e97ed6dd
JM
17585 [BZ #13550]
17586 * csu/libc-start.c: Do not include <bp-sym.h>.
17587 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17588 * elf/dl-open.c: Do not include <bp-sym.h>.
17589 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17590 * math/fegetenv.c: Do not include <bp-sym.h>.
17591 (fegetenv): Do not use BP_SYM in versioned symbols.
17592 * nptl/sysdeps/pthread/bits/libc-lockP.h
17593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17594 <bp-sym.h>.
17595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17596 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17598 (__pthread_mutex_destroy): Likewise.
17599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17600 (__pthread_mutex_lock): Likewise.
17601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17602 (__pthread_mutex_trylock): Likewise.
17603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17604 (__pthread_mutex_unlock): Likewise.
17605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17606 (__pthread_mutexattr_init): Likewise.
17607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17608 (__pthread_mutexattr_destroy): Likewise.
17609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17610 (__pthread_mutexattr_settype): Likewise.
17611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17612 (__pthread_rwlock_init): Likewise.
17613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17614 (__pthread_rwlock_destroy): Likewise.
17615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17616 (__pthread_rwlock_rdlock): Likewise.
17617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17618 (__pthread_rwlock_tryrdlock): Likewise.
17619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17620 (__pthread_rwlock_wrlock): Likewise.
17621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17622 (__pthread_rwlock_trywrlock): Likewise.
17623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17624 (__pthread_rwlock_unlock): Likewise.
17625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17626 (__pthread_key_create): Likewise.
17627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17628 (__pthread_setspecific): Likewise.
17629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17630 (__pthread_getspecific): Likewise.
17631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17632 Likewise.
17633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17634 (_pthread_cleanup_push_defer): Likewise.
17635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17636 (_pthread_cleanup_pop_restore): Likewise.
17637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17638 (pthread_setcancelstate): Likewise.
17639 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17640 <bp-sym.h>.
17641 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17642 (memchr): Do not use BP_SYM in weak_alias.
17643 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17644 (fegetenv): Do not use BP_SYM in versioned symbols.
17645 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17646 (fesetenv): Do not use BP_SYM in versioned symbols.
17647 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17648 (feupdateenv): Do not use BP_SYM in versioned symbols.
17649 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17650 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17651 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17652 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17653 (open64): Do not use BP_SYM in weak_alias.
17654 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17655 (fegetenv): Do not use BP_SYM in versioned symbols.
17656 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17657 (fesetenv): Do not use BP_SYM in versioned symbols.
17658 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17659 (feupdateenv): Do not use BP_SYM in versioned symbols.
17660 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17661 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17662 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17663 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17664 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17665 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17666 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17667 <bp-sym.h>.
17668 (__libc_start_main): Do not use BP_SYM.
17669
d6752ccd
SP
176702013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17671
cb57ce60
SP
17672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17673 redundant return line.
17674 (norm): Likewise.
17675 (denorm): Likewise.
17676 (dbl_mp): Likewise.
17677 (sub_magnitudes): Likewise.
17678 (__add): Likewise.
17679 (__sub): Likewise.
17680 (__mul): Likewise.
17681 (__inv): Likewise.
17682 (__dvd): Likewise.
17683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17684 (norm): Likewise.
17685 (denorm): Likewise.
17686 (dbl_mp): Likewise.
17687 (sub_magnitudes): Likewise.
17688 (__add): Likewise.
17689 (__sub): Likewise.
17690 (__mul): Likewise.
17691 (__inv): Likewise.
17692 (__dvd): Likewise.
17693
f414520d
SP
17694 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17695 instead of __mul.
17696 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17697 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17698 (cc32): Likewise.
17699
d6752ccd
SP
17700 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17701 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17703 of __mul for squares.
17704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17705 function
17706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17707 Likewise.
17708 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17709 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17710
70d9946a
JM
177112013-02-13 Joseph Myers <joseph@codesourcery.com>
17712
17713 [BZ #13550]
17714 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17715 code.
17716 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17717 prototype or function definition. Rename ubp_* variables and
17718 parameters. Remove argv definitions conditional on
17719 [__BOUNDED_POINTERS__].
17720 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17721 * elf/dl-runtime.c (_dl_fixup): Likewise.
17722 * include/set-hooks.h (RUN_HOOK): Likewise.
17723 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17724 definition.
17725 * string/strcpy.c (strcpy): Do not use __unbounded.
17726 * sysdeps/generic/frame.h (struct layout): Likewise.
17727 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17728 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17729 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17730 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17731 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17732 (__backtrace): Likewise.
17733 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17734 use __ptrvalue.
17735 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17736 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17737 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17738 Likewise.
17739 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17740 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17741 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17742 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17743 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17744 Do not use __unbounded.
17745 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17746 Rename __unboundedrlimits parameter to rlimits in prototype.
17747 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17748 Do not use __unbounded.
17749 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17750 not use __ptrvalue.
17751 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17752 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17753 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17754 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17755 __ptrvalue or __unbounded.
17756 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17757 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17758 use __unbounded.
17759 (__new_msgctl): Do not use __ptrvalue.
17760 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17761 __unbounded.
17762 (__libc_msgrcv): Do not use __ptrvalue.
17763 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17764 startup_info): Do not use __unbounded.
17765 (__libc_start_main): Likewise. Rename ubp_* variables and
17766 parameters. Remove argv definitions conditional on
17767 [__BOUNDED_POINTERS__].
17768 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17769 __ptrvalue.
17770 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17771 use __unbounded.
17772 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17773 or __ptrvalue.
17774 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17775 use __unbounded.
17776 (__new_shmctl): Do not use __ptrvalue.
17777 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17778 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17779 Likewise.
17780 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17781 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17782 (__libc_sigaction): Likewise.
17783 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17785 Likewise.
17786 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17787
cc7834d6
OB
177882013-02-13 Ondřej Bílka <neleai@seznam.cz>
17789
ffb1ec7b 17790 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17791
17792 * string/mempcpy.c: Implement by calling memcpy.
17793
bdf02814
SP
177942013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17795
c2af38aa
SP
17796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17797
4e92d59e
SP
17798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17799 evaluation.
17800
909279a5
SP
17801 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17802 values in the mantissa.
17803
bdf02814
SP
17804 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17805 minimize writes to Z.
17806 (sub_magnitudes): Simplify code a bit.
17807
cd525923
RM
178082013-02-12 Roland McGrath <roland@hack.frob.com>
17809
17810 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17811 from the message. The linker prefixes all warnings with that already.
17812
7e2f0d2d
AS
178132013-02-12 Andreas Schwab <schwab@suse.de>
17814
a445af0b
AS
17815 [BZ #15078]
17816 * posix/regexec.c (extend_buffers): Add parameter min_len.
17817 (check_matching): Pass minimum needed length.
17818 (clean_state_log_if_needed): Likewise.
17819 (get_subexp): Likewise.
17820 * posix/Makefile (tests): Add bug-regex34.
17821 (bug-regex34-ENV): Define.
17822 * posix/bug-regex34.c: New file.
17823
7e2f0d2d
AS
17824 [BZ #11561]
17825 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17826 elements compare against the byte sequence of it, not its name.
17827 * posix/Makefile (tests): Add bug-regex35.
17828 (bug-regex35-ENV): Define.
17829 * posix/bug-regex35.c: New file.
17830
a175b684
TV
178312013-02-11 Tom de Vries <tom@codesourcery.com>
17832
17833 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17834 comment.
17835 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17836 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17837 (CHECK_EOL): Add undef.
17838
310998fe 178392013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17840
17841 * bits/stdlib-bsearch.h: New file.
17842 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17843 * stdlib/stdlib.h: Likewise.
41eda41d 17844
8ded91fb
RM
178452013-02-11 Roland McGrath <roland@hack.frob.com>
17846
17847 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17848 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17849 declaration.
17850 * manual/search.texi (Array Search Function): Add missing const in
17851 lfind prototype.
17852 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17853 declaration to use rlim_t.
17854 (Basic Scheduling Functions): Remove erroneous const from
17855 sched_getparam prototype. Remove erroneous * from
17856 sched_get_priority_max and sched_get_priority_min prototypes.
17857 (Resource Usage): Fix summary @comment on vtimes to refer to
17858 sys/vtimes.h rather than vtimes.h.
17859 Add missing *s in vtimes prototype.
17860 (Limits on Resources): Fix ulimit prototype to return long int.
17861 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17862 prototypes to use long int rather than double.
17863 (BSD Random): Fix initstate and setstate to use char *, not void *.
17864 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17865 prototype to make second argument 'struct aiocb64 *const[]'.
17866 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17867 (Status of AIO Operations): Remove erroneous const in aio_return and
17868 aio_return64 prototypes.
17869 (Synchronizing I/O): Fix sync prototype to return void.
17870 * manual/startup.texi (Suboptions): Remove an erroneous const in
17871 getsubopt prototype.
17872 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17873 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17874 use size_t rather than int.
17875 (Scanning All Users): Likewise for getpwent_r.
17876 (Setting Groups): Add missing const to setgroups prototype.
17877 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17878 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17879 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17880 'const void *' rather than 'const char *'.
17881 (Host Address Functions): Likewise for inet_ntop.
17882 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17883 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17884 ssize_t for return value.
17885 (Sending Data): Likewise for send, sendto, sendmsg.
17886 (Socket Option Functions): Add a missing const in setsockopt prototype.
17887 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17888 use wchar_t for the argument.
17889 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17890 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17891 take no arguments.
17892 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17893 double/float/long double for second argument.
17894 Fix return types of significand, significandf, significandl.
17895 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17896 argument in fchmod prototype.
17897 (File Owner): Use uid_t and gid_t in fchown prototype.
17898 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17899 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17900 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17901 use 'const struct dirent **' as argument types to CMP function pointer
17902 argument.
17903 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17904 (File Times): Fix summary magic @comment for struct utimbuf and utime
17905 to refer to utime.h, not time.h.
17906 * manual/string.texi (Argz Functions): Add missing const in
17907 argz_extract and argz_next prototypes.
17908 (Finding Tokens in a String): Likewise for basename.
17909 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17910 (Copying and Concatenation): Fix typo in wmemmove prototype.
17911 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17912 (Signal Stack): Remove erroneous const in sigstack prototype.
17913 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17914 prototype.
17915 (Simple Calendar Time): Likewise for stime.
17916 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17917 prototype.
17918 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17919 say sys/sysctl.h instead.
17920 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17921 and vsyslog prototypes.
17922
fe77fe6d
TV
179232013-02-11 Tom de Vries <tom@codesourcery.com>
17924
17925 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17926 Remove.
17927
3a09b620
RM
179282013-02-11 Roland McGrath <roland@hack.frob.com>
17929
17930 * misc/sys/mman.h: Fix typo in mremap comment.
17931
550a0b89
RM
179322013-02-08 Roland McGrath <roland@hack.frob.com>
17933
17934 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17935 the '\0' terminator.
17936
a2da1673
JM
179372013-02-08 Joseph Myers <joseph@codesourcery.com>
17938
17939 [BZ #13550]
17940 * debug/segfault.c: Don't include <bp-checks.h>.
17941 * sysdeps/generic/bp-checks.h: Remove file.
17942 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17943 (__GETDENTS): Don't use CHECK_N.
17944 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17945 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17946 (__getgroups): Don't use CHECK_N.
17947 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17948 (setgroups): Don't use CHECK_N.
17949 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17950 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17951 (__libc_msgrcv): Don't use CHECK_N.
17952 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17953 (__libc_msgsnd): Don't use CHECK_N.
17954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17955 <bp-checks.h>.
17956 (__libc_pread): Don't use CHECK_N.
17957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17958 include <bp-checks.h>.
17959 (__libc_pread64): Don't use CHECK_N.
17960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17961 include <bp-checks.h>.
17962 (__libc_pwrite): Don't use CHECK_N.
17963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17964 include <bp-checks.h>.
17965 (__libc_pwrite64): Don't use CHECK_N.
17966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17967 <bp-checks.h>.
17968 (__libc_pread): Don't use CHECK_N.
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17970 include <bp-checks.h>.
17971 (__libc_pread64): Don't use CHECK_N.
17972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17973 include <bp-checks.h>.
17974 (__libc_pwrite): Don't use CHECK_N.
17975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17976 include <bp-checks.h>.
17977 (__libc_pwrite64): Don't use CHECK_N.
17978 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17979 (do_pread): Don't use CHECK_N.
17980 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17981 (do_pread64): Don't use CHECK_N.
17982 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17983 (do_pwrite): Don't use CHECK_N.
17984 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17985 (do_pwrite64): Don't use CHECK_N.
17986 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17987 (__libc_readv): Don't use CHECK_N.
17988 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17989 (semop): Don't use CHECK_N.
17990 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17991 <bp-checks.h>.
17992 (semtimedop): Don't use CHECK_N.
17993 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17994 (__libc_pread): Don't use CHECK_N.
17995 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17996 <bp-checks.h>.
17997 (__libc_pread64): Don't use CHECK_N.
17998 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17999 <bp-checks.h>.
18000 (__libc_pwrite): Don't use CHECK_N.
18001 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18002 <bp-checks.h>.
18003 (__libc_pwrite64): Don't use CHECK_N.
18004 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18005 <bp-checks.h>.
18006 (__libc_msgrcv): Don't use CHECK_N.
18007 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18008 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18009 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18010 (__libc_writev): Don't use CHECK_N.
18011
b84660a8
RM
180122013-02-08 Roland McGrath <roland@hack.frob.com>
18013
7f3e75f8
RM
18014 * string/strcpy.c: Removed unused variable.
18015
b84660a8
RM
18016 * Makeconfig (+sysdep-includes): Define with := rather than =.
18017 Use an existing include/ subdir of each sysdeps dir before it.
18018
471514d3
CD
180192013-02-08 Carlos O'Donell <carlos@redhat.com>
18020
18021 * nscd/connection.c (register_traced_file): Comment function.
18022 [HAVE_INOTIFY] (union __inev): Define.
18023 [HAVE_INOTIFY] (inotify_check_files): New function.
18024 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18025 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18026 clear_db_cache.
18027 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18028
b2d3c3be
CD
180292013-02-08 Carlos O'Donell <carlos@redhat.com>
18030
18031 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18032 loaded if not already and that a failure is permanent.
18033
b39949d2
CD
180342013-02-08 Carlos O'Donell <carlos@redhat.com>
18035
ddacd1db 18036 [BZ #15006]
b39949d2
CD
18037 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18038 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18039
b2c9eff4
JM
180402013-02-08 Joseph Myers <joseph@codesourcery.com>
18041
f3aae3f3
JM
18042 [BZ #13550]
18043 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18044 (CHECK_1_NULL_OK): Likewise.
18045 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18046 (__fxstat): Do not use CHECK_1.
18047 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18048 <bp-checks.h>.
18049 (___fxstat64): Do not use CHECK_1.
18050 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18051 <bp-checks.h>.
18052 (__fxstatat): Do not use CHECK_1.
18053 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18054 <bp-checks.h>.
18055 (__fxstatat64): Do not use CHECK_1.
18056 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18057 <bp-checks.h>.
18058 (__fxstat): Do not use CHECK_1.
18059 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18060 <bp-checks.h>.
18061 (__fxstatat): Do not use CHECK_1.
18062 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18063 <bp-checks.h>.
18064 (__getresgid): Do not use CHECK_1.
18065 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18066 <bp-checks.h>.
18067 (__getresuid): Do not use CHECK_1.
18068 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18069 <bp-checks.h>.
18070 (__lxstat): Do not use CHECK_1.
18071 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18072 <bp-checks.h>.
18073 (__old_msgctl): Do not use CHECK_1.
18074 (__new_msgctl): Likewise.
18075 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18076 <bp-checks.h>.
18077 (__new_setrlimit): Do not use CHECK_1.
18078 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18079 <bp-checks.h>.
18080 (__old_shmctl): Do not use CHECK_1.
18081 (__new_shmctl): Likewise.
18082 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18083 <bp-checks.h>.
18084 (__xstat): Do not use CHECK_1.
18085 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18086 (__lxstat): Do not use CHECK_1.
18087 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18088 <bp-checks.h>.
18089 (___lxstat64): Do not use CHECK_1.
18090 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18091 (__old_msgctl): Do not use CHECK_1.
18092 (__new_msgctl): Likewise.
18093 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18094 <bp-checks.h>.
18095 (__gettimeofday): Do not use CHECK_1.
18096 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18097 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18098 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18099 <bp-checks.h>.
18100 (__gettimeofday): Do not use CHECK_1.
18101 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18102 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18103 (__new_shmctl): Do not use CHECK_1.
18104 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18105 <bp-checks.h>.
18106 (do_sigtimedwait): Do not use CHECK_1.
18107 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18108 <bp-checks.h>.
18109 (do_sigwaitinfo): Do not use CHECK_1.
18110 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18111 <bp-checks.h>.
18112 (msgctl): Do not use CHECK_1.
18113 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18114 <bp-checks.h>.
18115 (shmctl): Do not use CHECK_1.
18116 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18117 (ustat): Do not use CHECK_1.
18118 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18119 <bp-checks.h>.
18120 (__fxstat): Do not use CHECK_1.
18121 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18122 <bp-checks.h>.
18123 (__fxstatat): Do not use CHECK_1.
18124 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18125 <bp-checks.h>.
18126 (__lxstat): Do not use CHECK_1.
18127 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18128 <bp-checks.h>.
18129 (__xstat): Do not use CHECK_1.
18130 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18131 (__xstat): Do not use CHECK_1.
18132 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18133 (___xstat64): Do not use CHECK_1.
18134
b2c9eff4
JM
18135 [BZ #13550]
18136 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18137 definitions.
18138 (CHECK_BOUNDS_HIGH): Likewise.
18139 * string/strcpy.c: Do not include <bp-checks.h>.
18140 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18141
f1d70dad
RM
181422013-02-07 Roland McGrath <roland@hack.frob.com>
18143
18144 * nscd/nscd-client.h (__nscd_drop_map_ref):
18145 Add __attribute__ ((unused)).
18146 * nis/nss-nisplus.h (niserr2nss): Likewise.
18147
18148 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18149 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18150
18151 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18152 Remove inline keyword.
18153 * include/rounding-mode.h (round_away): Likewise.
18154 * libio/wfileops.c (adjust_wide_data): Likewise.
18155 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18156 (__m128i_strloadu_tolower): Likewise.
18157 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18158 (__m128i_strloadu_tolower): Likewise.
18159 * time/mktime.c (ydhms_diff): Likewise.
18160 * locale/elem-hash.h (elem_hash): Likewise.
18161 * locale/setlocale.c (setdata): Likewise.
18162 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18163 (re_string_wchar_at): Likewise.
18164 (bitset_not, bitset_merge, bitset_mask): Likewise.
18165 [!(__GNUC__ > 3)] (inline): Remove macro.
18166 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18167 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18168 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18169 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18170 * string/memcmp.c (memcmp_bytes): Likewise.
18171 * locale/programs/locarchive.c (compute_hashval): Likewise.
18172 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18173 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18174 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18175 * nss/getent.c (print_rpc, print_protocols): Likewise.
18176 (print_passwd, print_group, print_aliases): Likewise.
18177 * nis/nss-nisplus.h (niserr2nss): Likewise.
18178 * nscd/connections.c (restart_p): Likewise.
18179 Change return type to bool.
18180
eab55bfb
RM
181812013-02-05 Roland McGrath <roland@hack.frob.com>
18182
7bd642f5
RM
18183 * Makeconfig (all-Depend-files): Add existing
18184 $(sorted-subdirs:=/Depend) files.
18185 (all-subdirs): Remove nss.
18186 * sysdeps/unix/inet/Subdirs: Add it here instead.
18187 * hesiod/Depend: New file.
18188
573c29b2
RM
18189 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18190 instead of calling alloca.
18191
b2e25af0
RM
18192 * io/lseek.c (__lseek): Rename to __libc_lseek.
18193 Define __lseek as an alias.
18194
eab55bfb
RM
18195 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18196
9a0d1941
CD
181972013-02-04 Carlos O'Donell <carlos@redhat.com>
18198
18199 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18200 else clause and remove check for non-standard endianness.
18201
b83bbec4
DM
182022013-02-04 David S. Miller <davem@davemloft.net>
18203
18204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18205
6277fdab
JM
182062013-02-04 Joseph Myers <joseph@codesourcery.com>
18207
18208 [BZ #13550]
18209 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18210 (__ubp_memchr): Remove prototype.
18211 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18212 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18213 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18214 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18215 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18216 Remove alias.
18217 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18218 (__ubp_memchr): Likewise.
18219 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18220 (__ubp_memchr): Likewise.
18221 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18222 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18223 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18224 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18225 CHECK_STRING.
18226 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18227 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18228 (__getcwd): Do not use CHECK_STRING.
18229 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18230 <bp-checks.h>.
18231 (__real_chown): Do not use CHECK_STRING.
18232 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18233 <bp-checks.h>.
18234 (fchownat): Do not use CHECK_STRING.
18235 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18236 CHECK_STRING.
18237 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18238 <bp-checks.h>.
18239 (__lchown): Do not use CHECK_STRING.
18240 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18241 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18242 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18243 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18245 include <bp-checks.h>.
18246 (truncate64): Do not use CHECK_STRING.
18247 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18248 <bp-checks.h>.
18249 (__real_chown): Do not use CHECK_STRING.
18250 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18251 <bp-checks.h>.
18252 (__lchown): Do not use CHECK_STRING.
18253 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18254 <bp-checks.h>.
18255 (__chown): Do not use CHECK_STRING.
18256 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18257 <bp-checks.h>.
18258 (truncate64): Do not use CHECK_STRING.
18259 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18260 Likewise.
18261 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18262 (__xmknod): Do not use CHECK_STRING.
18263 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18264 <bp-checks.h>.
18265 (__xmknodat): Do not use CHECK_STRING.
18266 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18267 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18268
903ae060
AS
182692013-02-04 Andreas Schwab <schwab@suse.de>
18270
18271 [BZ #14142]
18272 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18273 * include/netdb.h: Likewise for h_errno.
18274 * elf/tst-stackguard1.c: Include <tls.h>.
18275
542f9466
JK
182762013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18277
18278 * elf/link.h (struct link_map): Extend the l_addr comment.
18279 * include/link.h (struct link_map): Likewise.
18280
e782a927
JM
182812013-02-01 Joseph Myers <joseph@codesourcery.com>
18282
18283 [BZ #13550]
18284 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18285 (BOUNDED_1): Remove macro.
18286 * debug/backtrace.c: Don't include <bp-checks.h>.
18287 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18288 (__backtrace): Likewise.
18289 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18290 <bp-checks.h>.
18291 (__backtrace): Don't use BOUNDED_1.
18292 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18293 <bp-checks.h>.
18294 (__backtrace): Don't use BOUNDED_1.
18295 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18296 (__backtrace): Don't use BOUNDED_1.
18297 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18298 (shmat): Don't use BOUNDED_N.
18299
8cf28c5e
JM
183002013-01-31 Joseph Myers <joseph@codesourcery.com>
18301
3a7ac8a0
JM
18302 [BZ #13550]
18303 * sysdeps/generic/bp-start.h: Remove file.
18304 * csu/libc-start.c: Don't include <bp-start.h>.
18305 (LIBC_START_MAIN): Set up __environ directly instead of using
18306 INIT_ARGV_and_ENVIRON.
18307 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18308 <bp-start.h>.
18309
f3499f95
JM
18310 [BZ #13550]
18311 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18312 definitions.
18313 (CHECK_FCNTL): Likewise.
18314 (CHECK_N_PAGES): Likewise.
18315
32a45bea
JM
18316 [BZ #13550]
18317 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18318 definitions.
18319 (CHECK_SIGSET_NULL_OK): Likewise.
18320 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18321 <bp-checks.h>.
18322 (sigpending): Don't use CHECK_SIGSET.
18323 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18324 <bp-checks.h>.
18325 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18326 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18327 <bp-checks.h>.
18328 (do_sigsuspend): Don't use CHECK_SIGSET.
18329 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18330 use CHECK_SIGSET.
18331 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18332 (do_sigwait): Don't use CHECK_SIGSET.
18333 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18334 use CHECK_SIGSET.
18335 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18336 include <bp-checks.h>.
18337 (sigpending): Don't use CHECK_SIGSET.
18338 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18339 include <bp-checks.h>.
18340 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18341 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18342 <bp-checks.h>.
18343 (sigpending): Don't use CHECK_SIGSET.
18344 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18345 <bp-checks.h>.
18346 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18347
2e8a5c8c
JM
18348 [BZ #13550]
18349 * sysdeps/generic/bp-semctl.h: Remove file.
18350 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18351 <bp-checks.h> and <bp-semctl.h>.
18352 (__old_semctl): Don't use CHECK_SEMCTL.
18353 (__new_semctl): Likewise.
18354 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18355 and <bp-semctl.h>.
18356 (__old_semctl): Don't use CHECK_SEMCTL.
18357 (__new_semctl): Likewise.
18358 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18359 <bp-checks.h> and <bp-semctl.h>.
18360 (__old_semctl): Don't use CHECK_SEMCTL.
18361 (__new_semctl): Likewise.
18362 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18363 <bp-checks.h> and <bp-semctl.h>.
18364 (semctl): Don't use CHECK_SEMCTL.
18365
c2d54929
JM
18366 [BZ #13550]
18367 * Makerules (elide-bp-thunks): Remove variable.
18368 (elide-routines.oS): Don't use $(elide-bp-thunks).
18369 (elide-routines.os): Likewise.
18370 (elide-routines.o): Likewise.
18371 (elide-routines.op): Likewise.
18372 (elide-routines.og): Likewise.
18373 (objects): Don't use $(bp-thunks).
18374 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18375 include.
18376 (common-generated): Do not add s-proto-bp.d.
18377 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18378 (int): Likewise.
18379 (typ): Likewise.
18380 Do not generate makefile rules for bounded-pointer thunks.
18381 * sysdeps/generic/bp-thunks.h: Remove file.
18382 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18383 * sysdeps/unix/s-proto-bp.S: Likewise.
18384
8cf28c5e
JM
18385 [BZ #15062]
18386 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18387 parts of result separately when argument is not close to line from
18388 -i to i and one part of argument is small.
18389 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18390 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18391 * math/libm-test.inc (cacos_test): Add more tests.
18392 (casin_test): Likewise.
18393 (casinh_test): Likewise.
18394 * sysdeps/i386/fpu/libm-test-ulps: Update.
18395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18396
c4e33b8d
DM
183972013-01-31 David S. Miller <davem@davemloft.net>
18398
18399 * po/de.po: Update from translation team.
18400
3b60b421
MK
184012013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18402
18403 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18404
bb931195
TS
184052013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18406
b5a5da23
TS
18407 * configure.in (_AC_PROG_CC_C89): New definition.
18408 * configure: Regenerate.
18409
bb931195
TS
18410 * configure.in (AC_PROG_CPP): New definition.
18411 * configure: Regenerate.
18412
8c53a12c
JM
184132013-01-23 Joseph Myers <joseph@codesourcery.com>
18414
18415 * debug/tst-backtrace.h: New file.
18416 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18417 (ret): Remove variable.
18418 (x): Likewise.
18419 (FAIL): Remove macro.
18420 (NO_INLINE): Likewise.
18421 (fn1): Use match function instead of strstr.
18422 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18423 (ret): Remove variable.
18424 (x): Likewise.
18425 (FAIL): Remove macro.
18426 (NO_INLINE): Likewise.
18427 (fn): Use match function instead of strstr.
18428 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18429 (ret): Remove variable.
18430 (x): Likewise.
18431 (FAIL): Remove macro.
18432 (NO_INLINE): Likewise.
18433 (handle_signal): Use match function instead of strstr.
18434 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18435 (ret): Remove variable.
18436 (x): Likewise.
18437 (FAIL): Remove macro.
18438 (NO_INLINE): Likewise.
18439 (handle_signal): Use match function instead of strstr.
18440
4858fa2a
RM
184412013-01-23 Roland McGrath <roland@hack.frob.com>
18442
18443 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18444
bae8e7f5
DM
184452013-01-23 David S. Miller <davem@davemloft.net>
18446
18447 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18448 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18449 argument of CAS if possible.
18450 * sysdeps/sparc/sparc64/bits/atomic.h
18451 (__arch_compare_and_exchange_val_32_acq): Likewise.
18452 (__arch_compare_and_exchange_val_64_acq): Likewise.
18453
9cbbc4ae
PT
184542013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18455
18456 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18457 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18458 Include <limits.h>.
67b3f58c 18459 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18460
5655a0b5
AC
184612013-01-23 Adam Conrad <adconrad@0c3.net>
18462
18463 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18464 (LDFLAGS-tst-array5): Likewise.
18465
052aff95
JM
184662013-01-23 Joseph Myers <joseph@codesourcery.com>
18467
18468 [BZ #15036]
18469 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18470 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18471 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18472 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18473
7c1e01aa
DM
184742013-01-21 David S. Miller <davem@davemloft.net>
18475
18476 * sysdeps/sparc/backtrace.c: New file.
18477 * sysdeps/sparc/sparc32/backtrace.h: New file.
18478 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18479 * sysdeps/sparc/sparc64/backtrace.h: New file.
18480 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18481 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18482 -funwind-tables.
18483
ab087e0a
AS
184842013-01-21 Andreas Schwab <schwab@suse.de>
18485
18486 [BZ #15020]
18487 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18488 closed its stdout.
18489
ed689c2f
AS
184902013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18491
18492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18493 "mpa2.h".
18494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18495
31d470ac
JM
184962013-01-18 Joseph Myers <joseph@codesourcery.com>
18497 Mark Mitchell <mark@codesourcery.com>
18498 Tom de Vries <tom@codesourcery.com>
18499 Paul Pluzhnikov <ppluzhnikov@google.com>
18500
18501 * debug/tst-backtrace2.c: New file.
18502 * debug/tst-backtrace3.c: Likewise.
18503 * debug/tst-backtrace4.c: Likewise.
18504 * debug/tst-backtrace5.c: Likewise.
18505 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18506 (CFLAGS-tst-backtrace3.c): Likewise.
18507 (CFLAGS-tst-backtrace4.c): Likewise.
18508 (CFLAGS-tst-backtrace5.c): Likewise.
18509 (LDFLAGS-tst-backtrace2): Likewise.
18510 (LDFLAGS-tst-backtrace3): Likewise.
18511 (LDFLAGS-tst-backtrace4): Likewise.
18512 (LDFLAGS-tst-backtrace5): Likewise.
18513 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18514 tst-backtrace4 and tst-backtrace5.
18515
90567f30 185162013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18517 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18518
18519 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18520 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18521 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18522 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18524 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18525 "+r" and remove output regs list as redundant. Add explicit inline
18526 asm to specify register of return val to work around compiler codegen
18527 bug. Remove (int) cast on return value. Add return type parameter to
18528 use in macro so that this macro does not truncate return value for
18529 64-bit values.
18530 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18531 pass to INTERNAL_VSYSCALL_NCS.
18532 (INLINE_VSYSCALL): Add 'long int' as return type to
18533 INTERNAL_VSYSCALL_NCS macro invocation.
18534 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18535 INTERNAL_VSYSCALL_NCS macro invocation.
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18537
d3b9ea61
SP
185382013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18539
0b57daeb
SP
18540 [BZ #14496]
18541 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18542 Fix application of SIMD FP exception mask.
18543
caa99d06
SP
18544 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18545 mp_no from a power of two.
18546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18547 __mpexp_twomm1. Use __pow_mp.
18548
d3b9ea61
SP
18549 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18550 multiplication.
18551
1dbaee3c
DM
185522013-01-17 David S. Miller <davem@davemloft.net>
18553
18554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18555
728d7b43
JM
185562013-01-17 Joseph Myers <joseph@codesourcery.com>
18557
18558 [BZ #15023]
18559 * include/complex.h: Condition contents on [!_COMPLEX_H].
18560 (__kernel_casinhf): New prototype.
18561 (__kernel_casinh): Likewise.
18562 (__kernel_casinhl): Likewise.
18563 * math/Makefile (libm_calls): Add k_casinh.
18564 * math/k_casinh.c: New file.
18565 * math/k_casinhf.c: Likewise.
18566 * math/k_casinhl.c: Likewise.
18567 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18568 finite nonzero arguments.
18569 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18570 finite nonzero arguments.
18571 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18572 finite nonzero arguments.
18573 * math/s_casinh.c: Do not include <float.h>.
18574 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18575 * math/s_casinhf.c: Do not include <float.h>.
18576 (__casinhf): Move code for finite nonzero arguments to
18577 k_casinhf.c.
18578 * math/s_casinhl.c: Do not include <float.h>.
18579 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18580 redefine.
18581 (__casinhl): Move code for finite nonzero arguments to
18582 k_casinhl.c.
18583 * math/libm-test.inc (cacos_test): Add more tests.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update.
18585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18586
2a26ef3a
PT
185872013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18588
18589 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18590 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18591 [!HAVE_MREMAP]: Remove [defined linux] case.
18592 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18593
a897655d
SP
185942013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18595
18596 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18597
881ebe89 185982013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18599
18600 * elf/elf.h (R_386_SIZE32): New relocation.
18601 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18602 R_386_SIZE32.
18603 (elf_machine_rela): Likewise.
18604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18605 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18606
59981e9b
JM
186072013-01-17 Joseph Myers <joseph@codesourcery.com>
18608
18609 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18610 (FP_FAST_FMA): Do not define.
18611 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18612 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18613 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18614 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18615 !_SOFT_FLOAT]: Likewise.
18616 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18617 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18618 value.
18619 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18620 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18621 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18622 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18623 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18624 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18625 file.
18626
cfa8054f
AS
186272013-01-16 Andreas Schwab <schwab@suse.de>
18628
18629 [BZ #14327]
18630 * include/stdlib.h (__mktemp): Add declaration.
18631 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18632 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18633
dd930cc5
SP
186342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18635
881ebe89
SP
18636 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18637 definitions.
18638 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18639 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18640 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18641 definitions here.
18642 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18643 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18644 definitions.
18645 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18646 and ONE.
18647 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18648 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18649 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18650 definitions.
18651 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18652 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18653 definitions.
18654 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18655
dd930cc5
SP
18656 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18657
c19a9f89
DM
186582013-01-15 David S. Miller <davem@davemloft.net>
18659
1aa61767
DM
18660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18661 trunc{,f} to libm-sysdep_routes.
18662 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18664 file.
18665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18667 file.
18668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18669 file.
18670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18672 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18673 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18674 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18675 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18676 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18677 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18678
c42d5e98
DM
18679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18680 nearbyint{,f} to libm-sysdep_routes.
18681 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18683 New file.
18684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18685 file.
18686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18687 New file.
18688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18689 file.
18690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18692 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18693 file.
18694 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18695 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18696 file.
18697 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18698 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18699 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18700
c19a9f89
DM
18701 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18702 libc_feholdexcept and libc_fesetenv.
18703
357679d2
MF
187042013-01-15 Mike Frysinger <vapier@gentoo.org>
18705
18706 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18707
65a82e3d
DM
187082013-01-14 David S. Miller <davem@davemloft.net>
18709
8b954ab9
DM
18710 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18711 (SPARC_ASM_VIS2_IFUNC): Likewise.
18712 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18714 use of 'siam' instruction.
18715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18716 Likewise.
18717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18718 Likewise.
18719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18720 Likewise.
18721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18726 file.
18727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18728 file.
18729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18730 file.
18731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18732 file.
18733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18738 new VIS2 routines.
18739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18742 Likewise.
18743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18748 routines to libm-sysdep_routines.
18749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18750
65a82e3d
DM
18751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18752 fdim/fdimf to libm-sysdep_routines.
18753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18754 file.
18755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18757 file.
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18761 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18762 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18763 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18764 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18765
e34ab705
SP
187662013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18767
2a91b573
SP
18768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18769 to optimize copies.
18770
1066a534
SP
18771 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18774
e34ab705
SP
18775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18776 local variable MPTWO.
18777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18778 Likewise.
18779
aba5e596
MF
187802013-01-13 Mike Frysinger <vapier@gentoo.org>
18781
18782 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18783 GLOB_NOESCAPE.
18784
e557e9e5
MF
187852013-01-13 Mike Frysinger <vapier@gentoo.org>
18786
18787 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18788
0428cec9
MF
187892013-01-13 Mike Frysinger <vapier@gentoo.org>
18790
18791 * manual/pattern.texi (glob_t): Document gl_flags.
18792 (glob64_t): Likewise.
18793
8794a964
DM
187942013-01-11 David S. Miller <davem@davemloft.net>
18795
66438c3f
RM
18796 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18797 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18798 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18799 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18800 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18801 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18802 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18803 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18804 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18805 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18806 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18807 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18808 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18809
4ae4244d
DM
18810 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18811 sparc V9 rather than using V8 code.
18812 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18813 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18814
8794a964
DM
18815 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18816 Move to...
18817 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18818 Here.
18819
6270516e
RM
188202013-01-11 Roland McGrath <roland@hack.frob.com>
18821
18822 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18823 not in the main loop.
18824 * configure: Regenerated.
18825
6a57d931
JM
188262013-01-11 Joseph Myers <joseph@codesourcery.com>
18827
18828 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18829 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18830 to just #else.
18831 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18832 [!__GLIBC_HAVE_LONG_LONG] case.
18833 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18834 condition to just #else.
18835 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18836 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18837 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18838 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18839 unconditional.
18840 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18841 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18842 #elif condition to just #else.
18843 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18844 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18845 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18846 #elif condition to just #else.
18847
0e8529e9
SE
188482013-01-11 Steve Ellcey <sellcey@mips.com>
18849
18850 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18851 (EF_MIPS_ARCH_64): Fix value.
18852 (EF_MIPS_ARCH_32R2): New.
18853 (EF_MIPS_ARCH_64R2): New.
18854
740b3dbe
L
188552013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18856
18857 * Makeconfig (+link-pie-before-libc): New.
18858 (+link-pie-after-libc): Likewise.
18859 (+link-pie-tests): Likewise.
18860 (+link-pie): Rewritten.
18861 (link-before-libc): Remove $(config-LDFLAGS).
18862 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18863 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18864 (config-LDFLAGS): Renamed to ...
18865 (rtld-LDFLAGS): This.
18866 (rtld-tests-LDFLAGS): New macro.
18867 (link-libc-rpath-link): Likewise.
18868 (link-libc-tests-rpath-link): Likewise.
18869 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18870 (link-libc): Prepand $(link-libc-rpath-link).
18871 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18872 (test-program-prefix): New macro.
18873 (test-via-rtld-prefix): Likewise.
18874 (test-program-cmd): Likewise.
18875 (host-test-program-cmd): Likewise.
18876 * Makefile ($(common-objpfx)testrun.sh): Replace
18877 $(run-program-prefix) with $(test-program-prefix).
18878 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18879 $(rtld-LDFLAGS).
18880 ($(common-objpfx)shlib.lds): Likewise.
18881 (build-module-helper): Likewise.
18882 ($(common-objpfx)format.lds): Likewise.
18883 * Rules (binaries-pie-tests): New.
18884 (binaries-pie-notests): Likewise.
18885 (binaries-pie): Rewritten.
18886 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18887 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18888 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18889 (make-test-out): Replace $(host-built-program-cmd) with
18890 $(host-test-program-cmd).
18891 * config.make.in (build-hardcoded-path-in-tests): New variable.
18892 * configure.in (--enable-hardcoded-path-in-tests): New configure
18893 option.
18894 (hardcoded_path_in_tests): New AC_SUBST.
18895 * configure: Regenerated.
18896 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18897 $(built-program-cmd) with $(test-program-cmd).
18898 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18899 (test_program_cmd): This.
18900 * elf/Makefile ($(objpfx)order.out): Run test with
18901 $(test-program-prefix).
18902 ($(objpfx)order2.out): Likewise.
18903 ($(objpfx)tst-initorder.out): Likewise.
18904 ($(objpfx)tst-initorder2.out): Likewise.
18905 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18906 $(test-program-cmd).
18907 ($(objpfx)tst-array1-static.out): Likewise.
18908 ($(objpfx)tst-array2.out): Likewise.
18909 ($(objpfx)tst-array3.out): Likewise.
18910 ($(objpfx)tst-array4.out): Likewise.
18911 ($(objpfx)tst-array5.out): Likewise.
18912 ($(objpfx)tst-array5-static.out): Likewise.
18913 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18914 $(test-program-cmd).
18915 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18916 $(run-program-prefix) with $(test-program-prefix).
18917 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18918 (test_program_prefix): This.
18919 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18920 $(run-program-prefix) with $(test-program-prefix).
18921 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18922 (test_program_prefix): This.
18923 * iconvdata/tst-tables.sh: Likewise.
18924 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18925 $(run-program-prefix) with $(test-program-prefix).
18926 ($(objpfx)tst-translit.out): Likewise.
18927 ($(objpfx)tst-gettext2.out): Likewise.
18928 ($(objpfx)tst-gettext4.out): Likewise.
18929 ($(objpfx)tst-gettext6.out): Likewise.
18930 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18931 (test_program_prefix): This.
18932 * intl/tst-gettext2.sh: Likewise.
18933 * intl/tst-gettext4.sh Likewise.
18934 * intl/tst-gettext6.sh: Likewise.
18935 * intl/tst-translit.sh: Likewise.
18936 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18937 with $(test-program-cmd).
18938 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18939 $(run-program-prefix) with $(test-program-prefix).
18940 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18941 (test_program_prefix): This.
18942 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18943 $(run-program-prefix) with $(test-program-prefix).
18944 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18945 (test_program_prefix): This.
18946 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18947 * posix/Makefile ($(objpfx)globtest.out): Replace
18948 $(run-via-rtld-prefix) and $(test-wrapper) with
18949 $(test-program-prefix) and $(test-via-rtld-prefix).
18950 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18951 $(test-program-prefix).
18952 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18953 $(host-test-program-cmd).
18954 (tst-spawn-ARGS): Likewise.
18955 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18956 $(test-program-prefix).
18957 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18958 (test_via_rtld_prefix): This.
18959 (test_wrapper): Renamed to ...
18960 (test_program_prefix): This.
18961 (run_program_prefix): Replaced by test_program_prefix.
18962 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18963 (test_program_prefix): This.
18964 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18965 with $(host-test-program-cmd).
18966 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18967 $(run-program-prefix) with $(test-program-prefix).
18968 ($(objpfx)tst-printf.out): Likewise.
18969 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18970 $(test-program-cmd).
18971 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18972 (test_program_prefix): This.
18973 * stdio-common/tst-unbputc.sh: Likewise.
18974 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18975 $(run-program-prefix) with $(test-program-prefix).
18976 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18977 (test_program_prefix): This.
18978 * string/Makefile ($(objpfx)tst-svc.out): Replace
18979 $(built-program-cmd) with $(test-program-cmd).
18980
c6fe55cf
AJ
189812013-01-11 Andreas Jaeger <aj@suse.de>
18982
18983 [BZ #15003]
18984 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18985 value. Sync with Linux 3.7.
18986
9e6919c8
DM
189872013-01-10 David S. Miller <davem@davemloft.net>
18988
18989 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18990 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18991 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18992
1c9f1a02
RM
189932013-01-10 Roland McGrath <roland@hack.frob.com>
18994
18995 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18996 never set.
18997 * configure: Regenerated.
18998
b9de2dde
DM
189992013-01-10 David S. Miller <davem@davemloft.net>
19000
19001 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19002 sparc V9 rather than using V8 code.
19003 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19004 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19005
e7f68ef4
RM
190062013-01-10 Roland McGrath <roland@hack.frob.com>
19007
19008 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19009 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19010 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19011 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19012 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19013 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19014 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19015 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19016 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19017 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19018 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19019 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19020 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19021 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19022 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19023 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19024 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19025 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19026 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19027 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19028 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19029 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19030 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19031 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19032 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19033 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19034 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19035
5a47cc9c
DM
190362013-01-10 David S. Miller <davem@davemloft.net>
19037
19038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19039
4cf8f209
L
190402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19041
19042 * posix/Makefile (tests-static): New variable.
19043 (tests): Add $(tests-static).
19044 (tst-exec-static-ARGS): New variable.
19045 (tst-spawn-static-ARGS): Likewise.
19046 * posix/tst-exec-static.c: New file.
19047 * posix/tst-spawn-static.c: Likewise.
19048 * posix/tst-exec.c: Support run directly.
19049 * posix/tst-spawn.c: Likewise.
19050
fed0faa1
JM
190512013-01-10 Joseph Myers <joseph@codesourcery.com>
19052
828beb13
JM
19053 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19054 long.
19055 * math/bits/mathcalls.h (llrint): Likewise.
19056 (llround): Likewise.
19057 * stdlib/stdlib.h (struct drand48_data): Likewise.
19058 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19059 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19060 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19061 Likewise.
19062 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19063 Likewise.
19064 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19065 (elf_greg_t): Likewise.
19066 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19067 (__jmp_buf): Likewise.
19068 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19069 definitions.
19070 (llrint): Likewise, for all definitions.
19071 (llrintl): Likewise.
19072
fed0faa1
JM
19073 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19074 Remove [__GNUC__] condition.
19075 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19076 condition to just [__USE_ISOC99].
19077 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19078
1a20cb20
L
190792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19080
19081 [BZ #14200]
19082 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19083 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19084 defined.
19085 (_POSIX_V6_ILP32_OFF32): Likewise.
19086 (_XBS5_ILP32_OFF32): Likewise.
19087 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19088 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19089
751b85f7
SP
190902013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19091
7490eb81
SP
19092 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19093
751b85f7
SP
19094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19095 doubles __mpexp_twomm1. Adjust usage.
19096 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19097 Remove.
19098
988197f0
AS
190992013-01-10 Andreas Schwab <schwab@suse.de>
19100
19101 [BZ #14964]
19102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19103 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19104
e83d7298
DM
191052013-01-09 David S. Miller <davem@davemloft.net>
19106
034ed64b 19107 [BZ #15003]
e83d7298
DM
19108 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19109 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19110 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19111 TCP_FASTOPEN): Define.
19112 (tcp_repair_opt): New structure.
19113 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19114 enum values.
19115 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19116 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19117 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19118 (tcp_cookie_transactions): New structure.
19119
d5e0b9bd
AB
191202013-01-09 Anton Blanchard <anton@samba.org>
19121
19122 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19123 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19124 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19125 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19126
0c07e3ea
JM
191272013-01-09 Joseph Myers <joseph@codesourcery.com>
19128
19129 * include/features.h (__USE_ANSI): Remove.
19130
232f7002
RM
191312013-01-09 Roland McGrath <roland@hack.frob.com>
19132
ad98e30c
RM
19133 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19134
232f7002
RM
19135 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19136
950c99ca
SP
191372013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19138
b5792741
SP
19139 * sysdeps/s390/fpu/libm-test-ulps: Update.
19140
47cf2278
SP
19141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19142
950c99ca
SP
19143 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19144 (__acr): Likewise.
19145 (__cpy): Likewise.
19146 (norm): Likewise.
19147 (denorm): Likewise.
19148 (__mp_dbl): Likewise.
19149 (__dbl_mp): Likewise.
19150 (add_magnitudes): Likewise.
19151 (sub_magnitudes): Likewise.
19152 (__add): Likewise.
19153 (__sub): Likewise.
19154 (__mul): Likewise.
19155 (__inv): Likewise.
19156 (__dvd): Likewise.
19157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19158 (__acr): Likewise.
19159 (__cpy): Likewise.
19160 (norm): Likewise.
19161 (denorm): Likewise.
19162 (__mp_dbl): Likewise.
19163 (__dbl_mp): Likewise.
19164 (add_magnitudes): Likewise.
19165 (sub_magnitudes): Likewise.
19166 (__add): Likewise.
19167 (__sub): Likewise.
19168 (__mul): Likewise.
19169 (__inv): Likewise.
19170 (__dvd): Likewise.
19171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19172 (__acr): Likewise.
19173 (__cpy): Likewise.
19174 (norm): Likewise.
19175 (denorm): Likewise.
19176 (__mp_dbl): Likewise.
19177 (__dbl_mp): Likewise.
19178 (add_magnitudes): Likewise.
19179 (sub_magnitudes): Likewise.
19180 (__add): Likewise.
19181 (__sub): Likewise.
19182 (__mul): Likewise.
19183 (__inv): Likewise.
19184 (__dvd): Likewise.
19185
eede9df9
JM
191862013-01-08 Joseph Myers <joseph@codesourcery.com>
19187
19188 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19189 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19190 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19191 2 && __USE_EXTERN_INLINES]: Likewise.
19192
c40ea3d9
AJ
191932013-01-08 Andreas Jaeger <aj@suse.de>
19194
19195 [BZ# 14985]
19196 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19197 Remove.
19198 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19199 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19200
2ccdea26
AB
192012013-01-07 Anton Blanchard <anton@samba.org>
19202
19203 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19204 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19205 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19206 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19207 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19208 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19209 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19210 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19212 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19213 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19214 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19215 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19216 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19217 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19218 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19219 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19220 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19221 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19222 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19223 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19224 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19226 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19227 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19228 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19229 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19230 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19231 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19232 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19233 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19234 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19235 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19236 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19237 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19238 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19239 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19240 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19241 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19242 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19243 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19245 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19246
a9708fed
JM
192472013-01-07 Joseph Myers <joseph@codesourcery.com>
19248
375607b9
JM
19249 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19250 (__MALLOC_PMT): Likewise.
19251 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19252 [__GNUC__], only on [_LIBC].
19253 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19254 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19255 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19256 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19257 forward declaration.
19258 (realloc_hook_ini): Likewise.
19259 (memalign_hook_ini): Likewise.
19260 (__libc_memalign): Do not use __MALLOC_PMT in variable
19261 declaration.
19262 (__libc_valloc): Likewise.
19263 (__libc_pvalloc): Likewise.
19264 (__libc_calloc): Likewise.
19265 (__posix_memalign): Likewise.
19266
a9708fed
JM
19267 [BZ #14996]
19268 * math/s_casinh.c: Include <float.h>.
19269 (__casinh): Do not do computation with squaring and square root
19270 for large arguments.
19271 * math/s_casinhf.c: Include <float.h>.
19272 (__casinhf): Do not do computation with squaring and square root
19273 for large arguments.
19274 * math/s_casinhl.c: Include <float.h>.
19275 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19276 (__casinhl): Do not do computation with squaring and square root
19277 for large arguments.
19278 * math/libm-test.inc (casin_test): Add more tests.
19279 (casinh_test): Likewise.
19280 * sysdeps/i386/fpu/libm-test-ulps: Update.
19281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19282
afec409a
L
192832013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19284
19285 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19286 (__x86_64_raw_data_cache_size): Likewise.
19287 (__x86_64_data_cache_size_half): Likewise.
19288 (__x86_64_raw_data_cache_size_half): Likewise.
19289 (__x86_64_shared_cache_size): Likewise.
19290 (__x86_64_raw_shared_cache_size): Likewise.
19291 (__x86_64_shared_cache_size_half): Likewise.
19292 (__x86_64_raw_shared_cache_size_half): Likewise.
19293 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19294 to ...
19295 (__x86_data_cache_size): This.
19296 (__x86_64_raw_data_cache_size): Renamed to ...
19297 (__x86_raw_data_cache_size): This.
19298 (__x86_64_data_cache_size_half): Renamed to ...
19299 (__x86_data_cache_size_half): This.
19300 (__x86_64_raw_data_cache_size_half): Renamed to ...
19301 (__x86_raw_data_cache_size_half): This.
19302 (__x86_64_shared_cache_size): Renamed to ...
19303 (__x86_shared_cache_size): This.
19304 (__x86_64_raw_shared_cache_size): Renamed to ...
19305 (__x86_raw_shared_cache_size): This.
19306 (__x86_64_shared_cache_size_half): Renamed to ...
19307 (__x86_shared_cache_size_half): This.
19308 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19309 (__x86_raw_shared_cache_size_half): This.
19310 * sysdeps/x86_64/memcpy.S: Updated.
19311 * sysdeps/x86_64/memset.S: Likewise.
19312 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19313 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19314 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19315
0b3986d0
DM
193162013-01-04 David S. Miller <davem@davemloft.net>
19317
19318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19319
e47686e9
AS
193202013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19321
d643bac1
AS
19322 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19323 1 to avoid redefinition warning.
19324 (__USE_GNU): Don't define.
19325 (init_signaling_nan): Protoize.
19326
e47686e9
AS
19327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19328
b18decba
SP
193292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19330
fffb407f
SP
19331 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19333 (__cpymn): Likewise.
19334 (norm): Remove commented code.
19335 (denorm): Likewise.
19336 (__mp_dbl): Likewise.
19337 (__inv): Likewise.
19338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19339 (__cpymn): Likewise.
19340 (norm): Remove commented code.
19341 (denorm): Likewise.
19342 (__mp_dbl): Likewise.
19343 (__inv): Likewise.
19344
b18decba
SP
19345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19346 mp_no value for 1.0 and 2.0.
19347 (norm): Use RADIXI instead of radixi.d.
19348 (denorm): Likewise.
19349 (__mul): Use 0.0 instead of zero.d.
19350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19351 mp_no value for 1.0 and 2.0.
19352 (norm): Use RADIXI instead of radixi.d.
19353 (denorm): Likewise.
19354 (__mul): Use 0.0 instead of zero.d.
19355
cdc1c96f
JM
193562013-01-04 Joseph Myers <joseph@codesourcery.com>
19357
19358 [BZ #14994]
19359 * math/s_casinh.c (__casinh): Reduce finite argument to first
19360 quadrant then set signs of results at the end.
19361 * math/s_casinhf.c (__casinhf): Likewise.
19362 * math/s_casinhl.c (__casinhl): Likewise.
19363 * math/libm-test.inc (casin_test): Add more tests.
19364 (casinh_test): Likewise.
19365 * sysdeps/i386/fpu/libm-test-ulps: Update.
19366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19367
302913e1
SP
193682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19369
6420d207
SP
19370 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19371
a9e48ab4
SP
19372 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19373
b7837264
SP
19374 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19375 declarations.
19376 (denorm): Likewise.
19377 (__mp_dbl): Likewise.
19378 (__inv): Likewise.
19379
f8af25d2
SP
19380 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19381 and adjust the header comment.
19382
302913e1
SP
19383 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19384 variable name from declaration.
19385
5d7dd1ca
L
193862013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19387
19388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19389 Initialize COMMON_CPUID_INDEX_7 element.
19390 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19391 (CPUID_RTM): Likewise.
19392 (HAS_RTM): Likewise.
19393 (COMMON_CPUID_INDEX_7): New enum.
19394
2f5f40f4
AS
193952013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19396
19397 [BZ #14981]
19398 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19399 size is zero, record memory as freed.
19400
4056f4a0
AJ
194012013-01-03 Andreas Jaeger <aj@suse.de>
19402
19403 * po/ia.po: Add new Interlingua translation.
19404
ab15736f 194052012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19406
19407 * locale/programs/localedef.c: Fix description of '--posix' flag.
19408
568035b7
JM
194092013-01-02 Joseph Myers <joseph@codesourcery.com>
19410
e6898b8d
JM
19411 * NEWS: Update dates in second copyright notice.
19412 * README: Update copyright dates in example.
19413 * manual/libc.texinfo: Update copyright dates.
19414 * scripts/test-installation.pl: Update copyright date in --version
19415 output.
19416
0e2f9562
JM
19417 * hurd/ctty-input.c: Fix copyright notice formatting.
19418 * hurd/ctty-output.c: Likewise.
19419 * hurd/dtable.c: Likewise.
19420 * hurd/hurd-raise.c: Likewise.
19421 * hurd/hurdprio.c: Likewise.
19422 * hurd/msgportdemux.c: Likewise.
19423 * misc/sys/file.h: Likewise.
19424 * misc/sys/ioctl.h: Likewise.
19425 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19426 * sysdeps/mach/hurd/chdir.c: Likewise.
19427 * sysdeps/mach/hurd/fchdir.c: Likewise.
19428 * sysdeps/mach/hurd/rename.c: Likewise.
19429 * sysdeps/mach/hurd/rmdir.c: Likewise.
19430 * sysdeps/mach/hurd/seekdir.c: Likewise.
19431 * sysdeps/mach/hurd/setsid.c: Likewise.
19432 * sysdeps/posix/wait3.c: Likewise.
19433
568035b7
JM
19434 * All files with FSF copyright notices: Update copyright dates
19435 using scripts/update-copyrights.
19436 * intl/plural.c: Regenerated.
19437 * locale/programs/charmap-kw.h: Likewise.
19438 * locale/programs/locfile-kw.h: Likewise.
19439
da08f647
SP
194402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19441
0f5477af
SP
19442 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19443 four values.
19444
44e0d4c2
SP
19445 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19446 calculation loop and add branch prediction.
19447
4d55b4e5
SP
19448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19449 check access beyond bounds of m1np.
19450
da08f647
SP
19451 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19452 MPTWO.
19453 (__inv): Remove local variable MPTWO to use the global
19454 constant.
19455 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19456 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19457 variable MPTWO.
19458 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19459 MP3HALFS static const.
19460
8e051029
DM
194612013-01-01 David S. Miller <davem@davemloft.net>
19462
19463 * po/ca.po: Update from translation team.
19464
f4cf5f2d
JM
194652013-01-01 Joseph Myers <joseph@codesourcery.com>
19466
19467 * scripts/update-copyrights: New file.
19468 * Makeconfig: Reformat copyright notice.
19469 * ctype/ctype.h: Likewise.
19470 * debug/swprintf_chk.c: Likewise.
19471 * elf/dl-cache.c: Likewise.
19472 * elf/dl-debug.c: Likewise.
19473 * elf/dl-object.c: Likewise.
19474 * grp/initgroups.c: Likewise.
19475 * hurd/Makefile: Likewise.
19476 * hurd/hurd/signal.h: Likewise.
19477 * hurd/hurdfault.c: Likewise.
19478 * hurd/hurdioctl.c: Likewise.
19479 * hurd/hurdlookup.c: Likewise.
19480 * hurd/intr-msg.c: Likewise.
19481 * iconv/gconv_open.c: Likewise.
19482 * libio/swprintf.c: Likewise.
19483 * locale/lc-ctype.c: Likewise.
19484 * locale/nl_langinfo.c: Likewise.
19485 * mach/Machrules: Likewise.
19486 * mach/Makefile: Likewise.
19487 * malloc/obstack.h: Likewise.
19488 * manual/Makefile: Likewise.
19489 * manual/tsort.awk: Likewise.
19490 * misc/bits/stab.def: Likewise.
19491 * nis/nis_print_group_entry.c: Likewise.
19492 * nis/nis_table.c: Likewise.
19493 * nis/nss_compat/compat-pwd.c: Likewise.
19494 * nis/nss_compat/compat-spwd.c: Likewise.
19495 * po/Makefile: Likewise.
19496 * posix/fnmatch.c: Likewise.
19497 * posix/regex.h: Likewise.
19498 * resolv/Makefile: Likewise.
19499 * resolv/nss_dns/dns-network.c: Likewise.
19500 * resolv/res_hconf.c: Likewise.
19501 * scripts/gen-sorted.awk: Likewise.
19502 * soft-fp/soft-fp.h: Likewise.
19503 * stdio-common/printf.h: Likewise.
19504 * stdlib/monetary.h: Likewise.
19505 * stdlib/random.c: Likewise.
19506 * stdlib/random_r.c: Likewise.
19507 * sysdeps/generic/Makefile: Likewise.
19508 * sysdeps/gnu/Makefile: Likewise.
19509 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19511 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19516 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19519 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19522 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19523 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19524 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19525 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19526 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19527 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19529 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19530 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19531 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19537 * sysdeps/mach/hurd/errnos.awk: Likewise.
19538 * sysdeps/mach/hurd/fork.c: Likewise.
19539 * sysdeps/mach/hurd/getcwd.c: Likewise.
19540 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19541 * sysdeps/mach/hurd/mmap.c: Likewise.
19542 * sysdeps/mach/hurd/utimes.c: Likewise.
19543 * sysdeps/mach/hurd/xmknod.c: Likewise.
19544 * sysdeps/posix/profil.c: Likewise.
19545 * sysdeps/posix/readdir_r.c: Likewise.
19546 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19547 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19548 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19549 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19551 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19552 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19553 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19555 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19556 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19557 * sysdeps/pthread/lio_listio.c: Likewise.
19558 * sysdeps/sparc/dl-procinfo.h: Likewise.
19559 * sysdeps/unix/i386/sysdep.S: Likewise.
19560 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19561 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19562 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19563 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19565 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19566 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19567 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19568 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19569 * sysdeps/wordsize-32/divdi3.c: Likewise.
19570 * time/sys/time.h: Likewise.
19571 * wcsmbs/Makefile: Likewise.
19572
0549fbba
DM
195732013-01-01 David S. Miller <davem@davemloft.net>
19574
a141f1a7
DM
19575 * po/fr.po: Update from translation team.
19576
0549fbba
DM
19577 * catgets/gencat.c: Update copyright year.
19578 * csu/version.c: Likewise.
19579 * debug/catchsegv.sh: Likewise.
19580 * debug/pcprofiledump.c: Likewise.
19581 * debug/xtrace.sh: Likewise.
19582 * elf/ldconfig.c: Likewise.
19583 * elf/ldd.bash.in: Likewise.
19584 * elf/pldd.c: Likewise.
19585 * elf/sotruss.ksh: Likewise.
19586 * elf/sprof.c: Likewise.
19587 * iconv/iconv_prog.c: Likewise.
19588 * iconv/iconvconfig.c: Likewise.
19589 * locale/programs/locale.c: Likewise.
19590 * locale/programs/localedef.c: Likewise.
19591 * login/programs/pt_chown.c: Likewise.
19592 * malloc/memusage.sh: Likewise.
19593 * malloc/memusagestat.c: Likewise.
19594 * malloc/mtrace.pl: Likewise.
19595 * nscd/nscd.c: Likewise.
19596 * nss/getent.c: Likewise.
19597 * nss/makedb.c: Likewise.
19598 * posix/getconf.c: Likewise.
19599
18ea052c
SP
196002012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19601
19602 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19603 numbers.
19604
9c89fca6
MF
196052012-12-30 Mike Frysinger <vapier@gentoo.org>
19606
19607 * math/bits/mathcalls.h (modf): Use __nonnull.
19608
085ec079
SP
196092012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19610
19611 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19612 (split): Use macro CN instead of the bare value.
19613 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19614 could be used.
19615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19616 instead of the bare value.
19617 (power1): Likewise.
19618
6d9f97e1
SP
196192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19620
d63f73be
SP
19621 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19622 __ATAN_TWOM.
19623 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19624
6d9f97e1
SP
19625 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19626 their values.
19627 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19628 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19629 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19630 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19631
4c4febf5
AJ
196322012-12-28 Andreas Jaeger <aj@suse.de>
19633
af5843ef
AJ
19634 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19635 values are from Linux 3.7.
19636
4c4febf5
AJ
19637 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19638 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19639
99136f82
SP
196402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19641
2f216c3c 19642 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19643 TRUE case.
19644
99136f82
SP
19645 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19646 (norm): Likewise.
19647 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19648 variables with preprocessor constants.
19649 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19650 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19651 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19652
7fffbdff
BH
196532012-12-27 Bruno Haible <bruno@clisp.org>
19654
19655 [BZ #14317]
19656 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19657 only if needed.
19658
b76eb5f0
SP
196592012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19660
31a7fe5c
SP
19661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19662 and use variable directly.
19663 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19664
b76eb5f0
SP
19665 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19666 MPONE.
19667 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19668 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19669 variable MPONE.
19670 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19672 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19673 include directive. Remove local variable MPONE.
19674 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19675 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19676 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19677
2c8bfe7d
DM
196782012-12-25 David S. Miller <davem@davemloft.net>
19679
19680 * version.h (RELEASE): Set to "development".
19681 (VERSION): Set to "2.17.90".
19682 * NEWS: Add 2.18 section.
19683
147d03b0
DM
196842012-12-21 David S. Miller <davem@davemloft.net>
19685
19686 * po/hr.po: Update from translation team.
19687
a8ebb2b9
AK
196882012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19689
19690 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19691
95b4f1b6
SE
196922012-12-19 Steve Ellcey <sellcey@mips.com>
19693
b2d94007 19694 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19695
cedb2a90
MS
196962012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19697
19698 * manual/contrib.texi (Contributors): Spelling correction.
19699
bbf527d6
DM
197002012-12-15 David S. Miller <davem@davemloft.net>
19701
19702 * po/ru.po: Update from translation team.
19703
bc38c906
DM
197042012-12-13 David S. Miller <davem@davemloft.net>
19705
85429b1a
DM
19706 * NEWS: Mention IFUNC testsuite enhancements.
19707
d283e353
DM
19708 * po/pl.po: Update from translation team.
19709 * po/bg.po: Likewise.
19710
bc38c906
DM
19711 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19712 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19713
a181b0d7
DM
197142012-12-11 David S. Miller <davem@davemloft.net>
19715
4641d57e
DM
19716 * po/sv.po: Update from translation team.
19717
f7bc6495
DM
19718 * po/vi.po: Update from translation team.
19719
6fc9048f
DM
19720 * po/cs.po: Update from translation team.
19721
a181b0d7
DM
19722 * po/de.po: Update from translation team.
19723 * po/eo.po: Likewise.
19724 * po/nl.po: Likewise.
19725
f70bfe80
SP
197262012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19727
3c8b4190
SP
19728 [BZ #14246]
19729 * manual/argp.texi (Argp Helper Functions): Move node to follow
19730 Argp Parsing State.
19731
f70bfe80
SP
19732 [BZ #14872]
19733 * manual/conf.texi (Limits on File System Capacity): Mention if
19734 terminating null is included in the max size.
19735
188f0adf
AJ
197362012-12-10 Andreas Jaeger <aj@suse.de>
19737
19738 * po/cs.po: Update from translation team.
19739
56e7d3ad
SP
197402012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19741
19742 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19743 void pointer and cast to uintptr_t.
19744 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19745 path.
19746 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19747 * sysdeps/s390/s390-64/memset.S: Likewise.
19748
76f2d2ea 197492012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19750
19751 [BZ #14833]
19752 * menual/message.texi (Message Translation): Fix typos.
19753 (Helper programs for gettext): Likewise.
19754
67cbf9a2
AS
197552012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19756
19757 [BZ #14898]
19758 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19759 Change to -1.
19760
682d0e9a
DM
197612012-12-07 David S. Miller <davem@davemloft.net>
19762
19763 * po/libc.pot: Update.
19764
573cd484
RH
197652012-12-07 Richard Henderson <rth@redhat.com>
19766
7e9da188 19767 [BZ #10114]
573cd484
RH
19768 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19769 normal/normal case to before the switch.
19770 (_FP_DIV): Likewise.
19771
e933a943
MF
197722012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19773 Mike Frysinger <vapier@gentoo.org>
19774
19775 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19776 check for __NR_fadvise64_64.
19777
82123268
CM
197782012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19779
19780 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19781 0, not just to plain "0" as a statement.
19782 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19783 with cw.
19784
d9814526
JM
197852012-12-06 Joseph Myers <joseph@codesourcery.com>
19786
19787 * NEWS: Use sourceware.org in Bugzilla URL.
19788
7728c574
SP
197892012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19790
f16946dd
SP
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19792 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19793
5704bbcb
SP
19794 * stdio-common/tst-put-error.c (do_test): Add newline to the
19795 padded test to ensure flush.
19796
17aa0516
JL
197972012-12-05 Jeff Law <law@redhat.com>
19798
19799 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19800
363313b5
JM
198012012-12-05 Joseph Myers <joseph@codesourcery.com>
19802
effbd42a
JM
19803 * README: Don't refer to ports add-on as distributed separately.
19804 Mention AArch64 in list of systems supported in the ports add-on.
19805
87600365
JM
19806 * LICENSES: Add more non-FSF copyright and license notices.
19807
a0d7066a
JM
19808 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19809 ((unused)).
19810
66ca5a5b
JM
19811 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19812
363313b5
JM
19813 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19814 10000 as width of padded output.
19815
b37984ad
JM
198162012-12-04 Joseph Myers <joseph@codesourcery.com>
19817
9003570a
JM
19818 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19819
b37984ad
JM
19820 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19821 variable LX with __attribute__ ((unused)).
19822 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19823 Likewise.
19824 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19826 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19827 with __attribute__ ((unused)).
19828
c8df52ec
DM
198292012-12-04 David S. Miller <davem@abraco.davemloft.net>
19830
19831 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19832
b3b099af
JM
198332012-12-04 Joseph Myers <joseph@codesourcery.com>
19834
c33aa6e3
JM
19835 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19836 (CFLAGS-nldbl-acos.c): New variable.
19837 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19838 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19839 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19840 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19841 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19842 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19843 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19844 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19845 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19846 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19847 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19848 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19849 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19850 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19851 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19852 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19853 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19854 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19855 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19856 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19857 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19858 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19859 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19860 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19861 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19862 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19863 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19864 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19865 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19866 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19867 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19868 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19869 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19870 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19871 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19872 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19873 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19874 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19875 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19876 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19877 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19878 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19879 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19880 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19881 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19882 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19883 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19884 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19885 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19886 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19887 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19888 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19889 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19890 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19891 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19892 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19893 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19894 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19895 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19896 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19897 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19898 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19899 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19900 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19901 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19902 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19903 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19904 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19905 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19906 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19907 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19908 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19909 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19910 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19911 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19912 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19913 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19914 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19915 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19916 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19917 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19918 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19919 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19920 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19921 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19922 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19923 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19924 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19925 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19926 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19927 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19928 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19929 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19930 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19931 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19932 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19933 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19934
20f0018d
JM
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19936 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19937
b3b099af
JM
19938 [BZ #14914]
19939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19940 whole low double instead of just low 47 bits when splitting values
19941 into two parts.
19942
029264d1
AM
199432012-12-03 Allan McRae <allan@archlinux.org>
19944
19945 * manual/stdio.texi (Predefined Printf Handlers): Remove
19946 @hsep and @vsep usage.
19947
c9d6789e
MF
199482012-12-03 Mike Frysinger <vapier@gentoo.org>
19949
19950 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19951 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19952
4b7634a5
JL
199532012-12-03 Jeff Law <law@redhat.com>
19954
19955 * time/sys/time.h (settimeofday): Do not mark TV argument
19956 as __nonnull.
19957
eb6cbd24
MF
199582012-12-01 Mike Frysinger <vapier@gentoo.org>
19959
19960 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19961 when currently writing and seek to current position when not.
19962 * libio/Makefile (tests): Remove bug-fclose1.
19963 * libio/bug-fclose1.c: Delete.
19964
f638872a
JM
199652012-12-01 Joseph Myers <joseph@codesourcery.com>
19966
19967 * manual/arith.texi (feenableexcept): Fix typo.
19968 (fedisableexcept): Likewise.
19969
48085d14
RM
199702012-11-30 Roland McGrath <roland@hack.frob.com>
19971
19972 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19973 second, differently-typed declaration, rather than a cast.
19974
1a538b9f
SP
199752012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19976
19977 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19978 * include/rpc/svc.h: ... here.
19979
d07f2ff1 199802012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19981
19982 [BZ #13013]
19983 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19984 depending n and resplen2 to catch cases where answer
19985 equals answerp2.
19986
c93ec1f0
CD
199872012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19988
19989 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19990 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19991
37db69de
MF
199922012-11-29 Mike Frysinger <vapier@gentoo.org>
19993
19994 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19995
e10c4e4f
RM
199962012-11-29 Roland McGrath <roland@hack.frob.com>
19997
19998 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19999
2af1b328
JL
200002012-11-28 Jeff Law <law@redhat.com>
20001
20002 [BZ #13761]
20003 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20004 dataset_temporary. Track alloca usage into alloca_used.
20005 If dataset is large allocate and release it via malloc/free.
20006
111db5b1
FW
200072012-06-04 Florian Weimer <fweimer@redhat.com>
20008
f06cc227 20009 [BZ #14197]
111db5b1
FW
20010 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20011
dd694abd
DM
200122012-11-28 David S. Miller <davem@davemloft.net>
20013
20014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20015
9984dd01
JM
200162012-11-28 Joseph Myers <joseph@codesourcery.com>
20017
20018 [BZ #14803]
20019 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20020 of pi/2 rounded to nearest to 64 bits.
20021 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20022 nearest to 64 bits.
20023 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20024 bits.
20025
14bc93a9
JL
200262012-11-28 Jeff Law <law@redhat.com>
20027 Martin Osvald <mosvald@redhat.com>
20028
20029 [BZ #14889]
20030 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20031 * sunrpc/svc.c: Include time.h.
20032 (__svc_accept_failed): New function.
20033 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20034 any reason other than EINTR, call __svc_accept_failed.
20035 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20036 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20037
e3c6aa3a
AS
200382012-11-28 Andreas Schwab <schwab@suse.de>
20039
20040 * scripts/abilist.awk: Also handle indirect functions in .opd
20041 section.
20042
1bead169
JM
200432012-11-28 Joseph Myers <joseph@codesourcery.com>
20044
20045 [BZ #13881]
20046 * sysdeps/x86/fpu/powl_helper.c: New file.
20047 * sysdeps/x86/fpu/Makefile: Likewise.
20048 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20049 (p3): New object.
20050 (__ieee754_powl): Use __powl_helper for finite arguments except
20051 integer exponents below 8.
20052 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20053 (p3): New object.
20054 (__ieee754_powl): Use __powl_helper for finite arguments except
20055 integer exponents below 8.
20056 * math/libm-test.inc (pow_test): Add more tests and enable some
20057 previously disabled tests.
20058 * sysdeps/i386/fpu/libm-test-ulps: Update.
20059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20060
0817d63d
SP
200612012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20062 Carlos O'Donell <carlos_odonell@mentor.com>
20063
20064 * nss/makedb.c (is_prime): Assert that input is odd and greater
20065 than 4. Note that fact in a comment too.
20066 (next_prime): Add 4 to input.
20067
de2fd463
SP
200682012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20069
20070 [BZ #11741]
20071 * libio/Makefile (tests): Add test case tst-fwrite-error.
20072 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20073 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20074 * libio/tst-fwrite-error.c: New test case.
20075
c515fb51
L
200762012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20077
20078 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20079 before casting to void *.
20080 * include/libc-internal.h (__pointer_type): New macro.
20081 (__integer_if_pointer_type_sub): Likewise.
20082 (__integer_if_pointer_type): Likewise.
20083 (cast_to_integer): Likewise.
20084 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20085 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20086 before casting to atomic64_t.
20087 (atomic_exchange_acq): Likewise.
20088 (__arch_exchange_and_add_body): Likewise.
20089 (__arch_add_body): Likewise.
20090 (atomic_add_negative): Likewise.
20091 (atomic_add_zero): Likewise.
20092
4cf77aa9
JM
200932012-11-26 Joseph Myers <joseph@codesourcery.com>
20094
20095 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20096 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20097 (add_fdes): Likewise.
20098 (linear_search_fdes): Likewise.
20099 (binary_search_unencoded_fdes): Likewise.
20100
d260b3b4
AS
201012012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20102
20103 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20104
67060746
AC
201052012-11-24 Adam Conrad <adconrad@0c3.net>
20106
20107 * configure.in: Autodetect C++ header directories.
20108 * configure: Regenerated.
20109
800938a1
MF
201102012-11-23 Mike Frysinger <vapier@gentoo.org>
20111
20112 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20113
4e6e34e6
AS
201142012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20115
20116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20117
7c7feb47
JM
201182012-11-22 Joseph Myers <joseph@codesourcery.com>
20119
7184dcdf
JM
20120 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20121 LDBL_MANT_DIG == 106]: Disable some tests.
20122 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20123 Likewise.
20124 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20125 Likewise.
20126
0a42601f
JM
20127 [BZ #14871]
20128 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20129 input for small inputs. Return +/- pi/2 for large inputs.
20130 * math/libm-test.inc (atan_test): Add more tests.
20131
79c9b9fe
JM
20132 * sysdeps/generic/unwind-dw2-fde-glibc.c
20133 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20134 __attribute__ ((unused)).
20135
c60d3bf2
JM
20136 [BZ #14645]
20137 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20138 x * y if x and y are nonzero and z is zero.
20139
ef1e0867
JM
20140 [BZ #14811]
20141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20142 nonzero exponents with absolute value below 0x1p-117 to +/-
20143 0x1p-117.
20144
1468ded3
JM
20145 [BZ #14869]
20146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20147 up arguments below 2**-450, not just those below 2**-500.
20148 * math/libm-test.inc (hypot_test): Add another test.
20149
8e27e3cc
JM
20150 [BZ #14868]
20151 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20152 Return a+b for ratio over 2**120, not 2**60.
20153 * math/libm-test.inc (hypot_test): Add another test.
20154
c9c0279b
JM
20155 * math/libm-test.inc (clog_test): Use
20156 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20157 (clog10_test): Likewise.
20158
7c7feb47
JM
20159 [BZ #6778]
20160 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20161
fff1530e
AS
201622012-11-22 Andreas Schwab <schwab@suse.de>
20163
20164 * sysdeps/i386/fpu/libm-test-ulps: Update.
20165
94558d30
PT
201662012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20167
20168 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20169 printf output with newline.
20170
7e1be741
L
201712012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20172
6bfea974
L
20173 [BZ #14865]
20174 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20175 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20176 -z nodlopen, -z initfirst and -z execstack support.
20177 * configure: Regenerated.
20178
7e1be741
L
20179 * elf/elf.h (DF_1_NODIRECT): New macro.
20180 (DF_1_IGNMULDEF): Likewise.
20181 (DF_1_NOKSYMS): Likewise.
20182 (DF_1_NOHDR): Likewise.
20183 (DF_1_EDITED): Likewise.
20184 (DF_1_NORELOC): Likewise.
20185 (DF_1_SYMINTPOSE): Likewise.
20186 (DF_1_GLOBAUDIT): Likewise.
20187 (DF_1_SINGLETON): Likewise.
20188 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20189 DT_1_SUPPORTED_MASK bits.
20190 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20191
105ce2ce
CD
201922012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20193
20194 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20195
123be9de
TS
201962012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20197
d072f3f7
TS
20198 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20199 macro.
20200
123be9de
TS
20201 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20202 (sendmmsg): Move declarations...
20203 * socket/sys/socket.h: ... here.
20204 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20205 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20206 include it from...
20207 * socket/recvmmsg.c: ... this new file.
20208 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20209 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20210 definition of __sendmmsg hidden.
20211 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20212 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20213 Move ENOSYS stub into and include it from...
20214 * socket/sendmmsg.c: ... this new file.
20215 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20216 (sysdep_routines): Move recvmmsg and sendmmsg...
20217 * socket/Makefile (routines): ... here.
20218 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20219 (GLIBC_PRIVATE): Add __sendmmsg.
20220 * include/sys/socket.h (__sendmmsg): Add declarations.
20221 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20222 sendmmsg.
20223
cf9a5d18
JM
202242012-11-20 Joseph Myers <joseph@codesourcery.com>
20225
20226 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20227 variable I1 with __attribute__ ((unused)).
20228 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20229
ecd4caf9
JM
202302012-11-19 Joseph Myers <joseph@codesourcery.com>
20231
be14d48f
JM
20232 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20233 DUMMY variables with __attribute__ ((unused)).
20234
ecd4caf9
JM
20235 * bits/byteswap.h: Include <bits/types.h>.
20236 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20237
986cab95
PT
202382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20239
20240 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20241 string_t. Do not manually set errno.
20242 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20243 length with __strnlen. Make sure to both set errno and return it on
20244 failure.
20245
6d33cc9d
DM
202462012-11-19 David S. Miller <davem@davemloft.net>
20247
20248 With help from Joseph Myers.
20249 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20250 very large arguments properly.
20251 * math/libm-test.inc (atan_test): New tests.
20252 (atan2_test): New tests.
20253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20255
ee663277
JM
202562012-11-19 Joseph Myers <joseph@codesourcery.com>
20257
877f2d8e
JM
20258 [BZ #14856]
20259 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20260 Define to 3.
20261
116fc08a
JM
20262 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20263 [POSIX] (EADDRNOTAVAIL): Likewise.
20264 [POSIX] (EAFNOSUPPORT): Likewise.
20265 [POSIX] (EALREADY): Likewise.
20266 [POSIX] (ECONNABORTED): Likewise.
20267 [POSIX] (ECONNREFUSED): Likewise.
20268 [POSIX] (ECONNRESET): Likewise.
20269 [POSIX] (EDESTADDRREQ): Likewise.
20270 [POSIX] (EDQUOT): Likewise.
20271 [POSIX] (EHOSTUNREACH): Likewise.
20272 [POSIX] (EIDRM): Likewise.
20273 [POSIX] (EISCONN): Likewise.
20274 [POSIX] (ELOOP): Likewise.
20275 [POSIX] (EMULTIHOP): Likewise.
20276 [POSIX] (ENETDOWN): Likewise.
20277 [POSIX] (ENETUNREACH): Likewise.
20278 [POSIX] (ENOBUFS): Likewise.
20279 [POSIX] (ENODATA): Likewise.
20280 [POSIX] (ENOLINK): Likewise.
20281 [POSIX] (ENOMSG): Likewise.
20282 [POSIX] (ENOPROTOOPT): Likewise.
20283 [POSIX] (ENOSR): Likewise.
20284 [POSIX] (ENOSTR): Likewise.
20285 [POSIX] (ENOTCONN): Likewise.
20286 [POSIX] (ENOTSOCK): Likewise.
20287 [POSIX] (EOPNOTSUPP): Likewise.
20288 [POSIX] (EOVERFLOW): Likewise.
20289 [POSIX] (EPROTO): Likewise.
20290 [POSIX] (EPROTONOSUPPORT): Likewise.
20291 [POSIX] (EPROTOTYPE): Likewise.
20292 [POSIX] (ESTALE): Likewise.
20293 [POSIX] (ETIME): Likewise.
20294 [POSIX] (ETXTBSY): Likewise.
20295 [POSIX] (EWOULDBLOCK): Likewise.
20296 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20297 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20298 [POSIX] (SEEK_CUR): Likewise.
20299 [POSIX] (SEEK_END): Likewise.
20300 [POSIX || UNIX98] (mode_t): Do not require.
20301 [POSIX] (off_t): Likewise.
20302 [POSIX] (pid_t): Likewise.
20303 [POSIX] (sys/stat.h): Do not allow header.
20304 [POSIX] (unistd.h): Likewise.
20305 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20306 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20307 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20308 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20309 require.
20310 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20311 sigevent): Specify elements.
20312 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20313 entry.
20314 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20315 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20316
a483863f
JM
20317 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20318 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20319 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20320 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20321 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20322 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20323 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20324 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20325 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20326 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20327 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20328 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20329 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20330 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20331 Likewise.
20332 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20333 Likewise.
20334 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20335 Likewise.
20336 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20337 Likewise.
20338 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20339 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20340 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20341 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20342 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20343 Specify lower bound on value.
20344 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20345 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20346 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20347 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20350 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20351 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20352 value.
20353 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20354 as optional.
20355 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20359 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20360 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20361 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20362 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20363 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20371 entry.
20372 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20373 optional.
20374 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20375 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20376 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20377 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20378 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20379 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20380 Likewise.
20381 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20382 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20383 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20384 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20385 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20386 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20387 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20388 as optional.
20389 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20390 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20391 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20392 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20393 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20394 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20395 specify as optional.
20396 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20397 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20398 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20399 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20400 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20401 [XPG3] (NL_LANGMAX): Likewise.
20402 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20403 [POSIX || XPG3] (NL_NMAX): Likewise.
20404 [POSIX || XPG3] (NL_SETMAX): Likewise.
20405 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20406 [XPG3] (NZERO): Likewise.
20407 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20408 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20409 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20410 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20411 (REG_ERANGE): Expect.
20412 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20413 optional-constant.
20414 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20415 Use (void) in prototype.
20416 [POSIX] (*_t): Allow.
20417 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20418 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20419 (WRDE_BADVAL): Expect.
20420
5ba924e3
JM
20421 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20422 expect.
20423 [XPG3 || XPG4] (O_RSYNC): Likewise.
20424 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20425 Likewise.
20426 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20427 [XPG3 || XPG4] (sigqueue): Likewise.
20428 [XPG3 || XPG4] (sigtimedwait): Likewise.
20429 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20430 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20431 [XPG3 || XPG4] (vsnprintf): Likewise.
20432 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20433 Likewise.
20434 [XPG3 || XPG4] (blksize_t): Likewise.
20435 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20436 Likewise.
20437 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20438 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20439 [XPG3 || XPG4] (struct itimerspec): Likewise.
20440 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20441 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20442 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20443 [XPG3 || XPG4] (clockid_t): Likewise.
20444 [XPG3 || XPG4] (timer_t): Likewise.
20445 [XPG3 || XPG4] (clock_getres): Likewise.
20446 [XPG3 || XPG4] (clock_gettime): Likewise.
20447 [XPG3 || XPG4] (clock_settime): Likewise.
20448 [XPG3 || XPG4] (nanosleep): Likewise.
20449 [XPG3 || XPG4] (timer_create): Likewise.
20450 [XPG3 || XPG4] (timer_delete): Likewise.
20451 [XPG3 || XPG4] (timer_gettime): Likewise.
20452 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20453 [XPG3 || XPG4] (timer_settime): Likewise.
20454 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20455 [XPG3 || XPG4] (getlogin_r): Likewise.
20456 [XPG3 || XPG4] (pread): Likewise.
20457 [XPG3 || XPG4] (pthread_atfork): Likewise.
20458 [XPG3 || XPG4] (pwrite): Likewise.
20459
ee663277
JM
20460 [BZ #14835]
20461 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20462 <bits/siginfo.h>.
20463
942caa16
PT
204642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20465
e19af380
PT
20466 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20467 finalizing MALLSTREAM.
20468
942caa16
PT
20469 * sysdeps/mach/hurd/syncfs.c: New file.
20470
cfde9b46
SP
204712012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20472
20473 [BZ #14719]
20474 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20475 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20476 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20477 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20478 (_nss_dns_gethostbyname4_r): Likewise.
20479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20480 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20481
f6da27e5
PH
204822012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20483
20484 [BZ #13763]
20485 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20486
6665d4a2
SM
204872012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20488
1f51ee92
SM
20489 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20490 * elf/cache.c (print_entry): Print ",AArch64" for
20491 FLAG_AARCH64_LIB64
20492
6665d4a2
SM
20493 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20494 * elf/cache.c (print_entry): Print ",hard-float" for
20495 FLAG_ARM_LIBHF.
20496
05b227bd
DM
204972012-11-18 David S. Miller <davem@davemloft.net>
20498
20499 With help from Joseph Myers.
20500 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20501 cutoff to 2**-13.
20502 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20503 cutoff to 2**-25.
20504 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20505 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20506 small.
20507 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20508 * math/libm-test.inc (y0_test): New tests.
20509 (y1_test): New tests.
20510 * sysdeps/i386/fpu/libm-test-ulps: Update.
20511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20513
786b0b67
AS
205142012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20515
20516 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20517 64-bit targets.
20518 * configure: Regenerated.
20519
8e18b86d
DM
205202012-11-17 David S. Miller <davem@davemloft.net>
20521
20522 [BZ #14811]
20523 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20524 nonzero exponents with absolute value below 0x1p-128 to +/-
20525 0x1p-128.
20526
531f1ae0
JM
205272012-11-17 Joseph Myers <joseph@codesourcery.com>
20528
12df29e2
JM
20529 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20530
150dc1a0
JM
20531 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20532
531f1ae0
JM
20533 * posix/getconf-speclist.c: New file.
20534 * posix/posix-envs.def: Likewise.
20535 * posix/confstr.c (START_ENV_GROUP): New macro.
20536 (END_ENV_GROUP): Likewise.
20537 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20538 (KNOWN_PRESENT_ENV_STRING): Likewise.
20539 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20540 (UNKNOWN_ENVIRONMENT): Likewise.
20541 (confstr): Include posix-envs.def instead of handling
20542 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20543 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20544 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20545 (END_ENV_GROUP): Likewise.
20546 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20547 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20548 (UNKNOWN_ENVIRONMENT): Likewise.
20549 (__sysconf): Include posix-envs.def instead of handling associated
20550 cases directly here.
20551 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20552 preprocessing getconf-speclist.c rather than running getconf or
20553 generating empty file.
20554
a93f9cbc
PT
205552012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20556
20557 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20558
d64d9f87
AL
205592012-11-16 Andrej Lajovic <natrij@gmail.com>
20560
20561 [BZ #14672]
20562 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20563
447885eb
DM
205642012-11-16 David S. Miller <davem@davemloft.net>
20565
20566 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20567 smaller than LDBL_EPSILON/2.0L, just return xm1.
20568
bcbf9830
L
205692012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20570
20571 * elf/tst-array1.c (init): Set constructor priority to 1000.
20572 (fini): Set destructor priority to 1000.
20573 * elf/tst-array2dep.c: Likewise.
20574
2b766585
SP
205752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20576
20577 [BZ #11741]
20578 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20579 (_IO_new_file_xsputn): Also return EOF if none of the input
20580 data was written when overflow failed.
20581 * libio/iopadn.c (_IO_padn): Likewise.
20582 * libio/iowpadn.c (_IO_wpadn): Likewise.
20583 * stdio-common/tst-put-error.c: Add copyright notice.
20584 (do_test): Add case for printing padded string.
20585 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20586 _IO_padn returned error.
20587 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20588 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20589 return EOF.
20590
b1848fde
SP
205912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20592
20593 * libio/libioP.h: Add comment note that the references to C++
20594 bits are now obsolete.
20595
2fd89785
MS
205962012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20597
20598 * math/libm-test.inc (check_complex): Use asprintf.
20599
e3ea5409
JM
206002012-11-14 Joseph Myers <joseph@codesourcery.com>
20601
20602 * debug/pcprofiledump.c (print_version): Update copyright year.
20603 * malloc/memusagestat.c (print_version): Likewise.
20604
2e64d265
L
206052012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20606
20607 [BZ #14831]
20608 * elf/Makefile (tests): Add tst-audit8.
20609 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20610 ($(objpfx)tst-audit8.out): New target.
20611 (tst-audit8-ENV): New variable.
20612 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20613 audit if l_reloc_result is NULL.
20614 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20615 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20616 * elf/tst-audit8.c: New file.
20617
c485e4d2
MS
206182012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20619
20620 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20621 * misc/Makefile (CFLAGS-select.c): Define.
20622 * posix/Makefile (CFLAGS-pause.c): Define.
20623
3a0d900a
DM
206242012-11-13 David S. Miller <davem@davemloft.net>
20625
20626 * crypt/Makefile: Move test targets after toplevel Rules
20627 inclusion. Grab any necessary sysdep routines when linking.
20628 * crypt/md5.c (md5_process_block): Remove define, we will always
20629 name it __md5_process_block.
20630 (md5_finish_ctx): Update md5_process_block call.
20631 (md5_stream): Likewise.
20632 (md5_process_bytes): Likewise.
20633 (md5_process_block): Rename to __md5_process_block and move to ...
20634 * crypt/md5-block.c: ... here.
20635 * crypt/sha256.c (sha256_process_block): Move to ...
20636 * crypt/sha256-block.c: ... here.
20637 * crypt/sha512.c (sha512_process_block): Move to ...
20638 * crypt/sha512-block.c: ... here.
20639 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20640 path.
20641 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20642 * sysdeps/sparc/sparc64/multiarch/Makefile
20643 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20644 crypt subdir.
20645 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20646 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20647 multiarch changes.
20648 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20649 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20650 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20651 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20652 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20653 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20654 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20655 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20656 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20657 file.
20658 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20659 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20660 file.
20661 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20662
8ca89318
JM
206632012-11-13 Joseph Myers <joseph@codesourcery.com>
20664
e27d476a
JM
20665 * timezone/tzselect.ksh: Update from tzcode git revision
20666 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20667 * timezone/zdump.c: Likewise.
20668 * timezone/zic.c: Likewise.
20669 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20670 in TZVERSION setting, not $(PKGVERSION).
20671 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20672 REPORT_BUGS_TO settings.
20673
8ca89318
JM
20674 [BZ #14838]
20675 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20676 macro.
20677
47594329
MS
206782012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20679
20680 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20681 detection to immediately after _FP_ROUND().
20682 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20683 bits are 0.
20684
640ac3f1
DM
206852012-11-11 David S. Miller <davem@davemloft.net>
20686
20687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20688 inttypes.h
20689 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20690 __close rather than their public counterparts.
20691
3d2577bb
JM
206922012-11-10 Joseph Myers <joseph@codesourcery.com>
20693
20694 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20695 file.
20696 [UNIX98] (sem_timedwait): Do not expect.
20697 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20698 [XPG4 || UNIX98] (sockatmark): Do not expect.
20699 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20700 (clock_getcpuclockid): Do not expect.
20701 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20702 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20703 Do not expect.
20704 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20705 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20706 [UNIX98] (vwscanf): Likewise.
20707 [UNIX98] (vswscanf): Likewise.
20708
fb1ae1ee
JM
207092012-11-09 Joseph Myers <joseph@codesourcery.com>
20710
9ec6f8bd
JM
20711 * timezone/version.h: Remove file.
20712 * timezone/README: Do not refer to version.h.
20713 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20714 $(objpfx)version.h.
20715 ($(objpfx)zdump.o): Likewise.
c3f81911 20716 ($(objpfx)version.h): New target.
9ec6f8bd 20717
0aa8f8a1
JM
20718 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20719 2012i.
20720 * timezone/README: Don't mention modification to tzselect.ksh.
20721 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20722 work on unmodified tzselect.ksh. Substitute version numbers in
20723 tzselect.ksh.
20724
4e87147f
JM
20725 * Makefile (format-me): Remove.
20726 (INSTALL): Adjust indentation. Use commands directly instead of
20727 using $(format-me).
20728
8b748aed
JM
20729 * aclocal.m4 (ACX_PKGVERSION): New macro.
20730 (ACX_BUGURL): Likewise.
20731 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20732 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20733 (REPORT_BUGS_TO): Likewise.
20734 * configure: Regenerated.
20735 * config.h.in (PKGVERSION): New macro.
20736 (REPORT_BUGS_TO): Likewise.
20737 * config.make.in (PKGVERSION): New variable.
20738 (PKGVERSION_TEXI): Likewise.
20739 (REPORT_BUGS_TO): Likewise.
20740 (REPORT_BUGS_TEXI): Likewise.
20741 * Makefile (format-me): Use -I$(common-objpfx)manual.
20742 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20743 ($(common-objpfx)manual/%): New target.
20744 (manual/%): Remove target.
20745 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20746 (print_version): Use PKGVERSION.
20747 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20748 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20749 and REPORT_BUGS_TO.
20750 ($(objpfx)xtrace): Likewise.
20751 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20752 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20753 (print_version): Use PKGVERSION.
20754 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20755 (do_version): Use PKGVERSION.
20756 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20757 REPORT_BUGS_TO.
20758 (common-ldd-rewrite): Likewise.
20759 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20760 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20761 (print_version): Use PKGVERSION.
20762 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20763 * elf/pldd.c (argp_program_bug_address): Remove variable.
20764 (more_help): New function.
20765 (argp): Use more_help.
20766 (print_version): Use PKGVERSION.
20767 * elf/sln.c (main): Use PKGVERSION.
20768 (usage): Use REPORT_BUGS_TO.
20769 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20770 (top level): Use PKGVERSION.
20771 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20772 (print_version): Use PKGVERSION.
20773 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20774 (print_version): Use PKGVERSION.
20775 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20776 (print_version): Use PKGVERSION.
20777 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20778 (print_version): Use PKGVERSION.
20779 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20780 (print_version): Use PKGVERSION.
20781 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20782 (print_version): Use PKGVERSION.
20783 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20784 and BUGURL.
20785 ($(objpfx)memusage): Likewise.
20786 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20787 (do_version): Use PKGVERSION.
20788 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20789 (print_version): Use PKGVERSION.
20790 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20791 ($PKGVERSION): New variable.
20792 ($REPORT_BUGS_TO): Likewise.
20793 (usage): Use $REPORT_BUGS_TO.
20794 (top level): Use $PKGVERSION.
20795 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20796 ($(objpfx)pkgvers.texi): New rule.
20797 ($(objpfx)stamp-pkgvers): Likewise.
20798 * manual/install.texi: Include pkgvers.texi.
20799 (--with-pkgversion): Document new configure option.
20800 (--with-bugurl): Likewise.
20801 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20802 than necessarily for this particular distribution. Use
20803 REPORT_BUGS_TO for where to report bugs.
20804 * INSTALL: Regenerated.
20805 * manual/libc.texinfo: Include pkgvers.texi.
20806 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20807 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20808 (print_version): Use PKGVERSION.
20809 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20810 (print_version): Use PKGVERSION.
20811 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20812 (print_version): Use PKGVERSION.
20813 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20814 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20815 macro.
20816 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20817 (print_version): Use PKGVERSION.
20818 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20819 (print_version): Use PKGVERSION.
20820 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20821 and PKGVERSION.
20822
92e4b6a9
JM
20823 * timezone/checktab.awk: Update from tzcode 2012i.
20824 * timezone/ialloc.c: Likewise.
20825 * timezone/private.h: Likewise.
20826 * timezone/scheck.c: Likewise.
20827 * timezone/tzfile.h: Likewise.
20828 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20829 (TZVERSION): Hardcode tzcode version number.
20830 * timezone/zdump.c: Update from tzcode 2012i.
20831 * timezone/zic.c: Likewise.
20832 * timezone/version.h: New file.
20833 * timezone/README: Describe version.h. Update upstream location.
20834
9bde902c
JM
20835 [BZ #14824]
20836 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20837 (mktemp): Enable declaration.
20838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20839 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20841 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20842 Likewise.
20843 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20844 Likewise.
20845 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20846 Likewise.
20847 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20848 Likewise.
20849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20850 Likewise.
20851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20852 Likewise.
20853
fb1ae1ee
JM
20854 [BZ #14821]
20855 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20856 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20857 for copies of such integer values.
20858 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20859 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20860
2c1adbcb
AJ
208612012-11-09 Andreas Jaeger <aj@suse.de>
20862
20863 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20864 definitions and declarations that are provided by
20865 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20866
d0f8457e
AK
208672012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20868
3a235abb 20869 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20870 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20871 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20872 definition.
20873
57241e26
MS
208742012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20875
20876 * elf/elf.h: Update comment before AArch64 relocations.
20877
60e8270d
DM
208782012-11-07 David S. Miller <davem@davemloft.net>
20879
20880 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20881 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20882 (__start_context): Declare.
20883 (__makecontext_ret): Delete.
20884 (__makecontext): Hook up __start_context instead of
20885 __makecontext_ret.
20886 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20887 (sysdep_routines): Add __start_context when in stdlib.
20888
0fbb0fbc
JM
208892012-11-07 Joseph Myers <joseph@codesourcery.com>
20890
20891 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20892 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20893 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20894 hardcoded "nm".
20895 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20896 (READELF): New variable. Use it instead of hardcoded "readelf".
20897
eb48db7e
L
208982012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20899
20900 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20901 * sysdeps/x86/Makefile: Here.
20902 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20903 * sysdeps/x86/tst-xmmymm.sh: This.
20904
05bcf62a
JM
209052012-11-07 Joseph Myers <joseph@codesourcery.com>
20906
c4b6cf53
JM
20907 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20908 expectations.
20909 [UNIX98] (pthread_barrier_t): Do not expect.
20910 [UNIX98] (pthread_barrierattr_t): Likewise.
20911 [UNIX98] (pthread_spinlock_t): Likewise.
20912 [UNIX98] (pthread_barrier_destroy): Likewise.
20913 [UNIX98] (pthread_barrier_init): Likewise.
20914 [UNIX98] (pthread_barrier_wait): Likewise.
20915 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20916 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20917 [UNIX98] (pthread_barrierattr_init): Likewise.
20918 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20919 [UNIX98] (pthread_getcpuclockid): Likewise.
20920 [UNIX98] (pthread_mutex_timedlock): Likewise.
20921 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20922 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20923 [UNIX98] (pthread_sigmask): Likewise.
20924 [UNIX98] (pthread_spin_destroy): Likewise.
20925 [UNIX98] (pthread_spin_init): Likewise.
20926 [UNIX98] (pthread_spin_lock): Likewise.
20927 [UNIX98] (pthread_spin_trylock): Likewise.
20928 [UNIX98] (pthread_spin_unlock): Likewise.
20929 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20930 Do not expect.
20931 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20932 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20933 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20934 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20935 [XPG3 || XPG4] (pthread_key_t): Likewise.
20936 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20937 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20938 [XPG3 || XPG4] (pthread_once_t): Likewise.
20939 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20940 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20942 [XPG3 || XPG4] (pthread_t): Likewise.
20943
cbe6e120
JM
20944 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20945 not expect.
20946 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20947
1b126443
JM
20948 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20949 Change function return type to int.
20950
b961a573
JM
20951 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20952 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20953 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20954 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20955 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20956 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20957 [!POSIX] (posix_madvise): Likewise.
20958 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20959 && !UNIX98].
20960 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20961 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20962 (mode_t): Likewise.
20963 (posix_mem_offset): Likewise.
20964 (posix_typed_mem_get_info): Likewise.
20965 (posix_typed_mem_open): Likewise.
20966
9e188909
JM
20967 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20968 Change condition to [XOPEN2K8].
20969
05bcf62a
JM
20970 * conform/conformtest.pl: Preprocess allow-header data with -x c
20971 instead of from stdin.
20972 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20973 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20974 [C99-based standards] (cerfc): Likewise.
20975 [C99-based standards] (cexp2): Likewise.
20976 [C99-based standards] (cexpm1): Likewise.
20977 [C99-based standards] (clog10): Likewise.
20978 [C99-based standards] (clog1p): Likewise.
20979 [C99-based standards] (clog2): Likewise.
20980 [C99-based standards] (clgamma): Likewise.
20981 [C99-based standards] (ctgamma): Likewise.
20982 [C99-based standards] (cerff): Likewise.
20983 [C99-based standards] (cerfcf): Likewise.
20984 [C99-based standards] (cexp2f): Likewise.
20985 [C99-based standards] (cexpm1f): Likewise.
20986 [C99-based standards] (clog10f): Likewise.
20987 [C99-based standards] (clog1pf): Likewise.
20988 [C99-based standards] (clog2f): Likewise.
20989 [C99-based standards] (clgammaf): Likewise.
20990 [C99-based standards] (ctgammaf): Likewise.
20991 [C99-based standards] (cerfl): Likewise.
20992 [C99-based standards] (cerfcl): Likewise.
20993 [C99-based standards] (cexp2l): Likewise.
20994 [C99-based standards] (cexpm1l): Likewise.
20995 [C99-based standards] (clog10l): Likewise.
20996 [C99-based standards] (clog1pl): Likewise.
20997 [C99-based standards] (clog2l): Likewise.
20998 [C99-based standards] (clgammal): Likewise.
20999 [C99-based standards] (ctgammal): Likewise.
21000 * conform/data/inttypes.h-data [C99-based standards]: Include
21001 stdint.h-data. Remove all expectations for stdint.h contents.
21002 [C99-based standards] (PRI*): Do not allow.
21003 [C99-based standards] (SCN*): Likewise.
21004 [C99-based standards] (*_t): Likewise.
21005 [C99-based-standards] (PRId8): Expect macro.
21006 [C99-based-standards] (PRIi8): Likewise.
21007 [C99-based-standards] (PRIo8): Likewise.
21008 [C99-based-standards] (PRIu8): Likewise.
21009 [C99-based-standards] (PRIx8): Likewise.
21010 [C99-based-standards] (PRIX8): Likewise.
21011 [C99-based-standards] (SCNd8): Likewise.
21012 [C99-based-standards] (SCNi8): Likewise.
21013 [C99-based-standards] (SCNo8): Likewise.
21014 [C99-based-standards] (SCNu8): Likewise.
21015 [C99-based-standards] (SCNx8): Likewise.
21016 [C99-based-standards] (PRIdLEAST8): Likewise.
21017 [C99-based-standards] (PRIiLEAST8): Likewise.
21018 [C99-based-standards] (PRIoLEAST8): Likewise.
21019 [C99-based-standards] (PRIuLEAST8): Likewise.
21020 [C99-based-standards] (PRIxLEAST8): Likewise.
21021 [C99-based-standards] (PRIXLEAST8): Likewise.
21022 [C99-based-standards] (SCNdLEAST8): Likewise.
21023 [C99-based-standards] (SCNiLEAST8): Likewise.
21024 [C99-based-standards] (SCNoLEAST8): Likewise.
21025 [C99-based-standards] (SCNuLEAST8): Likewise.
21026 [C99-based-standards] (SCNxLEAST8): Likewise.
21027 [C99-based-standards] (PRIdFAST8): Likewise.
21028 [C99-based-standards] (PRIiFAST8): Likewise.
21029 [C99-based-standards] (PRIoFAST8): Likewise.
21030 [C99-based-standards] (PRIuFAST8): Likewise.
21031 [C99-based-standards] (PRIxFAST8): Likewise.
21032 [C99-based-standards] (PRIXFAST8): Likewise.
21033 [C99-based-standards] (SCNdFAST8): Likewise.
21034 [C99-based-standards] (SCNiFAST8): Likewise.
21035 [C99-based-standards] (SCNoFAST8): Likewise.
21036 [C99-based-standards] (SCNuFAST8): Likewise.
21037 [C99-based-standards] (SCNxFAST8): Likewise.
21038 [C99-based-standards] (PRId16): Likewise.
21039 [C99-based-standards] (PRIi16): Likewise.
21040 [C99-based-standards] (PRIo16): Likewise.
21041 [C99-based-standards] (PRIu16): Likewise.
21042 [C99-based-standards] (PRIx16): Likewise.
21043 [C99-based-standards] (PRIX16): Likewise.
21044 [C99-based-standards] (SCNd16): Likewise.
21045 [C99-based-standards] (SCNi16): Likewise.
21046 [C99-based-standards] (SCNo16): Likewise.
21047 [C99-based-standards] (SCNu16): Likewise.
21048 [C99-based-standards] (SCNx16): Likewise.
21049 [C99-based-standards] (PRIdLEAST16): Likewise.
21050 [C99-based-standards] (PRIiLEAST16): Likewise.
21051 [C99-based-standards] (PRIoLEAST16): Likewise.
21052 [C99-based-standards] (PRIuLEAST16): Likewise.
21053 [C99-based-standards] (PRIxLEAST16): Likewise.
21054 [C99-based-standards] (PRIXLEAST16): Likewise.
21055 [C99-based-standards] (SCNdLEAST16): Likewise.
21056 [C99-based-standards] (SCNiLEAST16): Likewise.
21057 [C99-based-standards] (SCNoLEAST16): Likewise.
21058 [C99-based-standards] (SCNuLEAST16): Likewise.
21059 [C99-based-standards] (SCNxLEAST16): Likewise.
21060 [C99-based-standards] (PRIdFAST16): Likewise.
21061 [C99-based-standards] (PRIiFAST16): Likewise.
21062 [C99-based-standards] (PRIoFAST16): Likewise.
21063 [C99-based-standards] (PRIuFAST16): Likewise.
21064 [C99-based-standards] (PRIxFAST16): Likewise.
21065 [C99-based-standards] (PRIXFAST16): Likewise.
21066 [C99-based-standards] (SCNdFAST16): Likewise.
21067 [C99-based-standards] (SCNiFAST16): Likewise.
21068 [C99-based-standards] (SCNoFAST16): Likewise.
21069 [C99-based-standards] (SCNuFAST16): Likewise.
21070 [C99-based-standards] (SCNxFAST16): Likewise.
21071 [C99-based-standards] (PRId32): Likewise.
21072 [C99-based-standards] (PRIi32): Likewise.
21073 [C99-based-standards] (PRIo32): Likewise.
21074 [C99-based-standards] (PRIu32): Likewise.
21075 [C99-based-standards] (PRIx32): Likewise.
21076 [C99-based-standards] (PRIX32): Likewise.
21077 [C99-based-standards] (SCNd32): Likewise.
21078 [C99-based-standards] (SCNi32): Likewise.
21079 [C99-based-standards] (SCNo32): Likewise.
21080 [C99-based-standards] (SCNu32): Likewise.
21081 [C99-based-standards] (SCNx32): Likewise.
21082 [C99-based-standards] (PRIdLEAST32): Likewise.
21083 [C99-based-standards] (PRIiLEAST32): Likewise.
21084 [C99-based-standards] (PRIoLEAST32): Likewise.
21085 [C99-based-standards] (PRIuLEAST32): Likewise.
21086 [C99-based-standards] (PRIxLEAST32): Likewise.
21087 [C99-based-standards] (PRIXLEAST32): Likewise.
21088 [C99-based-standards] (SCNdLEAST32): Likewise.
21089 [C99-based-standards] (SCNiLEAST32): Likewise.
21090 [C99-based-standards] (SCNoLEAST32): Likewise.
21091 [C99-based-standards] (SCNuLEAST32): Likewise.
21092 [C99-based-standards] (SCNxLEAST32): Likewise.
21093 [C99-based-standards] (PRIdFAST32): Likewise.
21094 [C99-based-standards] (PRIiFAST32): Likewise.
21095 [C99-based-standards] (PRIoFAST32): Likewise.
21096 [C99-based-standards] (PRIuFAST32): Likewise.
21097 [C99-based-standards] (PRIxFAST32): Likewise.
21098 [C99-based-standards] (PRIXFAST32): Likewise.
21099 [C99-based-standards] (SCNdFAST32): Likewise.
21100 [C99-based-standards] (SCNiFAST32): Likewise.
21101 [C99-based-standards] (SCNoFAST32): Likewise.
21102 [C99-based-standards] (SCNuFAST32): Likewise.
21103 [C99-based-standards] (SCNxFAST32): Likewise.
21104 [C99-based-standards] (PRId64): Likewise.
21105 [C99-based-standards] (PRIi64): Likewise.
21106 [C99-based-standards] (PRIo64): Likewise.
21107 [C99-based-standards] (PRIu64): Likewise.
21108 [C99-based-standards] (PRIx64): Likewise.
21109 [C99-based-standards] (PRIX64): Likewise.
21110 [C99-based-standards] (SCNd64): Likewise.
21111 [C99-based-standards] (SCNi64): Likewise.
21112 [C99-based-standards] (SCNo64): Likewise.
21113 [C99-based-standards] (SCNu64): Likewise.
21114 [C99-based-standards] (SCNx64): Likewise.
21115 [C99-based-standards] (PRIdLEAST64): Likewise.
21116 [C99-based-standards] (PRIiLEAST64): Likewise.
21117 [C99-based-standards] (PRIoLEAST64): Likewise.
21118 [C99-based-standards] (PRIuLEAST64): Likewise.
21119 [C99-based-standards] (PRIxLEAST64): Likewise.
21120 [C99-based-standards] (PRIXLEAST64): Likewise.
21121 [C99-based-standards] (SCNdLEAST64): Likewise.
21122 [C99-based-standards] (SCNiLEAST64): Likewise.
21123 [C99-based-standards] (SCNoLEAST64): Likewise.
21124 [C99-based-standards] (SCNuLEAST64): Likewise.
21125 [C99-based-standards] (SCNxLEAST64): Likewise.
21126 [C99-based-standards] (PRIdFAST64): Likewise.
21127 [C99-based-standards] (PRIiFAST64): Likewise.
21128 [C99-based-standards] (PRIoFAST64): Likewise.
21129 [C99-based-standards] (PRIuFAST64): Likewise.
21130 [C99-based-standards] (PRIxFAST64): Likewise.
21131 [C99-based-standards] (PRIXFAST64): Likewise.
21132 [C99-based-standards] (SCNdFAST64): Likewise.
21133 [C99-based-standards] (SCNiFAST64): Likewise.
21134 [C99-based-standards] (SCNoFAST64): Likewise.
21135 [C99-based-standards] (SCNuFAST64): Likewise.
21136 [C99-based-standards] (SCNxFAST64): Likewise.
21137 [C99-based-standards] (PRIdMAX): Likewise.
21138 [C99-based-standards] (PRIiMAX): Likewise.
21139 [C99-based-standards] (PRIoMAX): Likewise.
21140 [C99-based-standards] (PRIuMAX): Likewise.
21141 [C99-based-standards] (PRIxMAX): Likewise.
21142 [C99-based-standards] (PRIXMAX): Likewise.
21143 [C99-based-standards] (SCNdMAX): Likewise.
21144 [C99-based-standards] (SCNiMAX): Likewise.
21145 [C99-based-standards] (SCNoMAX): Likewise.
21146 [C99-based-standards] (SCNuMAX): Likewise.
21147 [C99-based-standards] (SCNxMAX): Likewise.
21148 [C99-based-standards] (PRIdPTR): Likewise.
21149 [C99-based-standards] (PRIiPTR): Likewise.
21150 [C99-based-standards] (PRIoPTR): Likewise.
21151 [C99-based-standards] (PRIuPTR): Likewise.
21152 [C99-based-standards] (PRIxPTR): Likewise.
21153 [C99-based-standards] (PRIXPTR): Likewise.
21154 [C99-based-standards] (SCNdPTR): Likewise.
21155 [C99-based-standards] (SCNiPTR): Likewise.
21156 [C99-based-standards] (SCNoPTR): Likewise.
21157 [C99-based-standards] (SCNuPTR): Likewise.
21158 [C99-based-standards] (SCNxPTR): Likewise.
21159 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21160 allow.
21161 * conform/data/stdint.h-data: Update comments to clarify
21162 requirements.
21163 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21164 type.
21165 [C99-based standards] (INT8_MAX): Likewise.
21166 [C99-based standards] (INT16_MIN): Likewise.
21167 [C99-based standards] (INT16_MAX): Likewise.
21168 [C99-based standards] (INT32_MIN): Likewise.
21169 [C99-based standards] (INT32_MAX): Likewise.
21170 [C99-based standards] (INT64_MIN): Likewise.
21171 [C99-based standards] (INT64_MAX): Likewise.
21172 [C99-based standards] (UINT8_MAX): Likewise.
21173 [C99-based standards] (UINT16_MAX): Likewise.
21174 [C99-based standards] (UINT32_MAX): Likewise.
21175 [C99-based standards] (UINT64_MAX): Likewise.
21176 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21177 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21178 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21179 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21180 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21181 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21182 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21183 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21184 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21185 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21186 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21187 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21188 [C99-based standards] (INT_FAST8_MIN): Likewise.
21189 [C99-based standards] (INT_FAST8_MAX): Likewise.
21190 [C99-based standards] (INT_FAST16_MIN): Likewise.
21191 [C99-based standards] (INT_FAST16_MAX): Likewise.
21192 [C99-based standards] (INT_FAST32_MIN): Likewise.
21193 [C99-based standards] (INT_FAST32_MAX): Likewise.
21194 [C99-based standards] (INT_FAST64_MIN): Likewise.
21195 [C99-based standards] (INT_FAST64_MAX): Likewise.
21196 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21197 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21198 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21199 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21200 [C99-based standards] (INTPTR_MIN): Likewise.
21201 [C99-based standards] (INTPTR_MAX): Likewise.
21202 [C99-based standards] (UINTPTR_MAX): Likewise.
21203 [C99-based standards] (INTMAX_MIN): Likewise.
21204 [C99-based standards] (INTMAX_MAX): Likewise.
21205 [C99-based standards] (UINTMAX_MAX): Likewise.
21206 [C99-based standards] (PTRDIFF_MIN): Likewise.
21207 [C99-based standards] (PTRDIFF_MAX): Likewise.
21208 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21209 [C99-based standards] (SIZE_MAX): Likewise.
21210 [C99-based standards] (WCHAR_MAX): Likewise.
21211 [C99-based standards] (WINT_MAX): Likewise.
21212 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21213 constraint on value.
21214 [C99-based standards] (WCHAR_MIN): Likewise.
21215 [C99-based standards] (WINT_MIN): Likewise.
21216 [C99-based standards] (*_t): Allow.
21217 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21218 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21219 Include math.h-data and complex.h-data. Remove all expectations
21220 of math.h and complex.h contents.
21221 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21222 at end of line.
21223 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21224 (struct tm): Expect tag.
21225 [C99-based-standards] (wcstof): Expect function.
21226 [C99-based-standards] (wcstold): Likewise.
21227 [C99-based-standards] (wcstoll): Likewise.
21228 [C99-based-standards] (wcstoull): Likewise.
21229 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21230 macro-int-constant. Specify type.
21231 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21232 constraint on value.
21233 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21234 Specify type.
21235 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21236 Specify value.
21237 [ISO C standards]: Do not allow headers.
21238 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21239 wcs[abcdefghijklmnopqrstuvwxyz]*.
21240 [ISO C standards] (*_t): Do not allow.
21241 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21242 Expect function.
21243 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21244 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21245 Specify type.
21246 [ISO C standards]: Do not allow headers.
21247 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21248 is[abcdefghijklmnopqrstuvwxyz]*.
21249 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21250 to[abcdefghijklmnopqrstuvwxyz]*.
21251 [ISO C standards] (*_t): Do not allow.
21252 * conform/data/stdalign.h-data: New file.
21253 * conform/data/stdbool.h-data: Likewise.
21254 * conform/data/stdnoreturn.h-data: Likewise.
21255
7514feb8
RM
212562012-11-07 Roland McGrath <roland@hack.frob.com>
21257
21258 [BZ #14815]
21259 * manual/filesys.texi (Directory Entries): Typo fix.
21260 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21261
19b2ecfc
MS
212622012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21263
21264 * elf/elf.h (EM_AARCH64): New macro.
21265 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21266 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21267 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21268 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21269 (R_AARCH64_TLSDESC): Likewise.
21270 (NT_ARM_TLS): Likewise.
21271 (NT_ARM_HW_BREAK): Likewise.
21272 (NT_ARM_HW_WATCH): Likewise.
21273
60e235ee
JM
212742012-11-07 Joseph Myers <joseph@codesourcery.com>
21275
21276 [BZ #14811]
21277 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21278 (__ieee754_powl): Saturate nonzero exponents with absolute value
21279 below 0x1p-79 to +/- 0x1p-79.
21280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21281 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21282 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21283 nonzero exponents with absolute value below 0x1p-32 to +/-
21284 0x1p-32.
21285 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21286 (__ieee754_powl): Saturate nonzero exponents with absolute value
21287 below 0x1p-79 to +/- 0x1p-79.
21288 * math/libm-test.inc (pow_test): Add more tests.
21289
0ab234b7
AK
212902012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21291
21292 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21293 _dl_s390_cap_flags with kernel. Increase string length.
21294 (_dl_s390_platforms): Add z196 and zEC12.
21295
45832f74
JM
212962012-11-07 Joseph Myers <joseph@codesourcery.com>
21297
21298 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21299 Change XOPEN21K to XOPEN2K.
21300
19218757
MK
213012012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21302
21303 * string/memmove.c: Use memcpy when possible.
21304
c5f45721
AJ
213052012-11-06 Andreas Jaeger <aj@suse.de>
21306
21307 * po/eo.po: Update from translation team.
21308
82477c28
JM
213092012-11-06 Joseph Myers <joseph@codesourcery.com>
21310
21311 [BZ #14793]
21312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21313 exponent and small x and y exponents, scale x or y up. Increase
21314 by 2 the exponent used in scaling up.
21315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21316 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21317 * math/libm-test.inc (fma_test): Add more tests.
21318 (fma_test_towardzero): Likewise.
21319 (fma_test_downward): Likewise.
21320 (fma_test_upward): Likewise.
21321
99252c8c
JM
213222012-11-05 Joseph Myers <joseph@codesourcery.com>
21323
acfa885f
JM
21324 [BZ #14805]
21325 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21326 fenv_t *.
21327
99252c8c
JM
21328 [BZ #14801]
21329 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21330 namespace for names of struct fields.
21331 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21332 fenv_t fields.
21333 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21334 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21335
d6d98dea
ST
213362012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21337
21338 [BZ #3665]
21339 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21340
e10bb107
TS
213412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21342
21343 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21344 PTR_DEMANGLE.
21345
21346 [BZ #5246]
21347 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21348 PTR_DEMANGLE.
21349
a0c2940d
JM
213502012-11-04 Joseph Myers <joseph@codesourcery.com>
21351
21352 [BZ #14797]
21353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21354 definitely overflow as x * y not x * y + z.
21355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21357 * math/libm-test.inc (fma_test): Add more tests.
21358 (fma_test_towardzero): Likewise.
21359 (fma_test_downward): Likewise.
21360 (fma_test_upward): Likewise.
21361
b830319d
TS
213622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21363
21364 [BZ #157]
21365
21366 * include/stub-tag.h: Remove file.
21367 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21368 '#include' of it.
21369 * manual/maint.texi (Porting): Don't reference it.
21370 * Makerules ($(objpfx)stubs): Likewise.
21371 * dirent/closedir.c: Don't include <stub-tag.h>.
21372 * dirent/dirfd.c: Likewise.
21373 * dirent/fdopendir.c: Likewise.
21374 * dirent/getdents.c: Likewise.
21375 * dirent/getdents64.c: Likewise.
21376 * dirent/opendir.c: Likewise.
21377 * dirent/readdir.c: Likewise.
21378 * dirent/readdir64.c: Likewise.
21379 * dirent/readdir64_r.c: Likewise.
21380 * dirent/readdir_r.c: Likewise.
21381 * dirent/rewinddir.c: Likewise.
21382 * dirent/seekdir.c: Likewise.
21383 * dirent/telldir.c: Likewise.
21384 * gmon/profil.c: Likewise.
21385 * grp/setgroups.c: Likewise.
21386 * inet/if_index.c: Likewise.
21387 * io/access.c: Likewise.
21388 * io/chdir.c: Likewise.
21389 * io/chmod.c: Likewise.
21390 * io/chown.c: Likewise.
21391 * io/close.c: Likewise.
21392 * io/dup.c: Likewise.
21393 * io/dup2.c: Likewise.
21394 * io/dup3.c: Likewise.
21395 * io/euidaccess.c: Likewise.
21396 * io/faccessat.c: Likewise.
21397 * io/fchdir.c: Likewise.
21398 * io/fchmod.c: Likewise.
21399 * io/fchmodat.c: Likewise.
21400 * io/fchown.c: Likewise.
21401 * io/fchownat.c: Likewise.
21402 * io/fcntl.c: Likewise.
21403 * io/flock.c: Likewise.
21404 * io/fstatfs.c: Likewise.
21405 * io/fstatfs64.c: Likewise.
21406 * io/fstatvfs.c: Likewise.
21407 * io/fstatvfs64.c: Likewise.
21408 * io/futimens.c: Likewise.
21409 * io/fxstat.c: Likewise.
21410 * io/fxstat64.c: Likewise.
21411 * io/fxstatat.c: Likewise.
21412 * io/fxstatat64.c: Likewise.
21413 * io/getcwd.c: Likewise.
21414 * io/isatty.c: Likewise.
21415 * io/lchmod.c: Likewise.
21416 * io/lchown.c: Likewise.
21417 * io/link.c: Likewise.
21418 * io/linkat.c: Likewise.
21419 * io/lseek.c: Likewise.
21420 * io/lseek64.c: Likewise.
21421 * io/lxstat64.c: Likewise.
21422 * io/mkdir.c: Likewise.
21423 * io/mkdirat.c: Likewise.
21424 * io/mkfifo.c: Likewise.
21425 * io/mkfifoat.c: Likewise.
21426 * io/open.c: Likewise.
21427 * io/open64.c: Likewise.
21428 * io/openat.c: Likewise.
21429 * io/openat64.c: Likewise.
21430 * io/pipe.c: Likewise.
21431 * io/pipe2.c: Likewise.
21432 * io/poll.c: Likewise.
21433 * io/posix_fadvise.c: Likewise.
21434 * io/posix_fadvise64.c: Likewise.
21435 * io/posix_fallocate.c: Likewise.
21436 * io/posix_fallocate64.c: Likewise.
21437 * io/read.c: Likewise.
21438 * io/readlink.c: Likewise.
21439 * io/readlinkat.c: Likewise.
21440 * io/rmdir.c: Likewise.
21441 * io/sendfile.c: Likewise.
21442 * io/sendfile64.c: Likewise.
21443 * io/statfs.c: Likewise.
21444 * io/statfs64.c: Likewise.
21445 * io/statvfs.c: Likewise.
21446 * io/statvfs64.c: Likewise.
21447 * io/symlink.c: Likewise.
21448 * io/symlinkat.c: Likewise.
21449 * io/ttyname.c: Likewise.
21450 * io/ttyname_r.c: Likewise.
21451 * io/umask.c: Likewise.
21452 * io/unlink.c: Likewise.
21453 * io/unlinkat.c: Likewise.
21454 * io/utime.c: Likewise.
21455 * io/utimensat.c: Likewise.
21456 * io/write.c: Likewise.
21457 * io/xmknod.c: Likewise.
21458 * io/xmknodat.c: Likewise.
21459 * io/xstat.c: Likewise.
21460 * io/xstat64.c: Likewise.
21461 * login/getpt.c: Likewise.
21462 * login/grantpt.c: Likewise.
21463 * login/unlockpt.c: Likewise.
21464 * math/e_acoshl.c: Likewise.
21465 * math/e_acosl.c: Likewise.
21466 * math/e_asinl.c: Likewise.
21467 * math/e_atan2l.c: Likewise.
21468 * math/e_atanhl.c: Likewise.
21469 * math/e_coshl.c: Likewise.
21470 * math/e_expl.c: Likewise.
21471 * math/e_fmodl.c: Likewise.
21472 * math/e_gammal_r.c: Likewise.
21473 * math/e_hypotl.c: Likewise.
21474 * math/e_j0l.c: Likewise.
21475 * math/e_j1l.c: Likewise.
21476 * math/e_jnl.c: Likewise.
21477 * math/e_lgammal_r.c: Likewise.
21478 * math/e_log10l.c: Likewise.
21479 * math/e_log2l.c: Likewise.
21480 * math/e_logl.c: Likewise.
21481 * math/e_powl.c: Likewise.
21482 * math/e_rem_pio2l.c: Likewise.
21483 * math/e_sinhl.c: Likewise.
21484 * math/e_sqrtl.c: Likewise.
21485 * math/fclrexcpt.c: Likewise.
21486 * math/fedisblxcpt.c: Likewise.
21487 * math/feenablxcpt.c: Likewise.
21488 * math/fegetenv.c: Likewise.
21489 * math/fegetexcept.c: Likewise.
21490 * math/fegetround.c: Likewise.
21491 * math/feholdexcpt.c: Likewise.
21492 * math/fesetenv.c: Likewise.
21493 * math/fesetround.c: Likewise.
21494 * math/feupdateenv.c: Likewise.
21495 * math/fgetexcptflg.c: Likewise.
21496 * math/fraiseexcpt.c: Likewise.
21497 * math/fsetexcptflg.c: Likewise.
21498 * math/ftestexcept.c: Likewise.
21499 * math/k_cosl.c: Likewise.
21500 * math/k_rem_pio2l.c: Likewise.
21501 * math/k_sinl.c: Likewise.
21502 * math/k_tanl.c: Likewise.
21503 * math/s_asinhl.c: Likewise.
21504 * math/s_atanl.c: Likewise.
21505 * math/s_cbrtl.c: Likewise.
21506 * math/s_erfl.c: Likewise.
21507 * math/s_expm1l.c: Likewise.
21508 * math/s_log1pl.c: Likewise.
21509 * math/s_tanhl.c: Likewise.
21510 * misc/acct.c: Likewise.
21511 * misc/brk.c: Likewise.
21512 * misc/chflags.c: Likewise.
21513 * misc/chroot.c: Likewise.
21514 * misc/fchflags.c: Likewise.
21515 * misc/fgetxattr.c: Likewise.
21516 * misc/flistxattr.c: Likewise.
21517 * misc/fremovexattr.c: Likewise.
21518 * misc/fsetxattr.c: Likewise.
21519 * misc/fsync.c: Likewise.
21520 * misc/ftruncate.c: Likewise.
21521 * misc/futimes.c: Likewise.
21522 * misc/futimesat.c: Likewise.
21523 * misc/getdomain.c: Likewise.
21524 * misc/getdtsz.c: Likewise.
21525 * misc/gethostid.c: Likewise.
21526 * misc/gethostname.c: Likewise.
21527 * misc/getloadavg.c: Likewise.
21528 * misc/getpagesize.c: Likewise.
21529 * misc/getsysstats.c: Likewise.
21530 * misc/getxattr.c: Likewise.
21531 * misc/gtty.c: Likewise.
21532 * misc/ioctl.c: Likewise.
21533 * misc/lgetxattr.c: Likewise.
21534 * misc/listxattr.c: Likewise.
21535 * misc/llistxattr.c: Likewise.
21536 * misc/lremovexattr.c: Likewise.
21537 * misc/lsetxattr.c: Likewise.
21538 * misc/lutimes.c: Likewise.
21539 * misc/madvise.c: Likewise.
21540 * misc/mincore.c: Likewise.
21541 * misc/mlock.c: Likewise.
21542 * misc/mlockall.c: Likewise.
21543 * misc/mmap.c: Likewise.
21544 * misc/mprotect.c: Likewise.
21545 * misc/msync.c: Likewise.
21546 * misc/munlock.c: Likewise.
21547 * misc/munlockall.c: Likewise.
21548 * misc/munmap.c: Likewise.
21549 * misc/preadv.c: Likewise.
21550 * misc/preadv64.c: Likewise.
21551 * misc/ptrace.c: Likewise.
21552 * misc/pwritev.c: Likewise.
21553 * misc/pwritev64.c: Likewise.
21554 * misc/readv.c: Likewise.
21555 * misc/reboot.c: Likewise.
21556 * misc/remap_file_pages.c: Likewise.
21557 * misc/removexattr.c: Likewise.
21558 * misc/revoke.c: Likewise.
21559 * misc/select.c: Likewise.
21560 * misc/setdomain.c: Likewise.
21561 * misc/setegid.c: Likewise.
21562 * misc/seteuid.c: Likewise.
21563 * misc/sethostid.c: Likewise.
21564 * misc/sethostname.c: Likewise.
21565 * misc/setregid.c: Likewise.
21566 * misc/setreuid.c: Likewise.
21567 * misc/setxattr.c: Likewise.
21568 * misc/sstk.c: Likewise.
21569 * misc/stty.c: Likewise.
21570 * misc/swapoff.c: Likewise.
21571 * misc/swapon.c: Likewise.
21572 * misc/sync.c: Likewise.
21573 * misc/syncfs.c: Likewise.
21574 * misc/syscall.c: Likewise.
21575 * misc/truncate.c: Likewise.
21576 * misc/ualarm.c: Likewise.
21577 * misc/usleep.c: Likewise.
21578 * misc/ustat.c: Likewise.
21579 * misc/utimes.c: Likewise.
21580 * misc/vhangup.c: Likewise.
21581 * misc/writev.c: Likewise.
21582 * posix/_exit.c: Likewise.
21583 * posix/alarm.c: Likewise.
21584 * posix/execve.c: Likewise.
21585 * posix/fexecve.c: Likewise.
21586 * posix/fork.c: Likewise.
21587 * posix/fpathconf.c: Likewise.
21588 * posix/getaddrinfo.c: Likewise.
21589 * posix/getegid.c: Likewise.
21590 * posix/geteuid.c: Likewise.
21591 * posix/getgid.c: Likewise.
21592 * posix/getgroups.c: Likewise.
21593 * posix/getlogin.c: Likewise.
21594 * posix/getlogin_r.c: Likewise.
21595 * posix/getpgid.c: Likewise.
21596 * posix/getpid.c: Likewise.
21597 * posix/getppid.c: Likewise.
21598 * posix/getresgid.c: Likewise.
21599 * posix/getresuid.c: Likewise.
21600 * posix/getsid.c: Likewise.
21601 * posix/getuid.c: Likewise.
21602 * posix/glob64.c: Likewise.
21603 * posix/nanosleep.c: Likewise.
21604 * posix/pathconf.c: Likewise.
21605 * posix/pause.c: Likewise.
21606 * posix/posix_madvise.c: Likewise.
21607 * posix/pread.c: Likewise.
21608 * posix/pread64.c: Likewise.
21609 * posix/pwrite.c: Likewise.
21610 * posix/pwrite64.c: Likewise.
21611 * posix/sched_getaffinity.c: Likewise.
21612 * posix/sched_getp.c: Likewise.
21613 * posix/sched_gets.c: Likewise.
21614 * posix/sched_primax.c: Likewise.
21615 * posix/sched_primin.c: Likewise.
21616 * posix/sched_rr_gi.c: Likewise.
21617 * posix/sched_setaffinity.c: Likewise.
21618 * posix/sched_setp.c: Likewise.
21619 * posix/sched_sets.c: Likewise.
21620 * posix/sched_yield.c: Likewise.
21621 * posix/setgid.c: Likewise.
21622 * posix/setlogin.c: Likewise.
21623 * posix/setpgid.c: Likewise.
21624 * posix/setresgid.c: Likewise.
21625 * posix/setresuid.c: Likewise.
21626 * posix/setsid.c: Likewise.
21627 * posix/setuid.c: Likewise.
21628 * posix/sleep.c: Likewise.
21629 * posix/spawni.c: Likewise.
21630 * posix/sysconf.c: Likewise.
21631 * posix/times.c: Likewise.
21632 * posix/wait.c: Likewise.
21633 * posix/wait3.c: Likewise.
21634 * posix/wait4.c: Likewise.
21635 * posix/waitpid.c: Likewise.
21636 * resolv/gai_sigqueue.c: Likewise.
21637 * resource/getpriority.c: Likewise.
21638 * resource/getrlimit.c: Likewise.
21639 * resource/getrusage.c: Likewise.
21640 * resource/nice.c: Likewise.
21641 * resource/setpriority.c: Likewise.
21642 * resource/setrlimit.c: Likewise.
21643 * resource/ulimit.c: Likewise.
21644 * rt/aio_cancel.c: Likewise.
21645 * rt/aio_fsync.c: Likewise.
21646 * rt/aio_read.c: Likewise.
21647 * rt/aio_sigqueue.c: Likewise.
21648 * rt/aio_suspend.c: Likewise.
21649 * rt/aio_write.c: Likewise.
21650 * rt/clock_getres.c: Likewise.
21651 * rt/clock_gettime.c: Likewise.
21652 * rt/clock_nanosleep.c: Likewise.
21653 * rt/clock_settime.c: Likewise.
21654 * rt/lio_listio.c: Likewise.
21655 * rt/mq_close.c: Likewise.
21656 * rt/mq_getattr.c: Likewise.
21657 * rt/mq_notify.c: Likewise.
21658 * rt/mq_open.c: Likewise.
21659 * rt/mq_receive.c: Likewise.
21660 * rt/mq_send.c: Likewise.
21661 * rt/mq_setattr.c: Likewise.
21662 * rt/mq_timedreceive.c: Likewise.
21663 * rt/mq_timedsend.c: Likewise.
21664 * rt/mq_unlink.c: Likewise.
21665 * rt/shm_open.c: Likewise.
21666 * rt/shm_unlink.c: Likewise.
21667 * rt/timer_create.c: Likewise.
21668 * rt/timer_delete.c: Likewise.
21669 * rt/timer_getoverr.c: Likewise.
21670 * rt/timer_gettime.c: Likewise.
21671 * rt/timer_settime.c: Likewise.
21672 * setjmp/__longjmp.c: Likewise.
21673 * setjmp/setjmp.c: Likewise.
21674 * signal/kill.c: Likewise.
21675 * signal/killpg.c: Likewise.
21676 * signal/raise.c: Likewise.
21677 * signal/sigaction.c: Likewise.
21678 * signal/sigaltstack.c: Likewise.
21679 * signal/sigblock.c: Likewise.
21680 * signal/sigignore.c: Likewise.
21681 * signal/sigintr.c: Likewise.
21682 * signal/signal.c: Likewise.
21683 * signal/sigpause.c: Likewise.
21684 * signal/sigpending.c: Likewise.
21685 * signal/sigqueue.c: Likewise.
21686 * signal/sigreturn.c: Likewise.
21687 * signal/sigset.c: Likewise.
21688 * signal/sigsetmask.c: Likewise.
21689 * signal/sigstack.c: Likewise.
21690 * signal/sigsuspend.c: Likewise.
21691 * signal/sigtimedwait.c: Likewise.
21692 * signal/sigvec.c: Likewise.
21693 * signal/sigwait.c: Likewise.
21694 * signal/sigwaitinfo.c: Likewise.
21695 * signal/sysv_signal.c: Likewise.
21696 * socket/accept.c: Likewise.
21697 * socket/accept4.c: Likewise.
21698 * socket/bind.c: Likewise.
21699 * socket/connect.c: Likewise.
21700 * socket/getpeername.c: Likewise.
21701 * socket/getsockname.c: Likewise.
21702 * socket/getsockopt.c: Likewise.
21703 * socket/isfdtype.c: Likewise.
21704 * socket/listen.c: Likewise.
21705 * socket/recv.c: Likewise.
21706 * socket/recvfrom.c: Likewise.
21707 * socket/recvmsg.c: Likewise.
21708 * socket/send.c: Likewise.
21709 * socket/sendmsg.c: Likewise.
21710 * socket/sendto.c: Likewise.
21711 * socket/setsockopt.c: Likewise.
21712 * socket/shutdown.c: Likewise.
21713 * socket/sockatmark.c: Likewise.
21714 * socket/socket.c: Likewise.
21715 * socket/socketpair.c: Likewise.
21716 * stdio-common/ctermid.c: Likewise.
21717 * stdio-common/cuserid.c: Likewise.
21718 * stdio-common/remove.c: Likewise.
21719 * stdio-common/rename.c: Likewise.
21720 * stdio-common/renameat.c: Likewise.
21721 * stdio-common/tempname.c: Likewise.
21722 * stdlib/getcontext.c: Likewise.
21723 * stdlib/makecontext.c: Likewise.
21724 * stdlib/setcontext.c: Likewise.
21725 * stdlib/swapcontext.c: Likewise.
21726 * stdlib/system.c: Likewise.
21727 * streams/fattach.c: Likewise.
21728 * streams/fdetach.c: Likewise.
21729 * streams/getmsg.c: Likewise.
21730 * streams/getpmsg.c: Likewise.
21731 * streams/putmsg.c: Likewise.
21732 * streams/putpmsg.c: Likewise.
21733 * sysdeps/unix/bsd/getpt.c: Likewise.
21734 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21735 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21736 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21738 Likewise.
21739 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21740 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21741 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21742 * sysvipc/msgctl.c: Likewise.
21743 * sysvipc/msgget.c: Likewise.
21744 * sysvipc/msgrcv.c: Likewise.
21745 * sysvipc/msgsnd.c: Likewise.
21746 * sysvipc/semctl.c: Likewise.
21747 * sysvipc/semget.c: Likewise.
21748 * sysvipc/semop.c: Likewise.
21749 * sysvipc/semtimedop.c: Likewise.
21750 * sysvipc/shmat.c: Likewise.
21751 * sysvipc/shmctl.c: Likewise.
21752 * sysvipc/shmdt.c: Likewise.
21753 * sysvipc/shmget.c: Likewise.
21754 * termios/tcdrain.c: Likewise.
21755 * termios/tcflow.c: Likewise.
21756 * termios/tcflush.c: Likewise.
21757 * termios/tcgetattr.c: Likewise.
21758 * termios/tcgetpgrp.c: Likewise.
21759 * termios/tcsendbrk.c: Likewise.
21760 * termios/tcsetattr.c: Likewise.
21761 * termios/tcsetpgrp.c: Likewise.
21762 * time/adjtime.c: Likewise.
21763 * time/clock.c: Likewise.
21764 * time/getitimer.c: Likewise.
21765 * time/gettimeofday.c: Likewise.
21766 * time/setitimer.c: Likewise.
21767 * time/settimeofday.c: Likewise.
21768 * time/stime.c: Likewise.
21769 * time/time.c: Likewise.
21770
217712012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21772
a20492cf
PT
21773 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21774 /usr/old/bin.
21775
72e182e3
PT
21776 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21777 instead of spaces.
21778 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21779
fbeafede
JM
217802012-11-03 Joseph Myers <joseph@codesourcery.com>
21781
5b5b04d6
JM
21782 [BZ #14796]
21783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21784 FE_TONEAREST before applying Dekker multiplication and Knuth
21785 addition. Clear inexact exceptions and check for exact zero
21786 results afterwards.
21787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21788 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21790 * math/libm-test.inc (fma_test): Add more tests.
21791 (fma_test_towardzero): Likewise.
21792 (fma_test_downward): Likewise.
21793 (fma_test_upward): Likewise.
21794 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21795 function.
21796 (libc_fesetround): New macro.
21797 (libc_fesetroundf): Likewise.
21798 (libc_fesetroundl): Likewise.
21799 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21800 function.
21801 (libc_fesetround_387): Likewise.
21802 (libc_fesetroundf): New macro.
21803 (libc_fesetround): Likewise.
21804 (libc_fesetroundl): Likewise.
21805 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21806 function.
21807 (libc_fesetroundf): New macro.
21808 (libc_fesetround): Likewise.
21809 (libc_fesetroundl): Likewise.
21810 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21811 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21812 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21813 libm_hidden_ver.
21814 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21815 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21816 libm_hidden_def.
21817 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21818 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21819 libm_hidden_ver.
21820 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21821 libm_hidden_def.
21822
fbeafede
JM
21823 [BZ #3439]
21824 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21825 integer constant usable in #if and use that to give value to enum
21826 constant.
21827 (FE_DIVBYZERO): Likewise.
21828 (FE_UNDERFLOW): Likewise.
21829 (FE_OVERFLOW): Likewise.
21830 (FE_INVALID): Likewise.
21831 (FE_INVALID_SNAN): Likewise.
21832 (FE_INVALID_ISI): Likewise.
21833 (FE_INVALID_IDI): Likewise.
21834 (FE_INVALID_ZDZ): Likewise.
21835 (FE_INVALID_IMZ): Likewise.
21836 (FE_INVALID_COMPARE): Likewise.
21837 (FE_INVALID_SOFTWARE): Likewise.
21838 (FE_INVALID_SQRT): Likewise.
21839 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21840 (FE_TONEAREST): Likewise.
21841 (FE_TOWARDZERO): Likewise.
21842 (FE_UPWARD): Likewise.
21843 (FE_DOWNWARD): Likewise.
21844 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21845 (FE_DIVBYZERO): Likewise.
21846 (FE_OVERFLOW): Likewise.
21847 (FE_UNDERFLOW): Likewise.
21848 (FE_INEXACT): Likewise.
21849 (FE_TONEAREST): Likewise.
21850 (FE_DOWNWARD): Likewise.
21851 (FE_UPWARD): Likewise.
21852 (FE_TOWARDZERO): Likewise.
21853 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21854 (FE_UNDERFLOW): Likewise.
21855 (FE_OVERFLOW): Likewise.
21856 (FE_DIVBYZERO): Likewise.
21857 (FE_INVALID): Likewise.
21858 (FE_TONEAREST): Likewise.
21859 (FE_TOWARDZERO): Likewise.
21860 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21861 (FE_OVERFLOW): Likewise.
21862 (FE_UNDERFLOW): Likewise.
21863 (FE_DIVBYZERO): Likewise.
21864 (FE_INEXACT): Likewise.
21865 (FE_TONEAREST): Likewise.
21866 (FE_TOWARDZERO): Likewise.
21867 (FE_UPWARD): Likewise.
21868 (FE_DOWNWARD): Likewise.
21869 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21870 (FE_DIVBYZERO): Likewise.
21871 (FE_OVERFLOW): Likewise.
21872 (FE_UNDERFLOW): Likewise.
21873 (FE_INEXACT): Likewise.
21874 (FE_TONEAREST): Likewise.
21875 (FE_DOWNWARD): Likewise.
21876 (FE_UPWARD): Likewise.
21877 (FE_TOWARDZERO): Likewise.
21878
105ca950
CM
218792012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21880
21881 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21882
a542b389
AS
218832012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21884
21885 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21886 commands. Quote $PWD.
21887 (blacklist_exports): Don't use remove_newlines. Replace "declare
21888 -x" by "export".
21889 (remove_newlines): Remove.
21890
f62c8abc
L
218912012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21892
21893 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21894 * stdlib/stdlib.h (atof): Moved to ...
21895 * include/bits/stdlib-float.h: Here. New file.
21896 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21897 * stdlib/bits/stdlib-float.h: New file.
21898 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21899 -mno-sse -mno-mmx.
21900 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21901 <xmmintrin.h>.
21902
0155d5b2
JM
219032012-11-02 Joseph Myers <joseph@codesourcery.com>
21904
a68d0680
JM
21905 * conform/conformtest.pl (@headers): Add fenv.h.
21906 * conform/data/fenv.h-data: New file.
21907 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21908 include of <math/fenv.h>.
21909
caf7f573
JM
21910 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21911 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21912 && !UNIX98]. Enables tests for XOPEN2K8.
21913 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21914 POSIX2008]: Likewise.
21915
6c073ad6
JM
21916 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21917 (struct rusage): Do not expect type or its members.
21918
0155d5b2
JM
21919 [BZ #3439]
21920 * math/math.h (FP_NAN): Define macro to integer constant usable in
21921 #if and use that to give value to enum constant.
21922 (FP_INFINITE): Likewise.
21923 (FP_ZERO): Likewise.
21924 (FP_SUBNORMAL): Likewise.
21925 (FP_NORMAL): Likewise.
21926
b5dcacb4
AS
219272012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21928
21929 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21930 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21931 arguments.
21932
f7934be8
RM
219332012-11-02 Roland McGrath <roland@hack.frob.com>
21934
21935 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21936 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21937 autoconf-time if not.
21938 * configure.in: Remove AC_PREREQ.
21939
d7d08bde
TMQMF
219402012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21941
21942 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21943 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21944 of the internal implementation.
21945
dcdae19a
JM
219462012-11-02 Joseph Myers <joseph@codesourcery.com>
21947
21948 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21949 except include of <misc/sys/syslog.h>.
21950
d6cffd3e
AS
219512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21952
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21954 function returns with a NULL context exit with zero.
21955
b3563932
TMQMF
219562012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21957
21958 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21959
b288a93d
L
219602012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21961
21962 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21963 (run_program_cmd): This.
21964 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21965 (tst_langinfo): New variable. Use it.
21966
a2421a68
SAS
219672012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21968
21969 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21970 floating point opcodes.
21971
6f796e1b
TS
219722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21973
7402596b
TS
21974 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21975 variable.
21976
d0d4f868
TS
21977 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21978
6f796e1b
TS
21979 * sysdeps/mach/hurd/powerpc: Remove directory.
21980 * sysdeps/mach/powerpc: Likewise.
21981
4da224a2
AS
219822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21983
21984 * scripts/check-local-headers.sh: Ignore c++ headers.
21985
341dd673
TS
219862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21987
21988 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21989 __libc_cleanup_region_start argument.
21990
473611b2
JM
219912012-11-01 Joseph Myers <joseph@codesourcery.com>
21992
21993 [BZ #14784]
21994 [BZ #14785]
21995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21996 x * y using scaling, not as x * y + z.
21997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21999 * math/libm-test.inc (fma_test): Add more tests.
22000 (fma_test_towardzero): Likewise.
22001 (fma_test_downward): Likewise.
22002 (fma_test_upward): Likewise.
22003
4078da3d
TS
220042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22005
22006 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22007
903252aa
JM
220082012-10-31 Joseph Myers <joseph@codesourcery.com>
22009
22010 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22011 New variable.
22012
cbc818d0
TS
220132012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22014
22015 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22016
5a03cb1e
AS
220172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22018
22019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22020 Fix sort order.
22021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22022 Likewise.
22023
90aff2ff
TMQMF
220242012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22025
22026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22027 Fix the order of the list for glibc 2.17.
22028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22029 Likewise.
22030
1818fcb7
AS
220312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22032
22033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22034
ef82f4da
JM
220352012-10-31 Joseph Myers <joseph@codesourcery.com>
22036
16a0e2ec
JM
22037 [BZ #14610]
22038 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22039 for low part of x being zero before using __atanl (y).
22040 * math/libm-test.inc (atan2_test): Add another test.
22041
0eb69512
JM
22042 * manual/install.texi (Configuring and compiling): Document
22043 general use of test-wrapper and test-wrapper-env.
22044 * INSTALL: Regenerated.
22045
ef82f4da
JM
22046 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22047 (__fma): Do not extract and scale down low bits on after-rounding
22048 systems when result rounded to normal precision would have normal
22049 exponent.
22050 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22051 (__fmal): Do not extract and scale down low bits on after-rounding
22052 systems when result rounded to normal precision would have normal
22053 exponent.
22054 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22055 (__fmal): Do not extract and scale down low bits on after-rounding
22056 systems when result rounded to normal precision would have normal
22057 exponent.
22058 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22059 macro.
22060 (fma_test): Add more tests.
22061 (fma_test_towardzero): Likewise.
22062 (fma_test_downward): Likewise.
22063 (fma_test_upward): Likewise.
22064
954ef0d9
L
220652012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22066
22067 * sysdeps/i386/tininess.h: Renamed to ...
22068 * sysdeps/x86/tininess.h: This.
22069 * sysdeps/x86_64/tininess.h: Removed.
22070
df61ffb2
JM
220712012-10-30 Joseph Myers <joseph@codesourcery.com>
22072
22073 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22074 input. Use $(build-program-cmd).
22075 ($(objpfx)tst-array1-static.out): Likewise.
22076 ($(objpfx)tst-array2.out): Likewise.
22077 ($(objpfx)tst-array3.out): Likewise.
22078 ($(objpfx)tst-array4.out): Likewise.
22079 ($(objpfx)tst-array5.out): Likewise.
22080 ($(objpfx)tst-array5-static.out): Likewise.
22081
01767843
CM
220822012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22083
47cc1490
CM
22084 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22085 if defined.
22086
01767843
CM
22087 * nss/nsswitch.h (nss_interface_function): Provide new
22088 macro for use with NSS functions.
22089 * grp/initgroups.c: Use new macro.
22090 * nss/getXXbyYY.c: Likewise.
22091 * nss/getXXbyYY_r.c: Likewise.
22092 * nss/getXXent.c: Likewise.
22093 * nss/getXXent_r.c: Likewise.
22094 * sysdeps/posix/getaddrinfo.c: Likewise.
22095
8321aa97
AJ
220962012-10-30 Andreas Jaeger <aj@suse.de>
22097
22098 * po/ru.po: Update Russion translation from translation project.
22099
2a27fd6d
JM
221002012-10-30 Joseph Myers <joseph@codesourcery.com>
22101
8627a232
JM
22102 [BZ #14152]
22103 [BZ #14783]
22104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22105 result and shift together with sticky bit instead of replicating
22106 round-to-nearest rounding.
22107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22109 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22110 missing underflow exceptions.
22111 (fma_test_towardzero): Add more tests.
22112 (fma_test_downward): Likewise.
22113 (fma_test_upward): Likewise.
22114
2a27fd6d
JM
22115 [BZ #14047]
22116 * sysdeps/generic/tininess.h: New file.
22117 * sysdeps/i386/tininess.h: Likewise.
22118 * sysdeps/sh/tininess.h: Likewise.
22119 * sysdeps/x86_64/tininess.h: Likewise.
22120 * stdlib/tst-strtod-underflow.c: Likewise.
22121 * stdlib/tst-tininess.c: Likewise.
22122 * stdlib/strtod_l.c: Include <tininess.h>.
22123 (round_and_return): Do not set errno for exact underflow cases.
22124 Force an underflow exception when setting errno for underflow.
22125 Determine underflow based on rounding to normal precision if
22126 TININESS_AFTER_ROUNDING.
22127 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22128 ERANGE for exact underflow cases.
22129 * stdlib/Makefile (tests): Add tst-tininess and
22130 tst-strtod-underflow.
22131 ($(objpfx)tst-tininess): Use $(link-libm).
22132 ($(objpfx)tst-strtod-underflow): Likewise.
22133
e7170363
AJ
221342012-10-30 Andreas Jaeger <aj@suse.de>
22135
e5088dc6
AJ
22136 [BZ#14767]
22137 * elf/Makefile (tests): Remove conditional for have-initfini-array
22138 since this is now always required and the variable does not exist
22139 anymore.
22140 (tests-static): Likewise.
22141 (modules-names): Likewise.
22142
e7170363 22143 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22144
22145 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22146 merged with constructor/destructor.
22147 (init_array): Likewise.
22148 * elf/tst-array2dep.c (fini_array): Likewise.
22149 (init_array): Likewise.
22150
60457d8a
MF
221512012-10-29 Mike Frysinger <vapier@gentoo.org>
22152
22153 * manual/message.texi: Delete @cartouche tags.
22154
8bece752
PT
221552012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22156
94ce799f
PT
22157 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22158 EOPNOTSUPP.
22159 * sysdeps/mach/hurd/fsync.c: Likewise.
22160
8bece752
PT
22161 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22162 [_POSIX_REALTIME_SIGNALS]: Change condition to
22163 [_POSIX_REALTIME_SIGNALS > 0].
22164
86ebe6b1
AJ
221652012-10-27 Andreas Jaeger <aj@suse.de>
22166
22167 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22168 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22170 [__WORDSIZE != 64]: Likewise.
22171
54399c08
L
221722012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22173
22174 * iconvdata/tst-table.sh: Remove ${SHELL}.
22175 * iconvdata/tst-tables.sh: Likewise.
22176
e2211bed
DM
221772012-10-25 David S. Miller <davem@davemloft.net>
22178
22179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22180 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22181 of strtoull.
22182
f303f97c
DM
22183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22184 ifunc-impl-list.c
22185 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22186 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22187 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22188 file.
22189
1e9d84cd
RM
221902012-10-25 Roland McGrath <roland@hack.frob.com>
22191
22192 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22193 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22194 __getdirentries.
22195
df381762
JM
221962012-10-25 Joseph Myers <joseph@codesourcery.com>
22197 Jim Blandy <jimb@codesourcery.com>
22198
22199 * scripts/cross-test-ssh.sh: New file.
22200 * manual/install.texi (Configuring and compiling): Document use of
22201 cross-test-ssh.sh.
22202 * INSTALL: Regenerated.
22203
bff64913
PT
222042012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22205
22206 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22207 EOPNOTSUPP.
22208
25fe8932
JM
222092012-10-25 Joseph Myers <joseph@codesourcery.com>
22210
22211 * Makeconfig (run-program-prefix): Fix comment.
22212
cc1290d0
JM
222132012-10-24 Joseph Myers <joseph@codesourcery.com>
22214 Jim Blandy <jimb@codesourcery.com>
22215
22216 * Makeconfig (test-wrapper): New variable,
22217 (test-wrapper-env): Likewise.
22218 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22219 (run-built-tests): Define to yes.
22220 (run-program-prefix): Use $(test-wrapper).
22221 (built-program-cmd): Likewise.
22222 * Rules (make-test-out): Use $(test-wrapper-env) and
22223 $(host-built-program-cmd).
22224 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22225 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22226 tst-pathopt.sh.
22227 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22228 $(test-wrapper-env) to tst-rtld-load-self.sh.
22229 ($(objpfx)order2.out): Use $(test-wrapper).
22230 ($(objpfx)tst-initorder.out): Likewise.
22231 ($(objpfx)tst-initorder2.out): Likewise.
22232 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22233 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22234 (test_wrapper_env): New variable. Use it to run ld.so.
22235 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22236 Use it to run ld.so.
22237 (test_wrapper_env): Likewise.
22238 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22239 $(test-wrapper) to run-iconv-test.sh.
22240 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22241 (ICONV): Use $test_wrapper.
22242 * posix/Makefile ($(objpfx)globtest.out): Pass
22243 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22244 globtest.sh, not $(run-program-prefix).
22245 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22246 (test_wrapper): Likewise.
22247 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22248 set together with run_via_rtld_prefix.
22249 (run_program_prefix): Define in terms of test_wrapper and
22250 run_via_rtld_prefix.
22251
6e6249d0
RM
222522012-10-24 Roland McGrath <roland@hack.frob.com>
22253
22254 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22255 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22256 Targets removed.
22257
22258 [BZ #14743]
22259 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22260 Declare __clock_getres, __clock_gettime, __clock_settime,
22261 __clock_nanosleep, and __clock_getcpuclockid.
22262 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22263 Remove librt_hidden_def (clock_gettime).
22264 * sysdeps/unix/clock_gettime.c: Likewise.
22265 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22266 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22267 * rt/clock_getres.c: Define __clock_getres as an alias.
22268 * sysdeps/posix/clock_getres.c: Likewise.
22269 * rt/clock_settime.c: Define __clock_settime as an alias.
22270 * sysdeps/unix/clock_settime.c: Likewise.
22271 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22272 * sysdeps/unix/clock_nanosleep.c: Likewise.
22273 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22274 * rt/clock-compat.c: New file.
22275 * rt/Makefile (librt-routines): Add clock-compat and move
22276 $(clock-routines) to ...
22277 (routines): ... here, new variable.
22278 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22279 Don't add get_clockfreq here.
22280 * rt/Versions (libc: GLIBC_2.17): New version set.
22281 Add clock_* symbols here.
22282 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22284 (GLIBC_2.17): Add clock_* symbols.
22285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22289 Likewise.
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22291 Likewise.
22292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22296 * NEWS: Mention the move.
22297
22298 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22299 Use __open, __read, __close rather than their public counterparts.
22300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22301 (__get_clockfreq_via_cpuinfo): Likewise.
22302 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22303 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22304
22305 * config.h.in (HAVE_IFUNC): New #undef.
22306 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22307 was successful.
22308 * configure: Regenerated.
22309
0cae3f4b
MF
223102012-10-24 Mike Frysinger <vapier@gentoo.org>
22311
22312 * configure.in: Move READELF check to start of file.
22313 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22314 libc_cv_asm_gnu_indirect_function in the process.
22315 * configure: Regenerated.
22316
8175a253
MF
223172012-10-24 Mike Frysinger <vapier@gentoo.org>
22318
22319 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22320 send the output to /dev/null.
22321 (libc_cv_cc_with_libunwind): Likewise.
22322 (libc_cv_as_noexecstack): Likewise.
22323 * configure: Regenerate.
22324
0708a7d1
JM
223252012-10-24 Joseph Myers <joseph@codesourcery.com>
22326
10b40d85
JM
22327 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22328
0708a7d1
JM
22329 * posix/globtest.sh (TMPDIR): Do not set.
22330 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22331 (testout): Likewise.
22332
9fddec1a
AJ
223332012-10-24 Andreas Jaeger <aj@suse.de>
22334
3a8db22f
AJ
22335 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22336 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22337 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22338 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22339 posix_fadvise64, posix_fallocate64.
22340
9fddec1a
AJ
22341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22342 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22343 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22344 Likewise.
22345 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22346 Likewise.
22347 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22348
22349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22350 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22351 <bits/fcntl-linux.h>.
22352 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22353
22354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22355 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22356 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22357 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22358 [__WORDSIZE != 64]: Likewise.
22359
ebfd1bbd
JM
223602012-10-23 Joseph Myers <joseph@codesourcery.com>
22361
03ac099f
JM
22362 * Makeconfig (run-built-tests): New variable.
22363 * Rules [$(cross-compiling) = yes]: Change condition to
22364 [$(run-built-tests) = no].
22365 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22366 to [$(run-built-tests) = yes].
22367 * elf/Makefile [$(cross-compiling) = no]: Likewise
22368 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22369 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22370 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22371 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22372 * io/Makefile [$(cross-compiling) = no]: Likewise.
22373 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22374 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22375 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22376 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22377 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22378 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22379 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22380 * string/Makefile [$(cross-compiling) = no]: Likewise.
22381
ebfd1bbd
JM
22382 * posix/Makefile ($(objpfx)globtest.out): Pass
22383 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22384 $(rtld-installed-name).
22385 * posix/globtest.sh (elf_objpfx): Remove variable.
22386 (rtld_installed_name): Likewise.
22387 (library_path): Likewise.
22388 (run_program_prefix): New variable. Use for running globtest
22389 binary.
22390
166bca24
JB
223912012-10-23 Jim Blandy <jimb@codesourcery.com>
22392 Joseph Myers <joseph@codesourcery.com>
22393
22394 * Makeconfig (host-built-program-cmd): New variable.
22395 * elf/Makefile (tst-stackguard1-ARGS): Use
22396 $(host-built-program-cmd).
22397 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22398 (tst-spawn-ARGS): Likewise.
22399 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22400
88866099
JM
224012012-10-23 Joseph Myers <joseph@codesourcery.com>
22402 Jim Blandy <jimb@codesourcery.com>
22403
22404 * Makeconfig (run-via-rtld-prefix): New variable.
22405 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22406 (built-program-cmd): Likewise.
22407
b4b4c296
AJ
224082012-10-22 Andreas Jaeger <aj@suse.de>
22409
22410 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22411 __O_RSYNC if it exists, otherwise to O_SYNC.
22412
6fb54a22
JB
224132012-10-22 Jim Blandy <jimb@codesourcery.com>
22414 Joseph Myers <joseph@codesourcery.com>
22415
22416 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22417 /dev/null.
22418 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22419 from /dev/null
22420 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22421 /dev/null.
22422
481b90b9
AJ
224232012-10-22 Andreas Jaeger <aj@suse.de>
22424
2a0e2669
AJ
22425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22426 Define always.
22427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22428
76e38f9a
AJ
22429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22430 bits/fcntl-linux.h.
22431
7cd37b43
AJ
22432 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22433 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22434
481b90b9
AJ
22435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22436 to __O_LARGEFILE.
22437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22438 to __O_LARGEFILE.
22439
aba75984
JB
224402012-10-21 Jim Blandy <jimb@codesourcery.com>
22441 Joseph Myers <joseph@codesourcery.com>
22442
22443 * config.make.in (NM): New variable.
22444
88d4247f
AJ
224452012-10-21 Andreas Jaeger <aj@suse.de>
22446
22447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22448 definitions and declarations that are provided by
22449 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22450
f2eed205
L
224512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22452
22453 [BZ #14683]
22454 * elf/Makefile (tests-static): Add tst-leaks1-static.
22455 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22456 ($(objpfx)tst-leaks1-static): New rule.
22457 ($(objpfx)tst-leaks1-static-mem): Likewise.
22458 (tst-leaks1-static-ENV): New macro.
22459 * elf/dl-open.c (dl_open_worker): Check the main application
22460 only if SHARED is defined.
22461 * elf/tst-leaks1-static.c: New file.
22462
335e6931
AJ
224632012-10-20 Andreas Jaeger <aj@suse.de>
22464
22465 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22466 generic values for Linux.
22467 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22468 and declarations that are provided by <bits/fcntl-linux.h> and
22469 include <bits/fcntl-linux.h>.
22470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22472
ac5c94d3
RM
224732012-10-20 Roland McGrath <roland@hack.frob.com>
22474
22475 * io/fcntl.h: Move include of <bits/types.h> to the top and
22476 include it unconditionally.
22477
de54b33a
L
224782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22479
228cfb01
L
22480 * wcsmbs/Makefile (tests-ifunc): New variable.
22481 (tests): Add $(tests-ifunc).
22482 * wcsmbs/test-wcschr-ifunc.c: New file.
22483 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22484 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22485 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22486 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22487 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22488
69f07e5f
L
22489 * string/Makefile (tests-ifunc): New variable.
22490 (tests): Add $(tests-ifunc).
22491 * string/test-memccpy.c (TEST_NAME): New macro.
22492 * string/test-memchr.c (TEST_NAME): Likewise.
22493 * string/test-memcmp.c (TEST_NAME): Likewise.
22494 * string/test-memcpy.c (TEST_NAME): Likewise.
22495 * string/test-memmem.c (TEST_NAME): Likewise.
22496 * string/test-memmove.c (TEST_NAME): Likewise.
22497 * string/test-memset.c (TEST_NAME): Likewise.
22498 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22499 * string/test-stpcpy.c (TEST_NAME): Likewise.
22500 * string/test-stpncpy.c (TEST_NAME): Likewise.
22501 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22502 * string/test-strcasestr.c (TEST_NAME): Likewise.
22503 * string/test-strcat.c (TEST_NAME): Likewise.
22504 * string/test-strchr.c (TEST_NAME): Likewise.
22505 * string/test-strcmp.c(TEST_NAME): Likewise.
22506 * string/test-strcpy.c (TEST_NAME): Likewise.
22507 * string/test-strcspn.c (TEST_NAME): Likewise.
22508 * string/test-strlen.c (TEST_NAME): Likewise.
22509 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22510 * string/test-strncmp.c (TEST_NAME): Likewise.
22511 * string/test-strncpy.c (TEST_NAME): Likewise.
22512 * string/test-strnlen.c (TEST_NAME): Likewise.
22513 * string/test-strpbrk.c (TEST_NAME): Likewise.
22514 * string/test-strrchr.c (TEST_NAME): Likewise.
22515 * string/test-strspn.c (TEST_NAME): Likewise.
22516 * string/test-strstr.c (TEST_NAME): Likewise.
22517 * string/test-bcopy-ifunc.c: New file.
22518 * string/test-bzero-ifunc.c: Likewise.
22519 * string/test-memccpy-ifunc.c: Likewise.
22520 * string/test-memchr-ifunc.c: Likewise.
22521 * string/test-memcmp-ifunc.c: Likewise.
22522 * string/test-memcpy-ifunc.c: Likewise.
22523 * string/test-memmem-ifunc.c: Likewise.
22524 * string/test-memmove-ifunc.c: Likewise.
22525 * string/test-mempcpy-ifunc.c: Likewise.
22526 * string/test-memset-ifunc.c: Likewise.
22527 * string/test-rawmemchr-ifunc.c: Likewise.
22528 * string/test-stpcpy-ifunc.c: Likewise.
22529 * string/test-stpncpy-ifunc.c: Likewise.
22530 * string/test-strcasecmp-ifunc.c: Likewise.
22531 * string/test-strcasestr-ifunc.c: Likewise.
22532 * string/test-strcat-ifunc.c: Likewise.
22533 * string/test-strchr-ifunc.c: Likewise.
22534 * string/test-strchrnul-ifunc.c: Likewise.
22535 * string/test-strcmp-ifunc.c: Likewise.
22536 * string/test-strcpy-ifunc.c: Likewise.
22537 * string/test-strcspn-ifunc.c: Likewise.
22538 * string/test-strlen-ifunc.c: Likewise.
22539 * string/test-strncasecmp-ifunc.c: Likewise.
22540 * string/test-strncat-ifunc.c: Likewise.
22541 * string/test-strncmp-ifunc.c: Likewise.
22542 * string/test-strncpy-ifunc.c: Likewise.
22543 * string/test-strnlen-ifunc.c: Likewise.
22544 * string/test-strpbrk-ifunc.c: Likewise.
22545 * string/test-strrchr-ifunc.c: Likewise.
22546 * string/test-strspn-ifunc.c: Likewise.
22547 * string/test-strstr-ifunc.c: Likewise.
22548
de54b33a
L
22549 * debug/Makefile (tests-ifunc): New variable.
22550 (tests): Add $(tests-ifunc).
22551 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22552 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22553 * debug/test-stpcpy_chk-ifunc.c: New file.
22554 * debug/test-strcpy_chk-ifunc.c: Likewise.
22555
88481c16
SP
225562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22557
22558 [BZ #13601]
22559 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22560 header is not read in.
22561
135948bd
JM
225622012-10-19 Joseph Myers <joseph@codesourcery.com>
22563
89f1c388
JM
22564 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22565 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22566 directly. Pass built executable to script as
22567 $(built-program-cmd).
22568 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22569 $testprogram without using LD_LIBRARY_PATH and $ldso.
22570
e40a0d21
JM
22571 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22572 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22573 $(rtld-installed-name).
22574 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22575 (rtld_installed_name): Likewise.
22576 (library_path): Likewise.
22577 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22578 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22579 $(run-program-prefix) to tst-tables.sh.
22580 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22581 it to run tst-table-from and tst-table-to.
22582 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22583 Pass it to tst-table.sh.
22584 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22585 $(run-program-prefix) to tst-gettext.sh.
22586 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22587 tst-translit.sh.
22588 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22589 tst-gettext2.sh.
22590 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22591 to run tst-gettext.
22592 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22593 to run tst-gettext2.
22594 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22595 to run tst-translit.
22596 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22597 $(run-program-prefix) to tst-mtrace.sh.
22598 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22599 to run tst-mtrace.
22600 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22601 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22602 $(rtld-installed-name).
22603 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22604 (rtld_installed_name): Likewise.
22605 (run_program_prefix): New variable. Use it to run wordexp-test.
22606
728e272a
JM
22607 * Makeconfig (ARCH): Remove all definitions.
22608 (machine): Likewise.
22609 [ARCH]: Remove conditional code.
22610 [!objdir]: Give error.
22611 [!objdir] (objpfx): Remove.
22612 [!objdir] (common-objpfx): Likewise.
22613 [!objdir] (common-objdir): Likewise.
22614 * configure.in (config_makefile): Remove. Hardcode Makefile in
22615 AC_CONFIG_FILES call.
22616 * configure: Regenerated.
22617
d528cdcf
JM
22618 [BZ #13888]
22619 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22620 or TMPDIR.
22621 (testout): Likewise.
22622
135948bd
JM
22623 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22624 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22625 $(rtld-installed-name).
22626 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22627 (rtld_installed_name): Likwise.
22628 (runit): Remove function.
22629 (run_getconf): New variable, Use it for running getconf binary.
22630
38c78296
L
226312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22632
22633 [BZ #14716]
22634 * string/test-memmem.c (check_result): New function.
22635 (do_one_test): Use it.
22636 (check1): New function.
22637 (test_main): Use it.
22638
d077f65f
MT
226392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22640
22641 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22642
ced52c71
JM
226432012-10-18 Joseph Myers <joseph@codesourcery.com>
22644
22645 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22646 (_G_LSEEK64): Likewise.
22647 (_G_MMAP64): Likewise.
22648 (_G_FSTAT64): Likewise.
22649 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22650 (_G_LSEEK64): Likewise.
22651 (_G_MMAP64): Likewise.
22652 (_G_FSTAT64): Likewise.
22653 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22654 unconditional. Call __mmap64 directly.
22655 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22656 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22657 __lseek64 directly.
22658 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22659 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22660 __mmap64 directly.
22661 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22662 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22663 __lseek64 directly.
22664 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22665 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22666 __lseek64 directly.
22667 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22668 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22669 __lseek64 directly.
22670 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22671 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22672 __fxstat64 directly.
22673 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22674 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22675 unconditional.
22676 (freopen64) [!_G_OPEN64]: Remove conditional code.
22677 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22678 unconditional.
22679 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22680 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22681 unconditional.
22682 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22683 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22684 unconditional.
22685 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22686 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22687 unconditional.
22688 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22689 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22690 unconditional.
22691 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22692 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22693 unconditional.
22694 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22695 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22696 unconditional.
22697 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22698
b741de23
SP
226992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22700
22701 [BZ #12140]
22702 * manual/memory.texi (Malloc Tunable Parameters): Add note
22703 about free list pointers overwriting some perturb bytes.
22704 Wording suggested by Roland McGrath.
22705
f9b9d9c9
JM
227062012-10-17 Joseph Myers <joseph@codesourcery.com>
22707
22708 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22709 (lgamma_test): Likewise.
22710 (tgamma_test): Likewise.
22711
172a631a
FW
227122012-10-16 Florian Weimer <fweimer@redhat.com>
22713
22714 [BZ #14700]
22715 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22716 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22717
e9f37252
MK
227182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22719
22720 * NEWS: Mention BZ #14716.
22721 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22722 when removing AVAILABLE1_USES_J macro.
22723
d394eb74
L
227242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22725
22726 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22727 (__bswap_64): __uint64_t for unsigned 64-bit int.
22728
ca38dc17
AS
227292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22730
22731 * include/string.h (memmem): Declare libc hidden alias.
22732 * string/memmem.c (memmem): Define libc hidden alias.
22733 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22734 __read, __close instead of open, read, close.
22735
9a387d1f
L
227362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22737
ac49ecaf
L
22738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22739 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22740 global and hidden.
22741 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22742 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22743 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22744 Likewise.
22745 (__rawmemchr_sse2): Likewise.
22746 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22747 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22748 (__strchr_sse2): Likewise.
22749 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22750 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22751 (__strcasecmp_sse2): Likewise.
22752 (__strncasecmp_sse2): Likewise.
22753 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22754 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22755 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22756 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22757 (__strrchr_sse2): Likewise.
22758 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22759 ifunc-impl-list.c.
22760 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22761 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22762 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22763 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22764 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22765 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22766 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22767 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22768 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22769 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22770 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22771 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22772 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22773 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22774 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22775 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22776 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22777 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22778 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22779 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22780 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22781 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22782 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22783 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22784 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22785 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22786 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22787 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22788 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22789 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22790
b090e8ea
L
22791 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22792 global and hidden.
22793 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22794 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22795 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22796 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22797 Likewise.
22798 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22799 Likewise.
22800 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22801 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22802 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22803 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22804 ifunc-impl-list.c.
22805 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22806 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22807 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22808 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22809 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22810 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22811 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22812 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22813 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22814 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22815 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22816 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22817 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22818 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22819 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22820 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22821 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22822 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22823 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22824 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22825 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22826 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22827 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22828 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22829 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22830 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22831 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22832 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22833 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22834 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22835 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22836 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22837 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22838 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22839 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22840 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22841 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22842 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22843 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22844 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22845 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22846
11dd4af6
L
22847 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22848 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22849 * include/ifunc-impl-list.h: New file.
22850 * misc/ifunc-impl-list.c: Likewise.
22851 * misc/Makefile (routines): Add ifunc-impl-list.
22852 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22853 * string/test-string.h: Include <ifunc-impl-list.h>.
22854 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22855 impl_array): New variables.
22856 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22857 are defined.
22858 (test_init): Call __libc_ifunc_impl_list to initialize
22859 func_list if TEST_IFUNC and TEST_NAME are defined.
22860
9a387d1f
L
22861 * string/Makefile (strop-tests): Add bcopy and bzero.
22862 * string/test-bcopy.c: New file.
22863 * string/test-bzero.c: Likewise.
22864 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22865 defined.
22866 * string/test-memset.c: Support bzero test if TEST_BZERO is
22867 defined.
22868 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22869 __libc_memmove.
22870 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22871 __libc_memset.
22872 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22873 of memset.
22874
472371b9
JM
228752012-10-10 Joseph Myers <joseph@codesourcery.com>
22876
1e4a9536
JM
22877 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22878 * configure: Regenerated.
22879
d173d12e
JM
22880 * Makeconfig (+link-static-before-libc): Don't include
22881 $(link-static-libc).
22882
472371b9
JM
22883 * libio/libio.h (_IO_pos_t): Remove.
22884
89a3ad0b
AO
228852012-10-10 Alexandre Oliva <aoliva@redhat.com>
22886
22887 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22888 McGrath.
22889
e7451425
AO
228902012-10-10 Alexandre Oliva <aoliva@redhat.com>
22891
22892 * crypt/crypt-entry.c: Include fips-private.h.
22893 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22894 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22895 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22896 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22897
4ba74a35
AO
228982012-10-10 Alexandre Oliva <aoliva@redhat.com>
22899
22900 * crypt/crypt-private.h: Include stdbool.h.
22901 (_ufc_setup_salt_r): Return bool.
22902 * crypt/crypt-entry.c: Include errno.h.
22903 (__crypt_r): Return NULL with EINVAL for bad salt.
22904 * crypt/crypt_util.c (bad_for_salt): New.
22905 (_ufc_setup_salt_r): Check that salt is long enough and within
22906 the specified alphabet.
22907 * crypt/badsalttest.c: New file.
22908 * crypt/Makefile (tests): Add it.
22909 ($(objpfx)badsalttest): New.
22910
f96f1242
MK
229112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22912
22913 * NEWS: Add entry for BZ #14602.
22914
0e8e0c1c
JM
229152012-10-09 Joseph Myers <joseph@codesourcery.com>
22916
22917 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22918 type-generic.
22919 * math/libm-test.inc: Update comment listing what functions and
22920 macros are tested.
22921 (isgreater_test): New function.
22922 (isgreaterequal_test): Likewise.
22923 (isless_test): Likewise.
22924 (islessequal_test): Likewise.
22925 (islessgreater_test): Likewise.
22926 (isunordered_test): Likewise.
22927 (main): Call the new functions.
22928
273edc5e
RM
229292012-10-09 Roland McGrath <roland@hack.frob.com>
22930
b8493de0
RM
22931 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22932 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22933 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22934 * sysdeps/i386/configure: Regenerated.
22935 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22936 * sysdeps/mach/configure: Regenerated.
22937 * sysdeps/mach/hurd/configure: Regenerated.
22938 * sysdeps/powerpc/configure: Regenerated.
22939 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22940 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22941 * sysdeps/s390/s390-32/configure: Regenerated.
22942 * sysdeps/s390/s390-64/configure: Regenerated.
22943 * sysdeps/sh/configure: Regenerated.
22944 * sysdeps/sparc/configure: Regenerated.
22945 * sysdeps/unix/sysv/linux/configure: Regenerated.
22946 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22947 * sysdeps/x86_64/configure: Regenerated.
22948
273edc5e
RM
22949 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22950 defined. Don't check if MAP is NULL.
22951
c8450f70
JM
229522012-10-09 Joseph Myers <joseph@codesourcery.com>
22953
22954 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22955 (_G_stat64): Likewise.
22956 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22957 (_G_stat64): Likewise.
22958 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22959 instead of struct _G_stat64.
22960 * libio/fileops.c (mmap_remap_check): Likewise.
22961 (decide_maybe_mmap): Likewise.
22962 (_IO_new_file_seekoff): Likewise.
22963 (_IO_file_stat): Likewise.
22964 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22965 _G_off64_t.
22966 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22967 instead of struct _G_stat64.
22968 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22969
57e605ba
MK
229702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22971
22972 [BZ #14602]
22973 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22974 Replace with ...
22975 (CHECK_EOL): New macro.
22976 (two_way_short_needle): Check beginning of haystack for EOL. Use
22977 CHECK_EOL.
22978 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22979 Replace with CHECK_EOL.
22980 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22981 Replace with CHECK_EOL.
22982
ef1bb361
JM
229832012-10-08 Joseph Myers <joseph@codesourcery.com>
22984
22985 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22986 type-generic.
22987 * math/libm-test.inc: Update comment listing what functions and
22988 macros are tested.
22989 (finite_test): New function.
22990 (isinf_test): Likewise.
22991 (isnan_test): Likewise.
22992 (fpclassify_test): Test subnormal input.
22993 (isfinite_test): Likewise.
22994 (isnormal_test): Likewise.
22995 (main): Call the new functions.
22996
55f11534
JN
229972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22998
22999 [BZ #14660]
23000 * Makerules (%.dynsym): Force C locale when running
23001 $(OBJDUMP) --dynamic-syms.
23002
1ab29350
AS
230032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23004
23005 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23006 <stdint.h>.
23007
f1ecb7ef
DM
230082012-10-06 David S. Miller <davem@davemloft.net>
23009
23010 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23011 upper 32-bits of the length value in %o2 since we use branch-on-register
23012 tests which consider the entire 64-bit register.
23013
5d41d91a
L
230142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23015
23016 * string/test-strstr.c (check2): Add a test for page boundary.
23017
3baddb72
DM
230182012-10-05 David S. Miller <davem@davemloft.net>
23019
23020 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23021 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23022 file.
23023 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23024 sysdep_routines.
23025 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23026 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23027 and bzero when HWCAP_SPARC_CRYPTO is present.
23028
9cee5585
L
230292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23030
d7e0dab9
L
23031 [BZ #14602]
23032 * string/test-strstr.c (check2): New function.
23033 (test_main): Call check2.
23034
03759f47
L
23035 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23036 and bug-strchr1.
23037 * string/bug-strcasestr1.c (do_test): Moved to ...
23038 * string/test-strcasestr.c (check1): Here. New function.
23039 (do_one_test): Break out result checking code into ...
23040 (check_result): This. New function.
23041 (do_one_test): Call check_result.
23042 (test_main): Call check1.
23043 * string/bug-strchr1.c (do_test): Moved to ...
23044 * string/test-strchr.c (check1): Here. New function.
23045 (do_one_test): Break out result checking code into ...
23046 (check_result): This. New function.
23047 (do_one_test): Call check_result.
23048 (test_main): Call check1.
23049 * string/bug-strstr1.c (main): Moved to ...
046f153e 23050 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23051 (do_one_test): Break out result checking code into ...
23052 (check_result): This. New function.
23053 (do_one_test): Call check_result.
23054 (test_main): Call check1.
23055 * string/bug-strcasestr1.c: Removed.
23056 * string/bug-strchr1.c: Likewise.
23057 * string/bug-strstr1.c: Likewise.
23058
53cea63e
L
23059 * elf/Makefile (dl-routines): Add hwcaps.
23060 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23061 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23062 (_dl_important_hwcaps): Moved to ...
23063 * elf/dl-hwcaps.c: Here. New file.
23064 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23065
9cee5585 23066 [BZ #14557]
bb859b06
L
23067 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23068 if IS_IN_rtld isn't defined.
23069
9cee5585
L
23070 * elf/dl-support.c (_dl_sysinfo_map): New.
23071 Include "get-dynamic-info.h" and "setup-vdso.h".
23072 (_dl_non_dynamic_init): Call setup_vdso.
23073 * elf/dynamic-link.h: Don't include <assert.h>.
23074 (elf_get_dynamic_info): Moved to ...
23075 * elf/get-dynamic-info.h: Here. New file.
23076 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23077 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23078 * elf/setup-vdso.h: Here. New file.
23079 * elf/rtld.c: Include "setup-vdso.h".
23080 (dl_main): Call setup_vdso.
23081
23c31b76
JM
230822012-10-05 Joseph Myers <joseph@codesourcery.com>
23083
28234b07
JM
23084 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23085 creal in comment listing functions tested. List finite, isinf,
23086 isnan, isless, islessequal, isgreater, isgreaterequal,
23087 islessgreater, isunordered, lgamma_r and pow10 as functions and
23088 macros not tested. Mention which functions not tested are aliases
23089 for other functions. Fix typo. Note that signs of NaNs are not
23090 tested.
23091
23c31b76
JM
23092 * scripts/config.guess: Update from config.git.
23093 * scripts/config.sub: Likewise.
23094
9043e228
RM
230952012-10-04 Roland McGrath <roland@hack.frob.com>
23096
23097 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23098 * misc/madvise.c (madvise): Renamed to __madvise.
23099 Make madvise a weak alias.
23100 * include/sys/mman.h: Declare __madvise.
23101 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23102 * sysdeps/unix/syscalls.list
23103 (madvise): Make __madvise the strong name, and madvise a weak alias.
23104 * sysdeps/unix/sysv/linux/syscalls.list
23105 (madvise, mmap): Remove redundant entries.
23106 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23107 * malloc/malloc.c (mtrim): Likewise.
23108 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23109
f57f8055
RM
231102012-10-03 Roland McGrath <roland@hack.frob.com>
23111
23112 * sysdeps/mach/hurd/dl-cache.c: File removed.
23113 * config.h.in (USE_LDCONFIG): New #undef.
23114 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23115 * configure: Regenerated.
23116 * elf/Makefile (dl-routines): Add dl-cache only under
23117 [$(use-ldconfig) = yes].
23118 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23119 cache on [USE_LDCONFIG].
23120 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23121 [USE_LDCONFIG].
23122 * elf/rtld.c (dl_main): Likewise.
23123
5bb0c10a
PT
231242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23125
23126 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23127 _SC_LEVEL4_CACHE_LINESIZE.
23128
010188c6
RM
231292012-10-03 Roland McGrath <roland@hack.frob.com>
23130
23131 * sysdeps/unix/bsd/confstr.h: File removed.
23132
b6c5ec07
AO
231332012-10-02 Alexandre Oliva <aoliva@redhat.com>
23134
23135 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23136 sys/sdt-config.h.
23137
408223d4
RM
231382012-10-02 Roland McGrath <roland@hack.frob.com>
23139
23140 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23141 Make 'mapoff' field ElfW(Off) rather than off_t.
23142
bb9510dc
DL
231432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23144
fc997c6e
DL
23145 * nscd/Makefile: Remove nscd-cflags and all its users.
23146 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23147 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23148
bb9510dc
DL
23149 [BZ #10631]
23150 * malloc.c (malloc_printerr): Clarify error message.
23151
05699367
L
231522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23153
23154 [BZ #14648]
23155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23156 Set bit_FMA_Usable if FMA is supported.
23157 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23158 macro.
23159 (bit_FMA4_Usable): Updated.
23160 (index_FMA_Usable): New macro.
23161 (CPUID_FMA): Likewise
23162 (HAS_FMA): Defined with bit_FMA_Usable.
23163
51367701
RM
231642012-10-01 Roland McGrath <roland@hack.frob.com>
23165
23166 * bits/types.h (__swblk_t): Type removed.
23167 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23168 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23170 (__SWBLK_T_TYPE): Likewise.
23171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23172 (__SWBLK_T_TYPE): Likewise.
23173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23174 (__SWBLK_T_TYPE): Likewise.
23175 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23176 (__SWBLK_T_TYPE): Likewise.
23177
4d57bf63 231782012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23179 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23180
23181 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23182 (xdr_mapname): Use YPMAXMAP as maxsize.
23183 (xdr_peername): Use YPMAXPEER as maxsize.
23184 (xdr_keydat): Use YPAXRECORD as maxsize.
23185 (xdr_valdat): Use YPMAXRECORD as maxsize.
23186
93c65d43
RM
231872012-10-01 Roland McGrath <roland@hack.frob.com>
23188
497a03d6
RM
23189 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23190
93c65d43
RM
23191 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23192 * csu/init-first.c: ... here.
23193 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23194 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23195 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23196 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23197 * sysdeps/i386/init-first.c: File removed.
23198 * sysdeps/sh/init-first.c: File removed.
23199
bec749fd
JM
232002012-10-01 Joseph Myers <joseph@codesourcery.com>
23201
23202 [BZ #14645]
23203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23204 if x * y might underflow to zero and z is zero.
23205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23207 * math/libm-test.inc (min_subnorm_value): New variable.
23208 (fma_test): Add more tests.
23209 (fma_test_towardzero): Likewise.
23210 (fma_test_downward): Likewise
23211 (fma_test_upward): Likewise.
23212 (initialize): Set min_subnorm_value.
23213
8ec5b013
JM
232142012-09-29 Joseph Myers <joseph@codesourcery.com>
23215
23216 [BZ #14638]
23217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23218 0 + 0.
23219 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23220 mode for addition resulting in exact zero.
23221 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23223 exact 0 + 0.
23224 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23226 * math/libm-test.inc (fma_test): Add more tests.
23227 (fma_test_towardzero): New function.
23228 (fma_test_downward): Likewise.
23229 (fma_test_upward): Likewise.
23230 (main): Call the new functions.
23231
b1fa802e
DM
232322012-09-28 David S. Miller <davem@davemloft.net>
23233
23234 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23235
d3b9fd9e
RM
232362012-09-28 Roland McGrath <roland@hack.frob.com>
23237
ea4d37b3
RM
23238 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23239 instead of SIGALRM.
23240
ac51c949
RM
23241 * sysdeps/gnu/_G_config.h: Moved to ...
23242 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23243 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23244 * sysdeps/generic/_G_config.h: ... here.
23245
28c195f7
RM
23246 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23247
848917f9
RM
23248 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23249
6bacf05b
RM
23250 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23251 Conditionalize target on [libnss_test1.so-version].
23252
91363dbb
RM
23253 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23254
cc87f7d8
RM
23255 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23256 (elfobjdir): Move out of conditionals.
23257
b1c608fe
RM
23258 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23259 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23260 (__nss_lookup_function): Conditionalize label remove_from_tree on
23261 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23262
1d9a6d96
DM
232632012-09-28 David S. Miller <davem@davemloft.net>
23264
23265 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23266 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23267 file.
23268 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23269 sysdep_routines.
23270 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23272 when HWCAP_SPARC_CRYPTO is present.
23273
72581615
PT
232742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23275
23276 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23277
715a900c
JL
232782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23279
23280 [BZ #6530]
23281 * stdio-common/vfprintf.c (process_string_arg): Revert
23282 2000-07-22 change.
23283
232842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23285
23286 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23287 for testcase.
23288 * stdio-common/tst-sprintf.c: Include <locale.h>
23289 (main): Test sprintf's handling of incomplete multibyte
23290 characters.
23291
9bac1d86
L
232922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23293
23294 * elf/dl-runtime.c (VERSYMIDX): Removed.
23295 * elf/dl-version.c (VERSYMIDX): Likewise.
23296 * elf/do-rel.h (VERSYMIDX): Likewise.
23297 (VALIDX): Likewise.
23298 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23299 * elf/rtld.c (VALIDX): Likewise.
23300 (ADDRIDX): Likewise.
9bac1d86
L
23301 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23302 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23303 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23304 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23305 (VALIDX): Likewise.
23306 (ADDRIDX): Likewise.
9bac1d86 23307
b31606c0
PT
233082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23309
23310 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23311
11541177
JL
233122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23313
23314 [BZ #11438]
23315 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23316 to global scope.
23317 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23318 addresses are in the same scope as 192.0.2/24.
23319 * posix/gai.conf: Document new scope table defaults.
23320
adb26fae
SP
233212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23322
23323 [BZ #5298]
23324 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23325 for ftell. Compute offsets from write pointers instead.
23326 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23327
4573c6b0
SP
233282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23329
23330 [BZ #14543]
23331 * libio/Makefile (tests): New test case tst-fseek.
23332 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23333 combination works in wide mode.
23334 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23335 state when the external buffer state changes.
23336
aa9bbfe6
DM
233372012-09-27 David S. Miller <davem@davemloft.net>
23338
23339 [BZ #14376]
23340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23341 pass reloc->r_addend in as the 'high' argument to
23342 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23343
784421e7
DM
23344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23345
c39bc8b8
PT
233462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23347
23348 * rt/tst-aio2.c: Include <pthread.h>.
23349 * rt/tst-aio3.c: Likewise.
23350
1ccc2399
SE
233512012-09-27 Steve Ellcey <sellcey@mips.com>
23352
23353 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23354
31ed4153
L
233552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23356
25f5f885
L
23357 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23358 contents on [SHARED].
31ed4153 23359
b7bfe116
MP
233602012-09-26 Marek Polacek <polacek@redhat.com>
23361
23362 [BZ #14530]
23363 [BZ #13741]
23364 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23365 for C++ and GCC <4.3 as well as for non GCC compilers.
23366
43c4edba
MT
233672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23368
23369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23370
6a1bf82f
RM
233712012-09-25 Roland McGrath <roland@hack.frob.com>
23372
23373 * Makefile.in (all, install): Declare with .PHONY.
23374 Reported by Michael Hope <michael.hope@linaro.org>.
23375
8ad11b9a
TMQMF
233762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23377
23378 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23379 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23380 system header.
23381 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23382 Likewise.
23383 (sydep_routines): Add the new and the internal functions.
23384 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23385 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23387 (GLIBC_2.17): Add the new function.
23388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23389 (GLIBC_2.17): Likewise.
23390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23391 (GLIBC_2.17): Likewise.
23392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23393 (GLIBC_2.17): Likewise.
23394 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23395
7e2fca8d
AM
233962012-09-25 Alan Modra <amodra@gmail.com>
23397
23398 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23399 Add release barrier before setting once_control to say
23400 initialisation is done. Add hints on lwarx. Use macro in
23401 place of isync.
23402 (clear_once_control): Add release barrier.
23403
b87c4b24
JM
234042012-09-25 Joseph Myers <joseph@codesourcery.com>
23405
d032e0d2
JM
23406 [BZ #13629]
23407 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23408 specially.
23409 * math/s_clog10.c (__clog10): Likewise.
23410 * math/s_clog10f.c (__clog10f): Likewise.
23411 * math/s_clog10l.c (__clog10l): Likewise.
23412 * math/s_clogf.c (__clogf): Likewise.
23413 * math/s_clogl.c (__clogl): Likewise.
23414 * math/Makefile (libm-calls): Add x2y2m1.
23415 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23416 (__x2y2m1): Likewise.
23417 (__x2y2m1l): Likewise.
23418 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23419 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23422 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23423 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23424 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23425 * sysdeps/i386/fpu/libm-test-ulps: Update.
23426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23427
b87c4b24
JM
23428 [BZ #14621]
23429 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23430 int as type of variable DEPTH.
23431 (glob): Use size_t instead of int as type of variables NEWCOUNT
23432 and OLD_PATHC.
23433
6d3bf199
LD
234342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23435
22bf5c17
LD
23436 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23437 Add s_sincosf-sse2.
23438 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23439 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23440 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23441 macros for using routine as __sincosf_ia32.
23442 Use macro for function declaration and weak_alias.
23443 * sysdeps/i386/fpu/libm-test-ulps: Update.
23444
23445 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23447
23448 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23449 subnormal argument.
23450 * math/s_cexpf.c (__cexpf): Likewise.
23451 * math/s_csinf.c (__csinf): Likewise.
23452 * math/s_csinhf.c (__csinhf): Likewise.
23453 * math/s_ctanf.c (__ctanf): Likewise.
23454 * math/s_ctanhf.c (__ctanhf): Likewise.
23455 * math/s_ccosh.c (__ccoshf): Likewise.
23456 * math/s_cexp.c (__cexpl): Likewise.
23457 * math/s_csin.c (__csin): Likewise.
23458 * math/s_csinh.c (__csinh): Likewise.
23459 * math/s_ctan.c (__ctan): Likewise.
23460 * math/s_ctanh.c (ctanh): Likewise.
23461 * math/s_ccoshl.c (__ccoshl): Likewise.
23462 * math/s_cexpl.c (__cexpl): Likewise.
23463 * math/s_csinl.c (__csinl): Likewise.
23464 * math/s_csinhl.c (__csinhl): Likewise.
23465 * math/s_ctanl.c (__ctanl): Likewise.
23466 * math/s_ctanhl.c (__ctanhl): Likewise.
23467
203e5603
JM
234682012-09-25 Joseph Myers <joseph@codesourcery.com>
23469
23470 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23471 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23472 (_IO_off_t): Define to __off_t, not _G_off_t.
23473 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23474 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23475 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23476 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23477 type of __dummy and __dummy2 fields.
23478 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23479 (_G_ssize_t): Likewise.
23480 (_G_off_t): Likewise.
23481 (_G_pid_t): Likewise.
23482 (_G_uid_t): Likewise.
23483 (_G_wchar_t): Likewise.
23484 (_G_wint_t): Likewise.
23485 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23486 (_G_ssize_t): Likewise.
23487 (_G_off_t): Likewise.
23488 (_G_pid_t): Likewise.
23489 (_G_uid_t): Likewise.
23490 (_G_wchar_t): Likewise.
23491 (_G_wint_t): Likewise.
23492 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23493 (_G_ssize_t): Likewise.
23494 (_G_off_t): Likewise.
23495 (_G_pid_t): Likewise.
23496 (_G_uid_t): Likewise.
23497 (_G_wchar_t): Likewise.
23498 (_G_wint_t): Likewise.
23499
9fab36eb
SP
235002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23501
23502 * malloc/arena.c: Include malloc-sysdep.h.
23503 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23504 is sufficient to shrink the heap or an unmap is needed.
23505 * sysdeps/generic/malloc-sysdep.h: New file. Define
23506 new function check_may_shrink_heap.
23507 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23508 new function check_may_shrink_heap.
23509
2b4f00d1
SP
235102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23511
23512 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23513 comments.
23514
9a9028b1
DL
235152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23516
57c69bef
DL
23517 * catgets/test-gencat.sh: Add "set -e".
23518 * elf/tst-pathopt.sh: Likewise.
23519 * grp/tst_fgetgrent.sh: Likewise.
23520 * iconvdata/run-iconv-test.sh: Likewise.
23521 * intl/tst-gettext.sh: Likewise.
23522 * intl/tst-gettext2.sh: Likewise.
23523 * intl/tst-gettext4.sh: Likewise.
23524 * intl/tst-gettext6.sh: Likewise.
23525 * intl/tst-translit.sh: Likewise.
23526 * io/ftwtest-sh: Likewise.
23527 * libio/test-freopen.sh: Likewise.
23528 * malloc/tst-mtrace.sh: Likewise.
23529 * posix/globtest.sh: Likewise.
23530 * posix/tst-getconf.sh: Likewise.
23531 * posix/wordexp-tst.sh: Likewise.
23532 * stdio-common/tst-printf.sh: Likewise.
23533 * stdio-common/tst-unbputc.sh: Likewise.
23534 * stdlib/tst-fmtmsg.sh: Likewise.
23535 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23536 * catgets/Makefile: Do not specify -e option when running
23537 testsuite shell scripts.
23538 * elf/Makefile: Likewise.
23539 * grp/Makefile: Likewise.
23540 * iconvdata/Makefile: Likewise.
23541 * intl/Makefile: Likewise.
23542 * io/Makefile: Likewise.
23543 * libio/Makefile: Likewise.
23544 * malloc/Makefile: Likewise.
23545 * posix/Makefile: Likewise.
23546 * stdio-common/Makefile: Likewise.
23547 * stdlib/Makefile: Likewise.
23548 * sysdeps/x86_64/Makefile: Likewise.
23549
9a9028b1
DL
23550 * io/ftwtest-sh: Add copyright header.
23551 * posix/globtest.sh: Likewise.
23552 * posix/tst-getconf.sh: Likewise.
23553 * posix/wordexp-tst.sh: Likewise.
23554 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23555
ced6f16e
L
235562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23557
94b32c39
L
23558 [BZ #13679]
23559 * Makeconfig (+link): Defined as $(+link-static) if
23560 $(build-shared) isn't yes.
23561 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23562 isn't yes.
23563 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23564
189e935b
L
23565 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23566
ced6f16e
L
23567 [BZ #14562]
23568 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23569 new chunk size with MALLOC_ALIGN_MASK.
23570
a9f8e53a
JM
235712012-09-24 Joseph Myers <joseph@codesourcery.com>
23572
23573 [BZ #5044]
23574 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23575 <rounding-mode.h>.
23576 (__printf_fphex): Determine rounding using get_rounding_mode and
23577 round_away.
23578 * stdio-common/tst-printf-round.c (struct hex_test): New
23579 structure.
23580 (hex_tests): New variable.
23581 (test_hex_in_one_mode): New function.
23582 (do_test): Also run tests for hex float output.
23583
43153109
JM
235842012-09-21 Joseph Myers <joseph@codesourcery.com>
23585
23586 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23587 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23588 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23589 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23590 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23591 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23592 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23593 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23594
8a26625d
JM
235952012-09-20 Joseph Myers <joseph@codesourcery.com>
23596
23597 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23598 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23599 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23600 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23601
f3fd569c
DL
236022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23603
23604 [BZ #14579]
23605 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23606 mode only.
23607 * elf/tst-rtld-load-self.sh: New test.
23608 * elf/Makefile: Run it.
23609
63bbedd4
JM
236102012-09-18 Joseph Myers <joseph@codesourcery.com>
23611
23612 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23613 (tst-writev-ENV): Remove.
23614 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23615
626f8b6a
CM
236162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23617
23618 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23619
b7aaa4d6
JM
236202012-09-17 Joseph Myers <joseph@codesourcery.com>
23621
23622 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23623 unconditional.
23624 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23625 Likewise.
23626 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23627 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23628 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23629 Likewise.
23630
65513990
L
236312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23632
23633 [BZ #14587]
23634 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23635 * config.make.in (have-cpp-asm-debuginfo): Removed.
23636 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23637 * configure: Regenerated.
23638
784761be
JM
236392012-09-14 Joseph Myers <joseph@codesourcery.com>
23640
23641 [BZ #5044]
23642 * stdio-common/printf_fp.c: Include <stdbool.h> and
23643 <rounding-mode.h>.
23644 (___printf_fp): Determine rounding using get_rounding_mode and
23645 round_away.
23646 * stdio-common/tst-printf-round.c: New file.
23647 * stdio-common/Makefile (tests): Add tst-printf-round.
23648 (link-libm): New variable.
23649 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23650
9503345f
L
236512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23652
23653 [BZ #14576]
23654 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23655 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23656 Likewise.
23657 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23658 Likewise.
23659
ad35fc00
JM
236602012-09-13 Joseph Myers <joseph@codesourcery.com>
23661
23662 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23663 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23664 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23665 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23666
6c9b0f68
JM
236672012-09-12 Joseph Myers <joseph@codesourcery.com>
23668
23669 [BZ #14518]
23670 * include/rounding-mode.h: New file.
23671 * sysdeps/generic/get-rounding-mode.h: Likewise.
23672 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23673 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23674 (MAX_VALUE): New macro.
23675 (MIN_VALUE): Likewise.
23676 (overflow_value): New function.
23677 (underflow_value): Likewise.
23678 (round_and_return): Use overflow_value and underflow_value to
23679 determine return values in overflow and underflow cases. Use
23680 round_away to determine rounding depending on rounding mode.
23681 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23682 determine return values in overflow and underflow cases.
23683 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23684 (struct test_results): New structure.
23685 (struct test): Use struct test_results to store expected results
23686 for all rounding modes.
23687 (TEST): Include expected results for all rounding modes.
23688 (test_in_one_mode): New function.
23689 (do_test): Use test_in_one_mode to compute and check results.
23690 Check results for all rounding modes.
23691 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23692 $(link-libm).
23693
19fcedd5
AM
236942012-12-09 Allan McRae <allan@archlinux.org>
23695
1e9d84cd 23696 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23697
8bbfd2f1
JM
236982012-09-11 Joseph Myers <joseph@codesourcery.com>
23699
23700 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23701 (_G_int32_t): Likewise.
23702 (_G_uint16_t): Likewise.
23703 (_G_uint32_t): Likewise.
23704 (_G_HAVE_BOOL): Likewise.
23705 (_G_HAVE_ATEXIT): Likewise.
23706 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23707 (_G_HAVE_IO_FILE_OPEN): Likewise.
23708 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23709 (_G_int32_t): Likewise.
23710 (_G_uint16_t): Likewise.
23711 (_G_uint32_t): Likewise.
23712 (_G_HAVE_BOOL): Likewise.
23713 (_G_HAVE_ATEXIT): Likewise.
23714 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23715 (_G_HAVE_IO_FILE_OPEN): Likewise.
23716 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23717 (_G_int32_t): Likewise.
23718 (_G_uint16_t): Likewise.
23719 (_G_uint32_t): Likewise.
23720 (_G_HAVE_BOOL): Likewise.
23721 (_G_HAVE_ATEXIT): Likewise.
23722 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23723 (_G_HAVE_IO_FILE_OPEN): Likewise.
23724
b1dc5912
L
237252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23726
23727 * csu/libc-tls.c: Update copyright years.
23728
0e886ef9
JM
237292012-09-10 Joseph Myers <joseph@codesourcery.com>
23730
28361c5e
JM
23731 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23732 [!_G_USING_THUNKS]: Remove conditional code.
23733 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23734 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23735
0e886ef9
JM
23736 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23737 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23738 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23739 (_G_VTABLE_LABEL_PREFIX): Likewise.
23740 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23741 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23742 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23743 (_G_VTABLE_LABEL_PREFIX): Likewise.
23744 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23745 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23746 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23747 (_G_VTABLE_LABEL_PREFIX): Likewise.
23748 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23749
bcba7aa2
L
237502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23751
23752 * libio/Makefile: Include ../Makeconfig before tests.
23753 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23754 only if $(build-shared) is yes.
23755
06585ee8
L
23756 * iconv/gconv_db.c: Update copyright years.
23757
80ccd52c
LD
237582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23759
23760 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23761 unwind info if defined PIC. Fix special cases description.
23762 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23763
23764 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23765 DP_HI_MASK entry.
23766 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23767
691bc9c1
L
237682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23769
3d9b46b3
L
23770 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23771
de2139a9
L
23772 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23773 is NULL.
23774
5ca78dd0
L
23775 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23776 (LDLIBS-tst-chk4): This.
23777 (LDFLAGS-tst-chk5): Renamed to ...
23778 (LDLIBS-tst-chk5): This.
23779 (LDFLAGS-tst-chk6): Renamed to ...
23780 (LDLIBS-tst-chk6): This.
23781 (LDFLAGS-tst-lfschk4): Renamed to ...
23782 (LDLIBS-tst-lfschk4): This.
23783 (LDFLAGS-tst-lfschk5): Renamed to ...
23784 (LDLIBS-tst-lfschk5): This.
23785 (LDFLAGS-tst-lfschk6): Renamed to ...
23786 (LDLIBS-tst-lfschk6): This.
23787
691bc9c1
L
23788 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23789 on $(common-objpfx)soversions.mk.
23790
65cafb1c
JM
237912012-09-07 Joseph Myers <joseph@codesourcery.com>
23792
23793 [BZ #10014]
23794 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23795 example host name.
23796
c78ab094
SP
237972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23798
23799 * malloc/arena.c (arena_get_retry): New function that gets
23800 another arena for the caller to try its request on.
23801 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23802 current arena cannot fulfill the request.
23803 (__libc_memalign): Likewise.
23804 (__libc_memalign): Likewise.
23805 (__libc_pvalloc): Likewise.
23806 (__libc_calloc): Likewise.
23807
01f49f59
JT
238082012-09-05 John Tobey <john.tobey@gmail.com>
23809
23810 [BZ #13542]
23811 * manual/arith.texi (Operations on Complex): Fix description
23812 of carg branch cut.
23813
4c23fed5
JM
238142012-09-06 Joseph Myers <joseph@codesourcery.com>
23815
1d3c8572
JM
23816 [BZ #10014]
23817 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23818 host name.
23819
4c23fed5
JM
23820 [BZ #10038]
23821 * manual/memory.texi (Memory): Make order of menu items match
23822 order of sections.
23823
04570aaa
L
238242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23825
23826 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23827 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23828 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23829
b80af2f4
L
238302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23831
23832 * csu/libc-tls.c (static_dtv): Renamed to ...
23833 (_dl_static_dtv): This. Make it global.
23834 (_dl_initial_dtv): Removed.
23835 (__libc_setup_tls): Updated.
23836 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23837 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23838 DL_INITIAL_DTV.
23839
2abe9f15
PM
238402012-09-06 Petr Machata <pmachata@redhat.com>
23841
23842 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23843 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23844 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23845 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23846
0948c3af
L
238472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23848
23849 [BZ #14545]
23850 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23851 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23852 freeing dtv[-1].
23853
a5055ad1
L
238542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23855
23856 [BZ #14544]
23857 * Makeconfig (link-static-before-libc): Replace $(+prector)
23858 with $(+prectorT).
23859 (link-static-after-libc): Replace $(+postctor) with
23860 $(+postctorT).
23861 (link-bounded): Replace $(+prector)/$(+postctor) with
23862 $(+prectorT)/$(+postctorT).
23863 (+prectorT): New macro.
23864 (+postctorT): Likewise.
23865
ed8c2ecd
JM
238662012-09-06 Joseph Myers <joseph@codesourcery.com>
23867
23868 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23869 (round_str): Handle values above the maximum for IBM long double
23870 as inexact.
23871 * stdlib/tst-strtod-round.c (tests): Regenerated.
23872
14c996c8
AK
238732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23874
23875 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23876 assembler flag.
23877 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23878 zarch_nohighgprs around the zarch optimized routines.
23879 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23880 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23881 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23882 for zarch.
23883
430d6ce6
DM
238842012-09-05 David S. Miller <davem@davemloft.net>
23885
23886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23887
ff04dda4
DM
23888 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23889 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23890 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23891 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23892 entries.
23893
24d4e01b
AO
238942012-09-05 Alexandre Oliva <aoliva@redhat.com>
23895
23896 * malloc/arena.c: Fold copyright years.
23897 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23898
61d58174
AO
238992012-09-05 Alexandre Oliva <aoliva@redhat.com>
23900
23901 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23902
20196a5e
AO
239032012-09-05 Alexandre Oliva <aoliva@redhat.com>
23904
23905 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23906
5c447383
AO
239072012-09-05 Alexandre Oliva <aoliva@redhat.com>
23908
23909 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23910 change internal state upon failure.
23911
fad64255
AO
239122012-09-05 Alexandre Oliva <aoliva@redhat.com>
23913
23914 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23915 * malloc/memusage.c (mmap): Likewise.
23916 (mmap64, mremap): Likewise. Adjust name in comment.
23917
1ffb8c90
SP
239182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23919
23920 * libio/fileops.c: Fix typos in comments.
23921 * libio/oldfileops.c: Likewise.
23922 * libio/wfileops.c: Likewise.
23923
6ef9cc37
SP
239242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23925
23926 [BZ #1349]
23927 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23928 (tst-malloc-usable-ENV): Set environment for test case.
23929 * malloc/hooks.c (malloc_check_get_size): New function to get
23930 requested size.
23931 * malloc/malloc.c (musable): Use malloc_check_get_size.
23932 * malloc/tst-malloc-usable.c: New test case.
23933
4d038ae3
AS
239342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23935
23936 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23937
c4e85184
AM
239382012-09-05 Allan McRae <allan@archlinux.org>
23939
b9dafc56 23940 [BZ #13966]
c4e85184
AM
23941 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23942 determine header location.
23943 * configure: Regenerated.
23944
e1343020
AS
239452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23946
23947 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23948 float format.
23949 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23950 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23951 format.
e1343020
AS
23952 (test): Regenerate.
23953
0a9f1987
DM
239542012-09-04 David S. Miller <davem@davemloft.net>
23955
23956 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23957 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23958 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23959
29237804
FW
239602012-09-04 Florian Weimer <fweimer@redhat.com>
23961
23962 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23963 failures.
23964
edb3cb88
FW
23965 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23966
60160d83
JM
239672012-09-04 Joseph Myers <joseph@codesourcery.com>
23968
23969 [BZ #9914]
23970 * libio/iogetdelim.c: Include <limits.h>.
23971 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23972 + len + 1 would overflow.
23973
bcd6c8dc
AJ
239742012-09-03 Andreas Jaeger <aj@suse.de>
23975
23976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23977 * sysdeps/i386/fpu/libm-test-ulps: Update.
23978
4ffffbd2
LD
239792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23980
23981 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23982 Add s_sinf-sse2, s_conf-sse2.
23983
23984 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23985 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23986 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23987 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23988
23989 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23990 for using routine as __sinf_ia32.
23991 Use macro for function declaration and weak_alias.
23992 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23993 for using routine as __cosf_ia32.
23994 Use macro for function declaration and weak_alias.
23995
23996 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23997 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23998
23999 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24000 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24002
24003 * math/libm-test.inc (cos_test): Add more test cases.
24004 (sin_test): Likewise.
24005 (sincos_test): Likewise.
24006
511fa286
AK
240072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24008
24009 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24010 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24011 hidden.
24012 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24013
5f30cfec
L
240142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24015
24016 [BZ #14538]
24017 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24018 first element of the GOT.
24019 (elf_machine_load_address): Return the difference between
24020 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24021
0786794f
AM
240222012-09-01 Allan McRae <allan@archlinux.org>
24023
5f30cfec
L
24024 [BZ #13412]
24025 * configure.in (AWK): Require gawk version 3.0 or later.
24026 * configure: Regenerated.
0786794f 24027
26889eac
JM
240282012-09-01 Joseph Myers <joseph@codesourcery.com>
24029
24030 * sysdeps/unix/sysv/linux/kernel-features.h
24031 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24032 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24033 [__NR_clock_getres]: Make code unconditional.
24034 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24035 (clock_getcpuclockid): Remove code left unreachable by removal of
24036 conditionals.
24037 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24038 code unconditional.
24039 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24040 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24041 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24042 Make code unconditional.
24043 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24044 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24045 * sysdeps/unix/sysv/linux/clock_settime.c
24046 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24047 conditional code.
24048 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24049 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24050
d22e28b0
L
240512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24052
24053 [BZ #14476]
24054 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24055 scripts/test-installation.pl.
24056
24057 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24058 and $ld_so_version if it is set.
24059
050af9c4
SP
240602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24061
24062 [BZ #14516]
24063 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24064 failure if reading from procfs failed.
24065 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24066
ad845c0b
JM
240672012-08-27 Joseph Myers <joseph@codesourcery.com>
24068
24069 * sysdeps/unix/sysv/linux/kernel-features.h
24070 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24071 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24072 Remove conditional code.
24073 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24074 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24075 Remove conditional code.
24076 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24077 * sysdeps/unix/sysv/linux/i386/fxstat.c
24078 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24079 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24080 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24081 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24082 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24083 * sysdeps/unix/sysv/linux/i386/lxstat.c
24084 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24086 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24087 Remove conditional code.
24088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24089 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24090 Remove conditional code.
24091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24092 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24093 <kernel-features.h>.
24094 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24095 Remove.
24096 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24097 Remove conditional code.
24098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24099 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24100 Remove conditional.
24101
5dbf56af
MF
241022012-08-27 Mike Frysinger <vapier@gentoo.org>
24103
24104 [BZ #5400]
24105 * NEWS: Add fixed bug number.
24106
d6e70f43
JM
241072012-08-27 Joseph Myers <joseph@codesourcery.com>
24108
7efb4737
JM
24109 [BZ #14519]
24110 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24111 underflowing exponent in case of negative sign.
24112 * stdlib/tst-strtod-round-data: Add more tests.
24113 * stdlib/tst-strtod-round.c (tests): Regenerated.
24114
af92131a
JM
24115 [BZ #3479]
24116 * stdlib/strtod_l.c (NDIG): Remove.
24117 (HEXNDIG): Likewise.
24118 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24119 smallest representable value.
24120 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24121 lie within an exact representation of 1/2 ulp of the result.
24122 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24123 unconditionally.
24124 (TENS_P9_IDX): Define unconditionally.
24125 (TENS_P9_SIZE): Likewise.
24126 (TENS_P10_IDX): Likewise.
24127 (TENS_P10_SIZE): Likewise.
24128 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24129 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24130 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24131 entries for 10^2^13 and 10^2^14.
24132 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24133 (TENS_P13_IDX): Define.
24134 (TENS_P13_SIZE): Likewise.
24135 (TENS_P14_IDX): Likewise.
24136 (TENS_P14_SIZE): Likewise.
24137 (_fpioconst_pow10): Change array size to
24138 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24139 unconditional.
24140 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24141 1024]: Add entries for 10^2^13 and 10^2^14.
24142 [LAST_POW10 > _LAST_POW10]: Remove #error.
24143 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24144 (_fpioconst_pow10): Change array size to
24145 FPIOCONST_POW10_ARRAY_SIZE.
24146 * stdlib/gen-fpioconst.c: New file.
24147 * stdlib/gen-tst-strtod-round.c: Likewise.
24148 * stdlib/tst-strtod-round-data: Likewise.
24149 * stdlib/tst-strtod-round.c: Likewise.
24150 * stdlib/Makefile (tests): Add tst-strtod-round.
24151
d6e70f43
JM
24152 [BZ #14459]
24153 * stdlib/strtod_l.c: Include <stdint.h>.
24154 (NDEBUG): Do not define.
24155 (round_and_return): Change EXPONENT parameter to type intmax_t.
24156 Rearrange calculations to avoid internal overflow possibilities.
24157 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24158 Rearrange calculations to avoid internal overflow possibilities.
24159 Assert that number fits inside MPNSIZE limbs.
24160 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24161 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24162 calculations and add assertions to avoid internal overflow
24163 possibilities. Add casts to avoid signed/unsigned operations.
24164 * stdlib/tst-strtod-overflow.c: New file.
24165 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24166
1f529f7d
MP
241672012-08-25 Marek Polacek <polacek@redhat.com>
24168
24169 * time/time.h: Fix some typos in comments.
24170
59a629f1
RM
241712012-08-23 Roland McGrath <roland@hack.frob.com>
24172
24173 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24174 * posix/tst-rfc3484-2.c: Likewise.
24175 * posix/tst-rfc3484-3.c: Likewise.
24176
d3bafbc9
SM
241772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24178
24179 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24180 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24181
4efcc022
JM
241822012-08-23 Joseph Myers <joseph@codesourcery.com>
24183
24184 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24185 #include of fxstatat64.c.
24186
3cc3ef96
RM
241872012-08-22 Roland McGrath <roland@hack.frob.com>
24188
f04e2132
RM
24189 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24190 * shadow/getspent_r.c: Likewise.
24191 * shadow/getspnam.c: Likewise.
24192 * shadow/getspnam_r.c: Likewise.
24193 * gshadow/getsgent.c: Likewise.
24194 * gshadow/getsgent_r.c: Likewise.
24195 * gshadow/getsgnam.c: Likewise.
24196 * gshadow/getsgnam_r.c: Likewise.
24197 * inet/getnetbyad.c: Likewise.
24198 * inet/getnetbyad_r.c: Likewise.
24199 * inet/getnetbynm.c: Likewise.
24200 * inet/getnetbynm_r.c: Likewise.
24201 * inet/getnetent.c: Likewise.
24202 * inet/getnetent_r.c: Likewise.
24203 * inet/getproto.c: Likewise.
24204 * inet/getproto_r.c: Likewise.
24205 * inet/getprtent.c: Likewise.
24206 * inet/getprtent_r.c: Likewise.
24207 * inet/getprtname.c: Likewise.
24208 * inet/getprtname_r.c: Likewise.
24209 * inet/getrpcbyname.c: Likewise.
24210 * inet/getrpcbyname_r.c: Likewise.
24211 * inet/getrpcbynumber.c: Likewise.
24212 * inet/getrpcbynumber_r.c: Likewise.
24213 * inet/getrpcent.c: Likewise.
24214 * inet/getrpcent_r.c: Likewise.
24215 * inet/getaliasent.c: Likewise.
24216 * inet/getaliasent_r.c: Likewise.
24217 * inet/getaliasname.c: Likewise.
24218 * inet/getaliasname_r.c: Likewise.
24219 * nscd/getgrgid_r.c: Likewise.
24220 * nscd/getgrnam_r.c: Likewise.
24221 * nscd/gethstbyad_r.c: Likewise.
24222 * nscd/gethstbynm3_r.c: Likewise.
24223 * nscd/getpwnam_r.c: Likewise.
24224 * nscd/getpwuid_r.c: Likewise.
24225 * nscd/getsrvbynm_r.c: Likewise.
24226 * nscd/getsrvbypt_r.c: Likewise.
24227 * nscd/gai.c: Likewise.
24228
c53d909c
RM
24229 * configure.in (build_nscd): New substituted variable, set
24230 by --disable-build-nscd and defaults to $use_nscd.
24231 * configure: Regenerated.
24232 * config.make.in (build-nscd): New substituted variable.
24233 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24234 Change conditional to require [$(build-nscd) = yes] as well.
24235 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24236
3cc3ef96
RM
24237 [BZ# 13696]
24238 * configure.in (use_nscd): New substituted variable, set by
24239 --disable-nscd. If enabled, define USE_NSCD.
24240 * configure: Regenerated.
24241 * config.h.in: Add USE_NSCD.
24242 * config.make.in (use-nscd): New substituted variable.
24243 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24244 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24245 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24246 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24247 (CFLAGS-getgrnam_r.c): Likewise.
24248 (CFLAGS-initgroups.c): Likewise.
24249 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24250 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24251 Variables removed.
24252 * inet/getnetgrent_r.c
24253 (nscd_setnetgrent): New function, broken out of ...
24254 (setnetgrent): ... here. Call it.
24255 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24256 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24257 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24258 * nscd/Makefile (routines, aux): Move definitions after include of
24259 Makeconfig. Conditionalize on [$(use-nscd) != no].
24260 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24261 Conditionalize on [USE_NSCD].
24262 (is_nscd, nscd_init_cb): Likewise.
24263 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24264 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24265 * nss/nss_db/db-init.c: Likewise.
24266 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24267 [USE_NSCD].
24268 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24269 (make_request): Use it.
24270 (cache_valid_p): New function.
24271 (__check_pf): Use it.
24272 * NEWS: Add item for --disable-nscd.
24273
07e51550
DL
242742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24275
24276 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24277 to support sed >= 4.2.1-20-ga9bf076.
24278 * configure: Regenerated.
24279
35a5b08b
RM
242802012-08-22 Roland McGrath <roland@hack.frob.com>
24281
24282 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24283 Conditionalize whole body on [IREL].
24284
8479f23a
JL
242852012-08-22 Jeff Law <law@redhat.com>
24286
24287 [BZ #14505]
24288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24289 if the family is PF_UNSPEC.
24290
48da0b21
MF
242912012-08-22 Mike Frysinger <vapier@gentoo.org>
24292
24293 * Makerules (lib-version): Rename from V.
24294 (install-lib-nosubdir): Change V to lib-version.
24295
15d0da8c
WS
242962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24297
24298 [BZ #14252]
24299 * powerpc32/power6/wcschr.c: New file.
24300 * powerpc32/power6/wcscpy.c: New file.
24301 * powerpc32/power6/wcsrchr.c: New file.
24302 * powerpc64/power6/wcschr.c: New file.
24303 * powerpc64/power6/wcscpy.c: New file.
24304 * powerpc64/power6/wcsrchr.c: New file.
24305
bcca0895
MK
243062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24307
24308 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24309 (two_way_short_needle): Use it.
5a4aaa33
RM
24310 * string/strstr.c (AVAILABLE1_USES_J): Define.
24311 * string/strcasestr.c: Likewise.
99677e57
MK
24312
24313 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24314 array references.
24315 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24316
400726de
MK
24317 [BZ #11607]
24318 * NEWS: Add an entry.
24319 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24320 define their defaults.
24321 (two_way_short_needle): Detect end-of-string on-the-fly.
24322 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24323 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24324 * string/bug-strcasestr1.c: New test.
24325 * string/Makefile: Run it.
24326
20a71f2c
MK
243272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24328
24329 [BZ #11607]
24330 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24331 the first character.
24332
21ad0558
RM
243332012-08-21 Roland McGrath <roland@hack.frob.com>
24334
24335 * csu/elf-init.c (__libc_csu_irel): Function removed.
24336 * csu/libc-start.c (apply_irel): New function.
24337 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24338
0e1d9911
JM
243392012-08-21 Joseph Myers <joseph@codesourcery.com>
24340
24341 * sysdeps/unix/sysv/linux/kernel-features.h
24342 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24343 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24344 <kernel-features.h>.
24345 [__NR_fadvise64_64]: Make code unconditional.
24346 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24347 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24348 !__NR_fadvise64_64)]: Likewise.
24349 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24350 !__NR_fadvise64_64))]: Likewise.
24351 [__NR_fadvise64]: Make code unconditional.
24352 [!__NR_fadvise64]: Remove conditional code.
24353 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24354 <kernel-features.h>.
24355 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24356 unconditional.
24357 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24358 conditional code.
24359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24360 not include <kernel-features.h>.
24361 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24362 unconditional.
24363 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24364 conditional code.
24365 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24366 include <kernel-features.h>.
24367 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24368 unconditional.
24369 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24370 conditional code.
24371
14a50c9d
WS
243722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24373
24374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24375 slight instruction rearrangements per scrollpipe analysis.
24376 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24377
c0f4faf0
RM
243782012-08-20 Roland McGrath <roland@hack.frob.com>
24379
696da859
RM
24380 * manual/syslog.texi (syslog; vsyslog, closelog):
24381 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24382 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24383
c0f4faf0
RM
24384 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24385 DSOCAPS to match condition on defining it.
24386
348363b2
JM
243872012-08-20 Joseph Myers <joseph@codesourcery.com>
24388
a35cbf28
JM
24389 * sysdeps/unix/sysv/linux/kernel-features.h
24390 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24392 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24393 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24395 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24396 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24398 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24399 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24400
445f7ecd
JM
24401 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24402 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24403
348363b2
JM
24404 * sysdeps/unix/sysv/linux/kernel-features.h
24405 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24406 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24407 unconditional.
24408 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24409 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24410 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24411 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24412 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24413 Make code unconditional.
24414 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24415 (__mmap64) [!__NR_mmap2]: Likewise.
24416 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24417 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24418 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24419 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24420 [__NR_mmap2]: Make code unconditional.
24421 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24422 (__mmap64) [!__NR_mmap2]: Likewise.
24423
bc5bc0e5
AK
244242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24425
24426 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24427
88d506de
AJ
244282012-08-18 Andreas Jaeger <aj@suse.de>
24429
24430 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24431
493387d2
MF
244322012-08-18 Mike Frysinger <vapier@gentoo.org>
24433
24434 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24435 * include/unistd.h (__have_sock_cloexec): Likewise.
24436 (__have_pipe2): Likewise.
24437 (__have_dup3): Likewise.
24438
a277af22
MF
244392012-08-18 Mike Frysinger <vapier@gentoo.org>
24440
24441 [BZ #9685]
24442 * include/unistd.h (__have_pipe2): Change define into an extern int.
24443 (__have_dup3): Likewise.
24444 * socket/have_sock_cloexec.c: Include fcntl.h.
24445 (__have_pipe2): New variable.
24446 (__have_dup3): Likewise.
24447
fdab8fd3
MF
244482012-08-17 Mike Frysinger <vapier@gentoo.org>
24449
24450 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24451
31035e80
MP
244522012-08-17 Marek Polacek <polacek@redhat.com>
24453
24454 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24455 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24456
3bd9e993
RM
244572012-08-17 Roland McGrath <roland@hack.frob.com>
24458
c91c505f
RM
24459 * configure.in: Add AC_SUBST for sysheaders.
24460 * configure: Regenerated.
24461 * config.make.in (sysheaders): New substituted variable.
24462
7c6f9d53
RM
24463 * sysdeps/unix/mkfifo.c: Moved ...
24464 * sysdeps/posix/mkfifo.c: ... here.
24465 * sysdeps/unix/mkfifoat.c: Moved ...
24466 * sysdeps/posix/mkfifoat.c: ... here.
24467
24468 * sysdeps/unix/utime.c: Moved ...
24469 * sysdeps/posix/utime.c: ... here.
24470
24471 * sysdeps/unix/time.c: Moved ...
24472 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24473 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24474 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24475
24476 * sysdeps/unix/nice.c: Moved ...
24477 * sysdeps/posix/nice.c: ... here.
24478
24479 * sysdeps/unix/alarm.c: Moved ...
24480 * sysdeps/posix/alarm.c: ... here.
24481
3bd9e993
RM
24482 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24483
d1f09384
JL
244842012-08-17 Jeff Law <law@redhat.com>
24485
24486 * intl/Makefile (codeset_mo): New variable.
24487 ($(codeset_mo)): New target.
24488 (tst-codeset.out): Depend on that. Remove explicit rule.
24489 (tst-gettext3.out, tst-gettext5.out): Likewise.
24490 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24491 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24492 * intl/tst-codeset.sh: Remove.
24493 * intl/tst-gettext3.sh: Likewise.
24494 * intl/tst-gettext5.sh: Likewise.
24495
2ae1ae5c
RM
244962012-08-17 Roland McGrath <roland@hack.frob.com>
24497
c31fdb83
RM
24498 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24499 * sysdeps/unix/syscalls.list: ... here.
24500
a0844057
RM
24501 * sysdeps/posix/getaddrinfo.c
24502 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24503 (gaiconf_init, gaiconf_reload): Use them.
24504 [!_STATBUF_ST_NSEC]
24505 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24506 Define using time_t rather than struct timespec.
24507
750c1f2a
RM
24508 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24509 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24510 Macros removed.
24511 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24512 [!NO_THREADS].
24513 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24514 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24515 Likewise.
24516
2ae1ae5c
RM
24517 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24518 __libc_cleanup_push argument.
24519
e66a42f5
RM
24520 * bits/param.h: New file.
24521 * misc/sys/param.h: New file.
24522 * include/sys/param.h: New file.
24523 * misc/Makefile (headers): Add bits/param.h.
24524 * sysdeps/generic/sys/param.h: File removed.
24525 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24526 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24527 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24528 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24529
b7c08a66
RM
24530 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24531 last change.
24532
b2e1c562
RM
24533 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24534 [_IO_MTSAFE_IO].
24535 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24536 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24537 New macros.
24538
c75ccd4c
RM
24539 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24540 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24541 rather than -D_IO_MTSAFE_IO conditionally.
24542 * stdio-common/Makefile (CPPFLAGS): Likewise.
24543 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24544 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24545 Use $(libio-mtsafe).
24546 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24547 of -D_IO_MTSAFE_IO.
24548 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24549 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24550 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24551 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24552 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24553 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24554 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24555 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24556 (CFLAGS-fread_u_chk.c): Likewise.
24557 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24558 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24559 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24560 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24561 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24562 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24563 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24564 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24565 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24566
24567 * libio/Makefile: Test [$(libc-reentrant) = yes]
24568 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24569
24570 * Makeconfig
24571 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24572 * sysdeps/pthread/configure: File removed.
24573 * sysdeps/pthread/Makeconfig: New file.
24574 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24575 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24576
d9195db8
GB
245772012-08-16 Gary Benson <gbenson@redhat.com>
24578
24579 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24580 unmapping the first object in a namespace.
24581
86466cd9
RM
245822012-08-16 Roland McGrath <roland@hack.frob.com>
24583
24584 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24585 (__internal_setnetgrent): ... this. Add internal_function to
24586 definition. Add libc_hidden_def.
24587 (setnetgrent): Update caller.
24588 (internal_endnetgrent): Renamed to ...
24589 (__internal_endnetgrent): ... this. Add internal_function to
24590 definition. Add libc_hidden_def.
24591 (endnetgrent): Update caller.
24592 (internal_getnetgrent_r): Renamed to ...
24593 (__internal_getnetgrent_r): ... this. Add internal_function to
24594 definition. Add libc_hidden_def.
24595 (__getnetgrent_r): Update caller.
24596 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24597
c3c8283c
JM
245982012-08-16 Joseph Myers <joseph@codesourcery.com>
24599
24600 * stdlib/longlong.h: Update from GCC.
24601
db1ee0a8
RM
246022012-08-16 Roland McGrath <roland@hack.frob.com>
24603
24604 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24605 on _QL, which is set by umul_ppmm but never used.
24606 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24607 variables, which are set by GMP macros but never used.
24608 * stdio-common/_itowa.c (_itowa): Likewise.
24609 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24610 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24611
30f69637
CD
246122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24613
24614 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24615 struct La_sh_regs is not constant.
24616 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24617 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24618 and struct La_sparc64_regs are not constant.
24619
93a78ac4
JM
246202012-08-16 Joseph Myers <joseph@codesourcery.com>
24621
24622 * sysdeps/unix/sysv/linux/kernel-features.h
24623 (__ASSUME_POSIX_TIMERS): Remove.
24624 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24625 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24626 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24627 Make code unconditional.
24628 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24629 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24630 Make code unconditional.
24631 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24632 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24633 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24634 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24635 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24636 Make code unconditional.
24637 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24638 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24639 (__libc_missing_posix_timers): Remove.
24640
dd924cd7
RM
246412012-08-15 Roland McGrath <roland@hack.frob.com>
24642
4b4f2771
RM
24643 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24644 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24645
601c888b
RM
24646 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24647
176790a7
RM
24648 * elf/dl-sym.c: Include <stdlib.h>.
24649
329bc018
RM
24650 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24651 constants, which avoids warnings in 32-bit builds.
24652
e04e272d
RM
24653 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24654 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24655
952bf94a
RM
24656 * misc/lseek.c: File moved to ...
24657 * io/lseek.c: ... here.
24658
7c99b50a
RM
24659 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24660
dd924cd7
RM
24661 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24662 shifting LEN more than 31 bits at once.
24663
b3f479a8
LD
246642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24665
24666 [BZ #14195]
8c4ae0d4
RM
24667 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24668 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24669 * string/test-strncasecmp.c (check1): Renamed to...
24670 (bz12205): ...this.
24671 (bz14195): Add new testcase for two empty input strings and N > 0.
24672 (test_main): Call new testcase, adapt for renamed function.
24673
9c55864e
AJ
246742012-08-15 Andreas Jaeger <aj@suse.de>
24675
24676 [BZ #14090]
24677 * crypt/md5test2.c: New test, based on test supplied by Serge
24678 Belyshev <belyshev@depni.sinp.msu.ru>.
24679 * crypt/Makefile (xtests): Add md5test-giant..
24680 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24681
02dcb6c5
PE
246822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24683
24684 [BZ #14090]
24685 * crypt/md5.c (md5_process_block): Don't assume the buffer
24686 length is less than 2**32.
24687 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24688 length is less than 2**64.
24689
a3f95dcc
RM
246902012-08-15 Roland McGrath <roland@hack.frob.com>
24691
be75d758
RM
24692 * string/str-two-way.h: Include <sys/param.h>.
24693 (MAX): Macro removed.
24694
7312ca90
RM
24695 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24696 Move #define and #undef of memmove to just before and after
24697 including <string.h>.
24698
9a0a5486
RM
24699 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24700 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24701 and after including <string.h>. Move declarations of
24702 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24703 to before #include "string/memmove.c".
24704
67cc348d
RM
24705 * include/dirent.h: Declare __getdirentries.
24706
a3f95dcc
RM
24707 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24708 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24709
ca98e171
MF
247102012-08-14 Mike Frysinger <vapier@gentoo.org>
24711
24712 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24713 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24714 * sysdeps/i386/configure: Regenerated.
24715 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24716 STABS_CURRENT_FILE, and STABS_FUN.
24717 (END): Remove call to STABS_FUN_END.
24718 (STABS_CURRENT_FILE1): Delete.
24719 (STABS_CURRENT_FILE): Likewise.
24720 (STABS_FUN): Likewise.
24721 (STABS_FUN_END): Likewise.
24722 (STABS_FUN2): Likewise.
24723 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24724 * sysdeps/x86_64/configure: Regenerated.
24725
5908bf46
RM
247262012-08-14 Roland McGrath <roland@hack.frob.com>
24727
24728 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24729 * elf/dl-lookup.c: Likewise.
5908bf46 24730
f2c05b9e
JM
247312012-08-14 Joseph Myers <joseph@codesourcery.com>
24732
24733 * sysdeps/unix/sysv/linux/kernel-features.h
24734 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24735 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24736 unconditionally.
24737 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24738 unconditionally.
24739 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24740 condition on __ASSUME_CLONE_THREAD_FLAGS.
24741
e11f5155
AJ
247422012-08-14 Andreas Jaeger <aj@suse.de>
24743
24744 * sysdeps/i386/fpu/libm-test-ulps: Update.
24745
51a9ba86
MK
247462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24747
2fdd4f78
AJ
24748 * include/atomic.h (atomic_exchange_and_add): Split into ...
24749 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24750 New atomic macros.
51a9ba86 24751
ba6cba9e
MT
247522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24753
24754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24755
42443a47
JL
247562012-08-13 Jeff Law <law@redhat.com>
24757
24758 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24759 null byte in the output string.
24760
121dce05
JM
247612012-08-10 Joseph Myers <joseph@codesourcery.com>
24762
24763 * sysdeps/unix/sysv/linux/kernel-features.h
24764 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24765 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24766 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24767 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24768 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24769 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24770 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24771
bf51f568
JL
247722012-08-09 Jeff Law <law@redhat.com>
24773
24774 [BZ #13939]
24775 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24776 When avoid_arena is set, don't retry in the that arena. Pick the
24777 next one, whatever it might be.
24778 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24779 (arena_lock): Pass in new parameter to arena_get2.
24780 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24781 arena_get2.
24782 (__libc_malloc): Unify retrying after main arena failure with
24783 __libc_memalign version.
24784 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24785
f85fa270
L
247862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24787
24788 [BZ #14166]
24789 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24790 to __redirect_strstr.
24791 (__strstr_sse42): Use typeof __redirect_strstr.
24792 (__strstr_ia32): Likewise.
24793 (__libc_strstr): New prototype.
24794 (strstr): Renamed to ...
24795 (__libc_strstr): This.
24796 (strstr): New strong alias of __libc_strstr.
24797 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24798 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24799 __redirect_time.
24800 Include <time.h>.
24801 (__libc_time): New prototype.
24802 (time_ifunc): Replace time with __libc_time.
24803 (time): New strong alias and hidden definition of __libc_time.
24804 (__GI_time): Remove strong alias.
24805 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24806 Include <stddef.h>.
24807 (memmove): Redefined to __redirect_memmove.
24808 (__memmove_sse2): Use typeof __redirect_memmove.
24809 (__memmove_ssse3): Likewise.
24810 (__memmove_ssse3_back): Likewise.
24811 (__libc_memmove): New prototype.
24812 (memmove): Renamed to ...
24813 (__libc_memmove): This.
24814 (memmove): New strong alias of __libc_memmove.
24815
33b4a91e
MS
248162012-08-08 Mark Salter <msalter@redhat.com>
24817
24818 * elf/elf.h
24819 (R_MN10300_TLS_GD): Define.
24820 (R_MN10300_TLS_LD): Likewise.
24821 (R_MN10300_TLS_LDO): Likewise.
24822 (R_MN10300_TLS_GOTIE): Likewise.
24823 (R_MN10300_TLS_IE): Likewise.
24824 (R_MN10300_TLS_LE): Likewise.
24825 (R_MN10300_TLS_DTPMOD): Likewise.
24826 (R_MN10300_TLS_DTPOFF): Likewise.
24827 (R_MN10300_TLS_TPOFF): Likewise.
24828 (R_MN10300_SYM_DIFF): Likewise.
24829 (R_MN10300_ALIGN): Likewise.
24830 (R_MN10300_NUM): Update.
24831
b36137f1
JM
248322012-08-08 Joseph Myers <joseph@codesourcery.com>
24833
24834 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24835 Remove.
24836
cdd915fd
RM
248372012-08-08 Roland McGrath <roland@hack.frob.com>
24838
a2433aac
RM
24839 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24840
cdd915fd
RM
24841 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24842 sysdeps/unix -> sysdeps/posix move.
24843 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24844
bf9b740a
AM
248452012-08-07 Allan McRae <allan@archlinux.org>
24846
24847 [BZ #14303]
24848 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24849 (SUNOS_CPP): Likewise.
24850 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24851 not found.
24852 (open_input): Call CPP using execvp.
24853
93df14ee
JM
248542012-08-07 Joseph Myers <joseph@codesourcery.com>
24855
24856 * sysdeps/unix/sysv/linux/kernel-features.h
24857 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24858 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24859 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24860 (__ASSUME_WAITID_SYSCALL): Likewise.
24861 * sysdeps/unix/sysv/linux/dl-execstack.c
24862 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24863 code unconditional.
24864 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24865 conditional code.
24866 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24867 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24868 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24869 code.
24870 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24871 unconditional.
24872 [__ASSUME_WAITID_SYSCALL]: Likewise.
24873 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24874
d34689de
RM
248752012-08-07 Roland McGrath <roland@hack.frob.com>
24876
a281decc
RM
24877 * sysdeps/unix/closedir.c: Renamed to ...
24878 * sysdeps/posix/closedir.c: ... here.
24879 * sysdeps/unix/dirfd.c: Renamed to ...
24880 * sysdeps/posix/dirfd.c: ... here.
24881 * sysdeps/unix/dirstream.h: Renamed to ...
24882 * sysdeps/posix/dirstream.h: ... here.
24883 * sysdeps/unix/fdopendir.c: Renamed to ...
24884 * sysdeps/posix/fdopendir.c: ... here.
24885 * sysdeps/unix/opendir.c: Renamed to ...
24886 * sysdeps/posix/opendir.c: ... here.
24887 * sysdeps/unix/readdir.c: Renamed to ...
24888 * sysdeps/posix/readdir.c: ... here.
24889 * sysdeps/unix/readdir_r.c: Renamed to ...
24890 * sysdeps/posix/readdir_r.c: ... here.
24891 * sysdeps/unix/rewinddir.c: Renamed to ...
24892 * sysdeps/posix/rewinddir.c: ... here.
24893 * sysdeps/unix/seekdir.c: Renamed to ...
24894 * sysdeps/posix/seekdir.c: ... here.
24895 * sysdeps/unix/telldir.c: Renamed to ...
24896 * sysdeps/posix/telldir.c: ... here.
24897 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24898 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24899 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24900 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24901
22895b47
RM
24902 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24903 * bits/fcntl.h: ... here.
24904
707a53b6
RM
24905 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24906 not 0.
24907 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24908 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24909 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24910 (struct flock): Move l_start, l_len to the beginning.
24911 Use __pid_t for l_pid.
24912 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24913 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24914 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24915 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24916 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24917 [__USE_LARGEFILE64] (struct flock64): New type.
24918 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24919
f0bd3e25
RM
24920 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24921 * bits/dirent.h: ... here.
24922
d34689de
RM
24923 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24924 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24925
6dad2c06
JM
249262012-08-07 Joseph Myers <joseph@codesourcery.com>
24927
24928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24929 Change from 2.6.0 to 2.6.16.
24930 * sysdeps/unix/sysv/linux/configure: Regenerated.
24931 * sysdeps/unix/sysv/linux/kernel-features.h
24932 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24933 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24934 version.
24935 (__ASSUME_UTIMES): Likewise.
24936 (__ASSUME_CLONE_STOPPED): Remove.
24937 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24938 architectures, not kernel version.
24939 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24940 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24941 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24942 (__ASSUME_WAITID_SYSCALL): Likewise.
24943 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24944 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24945 * README: State 2.6.16 as minimum Linux kernel version. Do not
24946 refer to older versions.
24947
03af9520
RM
249482012-08-06 Roland McGrath <roland@hack.frob.com>
24949
8e49df1d
RM
24950 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24951 Define alphasort64 as an alias.
24952 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24953 Define versionsort64 as an alias.
24954 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24955 Define scandir64 as an alias.
24956 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24957 Define scandirat64 as an alias.
24958 * dirent/alphasort64.c (alphasort64):
24959 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24960 * dirent/versionsort64.c: Likewise.
24961 * dirent/scandir64.c: Likewise.
24962 * dirent/scandirat64.c: Likewise.
24963 * sysdeps/wordsize-64/alphasort.c: File removed.
24964 * sysdeps/wordsize-64/alphasort64.c: File removed.
24965 * sysdeps/wordsize-64/scandir.c: File removed.
24966 * sysdeps/wordsize-64/scandir64.c: File removed.
24967 * sysdeps/wordsize-64/scandirat.c: File removed.
24968 * sysdeps/wordsize-64/scandirat64.c: File removed.
24969 * sysdeps/wordsize-64/versionsort.c: File removed.
24970 * sysdeps/wordsize-64/versionsort64.c: File removed.
24971 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24972 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24973 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24974 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24975 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24976 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24977 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24978 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24979
24980 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24981 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24982 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24984 [defined __arch64__ || defined __sparcv9]
24985 (__INO_T_MATCHES_INO64_T): New macro.
24986 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24987 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24988 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24989 * sysdeps/unix/sysv/linux/bits/dirent.h
24990 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24991 (_DIRENT_MATCHES_DIRENT64): New macro.
24992
03af9520
RM
24993 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24994 Define lockf64 as an alias.
24995 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24996 Define fseeko64 as an alias.
24997 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24998 Define ftello64 as an alias.
24999 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25000 Define _IO_fgetpos64 and fgetpos64 as aliases.
25001 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25002 Define _IO_fsetpos64 and fsetpos64 as aliases.
25003 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25004 Conditionalize body on this.
25005 * libio/fseeko64.c: Likewise.
25006 * libio/ftello64.c: Likewise.
25007 * libio/iofgetpos64.c: Likewise.
25008 * libio/iofsetpos64.c: Likewise.
25009 * sysdeps/wordsize-64/lockf.c: File removed.
25010 * sysdeps/wordsize-64/lockf64.c: File removed.
25011 * sysdeps/wordsize-64/fseeko.c: File removed.
25012 * sysdeps/wordsize-64/fseeko64.c: File removed.
25013 * sysdeps/wordsize-64/ftello.c: File removed.
25014 * sysdeps/wordsize-64/ftello64.c: File removed.
25015 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25016 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25017 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25018 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25019 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25020 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25021 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25022 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25023 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25024 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25025 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25026 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25027 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25028 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25029
25030 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25031 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25032 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25034 [defined __arch64__ || defined __sparcv9]
25035 (__OFF_T_MATCHES_OFF64_T): New macro.
25036 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25037 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25039 (__OFF_T_MATCHES_OFF64_T): New macro.
25040
c5757acd
L
250412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25042
25043 * stdlib/secure-getenv.c (__secure_getenv): Replace
25044 GLIBC_2_16 with GLIBC_2_17.
25045
3a31811e
L
250462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25047
25048 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25049 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25050
faa2bccb
DM
250512012-08-03 David S. Miller <davem@davemloft.net>
25052
25053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25054
85fe1997
JM
250552012-08-03 Joseph Myers <joseph@codesourcery.com>
25056
25057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25058 Remove.
25059 (__ASSUME_CORRECT_SI_PID): Likewise.
25060 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25061 (__ASSUME_TMPFS_NAME): Likewise.
25062 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25063 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25064 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25065 (HAVE_AUX_SECURE): Make definition unconditional.
25066 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25067 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25068
4f75b7a0
RM
250692012-08-03 Roland McGrath <roland@hack.frob.com>
25070
25071 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25072 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25073 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25074 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25075 __eloop_threshold instead of SYMLOOP_MAX.
25076
25077 * sysdeps/generic/eloop-threshold.h: New file.
25078 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25079 of MAXSYMLINKS.
25080 * elf/chroot_canon.c (chroot_canon): Likewise.
25081
7aab07e4
JM
250822012-08-03 Joseph Myers <joseph@codesourcery.com>
25083
25084 [BZ #13717]
25085 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25086 Change to 2.6.0 everywhere.
25087 * sysdeps/unix/sysv/linux/configure: Regenerated.
25088 * sysdeps/unix/sysv/linux/kernel-features.h
25089 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25090 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25091 kernel versions.
25092 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25093 (__ASSUME_FUTEX_REQUEUE): Remove.
25094 (__ASSUME_STATFS64): Define unconditionally.
25095 (__ASSUME_AT_SECURE): Likewise.
25096 (__ASSUME_CORRECT_SI_PID): Likewise.
25097 (__ASSUME_TGKILL): Define without depending on kernel version for
25098 i386.
25099 (__ASSUME_UTIMES): Likewise.
25100 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25101 kernel version.
25102 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25103 (__ASSUME_TMPFS_NAME): Likewise.
25104 * README: Update reference to Linux kernel versions.
25105
b67e9372
MP
251062012-08-02 Marek Polacek <polacek@redhat.com>
25107
1f529f7d 25108 [BZ# 14150]
b67e9372
MP
25109 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25110 libc_cv_asm_type_prefix with %.
25111 * configure: Regenerated.
d2441631
RM
25112 * include/libc-symbols.h: Remove comment about
25113 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25114 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25115 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25116 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25117 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25118 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25119 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25120 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25121 * elf/tst-unique2mod1.c: Likewise.
25122 * elf/tst-unique1mod2.c: Likewise.
25123 * elf/tst-unique1mod1.c: Likewise.
25124 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25125 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25126 Replace ASM_TYPE_DIRECTIVE with .type.
25127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25128 * sysdeps/i386/sysdep.h: Likewise.
25129 * sysdeps/x86_64/sysdep.h: Likewise.
25130 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25132 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25133 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25134 * sysdeps/powerpc/powerpc32/sysdep.h:
25135 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25136 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25137 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25138 * sysdeps/i386/fpu/e_powf.S: Likewise.
25139 * sysdeps/i386/fpu/e_expl.S: Likewise.
25140 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25141 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25142 * sysdeps/i386/fpu/e_pow.S: Likewise.
25143 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25144 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25145 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25146 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25147 * sysdeps/i386/fpu/e_log2.S: Likewise.
25148 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25149 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25150 * sysdeps/i386/fpu/e_powl.S: Likewise.
25151 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25152 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25153 * sysdeps/i386/fpu/e_logl.S: Likewise.
25154 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25155 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25156 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25157 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25158 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25159 * sysdeps/i386/fpu/e_log.S: Likewise.
25160 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25161 * sysdeps/i386/fpu/e_logf.S: Likewise.
25162 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25163 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25164 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25165 * sysdeps/i386/fpu/e_log10.S: Likewise.
25166 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25167 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25168 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25169 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25170 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25171 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25172 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25173 * sysdeps/i386/i686/strtok.S: Likewise.
25174 * sysdeps/i386/i386-mcount.S: Likewise.
25175 * sysdeps/i386/strtok.S: Likewise.
25176 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25177 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25178 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25179 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25180 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25181 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25182 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25183 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25184 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25185 * sysdeps/x86_64/_mcount.S: Likewise.
25186 * sysdeps/x86_64/strtok.S: Likewise.
25187 * sysdeps/sh/_mcount.S: Likewise.
25188
2747bf9a
RM
251892012-08-01 Roland McGrath <roland@hack.frob.com>
25190
25191 * libio/iofopen.c: Include <fcntl.h>.
25192 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25193 (_IO_fopen64, fopen64): Define as aliases.
25194 * libio/iofopen64.c: Include <fcntl.h>.
25195 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25196 Conditionalize body on this.
25197 * sysdeps/wordsize-64/iofopen.c: File removed.
25198 * sysdeps/wordsize-64/iofopen64.c: File removed.
25199
3fb791b8
MP
252002012-08-01 Marek Polacek <polacek@redhat.com>
25201
25202 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25203 Use dlfcn directly instead of a variable.
25204 (binfmt-subdir): Do not define.
25205 (dlfcn): Likewise.
25206
a9f1039f
JM
252072012-08-01 Joseph Myers <joseph@codesourcery.com>
25208
23bddc06
JM
25209 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25210 Remove all definitions.
25211 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25212 <kernel-features.h>.
25213 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25214 (miss_F_GETOWN_EX): Remove all definitions.
25215 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25216 macro definition.
25217 [!__ASSUME_FCNTL64]: Remove conditional code.
25218 [__ASSUME_FCNTL64]: Make code unconditional.
25219 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25220 <kernel-features.h>.
25221 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25222 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25223 (lockf64) [__NR_fcntl64]: Make code unconditional.
25224 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25225
a9f1039f
JM
25226 * sysdeps/unix/sysv/linux/kernel-features.h
25227 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25228 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25229 Make code unconditional.
25230 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25231 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25233 [__NR_vfork]: Make code unconditional.
25234 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25235 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25237 [__NR_vfork]: Make code unconditional.
25238 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25239 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25240
09c0ee5f
RM
252412012-08-01 Roland McGrath <roland@hack.frob.com>
25242
48aec5b9
RM
25243 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25244 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25245
cd97c966
RM
25246 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25247 Define mkstemp64 as an alias.
3f55550c
RM
25248 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25249 Define mkstemps64 as an alias.
cd97c966
RM
25250 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25251 Define mkostemp64 as an alias.
b8625cfc
RM
25252 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25253 Define mkostemps64 as an alias.
cd97c966
RM
25254 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25255 Conditionalize body on this.
25256 * misc/mkostemp64.c: Likewise.
b8625cfc 25257 * misc/mkostemps64.c: Likewise.
3f55550c 25258 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25259 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25260 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25261 * sysdeps/wordsize-64/mkostemp.c: File removed.
25262 * sysdeps/wordsize-64/mkstemp.c: File removed.
25263 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25264 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25265 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25266 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25267
09c0ee5f
RM
25268 [BZ #14138]
25269 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25270 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25271 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25272 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25273
25274 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25275 compat_symbol macros from <shlib-compat.h> rather than the underlying
25276 default_symbol_version and symbol_version macros, so that DEFAULT
25277 lines in shlib-versions are respected.
25278 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25279
7e66ee51
FW
252802012-08-01 Florian Weimer <fweimer@redhat.com>
25281
25282 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25283 Declare with warn_unused_result.
25284 (setgid, setregid, setegid, setresgid): Likewise.
25285 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25286 Likewise.
25287 * WUR-REPORT: Remove set*id functions.
25288
d2a54255
PT
252892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25290
25291 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25292
7ecdb005
RM
252932012-07-31 Roland McGrath <roland@hack.frob.com>
25294
b4180a5e 25295 [BZ #10191]
789bd351
RM
25296 * include/sys/socket.h (__libc_accept, __libc_accept4):
25297 Add attribute_hidden.
25298 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25299
40ce302d
RM
25300 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25301 use of PTR_MANGLE.
25302 * inet/getnetgrent_r.c (setup): Likewise.
25303
7ecdb005
RM
25304 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25305
e2eabb2c
DM
253062012-07-31 David S. Miller <davem@davemloft.net>
25307
25308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25309
d0419dbf
JM
253102012-07-31 Joseph Myers <joseph@codesourcery.com>
25311
25312 [BZ #13629]
25313 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25314 value between 1.0 and 2.0 and smaller part has absolute value less
25315 than 1.0.
25316 * math/s_clog10.c (__clog10): Likewise.
25317 * math/s_clog10f.c (__clog10f): Likewise.
25318 * math/s_clog10l.c (__clog10l): Likewise.
25319 * math/s_clogf.c (__clogf): Likewise.
25320 * math/s_clogl.c (__clogl): Likewise.
25321 * math/libm-test.inc (clog_test): Add more tests.
25322 (clog10_test): Likewise.
25323 * sysdeps/i386/fpu/libm-test-ulps: Update.
25324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25325
2bc13872
FW
253262012-07-31 Florian Weimer <fweimer@redhat.com>
25327
25328 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25329 Exit with zero in case no suitable GID is found, and write a
25330 message to standard error.
25331
bea9b193
RM
253322012-07-30 Roland McGrath <roland@hack.frob.com>
25333
25334 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25335 rather than to 1.
25336 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25337 (MAXPATHLEN): Removed.
25338 (NOGROUP, NODEV): New macros.
25339 (setbit, clrbit, isset, isclr): New macros.
25340 (howmany, roundup, powerof2): New macros.
25341 (DEV_BSIZE): New macro.
25342
25343 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25344 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25345
25346 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25347 definition on [!__NO_LONG_DOUBLE_MATH].
25348
25349 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25350 PTR_MANGLE and PTR_DEMANGLE.
25351
25352 * socket/accept4.c (accept4): Rename to __libc_accept4.
25353 Define accept4 as a weak alias.
25354
25355 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25356 on [_DIRENT_HAVE_D_TYPE].
25357 * io/ftw.c (ftw_dir): Likewise.
25358
25359 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25360
25361 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25362
25363 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25364 Use the BSD numbers rather than the arbitrary ones we had.
25365 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25366 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25367 (SIGXCPU, SIGXFSZ): New macros.
25368 (_NSIG): Now 32.
25369
25370 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25371 initializer on [_LIBC_REENTRANT].
25372
25373 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25374 definitions inside [_POSIX_MAPPED_FILES].
25375
25376 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25377
25378 * dirent/opendir.c: Include <fcntl.h>.
25379
25380 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25381 (__libc_getspecific): Likewise.
25382 (__libc_key_create): Likewise.
25383
25384 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25385 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25386 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25387 (tmpfile64): Define as alias.
25388 * sysdeps/wordsize-64/tmpfile.c: File removed.
25389 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25390 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25391 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25392
25393 * stdio-common/vfscanf.c: Include <stdbool.h>.
25394 * nss/makedb.c: Likewise.
25395 * stdio-common/_i18n_number.h: Likewise.
25396 * argp/argp-help.c: Likewise.
25397 * posix/wordexp.c: Likewise.
25398 * sysdeps/posix/spawni.c: Likewise.
25399 * nss/nss_files/files-initgroups.c: Likewise.
25400 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25401 * nss/nss_files/files-initgroups.c: Likewise.
25402 * nss/nss_db/db-netgrp.c: Likewise.
25403 * nss/nss_db/db-initgroups.c: Likewise.
25404 * io/fchmodat.c: Include <sys/stat.h>.
25405
25406 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25407 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25408
25409 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25410 [HAVE_MMAP].
25411
25412 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25413 Add multiple inclusion protection.
25414
e5abc686
DM
254152012-07-27 David S. Miller <davem@davemloft.net>
25416
25417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25418
815e6fa3
GB
254192012-07-27 Gary Benson <gbenson@redhat.com>
25420
25421 [BZ #14298]
25422 * elf/rtld.c: Include <stap-probe.h>.
25423 (dl_main): Added static probes "init_start" and "init_complete".
25424 * elf/dl-load.c: Include <stap-probe.h>.
25425 (lose): Take new parameter "nsid".
25426 Added static probe "map_failed".
25427 (_dl_map_object_from_fd): Pass namespace id to lose.
25428 Added static probe "map_start".
25429 (open_verify): Pass namespace id to lose.
25430 * elf/dl-open.c: Include <stap-probe.h>.
25431 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25432 and "reloc_complete".
25433 * elf/dl-close.c: Include <stap-probe.h>.
25434 (_dl_close_worker): Added static probes "unmap_start" and
25435 "unmap_complete".
25436 * elf/rtld-debugger-interface.txt: New file documenting the above.
25437
9f98c16c
RM
254382012-07-26 Roland McGrath <roland@hack.frob.com>
25439
25440 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25441 rather than a string variable.
25442 * sunrpc/rpc_main.c (h_output): Likewise.
25443 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25444
f3c22df3
PT
254452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25446
25447 * inet/check_native.c: New file.
25448
3129cfc6
JM
254492012-07-26 Joseph Myers <joseph@codesourcery.com>
25450
da865e95
JM
25451 [BZ #13629]
25452 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25453 if larger part has absolute value 1.0.
25454 * math/s_clog10.c (__clog10): Likewise.
25455 * math/s_clog10f.c (__clog10f): Likewise.
25456 * math/s_clog10l.c (__clog10l): Likewise.
25457 * math/s_clogf.c (__clogf): Likewise.
25458 * math/s_clogl.c (__clogl): Likewise.
25459 * math/libm-test.inc (clog_test): Add more tests.
25460 (clog10_test): Likewise.
25461 * sysdeps/i386/fpu/libm-test-ulps: Update.
25462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25463
3129cfc6
JM
25464 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25465 (pltexit): Likewise.
25466 (La_regs): Likewise.
25467 (La_retval): Likewise.
25468 (int_retval): Likewise.
25469 Update #error for removed macros to refer only to definitions in
25470 tst-audit.h.
25471 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25472 macro.
25473 (pltexit): Likewise.
25474 (La_regs): Likewise.
25475 (La_retval): Likewise.
25476 (int_retval): Likewise.
25477 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25478 macro.
25479 (pltexit): Likewise.
25480 (La_regs): Likewise.
25481 (La_retval): Likewise.
25482 (int_retval): Likewise.
25483 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25484 macro.
25485 (pltexit): Likewise.
25486 (La_regs): Likewise.
25487 (La_retval): Likewise.
25488 (int_retval): Likewise.
25489 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25490 macro.
25491 (pltexit): Likewise.
25492 (La_regs): Likewise.
25493 (La_retval): Likewise.
25494 (int_retval): Likewise.
25495 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25496 macro.
25497 (pltexit): Likewise.
25498 (La_regs): Likewise.
25499 (La_retval): Likewise.
25500 (int_retval): Likewise.
25501 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25502 macro.
25503 (pltexit): Likewise.
25504 (La_regs): Likewise.
25505 (La_retval): Likewise.
25506 (int_retval): Likewise.
25507 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25508 macro definitions in tst-audit.h.
25509 * sysdeps/i386/tst-audit.h: New file.
25510 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25511 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25512 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25513 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25514 * sysdeps/sh/tst-audit.h: Likewise.
25515 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25516 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25517 * sysdeps/x86_64/tst-audit.h: Likewise.
25518
bfc07087
AJ
255192012-07-26 Andreas Jaeger <aj@suse.de>
25520
b1b2aaf8
AJ
25521 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25522 ptrace.
25523
25524 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25525 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25526 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25527 PTRACE_O_MASK.
25528 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25529 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25530 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25531
bfc07087
AJ
25532 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25533 value.
25534
25535 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25536 _sigsys.
25537 (si_call_addr, si_syscall, si_arch): Define new macro.
25538 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25539 _sigsys.
25540 (si_call_addr, si_syscall, si_arch): Define new marcro.
25541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25542 _sigsys.
25543 (si_call_addr, si_syscall, si_arch): Define new macro.
25544 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25545 _sigsys.
25546 (si_call_addr, si_syscall, si_arch): Define new macro.
25547
89b4b02f
JM
255482012-07-25 Joseph Myers <joseph@codesourcery.com>
25549
25550 [BZ #13717]
25551 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25552 Change to 2.4.21 where previously 2.4.1.
25553 * sysdeps/unix/sysv/linux/configure: Regenerated.
25554 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25555 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25556 Linux kernel version.
25557 (__ASSUME_STD_AUXV): Remove.
25558 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25559 kernel version.
25560 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25561 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25562 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25563 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25564 (__ASSUME_NETLINK_SUPPORT): Likewise.
25565 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25566 (__no_netlink_support): Remove conditional definition.
25567 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25568 Remove.
25569 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25570 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25571 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25572 (if_nameindex_ioctl): Remove.
25573 (if_nameindex_netlink): Do not handle __no_netlink_support.
25574 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25575 code.
25576 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25577 Remove conditional code.
25578 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25579 code.
25580 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25581 unconditional.
25582 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25583 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25584 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25585 Remove.
25586 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25587 [!__ASSUME_STD_AUXV]: Remove conditional code.
25588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25589 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25590 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25592 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25593 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25594 code.
25595 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25597 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25598 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25599 conditional code.
25600 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25602 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25603 code.
25604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25605 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25606 conditional code.
25607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25608 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25609 code unconditional.
25610 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25611 conditional code.
25612 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25613 unconditional.
25614 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25615 conditional code.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25617 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25618 unconditional.
25619 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25620 conditional code.
25621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25622 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25623 code unconditional.
25624 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25625 conditional code.
25626 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25627 unconditional.
25628 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25629 conditional code.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25631 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25632 code unconditional.
25633 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25634 conditional code.
25635 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25636 unconditional.
25637 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25638 conditional code.
25639
842a39cd
AS
256402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25641
25642 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25643 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25644 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25645 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25646 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25647 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25648 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25649 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25650 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25651 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25652 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25653 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25654 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25655 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25656 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25657 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25658 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25659 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25660 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25662 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25663 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25664 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25665
84b3fd84
FW
256662012-07-25 Florian Weimer <fweimer@redhat.com>
25667
25668 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25669 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25670 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25671 Introduce __libc_secure_getenv.
0c7936d5
FW
25672 * stdlib/Versions (2.17): Add secure_getenv
25673 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25674 * stdlib/secure-getenv.c: Rename __secure_getenv to
25675 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25676 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25677 * stdlib/tst-secure-getenv.c: New.
25678 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25679 * manual/startup.texi (Environment Access): Document
25680 secure_getenv.
84b3fd84
FW
25681 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25682 __libc_secure_getenv.
25683 * inet/ruserpass.c (ruserpass): Likewise.
25684 * malloc/mtrace.c (mtrace): Likewise.
25685 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25686 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25687 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25688 * sysdeps/posix/tempname.c: Likewise. Evaluate
25689 HAVE_SECURE_GETENV.
25690 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25691 __secure_getenv to __libc_secure_getenv.
84b3fd84 25692 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25694 Likewise.
25695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25696 Likewise.
25697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25704
56e49b71
JM
257052012-07-25 Joseph Myers <joseph@codesourcery.com>
25706
25707 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25708 (struct La_i86_retval): Likewise.
25709 (struct La_x86_64_regs): Likewise.
25710 (struct La_x86_64_retval): Likewise.
25711 (struct La_x32_regs): Likewise.
25712 (struct La_x32_retval): Likewise.
25713 (struct La_ppc32_regs): Likewise.
25714 (struct La_ppc32_retval): Likewise.
25715 (struct La_ppc64_regs): Likewise.
25716 (struct La_ppc64_retval): Likewise.
25717 (struct La_sh_regs): Likewise.
25718 (struct La_sh_retval): Likewise.
25719 (struct La_s390_32_regs): Likewise.
25720 (struct La_s390_32_retval): Likewise.
25721 (struct La_s390_64_regs): Likewise.
25722 (struct La_s390_64_retval): Likewise.
25723 (struct La_sparc32_regs): Likewise.
25724 (struct La_sparc32_retval): Likewise.
25725 (struct La_sparc64_regs): Likewise.
25726 (struct La_sparc64_retval): Likewise.
25727 (struct audit_ifaces): Remove architecture-specific pltenter and
25728 pltexit members.
25729 * sysdeps/i386/ldsodefs.h: New file.
25730 * sysdeps/powerpc/ldsodefs.h: Likewise.
25731 * sysdeps/s390/ldsodefs.h: Likewise.
25732 * sysdeps/sh/ldsodefs.h: Likewise.
25733 * sysdeps/sparc/ldsodefs.h: Likewise.
25734 * sysdeps/x86_64/ldsodefs.h: Likewise.
25735
354691b7
MP
257362012-07-25 Marek Polacek <polacek@redhat.com>
25737
25738 [BZ #6808]
25739 * math/libm-test.inc (yn_test): Add another test.
25740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25741 to ERANGE when the result is +-Inf.
25742 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25743 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25744 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25745 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25746
bf9e2071
JM
257472012-07-24 Joseph Myers <joseph@codesourcery.com>
25748
25749 * conform/data/time.h-data (NULL): Use macro-constant. Require
25750 equal to 0.
25751 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25752 clock_t.
25753 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25754
57633811
TS
257552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25756
25757 * configure.in <sysdeps resolving>: Correct printing
25758 Implies_before.
25759 * configure: Regenerate.
25760
c23c33b0
TS
257612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25762
25763 * math/w_ilogb.c: Include <limits.h>.
25764 * math/w_ilogbl.c: Likewise.
25765
b5982523
JM
257662012-07-20 Joseph Myers <joseph@codesourcery.com>
25767
25768 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25769 va_copy. Document allowing for unavailable va_copy only as
25770 pre-C99 compatibility.
25771 * manual/string.texi (Copying and Concatenation): Use va_copy
25772 instead of __va_copy in concat example.
25773
ac4ea442
PT
257742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25775
25776 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25777 (__sendto): Use create_address_port. Initialize APORT and deallocate
25778 it if not null.
25779
f98eafbd
PT
25780 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25781 with O_NOLINK passed to __file_name_lookup.
25782
898c7aab
PT
25783 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25784 with O_NOLINK passed to __file_name_lookup.
25785
0ced335a
PT
25786 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25787 negative N or less than NGIDS.
25788
b3404dbd
PT
25789 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25790 type to string_t. Set ERANGE as errno and return it if NAME is not big
25791 enough. Use memcpy instead of strncpy.
25792
0f48659e
JM
257932012-07-20 Joseph Myers <joseph@codesourcery.com>
25794
25795 * elf/Makefile (check-data): Remove.
25796 (localplt.data): New vpath directive.
25797 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25798 instead of $(check-data).
25799 * scripts/data/localplt-generic.data: Move to ...
25800 * sysdeps/generic/localplt.data: ... here.
25801 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25802 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25803 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25805 ... here.
25806 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25808 ... here.
25809 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25811 ... here.
25812 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25814 ... here.
25815 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25817 ... here.
25818 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25820 ... here.
25821
d37cbdaa
AZ
258222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25823
25824 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25825 PPC32 and PPC64 files.
25826 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25827 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25828
46f85fc2
AK
258292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25830
25831 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25832 __makecontext_ret to ...
25833 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25834 ... here and call exit if uc_link is NULL. New file.
25835 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25836 __makecontext_ret.S.
25837 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25838 __makecontext_ret to ...
25839 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25840 ... here and call exit if uc_link is NULL. New file.
25841 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25842 __makecontext_ret.S.
25843
08f43f9b
AK
258442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25845
25846 * elf/elf.h (R_390_IRELATIVE): New definition.
25847 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25848 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25849 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25850 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25851 (elf_machine_lazy_rel): Likewise.
25852 * sysdeps/s390/dl-irel.h: New file.
25853 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25854 * sysdeps/s390/s390-64/memset.S: New asm code.
25855 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25856 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25857 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25858 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25859 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25860 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25861 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25862 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25863 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25864 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25865 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25866 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25867 * sysdeps/s390/s390-32/memset.S: New asm code.
25868 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25869
3b05db33
MP
258702012-07-17 Marek Polacek <polacek@redhat.com>
25871
25872 [BZ #14349]
25873 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25874 * sysdeps/s390/s390-64/configure.in: Likewise.
25875 * sysdeps/sparc/configure.in: Likewise.
25876 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25877 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25878 * sysdeps/i386/configure.in: Likewise.
25879 * sysdeps/x86_64/configure.in: Likewise.
25880 * sysdeps/sh/configure.in: Likewise.
25881 * sysdeps/s390/s390-32/configure: Regenerated.
25882 * sysdeps/s390/s390-64/configure: Likewise.
25883 * sysdeps/x86_64/configure: Likewise.
25884 * sysdeps/sh/configure: Likewise.
25885 * sysdeps/powerpc/powerpc64/configure: Likewise.
25886 * sysdeps/powerpc/powerpc32/configure: Likewise.
25887 * sysdeps/sparc/configure: Likwise.
25888 * sysdeps/i386/configure: Likewise.
25889
a66877c6
MP
25890 * elf/dl-open.c: Comment fixes.
25891
cfc82fd8
JM
258922012-07-17 Joseph Myers <joseph@codesourcery.com>
25893
bd29910a
JM
25894 * Makefile [CXX] (check-data): Remove.
25895 [CXX] (c++-types.data): New vpath directive.
25896 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25897 vpath. Do not allow for C++ type data being missing.
25898 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25899 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25900 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25901 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25902 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25903 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25904 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25906 ... here.
25907 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25909 ... here.
25910 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25912 ... here.
25913 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25915 ... here.
25916 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25918 ... here.
25919 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25921 ... here.
25922 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25924 ... here.
25925 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25927
cfc82fd8
JM
25928 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25929 definitions to architecture-specific files.
25930 (TLS_IE): Likewise.
25931 (TLS_LD): Likewise.
25932 (TLS_GD): Likewise.
25933 * sysdeps/i386/tls-macros.h: New file.
25934 * sysdeps/powerpc/tls-macros.h: Likewise.
25935 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25936 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25937 * sysdeps/sh/tls-macros.h: Likewise.
25938 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25939 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25940 * sysdeps/x86_64/tls-macros.h: Likewise.
25941
f7db3170
TS
259422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25943
07cbfc23
TS
25944 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25945 zero value for regular exit case.
25946
f7db3170
TS
25947 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25948 (__start_context): Preserve zero value for regular exit case.
25949
dc97c227
TS
259502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25951 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25952
25953 * manual/setjmp.texi (setcontext): Clarify normal process
25954 termination when uc_link is the null pointer.
25955 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25956 exit call.
25957
d0cd7d02
AS
259582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25959
25960 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25961 preprocessor. Test for each exception mask separately.
25962
dd318934
AJ
259632012-07-16 Andreas Jaeger <aj@suse.de>
25964
25965 * po/ru.po: Update from translation team.
25966
8048311a
JM
259672012-07-15 Joseph Myers <joseph@codesourcery.com>
25968
25969 * conform/data/string.h-data (NULL): Use macro-constant. Require
25970 equal to 0.
25971 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25972 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25973 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25974 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25975 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25976
b637d46e
AJ
259772012-07-13 Andreas Jaeger <aj@suse.de>
25978
25979 * po/fr.po: Update from translation team.
25980
541428fe
MP
259812012-07-12 Marek Polacek <polacek@redhat.com>
25982
25983 [BZ #14173]
25984 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25985 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25986 loop condition.
25987
ec332e94
JM
259882012-07-12 Joseph Myers <joseph@codesourcery.com>
25989
25990 [BZ #13717]
25991 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25992 Change to 2.4.1 where previously 2.4.0.
25993 * sysdeps/unix/sysv/linux/configure: Regenerated.
25994 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25995 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25996 version.
25997 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25998 (__ASSUME_AT_CLKTCK): Remove.
25999 (__ASSUME_AT_PAGESIZE): Likewise.
26000 (__ASSUME_AT_XID): Likewise.
26001 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26002 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26003 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26004 unconditionally.
26005 (HAVE_AUX_PAGESIZE): Likewise.
26006 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26007 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26008 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26009
7b6e99be
JB
260102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26011
26012 [BZ #14307]
26013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26014 the temporary buffer used to invoke __gethostbyname2_r,
26015 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26016 host_data / struct gaih_addrtuple.
26017 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26018 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26019 header file nss/nsswitch.h.
26020 * nss/nsswitch.h (global scope): Add definition of implementation
26021 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26022 resolv/nss_dns/dns-host.c).
26023
608404eb
AJ
260242012-07-11 Andreas Jaeger <aj@suse.de>
26025
26026 * po/fr.po: Update from translation team.
26027
71220aca
AJ
26028 * po/sv.po: Update from translation team
26029 * po/fr.po: Another update from translation team.
26030
28cfe843
AZ
260312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26032
26033 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26034 for subnormals or multiply small sinh result by itself.
26035 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26037
6b90f981
DM
260382012-07-11 David S. Miller <davem@davemloft.net>
26039
26040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26041
c6825772
AS
260422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26043
26044 [BZ #14347]
26045 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26046 (INTERNAL_MARK): Shift it here.
26047
7b8e0d49
MP
260482012-07-10 Marek Polacek <polacek@redhat.com>
26049
26050 [BZ #14151]
26051 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26052 libc_cv_asm_global_directive with .globl.
26053 * configure: Regenerated.
26054 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26055 with .globl.
26056 * sysdeps/i386/configure: Regenerated.
26057 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26058 with .globl.
26059 * sysdeps/x86_64/configure: Regenerated.
26060 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26061 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26062 * elf/tst-unique2mod2.c: Likewise.
26063 * elf/tst-unique2mod1.c: Likewise.
26064 * elf/tst-unique1mod2.c: Likewise.
26065 * elf/tst-unique1mod1.c: Likewise.
26066 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26067 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26068 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26069 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26070 * sysdeps/mach/sysdep.h: Likewise.
26071 * sysdeps/i386/sysdep.h: Likewise.
26072 * sysdeps/i386/i386-mcount.S: Likewise.
26073 * sysdeps/x86_64/_mcount.S: Likewise.
26074 * sysdeps/x86_64/sysdep.h: Likewise.
26075 * sysdeps/sh/_mcount.S: Likewise.
26076 * sysdeps/sh/sysdep.h: Likewise.
26077 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26078 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26079 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26080 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26081 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26082 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26083 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26084 * locale/localeinfo.h: Likewise.
26085 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26086 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26087
6c55cda3
RM
260882012-07-09 Roland McGrath <roland@hack.frob.com>
26089
26090 [BZ #14336]
26091 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26092 system".
26093 * manual/message.texi (The Uniforum approach): Likewise.
26094 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26095 (glibc iconv Implementation): Likewise.
26096
638a572e
JM
260972012-07-09 Joseph Myers <joseph@codesourcery.com>
26098
26099 [BZ #14337]
26100 * math/s_clog.c (__clog): Avoid scaling a value down where that
26101 could result in underflow.
26102 * math/s_clog10.c (__clog10): Likewise.
26103 * math/s_clog10f.c (__clog10f): Likewise.
26104 * math/s_clog10l.c (__clog10l): Likewise.
26105 * math/s_clogf.c (__clogf): Likewise.
26106 * math/s_clogl.c (__clogl): Likewise.
26107 * math/libm-test.inc (clog_test): Add more tests.
26108 (clog10_test): Likewise.
26109 * sysdeps/i386/fpu/libm-test-ulps: Update.
26110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26111
261f4859
AS
261122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26113
0abaf3e4
AS
26114 [BZ #14283]
26115 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26116 by 7 not 8 to examine high bit of fractional part.
26117
261f4859
AS
26118 [BZ #14042]
26119 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26120 for call to __mcount_internal.
26121 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26122 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26123 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26124
f17ac40d
JM
261252012-07-06 Joseph Myers <joseph@codesourcery.com>
26126
9ad63c23
JM
26127 [BZ #14154]
26128 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26129 approximation for values within 0x1p-13f of an odd multiple of
26130 pi/4.
26131 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26132 exception. Add more tests.
26133 * sysdeps/i386/fpu/libm-test-ulps: Update.
26134
f17ac40d
JM
26135 [BZ #6778]
26136 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26137 inputs and return -1 for them. Do not check for +Inf in case not
26138 reachable for +Inf.
26139 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26140 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26141 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26142 and return -1 for them. Do not check for +Inf in case not
26143 reachable for +Inf.
26144 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26145 define.
26146 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26147 and return -1 for them. Do not check for +Inf in case not
26148 reachable for +Inf.
26149 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26150 spurious underflow.
26151 * sysdeps/i386/fpu/libm-test-ulps: Update.
26152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26153
fb21f89b
MF
261542012-07-06 Mike Frysinger <vapier@gentoo.org>
26155
26156 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26157
cdfe2c5e
JM
261582012-07-05 Joseph Myers <joseph@codesourcery.com>
26159
26160 [BZ #14157]
26161 [BZ #14331]
26162 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26163 could result in spurious underflow. Scale down values above
26164 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26165 * math/s_csqrtf.c (__csqrtf): Likewise.
26166 * math/s_csqrtl.c (__csqrtl): Likewise.
26167 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26168 spurious underflow.
26169 * sysdeps/i386/fpu/libm-test-ulps: Update.
26170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26171
70d35b67
AS
261722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26173
704bc459
AS
26174 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26175 xopen-msg.sed.
26176 * catgets/xopen-msg.awk: New file.
26177 * catgets/xopen-msg.sed: Removed.
26178
70d35b67
AS
26179 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26180 po2text.sed.
26181 * intl/po2test.awk: New file.
26182 * intl/po2test.sed: Removed.
26183
ca61cf32
JM
261842012-07-04 Joseph Myers <joseph@codesourcery.com>
26185
26186 [BZ #14328]
26187 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26188 or multiply small sinh result by itself.
26189 * math/s_ctanf.c (__ctanf): Likewise.
26190 * math/s_ctanh.c (__ctanh): Likewise.
26191 * math/s_ctanhf.c (__ctanhf): Likewise.
26192 * math/s_ctanhl.c (__ctanhl): Likewise.
26193 * math/s_ctanl.c (__ctanl): Likewise.
26194 * math/libm-test.inc (ctan_test_tonearest): New function.
26195 (ctan_test_towardzero): Likewise.
26196 (ctan_test_downward): Likewise.
26197 (ctan_test_upward): Likewise.
26198 (ctanh_test_tonearest): Likewise.
26199 (ctanh_test_towardzero): Likewise.
26200 (ctanh_test_downward): Likewise.
26201 (ctanh_test_upward): Likewise.
26202 (main): Call these new functions.
26203 * sysdeps/i386/fpu/libm-test-ulps: Update.
26204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26205
ca48a46a
MF
262062012-07-03 Mike Frysinger <vapier@gentoo.org>
26207
26208 * .gitignore: Delete /ports entry.
26209
9d63d37d
AJ
262102012-07-03 Andreas Jaeger <aj@suse.de>
26211
26212 * po/bg.po: Update from translation team.
26213 * po/cs.po: Likewise.
26214 * po/de.po: Likewise.
26215 * po/hr.po: Likewise.
26216 * po/nl.pl: Likewise.
26217 * po/pl.po: Likewise.
26218 * po/vi.po: Likewise.
26219
370ca3d2
JM
262202012-07-03 Joseph Myers <joseph@codesourcery.com>
26221
95f5a9a8
JM
26222 * Makeconfig [!+link] (+link-before-libc): New variable.
26223 [!+link] (+link-after-libc): Likewise.
26224 [!+link] (+link-tests): Likewise.
26225 [!+link] (+link): Define in terms of $(+link-before-libc) and
26226 $(+link-after-libc).
26227 [!+link-static] (+link-static-before-libc): New variable.
26228 [!+link-static] (+link-static-after-libc): Likewise.
26229 [!+link-static] (+link-static-tests): Likewise.
26230 [!+link-static] (+link-static): Define in terms of
26231 $(+link-static-before-libc) and $(+link-static-after-libc).
26232 [build-shared] (link-libc-before-gnulib): New variable.
26233 [build-shared] (link-libc-tests): Likewise.
26234 [build-shared] (link-libc): Define in terms of
26235 $(link-libc-before-gnulib).
26236 [!build-shared] (link-libc-tests): New variable.
26237 (link-libc-static-tests): New variable.
26238 [!gnulib] (gnulib-arch): New variable.
26239 [!gnulib] (gnulib-tests): Likewise.
26240 [!gnulib] (static-gnulib-arch): Likewise.
26241 [!gnulib] (static-gnulib-tests): Likewise.
26242 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26243 Define with "=" instead of ":=".
26244 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26245 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26246 * Rules (binaries-all-notests): New variable.
26247 (binaries-all-tests): Likewise.
26248 (binaries-static-notests): Likewise.
26249 (binaries-static-tests): Likewise.
26250 (binaries-all): Define using $(binaries-all-notests) and
26251 $(binaries-all-tests).
26252 (binaries-static): Define using $(binaries-static-notests) and
26253 $(binaries-static-tests).
26254 (binaries-shared-tests): New variable.
26255 (binaries-shared-notests): Likewise.
26256 (binaries-shared): Remove variable.
26257 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26258 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26259 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26260 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26261 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26262 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26263 * elf/Makefile (sln-modules): New variable.
26264 (extra-objs): Add $(sln-modules:=.o).
26265 (ldconfig-modules): Add static-stubs.
26266 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26267 * elf/static-stubs.c: New file.
26268
7a845b2c
JM
26269 [BZ #14283]
26270 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26271 by 7 not 8 to examine high bit of fractional part. Use volatile
26272 variables when splitting into final array of floats if
26273 __FLT_EVAL_METHOD__ != 0.
26274 * math/libm-test.inc (cos_test): Add another test.
26275 (sin_test): Likewise.
26276 * sysdeps/i386/fpu/libm-test-ulps: Update.
26277
e2283f38
JM
26278 [BZ #14273]
26279 * math/libm-test.inc (cosh_test): Add more tests.
26280
370ca3d2
JM
26281 * version.h (RELEASE): Set to "development".
26282 (VERSION): Set to "2.16.90".
26283
ee9247c3
CD
262842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26285
26286 * NEWS: Update copyright. Remove last-updated date.
26287 Mention math library bug fixes and timezone data changes.
26288 * README: Mention GNU/Hurd, x32, and HPPA support status.
26289
4648c381
TS
262902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26291
26292 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26293
aac78a43
AJ
262942012-06-27 Andreas Jaeger <aj@suse.de>
26295
26296 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26297
ed3dbfad
AJ
262982012-06-25 Andreas Jaeger <aj@suse.de>
26299
26300 * sysdeps/s390/fpu/libm-test-ulps: Update.
26301
4d0ee855
AS
263022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26303 Thomas Schwinge <thomas@codesourcery.com>
26304
26305 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26306 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26307 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26308 fanotify_mark.
26309
af1bce34
TS
263102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26311
a9fa33ba
TS
26312 * sysdeps/mach/start.c: Remove file.
26313 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26314 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26315 * sysdeps/sh/init-first.c: Likewise.
26316
58f902b8
TS
26317 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26318 registers for frame unwinding purposes, add CFI directives.
26319 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26320 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26321 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26322 Likewise.
26323
1518f58b
TS
26324 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26325 __fortify_fail returning.
26326 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26327
db9b5059
TS
26328 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26329 sysdeps/sh/____longjmp_chk.S.
26330 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26331 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26332 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26333 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26334
967705fe
TS
26335 * sysdeps/sh/abort-instr.h: New file.
26336 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26337 process in case exit returns.
26338
a9def8c4
TS
26339 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26340 initialize the GOT register before use.
26341
2a649725
TS
26342 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26343 calculation of ARGC > 4.
26344
af1bce34
TS
26345 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26346 meaningful names to some local labels.
26347
d230f50a
KK
263482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26349 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26350
26351 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26352 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26353 (__arch_compare_and_exchange_val_16_acq): Likewise.
26354 (__arch_compare_and_exchange_val_32_acq): Likewise.
26355 (atomic_exchange_and_add): Fix gUSA sequence.
26356 (atomic_add): Likewise.
26357 (atomic_add_negative): Likewise.
26358 (atomic_add_zero): Likewise.
26359 (atomic_bit_test_set): Likewise.
26360
0479b305
AS
263612012-06-22 Andreas Schwab <schwab@redhat.com>
26362
26363 [BZ #13579]
26364 * include/link.h (struct link_map): Add l_free_initfini.
26365 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26366 l_initfini.
26367 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26368 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26369 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26370 set.
26371
0e3933b9
CD
263722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26373
26374 * configure.in: Use AC_LANG_SOURCE.
26375 * configure: Regenerate.
26376
4248b1b1
RM
263772012-06-22 Roland McGrath <roland@hack.frob.com>
26378
26379 * configure.in (libc_cv_localstatedir): New substituted variable.
26380 * configure: Regenerated.
26381 * config.make.in (localstatedir): New variable, substituted from
26382 libc_cv_localstatedir.
26383 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26384 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26385 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26386 * sysdeps/gnu/configure: Regenerated.
26387
006dd861
JL
263882012-06-21 Jeff Law <law@redhat.com>
26389
26390 [BZ #14277]
26391 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26392 free. Simplify list management for _LIBC case.
26393
79662d42
JM
263942012-06-21 Joseph Myers <joseph@codesourcery.com>
26395
b7abb4bf
JM
26396 [BZ #14273]
26397 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26398 Clear sign bit of 64-bit integer value before comparing against
26399 overflow value.
26400
79662d42
JM
26401 * sysdeps/mach/configure: Regenerated.
26402
1f150908
L
264032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26404
26405 [BZ #14278]
26406 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26407
28363bbf
JL
264082012-06-21 Jeff Law <law@redhat.com>
26409
26410 [BZ #13882]
26411 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26412 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26414 * elf/dl-open.c (dl_open_worker): Likewise.
26415
09615db4
CD
264162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26417
26418 * scripts/list-sources.sh: Scan PORTS for translations.
26419 * po/libc.pot: Regenerated.
26420
2174c6dd
AJ
264212012-06-21 Andreas Jaeger <aj@suse.de>
26422
26423 [BZ #12194]
26424 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26425 warning.
26426 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26427 * bits/byteswap-16.h (__bswap_16): Likewise.
26428 * bits/byteswap.h (__bswap_constant_16): Likewise.
26429
3ee947b1
L
264302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26431
26432 [BZ #14117]
a2f34833
L
26433 * sysdeps/i386/fpu_control.h: Removed.
26434 * sysdeps/x86_64/fpu_control.h: Moved to ...
26435 * sysdeps/x86/fpu_control.h: Here.
26436
3ee947b1
L
26437 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26438 (_FPU_SETCW): Likewise.
26439
ed1825f8
L
264402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26441
25f1282a
L
26442 [BZ #14117]
26443 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26444 * sysdeps/x86/fpu/bits/mathinline.h: This.
26445 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26446
ed1825f8
L
26447 [BZ #14050]
26448 [BZ #14117]
26449 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26450 functions if __x86_64__ is defined.
26451
36d54b74
CLT
264522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26453
26454 * string/endian.h: Add !__ASSEMBLER__ condition for including
26455 conversion interfaces.
26456
10285c21
JM
264572012-06-15 Joseph Myers <joseph@codesourcery.com>
26458
26459 [BZ #14241]
26460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26461 of ABS(x) in calculating zero to negative powers other than odd
26462 integers.
26463 * math/libm-test.inc (pow_test): Add more tests.
26464
06c5abbd
AJ
264652012-06-15 Andreas Jaeger <aj@suse.de>
26466
26467 * manual/contrib.texi (Contributors): Update entry of Liubov
26468 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26469 Machado Filho.
26470
a3aeac40
CH
264712012-06-15 Cyril Hrubis <metan@ucw.cz>
26472
26473 * string/string.h: Add __wur to GNU version of strerror_r.
26474
49bdf4c1
L
264752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26476
26477 [BZ #14229]
26478 * string/Makefile (tests): Add tst-strtok_r.
26479 * string/tst-strtok_r.c: New file.
26480 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26481 RAX_LP/RDX_LP on SAVE_PTR.
26482
834f9b8d
RM
264832012-06-14 Roland McGrath <roland@hack.frob.com>
26484
26485 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26486
75fa1921
JM
264872012-06-14 Joseph Myers <joseph@codesourcery.com>
26488
26489 * libm_test.inc (csqrt_test): Allow more spurious underflow
26490 exceptions.
26491 (j0_test): Likewise.
26492 (j1_test): Likewise.
26493 (y0_test): Likewise.
26494 (y1_test): Likewise.
26495
771766df
CD
264962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26497
26498 * po/Makefile (libc.pot): Use UTF-8 charset.
26499
ceb9e56b
PP
265002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26501
26502 [BZ #14210]
26503 Suppress sign-conversion warning from FD_SET.
26504 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26505 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26506 not unsigned long int.
26507 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26508
ddb28975
L
265092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26510
26511 [BZ #14050]
26512 [BZ #14117]
26513 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26514 __extern_always_inline instead of __extern_inline.
26515 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26516 (__signbit): Likewise.
26517 (__signbitl): Support C++ namespace.
26518 (lrintf): New inline function.
26519 (lrint): Likewise.
26520 (llrintf): Likewise.
26521 (llrint): Likewise.
26522 (fmaxf): Likewise.
26523 (fmax): Likewise.
26524 (fminf): Likewise.
26525 (fmin): Likewise.
26526 (rint): Likewise.
26527 (rintf): Likewise.
26528 (ceil): Likewise.
26529 (ceilf): Likewise.
26530 (floor): Likewise.
26531 (floorf): Likewise.
26532 (nearbyint): Likewise.
26533 (nearbyintf): Likewise.
26534
d7b4fb26
TS
265352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26536
26537 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26538 non-default versions.
26539
eb55f5c2
RM
265402012-06-11 Roland McGrath <roland@hack.frob.com>
26541
26542 [BZ #14218]
26543 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26544
366af02c
TS
265452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26546
99ff6e5c
TS
26547 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26548 (FE_UPWARD, FE_DOWNWARD): Don't define.
26549 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26550 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26551
366af02c
TS
26552 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26553 reading it.
26554 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26556
793ea851
KK
265572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26558
26559 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26560 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26561 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26562 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26563
a728a38f
L
265642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26565
26566 [BZ #14117]
c08010c7
L
26567 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26568 * sysdeps/i386/fpu/Implies: New file.
26569 * sysdeps/x86_64/fpu/Implies: Likewise.
26570 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26571 * sysdeps/x86/fpu/bits/fenv.h: This.
26572
a728a38f
L
26573 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26574 __SSE_MATH__.
26575
6e230d11
SP
265762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26577
26578 [BZ #14134]
26579 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26580 character 0xffff that matches the last element of the
26581 conversion table.
26582
1b671feb
AZ
265832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26584
26585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26586 fmodl commit.
26587
6043738b
AZ
265882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26589
26590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26591 values higher than 25.6283.
26592
34ae0b32
AZ
265932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26594
26595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26596 subnormal exponent extraction and add some __builtin_expect.
26597 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26598 Fix for subnormal mantissa calculation.
26599
1214ec8f
MF
266002012-06-04 Mike Frysinger <vapier@gentoo.org>
26601
26602 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26603 cpu2 is -1 and errno is not ENOSYS.
26604
f3d1f93c
L
266052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26606
26607 [BZ #14117]
0e4a3cd7
L
26608 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26609 * sysdeps/x86/bits/string.h: This.
26610 * sysdeps/x86_64/bits/string.h: Removed.
26611
6704c645
L
26612 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26613 if not compiling for x86-64, but compiling for >= i486.
26614
48495318
L
26615 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26616 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26617
14adcbfc
L
26618 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26619 New macro from Linux kernel 3.4.0.
26620 (FP_XSTATE_MAGIC2): Likewise.
26621 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26622 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26623 (struct _fpx_sw_bytes): New struct.
26624 (struct _xsave_hdr): Likewise.
26625 (struct _ymmh_state): Likewise.
26626 (struct _xstate): Likewise.
26627
68e408ab
L
26628 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26629 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26630 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26631 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26632 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26633 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26634
f3d1f93c
L
26635 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26636 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26637 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26638 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26639 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26640 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26641
d9dc34cd
TMQMF
266422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26643
26644 [BZ #13743]
26645 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26646 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26647 (sysdep_headers): Include sys/platform/ppc.h.
26648 * sysdeps/powerpc/test-gettimebase.c: Test for
26649 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26650 * manual/Makefile (appendices): Include platform.texi.
26651 * manual/contrib.texi (Contributors): Update @node pointers.
26652 * manual/maint.texi (Maintenance): Likewise.
26653 (Platform): New node.
26654 * manual/platform.texi: New file. Document the new features.
26655
4af3879c
SP
266562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26657 Jakub Jelinek <jakub@redhat.com>
26658
26659 [BZ #14188]
26660 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26661 where __builtin_expect is unavailable.
26662
2fd6ff13
DM
266632012-06-03 David S. Miller <davem@davemloft.net>
26664
26665 * stdlib/longlong.h: Updated from GCC.
26666
173f7220
AS
266672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26668
26669 [BZ #14042]
26670 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26671 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26672 __mcount_internal.
26673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26674 (GLIBC_2.16): Likewise.
26675
f34a1c6f
L
266762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26677
26678 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26679
88a4576f
JM
266802012-06-01 Joseph Myers <joseph@codesourcery.com>
26681
ea32bcdd
JM
26682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26683 (default-abi): New variable.
26684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26685 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26686 variable.
26687 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26688 Likewise.
26689 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26690 Likewise.
26691 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26692 Likewise.
26693
88a4576f
JM
26694 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26695 definition. Document in comment.
26696
402fe938
DM
266972012-06-01 David S. Miller <davem@davemloft.net>
26698
26699 * stdlib/longlong.h: Updated from GCC.
26700
3553723f
L
267012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26702
26703 [BZ #14117]
3bd872c4
L
26704 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26705 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26706 sys/debugreg.h sys/io.h here.
26707 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26708 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26709 sys/io.h.
26710 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26711 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26712 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26713 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26714 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26715 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26716
3553723f
L
26717 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26718 Define only if __x86_64__ is defined.
26719
4842e4fe
JM
267202012-06-01 Joseph Myers <joseph@codesourcery.com>
26721
c5bfe3d5
JM
26722 [BZ #14048]
26723 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26724 Use int64_t for variable i.
26725 * math/libm-test.inc (fmod_test): Add more tests.
26726
4842e4fe
JM
26727 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26728 z computation is not scheduled after fetestexcept.
26729 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26730 Use math_force_eval instead of asm to ensure calculation scheduled
26731 before exception test.
26732 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26733 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26734
efb73488
AJ
267352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26736
26737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26738 computation is not scheduled after fetestexcept.
26739
29bcce7c
L
267402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26741
26742 [BZ #14117]
26743 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26744 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26745
73a68f94
AZ
267462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26747
26748 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26749 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26750
67b6df78
L
267512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26752
edf2933a 26753 [BZ #14117]
ebc64a18
L
26754 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26755 <bits/wordsize.h>.
26756 (__WCHAR_MIN): Support __WORDSIZE == 64.
26757 (__WCHAR_MAX): Likewise.
26758
edf2933a
L
26759 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26761
57c6cf40
L
26762 [BZ #14183]
26763 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26764 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26765
67b6df78 26766 [BZ #14117]
8eb6281e
L
26767 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26768 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26769
aac639f4
L
26770 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26771 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26772
67b6df78
L
26773 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26774 Defined to 1 if __x86_64__ isn't defined.
26775 (_STAT_VER_LINUX_OLD): New.
26776 (st_atime): Remove duplicate.
26777 (st_mtime): Likewise.
26778 (st_ctime): Likewise.
26779
1c2cfe81
DM
267802012-05-31 David S. Miller <davem@davemloft.net>
26781
26782 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26783 entries.
26784
5be8418c
AS
267852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26786
e7725326
AS
26787 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26788 gen-libm-test.pl.
26789
5be8418c
AS
26790 [BZ #14132]
26791 * elf/dl-reloc.c: Include <_itoa.h>.
26792 (_dl_reloc_bad_type): Remove use of INTUSE.
26793 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26794 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26795 * stdio-common/psiginfo.c (psiginfo): Likewise.
26796 * stdio-common/psignal.c (psignal): Likewise.
26797 * string/strsignal.c (strsignal): Likewise.
26798 * include/signal.h (_sys_siglist): Declare hidden proto.
26799 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26800 INTVARDEF with libc_hidden_data_def.
26801 * stdio-common/itoa-udigits.c: Likewise.
26802 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26803 (_itoa_lower_digits_internal): Remove declaration.
26804 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26805 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26806 (_sys_sigabbrev_internal): Remove aliases.
26807 (_sys_siglist): Define hidden alias.
26808
507352f1
MT
268092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26810
26811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26812 bits/sysctl.h.
26813
42bbb1c3
L
268142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26815
26816 [BZ #14117]
6bd784b6
L
26817 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26818 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26819
8bca20f0
L
26820 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26821 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26822 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26823 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26824 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26825 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26826
f9e890a9
L
26827 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26828 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26829 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26830
471101a1
L
26831 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26832 with __addr.
26833 (insw): Likewise.
26834 (insl): Likewise.
26835 (outsb): Likewise.
26836 (outsw): Likewise.
26837 (outsl): Likewise.
26838
6451c862
L
26839 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26840 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26841 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26842
a254b8c9
L
26843 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26844 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26846 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26847 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26848 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26849
b8dfdd92
L
26850 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26851 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26852
578cd270
L
26853 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26854 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26855
de662f5f
L
26856 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26858 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26859
25653439
L
26860 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26861 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26862 to ...
26863 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26864
6bad24a0
L
26865 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26866 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26867 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26868
42bbb1c3
L
26869 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26870 for x86-64.
26871 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26872
2d10d547
JM
268732012-05-31 Joseph Myers <joseph@codesourcery.com>
26874
26875 * math/math.h (M_El): Use two more decimal places.
26876 (M_LOG2El): Likewise.
26877 (M_LOG10El): Likewise.
26878 (M_LN2l): Likewise.
26879 (M_LN10l): Likewise.
26880 (M_PIl): Likewise.
26881 (M_PI_2l): Likewise.
26882 (M_PI_4l): Likewise.
26883 (M_1_PIl): Likewise.
26884 (M_2_PIl): Likewise.
26885 (M_2_SQRTPIl): Likewise.
26886 (M_SQRT2l): Likewise.
26887 (M_SQRT1_2l): Likewise.
26888
f230c29b
DM
268892012-05-31 David S. Miller <davem@davemloft.net>
26890
26891 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26892 values between float registers.
26893 * sysdeps/sparc/sparc64/memset.S: Likewise.
26894 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26895
fed806c3
MF
268962012-05-31 Mike Frysinger <vapier@gentoo.org>
26897
26898 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26899 -D_FORTIFY_SOURCE=1.
26900 (CPPFLAGS-tst-longjmp_chk.c): Define.
26901 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26902 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26903 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26904 CFLAGS-tst-wchar-h.c.
26905
30917259
MP
269062012-05-31 Marek Polacek <polacek@redhat.com>
26907
26908 [BZ #14132]
26909 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26910 __endmntent_internal): Remove declaration.
26911 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26912 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26913 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26914
1c58d5dc
DM
269152012-05-30 David S. Miller <davem@davemloft.net>
26916
26917 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26918 (___Q_simulate_exceptions): Use real FP ops rather than writing
26919 into the %fsr.
26920 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26921 Likewise.
26922
7dc00e0d
L
269232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26924
26925 [BZ #14117]
0bd53985
L
26926 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26927 * sysdeps/x86/bits/xtitypes.h: This.
26928
3a257e66
L
26929 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26930 * sysdeps/x86/bits/wordsize.h: This.
26931
62f62904
L
26932 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26933 * sysdeps/x86/bits/huge_vall.h: This.
26934
404fe9d9
L
26935 * sysdeps/i386/bits/select.h: Removed.
26936 * sysdeps/x86_64/bits/select.h: Renamed to ...
26937 * sysdeps/x86/bits/select.h: This.
26938
d48d0446
L
26939 * sysdeps/i386/bits/setjmp.h: Removed.
26940 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26941 * sysdeps/x86/bits/setjmp.h: This.
26942
7dc00e0d
L
26943 * sysdeps/i386/bits/mathdef.h: Removed.
26944 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26945 * sysdeps/x86/bits/mathdef.h: This.
26946
03277f8f
AS
269472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26948
26949 [BZ #14132]
26950 * include/sys/socket.h (__connect_internal)
26951 (__libc_sa_len_internal): Remove declaration.
26952 (__connect, __libc_sa_len): Declare hidden_proto.
26953 (SA_LEN): Remove use of INTUSE.
26954 * socket/connect.c: Add libc_hidden_def.
26955 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26956 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26957 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26958 alias.
26959 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26960 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26961 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26962 of adding _internal alias.
26963
13764867
L
269642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26965
26966 [BZ #14117]
6bd97696
L
26967 * sysdeps/i386/bits/link.h: Removed.
26968 * sysdeps/i386/bits/linkmap.h: Likewise.
26969 * sysdeps/x86_64/bits/link.h: Renamed to ...
26970 * sysdeps/x86/bits/link.h: This.
26971 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26972 * sysdeps/x86/bits/linkmap.h: This.
26973
f726f0bb
L
26974 * sysdeps/i386/bits/endian.h: Removed.
26975 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26976 * sysdeps/x86/bits/endian.h: This.
26977
13764867
L
26978 * sysdeps/i386/bits/byteswap.h: Removed.
26979 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26980 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26981 * sysdeps/x86/bits/byteswap.h: This.
26982 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26983 * sysdeps/x86/bits/byteswap-16.h: This.
26984 * sysdeps/i386/Implies: Add x86.
26985 * sysdeps/x86_64/Implies: Likewise.
26986
ae251b0b
DM
269872012-05-30 David S. Miller <davem@davemloft.net>
26988
26989 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26990 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26991 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26992 (FP_TRAPPING_EXCEPTIONS): Define.
26993 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26994 (FP_TRAPPING_EXCEPTIONS): Define.
26995 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26996 subnormals only when inexact has been signalled or underflow
26997 exceptions are enabled.
26998 (_FP_PACK_CANONICAL): Likewise.
26999
d5c90867
L
270002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27001
27002 [BZ #14183]
27003 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27004 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27005
63f1549e
RH
270062012-05-30 Richard Henderson <rth@twiddle.net>
27007
8d8f2279
RH
27008 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27009 with #ifndef NOT_IN_libc.
27010
63f1549e
RH
27011 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27012 marked to avoid plt entry.
27013
0ab0291b
L
270142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27015
27016 [BZ #14112]
27017 * Makeconfig (default-abi): New macro.
27018 (abi-includes): Likewise.
27019 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27020 $(abi-$(default-abi)-lib-soname) for soname if defined.
27021 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27022 abi-variants.
27023 * Makefile (installed-stubs): Likewise.
27024 * include/stubs-biarch.h: Removed.
27025 * scripts/lib-names.awk: Only handle one library at a time.
27026 * scripts/soversions.awk: Remove WORDSIZE support.
27027 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27028 entries.
27029 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27030 Removed.
27031 (syscall-list-default-condition): Likewise.
27032 (syscall-list-default-condition): Likewise.
27033 (syscall-list-includes): Likewise.
27034 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27035 syscall-list-* with abi-*. Handle undefined abi-variants.
27036 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27037 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27038 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27039 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27040 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27041 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27042 Removed.
27043 (syscall-list-32-options): Likewise.
27044 (syscall-list-32-condition): Likewise.
27045 (syscall-list-64-options): Likewise.
27046 (syscall-list-64-condition): Likewise.
27047 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27048 macro.
27049 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27050 Renamed to ...
27051 (abi-*): This.
27052 (abi-64-ld-soname): New macro.
27053 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27054 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27055 Renamed to ...
27056 (abi-*): This.
27057 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27058 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27059
4da0431d
JM
270602012-05-30 Joseph Myers <joseph@codesourcery.com>
27061
3a85279c
JM
27062 * sysdeps/unix/sysv/linux/kernel-features.h
27063 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27064 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27065 include <kernel-features.h>.
27066 [!__NR_ftruncate64]: Remove conditional code.
27067 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27068 [__NR_ftruncate64]: Make code unconditional.
27069 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27070 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27071 include <kernel-features.h>.
27072 [!__NR_ftruncate64]: Remove conditional code.
27073 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27074 [__NR_ftruncate64]: Make code unconditional.
27075 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27077 include <kernel-features.h>.
27078 [!__NR_ftruncate64]: Remove conditional code.
27079 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27080 [__NR_ftruncate64]: Make code unconditional.
27081 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27083 include <kernel-features.h>.
27084 [!__NR_ftruncate64]: Remove conditional code.
27085 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27086 [__NR_ftruncate64]: Make code unconditional.
27087 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27088
4da0431d
JM
27089 * configure.in (libc_cv_fpie): Weaken to a compile test using
27090 LIBC_TRY_CC_OPTION.
27091 * configure: Regenerated.
27092
11ef492c
AK
270932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27094
27095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27099 Refreshed.
27100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27106 Refreshed.
27107
d66ef399
DM
271082012-05-27 David S. Miller <davem@davemloft.net>
27109
27110 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27111 (___Q_zero): New.
27112 (__Q_simulate_exceptions): Return void. Change to simulate
27113 exceptions by writing into the %fsr.
27114 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27115 (__Qp_handle_exceptions): Likewise.
27116 (numbers): Delete.
27117 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27118 __Qp_handle_exceptions.
27119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27120 __Qp_handle_exceptions.
27121 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27122 as unused and give dummy FP_RND_NEAREST initializer.
27123 (FP_INHIBIT_RESULTS): Define.
27124 (___Q_simulate_exceptions): Update declaration.
27125 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27126 formatting.
27127 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27128 as unused and give dummy FP_RND_NEAREST initializer.
27129 (__Qp_handle_exceptions): Update declaration.
27130 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27131 formatting.
27132
04fb54b5
TS
271332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27134
27135 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27136 the temporary FPU control word.
27137 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27138 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27139 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27140 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27141 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27142 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27143 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27144 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27145 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27146 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27147 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27148
3f99608f
KK
271492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27150
27151 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27152 fields.
27153
65a4de4e
CLT
271542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27155
27156 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27157 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27158 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27159 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27160 Likewise.
27161 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27162 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27163 Likewise.
27164
15749d40
UD
271652012-05-27 Ulrich Drepper <drepper@gmail.com>
27166
27167 * po/h.po: Update from translation team.
27168
25dbcb27
AS
271692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27170
3d3f8e55
AS
27171 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27172
25dbcb27
AS
27173 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27174 handling of denormals.
27175 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27176 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27177 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27178 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27179 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27182 Likewise.
27183
7ad47a80 271842012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27185
27186 [BZ #14152]
27187 * math/libm-test.inc (fma_test): Don't always expect underflow
27188 exception.
27189
9c6ea9fa
SP
271902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27191
27192 [BZ #12416]
27193 * elf/tst-execstack.c: Include stackinfo.h.
27194 (do_test): Adjust test case to ensure that pthread_getattr_np
27195 behaviour remains the same after marking stack executable.
27196
a8239222
JM
271972012-05-25 Joseph Myers <joseph@codesourcery.com>
27198
27199 * sysdeps/unix/sysv/linux/kernel-features.h
27200 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27201 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27202 kernel-features.h.
27203 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27204 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27205 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27206 kernel-features.h.
27207 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27208 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27209
918b5606
L
272102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27211
27212 * configure.in: Define the default includes to being none.
27213 * configure: Regenerated.
27214
3a097cc7
RM
272152012-05-25 Roland McGrath <roland@hack.frob.com>
27216
8422c9a5
RM
27217 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27218 * sysdeps/x86_64/setjmp.S: Likewise.
27219 * sysdeps/i386/bsd-setjmp.S: Likewise.
27220 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27221 * sysdeps/i386/setjmp.S: Likewise.
27222 * sysdeps/i386/__longjmp.S: Likewise.
27223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27224 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27225
3a097cc7
RM
27226 * include/stap-probe.h: New file.
27227 * configure.in: Handle --enable-systemtap.
27228 * configure: Regenerated.
27229 * config.h.in (USE_STAP_PROBE): New #undef.
27230 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27231 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27232 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27233
21708942
JM
272342012-05-25 Joseph Myers <joseph@codesourcery.com>
27235
27236 [BZ #13717]
27237 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27238 to 2.4.0 where earlier.
27239 * sysdeps/unix/sysv/linux/configure: Regenerated.
27240 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27241 <kernel-features.h>.
27242 [__ASSUME_32BITUIDS]: Make code unconditional.
27243 [!__ASSUME_32BITUIDS]: Remove conditional code.
27244 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27245 <kernel-features.h>.
27246 [__ASSUME_32BITUIDS]: Make code unconditional.
27247 [!__ASSUME_32BITUIDS]: Remove conditional code.
27248 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27249 [__ASSUME_32BITUIDS]: Make code unconditional.
27250 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27251 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27252 <kernel-features.h>.
27253 [__ASSUME_32BITUIDS]: Make code unconditional.
27254 [!__ASSUME_32BITUIDS]: Remove conditional code.
27255 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27256 <kernel-features.h>.
27257 [__ASSUME_32BITUIDS]: Make code unconditional.
27258 [!__ASSUME_32BITUIDS]: Remove conditional code.
27259 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27260 <kernel-features.h>.
27261 [__ASSUME_32BITUIDS]: Make code unconditional.
27262 [!__ASSUME_32BITUIDS]: Remove conditional code.
27263 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27264 <kernel-features.h>.
27265 [__ASSUME_32BITUIDS]: Make code unconditional.
27266 [!__ASSUME_32BITUIDS]: Remove conditional code.
27267 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
27292 <kernel-features.h>.
27293 [__NR_setresgid] (__setresgid): Do not declare.
27294 [__ASSUME_32BITUIDS]: Make code unconditional.
27295 [!__ASSUME_32BITUIDS]: Remove conditional code.
27296 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27297 <kernel-features.h>.
27298 [__NR_setresuid] (__setresuid): Do not declare.
27299 [__ASSUME_32BITUIDS]: Make code unconditional.
27300 [!__ASSUME_32BITUIDS]: Remove conditional code.
27301 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27302 <kernel-features.h>.
27303 [__ASSUME_32BITUIDS]: Make code unconditional.
27304 [!__ASSUME_32BITUIDS]: Remove conditional code.
27305 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27306 <kernel-features.h>.
27307 [__ASSUME_32BITUIDS]: Make code unconditional.
27308 [!__ASSUME_32BITUIDS]: Remove conditional code.
27309 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27310 <kernel-features.h>.
27311 [__ASSUME_32BITUIDS]: Make code unconditional.
27312 [!__ASSUME_32BITUIDS]: Remove conditional code.
27313 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27314 <kernel-features.h>.
27315 [__ASSUME_32BITUIDS]: Make code unconditional.
27316 [!__ASSUME_32BITUIDS]: Remove conditional code.
27317 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27318 <kernel-features.h>.
27319 [__ASSUME_32BITUIDS]: Make code unconditional.
27320 [!__ASSUME_32BITUIDS]: Remove conditional code.
27321 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27322 <kernel-features.h>.
27323 [__ASSUME_32BITUIDS]: Make code unconditional.
27324 [!__ASSUME_32BITUIDS]: Remove conditional code.
27325 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27326 <kernel-features.h>.
27327 [__ASSUME_32BITUIDS]: Make code unconditional.
27328 [!__ASSUME_32BITUIDS]: Remove conditional code.
27329 * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.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/i386/shmctl.c: Do not include
27338 <kernel-features.h>.
27339 [__ASSUME_32BITUIDS]: Make code unconditional.
27340 [!__ASSUME_32BITUIDS]: Remove conditional code.
27341 * sysdeps/unix/sysv/linux/kernel-features.h
27342 (__ASSUME_SETRESUID_SYSCALL): Remove.
27343 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27344 (__ASSUME_32BITUIDS): Likewise.
27345 (__ASSUME_LDT_WORKS): Likewise.
27346 (__ASSUME_O_DIRECTORY): Likewise.
27347 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27348 architecture but not kernel version.
27349 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27350 (__ASSUME_MMAP2_SYSCALL): Likewise.
27351 (__ASSUME_STAT64_SYSCALL): Likewise.
27352 (__ASSUME_IPC64): Likewise.
27353 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27354 <kernel-features.h>.
27355 [__ASSUME_32BITUIDS]: Make code unconditional.
27356 [!__ASSUME_32BITUIDS]: Remove conditional code.
27357 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27358 <kernel-features.h>.
27359 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27360 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27361 132096]: Remove conditional code.
27362 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27363 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27364 <kernel-features.h>.
27365 [__ASSUME_32BITUIDS]: Make code unconditional.
27366 [!__ASSUME_32BITUIDS]: Remove conditional code.
27367 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27368 <kernel-features.h>.
27369 [__ASSUME_32BITUIDS]: Make code unconditional.
27370 [!__ASSUME_32BITUIDS]: Remove conditional code.
27371 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27372 <kernel-features.h>.
27373 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27374 unconditional.
27375 (__setresgid): Do not declare.
27376 [__ASSUME_32BITUIDS]: Make code unconditional.
27377 [!__ASSUME_32BITUIDS]: Remove conditional code.
27378 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27379 <kernel-features.h>.
27380 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27381 unconditional.
27382 (__setresuid): Do not declare.
27383 [__ASSUME_32BITUIDS]: Make code unconditional.
27384 [!__ASSUME_32BITUIDS]: Remove conditional code.
27385 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27386 <kernel-features.h>.
27387 [__ASSUME_32BITUIDS]: Make code unconditional.
27388 [!__ASSUME_32BITUIDS]: Remove conditional code.
27389 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27390 <kernel-features.h>.
27391 [__ASSUME_32BITUIDS]: Make code unconditional.
27392 [!__ASSUME_32BITUIDS]: Remove conditional code.
27393
a386f1cc
RH
273942012-05-25 Richard Henderson <rth@twiddle.net>
27395
27396 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27397 dl_hwcap to ifunc resolver.
27398 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27399 elf_ifunc_invoke.
27400 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27401 dl_hwcap to ifunc resolver.
27402 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27403
b6550497
JM
274042012-05-24 Joseph Myers <joseph@codesourcery.com>
27405
27406 [BZ #14153]
27407 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27408 for |x| <= 2**-26, not 2**-57.
27409 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27410 exception.
27411
b0bc23a1
JL
274122012-05-24 Jeff Law <law@redhat.com>
27413
27414 * stdio-common/Makefile (tests): Add bug25.
27415 * stdio-common/bug25.c: New test.
27416
347c92e9
L
274172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27418
27419 [BZ #13576]
27420 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27421 multiple of MALLOC_ALIGNMENT in size.
27422 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27423
6bcc8b3f
JM
274242012-05-24 Joseph Myers <joseph@codesourcery.com>
27425
27426 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27427 Require >= 256.
27428 (FILENAME_MAX): Use macro-int-constant.
27429 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27430 (_IOFBF): Use macro-int-constant.
27431 (_IOLBF): Likewise.
27432 (_IONBF): Likewise.
27433 (SEEK_CUR): Likewise.
27434 (SEEK_END): Likewise.
27435 (SEEK_SET): Likewise.
27436 (TMP_MAX): Likewise.
27437 (EOF): Use macro-int-constant. Require < 0.
27438 (NULL): Use macro-constant. Require == 0.
27439 (stdin): Require type to be FILE *.
27440 (stdout): Likewise.
27441 (stderr): Likewise.
27442 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27443 macro-int-constant.
27444 (EXIT_SUCCESS): Likewise.
27445 (NULL): Use macro-constant. Require == 0.
27446 (RAND_MAX): Use macro-int-constant.
27447 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27448 [C99-based standards] (strtof): Require function.
27449 [C99-based standards] (strtold): Likewise.
27450 [C99-based standards] (strtoll): Likewise.
27451 [C99-based standards] (strtoull): Likewise.
27452 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27453 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27454 [ISO || ISO99 || ISO11] (math.h): Likewise.
27455 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27456 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27458
d18ea0c5
AS
274592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27460
27461 [BZ #14132]
56d25bb8
AS
27462 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27463 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27464 * intl/dgettext.c (DCGETTEXT): Likewise.
27465 * intl/gettext.c (DCGETTEXT): Likewise.
27466 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27467 * posix/regex_internal.h (gettext): Likewise.
27468 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27469 Remove declaration.
27470 * include/argz.h (__argz_count_internal)
27471 (__argz_stringify_internal): Remove declaration.
27472 (__argz_count, __argz_stringify): Declare hidden proto.
27473 * intl/dcgettext.c: Remove use of INTDEF.
27474 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27475 * string/argz-stringify.c: Likewise.
27476 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27477 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27478 Declare hidden proto.
d18ea0c5
AS
27479 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27480 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27481 Declare hidden proto.
27482 * include/stdio.h (__asprintf_internal): Don't declare.
27483 (__asprintf): Don't define as macro. Declare hidden proto.
27484 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27485 (__fsetlocking): Declare hidden proto.
27486 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27487 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27488 hidden proto.
27489 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27490 (_IO_setlinebuf): Remove use of INTUSE.
27491 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27492 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27493 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27494 Remove declaration.
27495 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27496 (_IO_do_flush): Remove use of INTUSE.
27497 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27498 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27499 (_IO_adjust_column, _IO_least_wmarker)
27500 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27501 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27502 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27503 (_IO_default_doallocate, _IO_wdefault_doallocate)
27504 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27505 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27506 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27507 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27508 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27509 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27510 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27511 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27512 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27513 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27514 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27515 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27516 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27517 proto.
27518 (_IO_flush_all_internal, _IO_adjust_column_internal)
27519 (_IO_default_uflow_internal, _IO_default_finish_internal)
27520 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27521 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27522 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27523 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27524 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27525 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27526 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27527 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27528 (_IO_file_close_internal, _IO_file_close_it_internal)
27529 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27530 (_IO_file_init_internal, _IO_file_attach_internal)
27531 (_IO_file_fopen_internal, _IO_file_read_internal)
27532 (_IO_file_sync_internal, _IO_file_seek_internal)
27533 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27534 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27535 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27536 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27537 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27538 (_IO_list_all_internal, _IO_link_in_internal)
27539 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27540 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27541 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27542 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27543 (_IO_do_write_internal, _IO_padn_internal)
27544 (_IO_getline_info_internal, _IO_getline_internal)
27545 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27546 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27547 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27548 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27549 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27550 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27551 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27552 with libc_hidden_ver, remove use of INTUSE.
27553 * libio/genops.c: Likewise.
27554 * libio/freopen.c: Likewise.
27555 * libio/freopen64.c: Likewise.
27556 * libio/iofclose.c: Likewise.
27557 * libio/iofdopen.c: Likewise.
27558 * libio/iofflush.c: Likewise.
27559 * libio/iofflush_u.c: Likewise.
27560 * libio/iofgets.c: Likewise.
27561 * libio/iofgets_u.c: Likewise.
27562 * libio/iofopen.c: Likewise.
27563 * libio/iofopncook.c: Likewise.
27564 * libio/iofread.c: Likewise.
27565 * libio/iofread_u.c: Likewise.
27566 * libio/ioftell.c: Likewise.
27567 * libio/iofwrite.c: Likewise.
27568 * libio/iogetline.c: Likewise.
27569 * libio/iogets.c: Likewise.
27570 * libio/iogetwline.c: Likewise.
27571 * libio/iopadn.c: Likewise.
27572 * libio/iopopen.c: Likewise.
27573 * libio/ioseekoff.c: Likewise.
27574 * libio/ioseekpos.c: Likewise.
27575 * libio/iosetbuffer.c: Likewise.
27576 * libio/iosetvbuf.c: Likewise.
27577 * libio/ioungetc.c: Likewise.
27578 * libio/ioungetwc.c: Likewise.
27579 * libio/iovdprintf.c: Likewise.
27580 * libio/iovsprintf.c: Likewise.
27581 * libio/iovsscanf.c: Likewise.
27582 * libio/memstream.c: Likewise.
27583 * libio/obprintf.c: Likewise.
27584 * libio/oldfileops.c: Likewise.
27585 * libio/oldiofclose.c: Likewise.
27586 * libio/oldiofdopen.c: Likewise.
27587 * libio/oldiofopen.c: Likewise.
27588 * libio/oldiopopen.c: Likewise.
27589 * libio/oldstdfiles.c: Likewise.
27590 * libio/putc.c: Likewise.
27591 * libio/setbuf.c: Likewise.
27592 * libio/setlinebuf.c: Likewise.
27593 * libio/stdfiles.c: Likewise.
27594 * libio/strops.c: Likewise.
27595 * libio/vasprintf.c: Likewise.
27596 * libio/vscanf.c: Likewise.
27597 * libio/vsnprintf.c: Likewise.
27598 * libio/vswprintf.c: Likewise.
27599 * libio/wfiledoalloc.c: Likewise.
27600 * libio/wfileops.c: Likewise.
27601 * libio/wgenops.c: Likewise.
27602 * libio/wmemstream.c: Likewise.
27603 * libio/wstrops.c: Likewise.
27604 * libio/__fpurge.c: Likewise.
27605 * libio/__fsetlocking.c: Likewise.
27606 * assert/assert.c: Likewise.
27607 * debug/fgets_chk.c: Likewise.
27608 * debug/fgets_u_chk.c: Likewise.
27609 * debug/fread_chk.c: Likewise.
27610 * debug/fread_u_chk.c: Likewise.
27611 * debug/gets_chk.c: Likewise.
27612 * debug/obprintf_chk.c: Likewise.
27613 * debug/vasprintf_chk.c: Likewise.
27614 * debug/vdprintf_chk.c: Likewise.
27615 * debug/vsnprintf_chk.c: Likewise.
27616 * debug/vsprintf_chk.c: Likewise.
27617 * malloc/mtrace.c: Likewise.
27618 * misc/error.c: Likewise.
27619 * misc/syslog.c: Likewise.
27620 * stdio-common/asprintf.c: Likewise.
27621 * stdio-common/fxprintf.c: Likewise.
27622 * stdio-common/getw.c: Likewise.
27623 * stdio-common/isoc99_fscanf.c: Likewise.
27624 * stdio-common/isoc99_scanf.c: Likewise.
27625 * stdio-common/isoc99_vfscanf.c: Likewise.
27626 * stdio-common/isoc99_vscanf.c: Likewise.
27627 * stdio-common/isoc99_vsscanf.c: Likewise.
27628 * stdio-common/printf-prs.c: Likewise.
27629 * stdio-common/printf_fp.c: Likewise.
27630 * stdio-common/printf_fphex.c: Likewise.
27631 * stdio-common/printf_size.c: Likewise.
27632 * stdio-common/putw.c: Likewise.
27633 * stdio-common/scanf.c: Likewise.
27634 * stdio-common/sprintf.c: Likewise.
27635 * stdio-common/tmpfile.c: Likewise.
27636 * stdio-common/vfprintf.c: Likewise.
27637 * stdio-common/vfscanf.c: Likewise.
27638 * stdlib/strfmon_l.c: Likewise.
27639 * sunrpc/openchild.c: Likewise.
27640 * sunrpc/xdr_stdio.c: Likewise.
27641 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27642 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27643
d6c33fda
RM
276442012-05-24 Roland McGrath <roland@hack.frob.com>
27645
c1487492
RM
27646 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27647
27648 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27649 in the third column, to generate for the shared library an IFUNC
27650 that uses _dl_vdso_vsym.
27651 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27652 * Makeconfig (object-suffixes-noshared): New variable.
27653
27654 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27655 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27656 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27657 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27658
d6c33fda
RM
27659 [BZ #14132]
27660 * include/sys/time.h (__gettimeofday): Remove macro.
27661 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27662 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27663 Remove INTDEF.
27664 (__gettimeofday): Add libc_hidden_def.
27665 (gettimeofday): Add libc_hidden_weak.
27666 * sysdeps/mach/gettimeofday.c: Likewise.
27667 * sysdeps/posix/gettimeofday.c: Likewise.
27668 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27669 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27670 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27671 (__gettimeofday_internal): Remove strong_alias.
27672 (__gettimeofday): Add libc_hidden_def.
27673 (gettimeofday): Add libc_hidden_weak.
27674 * sysdeps/unix/syscalls.list (gettimeofday):
27675 Remove __gettimeofday_internal alias.
27676
b5a2bbe6
L
276772012-05-24 Daniel Jacobowitz <drow@false.org>
27678 H.J. Lu <hongjiu.lu@intel.com>
27679
27680 [BZ #12495]
27681 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27682 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27683 (largebin_index_32_big): New.
27684 (largebin_index): Use it for 16-byte alignment.
27685 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27686 correction with front_misalign.
27687
cfba4fda
L
276882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27689
7f907421
L
27690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27692 Likewise.
27693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27694 Likewise.
27695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27696 Likewise.
27697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27698 Likewise.
27699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27700 Likewise.
27701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27702 Likewise.
27703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27704 Likewise.
27705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27706 Likewise.
27707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27708 Likewise.
27709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27710 Likewise.
27711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27712 Likewise.
27713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27714 Likewise.
27715
cfba4fda
L
27716 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27717 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27718
80bad0cc
JM
277192012-05-24 Joseph Myers <joseph@codesourcery.com>
27720
7a25eb06
JM
27721 [BZ #10846]
27722 [BZ #14036]
27723 * math/libm-test.inc (exp_test): Add test from bug 14036.
27724 (pow_test): Add test from bug 10846.
27725
795405f9
JM
27726 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27727 and other flags.
27728 (special_function): Do not include flags in test name.
27729 (parse_args): Likewise.
27730 * sysdeps/i386/fpu/libm-test-ulps: Update.
27731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27732 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27733 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27735
80bad0cc
JM
27736 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27737 exceptions.
27738 * math/libm-test.inc ("Philosophy"): Update comment about
27739 exception testing.
27740 (UNDERFLOW_EXCEPTION): New macro.
27741 (UNDERFLOW_EXCEPTION_OK): Likewise.
27742 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27743 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27744 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27745 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27746 (INVALID_EXCEPTION_OK): Update value.
27747 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27748 (OVERFLOW_EXCEPTION_OK): Likewise.
27749 (IGNORE_ZERO_INF_SIGN): Likewise.
27750 (test_exceptions): Handle underflow exceptions.
27751 (acos_test): Update for underflow exception expectations.
27752 (cexp_test): Likewise.
27753 (clog_test): Likewise.
27754 (clog10_test): Likewise.
27755 (csqrt_test): Likewise.
27756 (ctan_test): Likewise.
27757 (ctanh_test): Likewise.
27758 (exp_test): Likewise.
27759 (exp10_test): Likewise.
27760 (exp2_test): Likewise.
27761 (expm1_test): Likewise.
27762 (fma_test): Likewise.
27763 (j0_test): Likewise.
27764 (jn_test): Likewise.
27765 (nexttoward_test): Likewise.
27766 (pow_test): Likewise.
27767 (scalbn_test): Likewise.
27768 (scalbln_test): Likewise.
27769 (tan_test): Likewise.
27770 (y1_test): Likewise.
27771 * sysdeps/i386/fpu/libm-test-ulps: Update.
27772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27773
9e0e3d0b
DM
277742012-05-23 David S. Miller <davem@davemloft.net>
27775
27776 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27777 (__libc_sigaction): Remove unused local variables.
27778
ccd0a08f
L
277792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27780
27781 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27782
62bdf9a6
PE
277832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27784
f8591f80
PE
27785 mktime: avoid signed integer overflow
27786 * time/mktime.c (__mktime_internal): Do not mishandle the case
27787 where diff == INT_MIN.
27788
94c7d826
PE
27789 mktime: simplify computation of average
27790 * time/mktime.c (ranged_convert): Use new time_t_avg function
27791 instead of rolling our own (probably-slower) code.
27792
ce73d683
PE
27793 mktime: do not assume signed right shift propagates sign bit
27794 * time/mktime.c (isdst_differ): New static function.
27795 (__mktime_internal): No need to normalize tm_isdst now.
27796 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27797 tm_isdst values.
27798
72a22e59
PE
27799 mktime: merge another wrapv change from gnulib
27800 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27801 from some compilers.
27802
68605433
PE
27803 mktime: remove incorrect attempt at unusual arithmetics
27804 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27805 The code didn't really work on such machines anyway.
27806 (TYPE_MINIMUM): Assume two's complement.
27807 (twos_complement_arithmetic): Verify that long_int and time_t
27808 are two's complement (or unsigned, in the latter case).
27809
03cf7fe3
PE
27810 mktime: check signed shifts on long_int and time_t, too
27811 * time/mktime.c (SHR): Check that shifts work as desired
27812 on the types long_int and time_t too, as SHR is used on
27813 such types.
27814
f04dfbc2
PE
27815 mktime: do not assume 'long' is wide enough
27816 * time/mktime.c (verify): Move decl up.
27817 (long_int): New type.
27818 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27819 to remove assumption in the code that 'long' is wide enough to
27820 store year values. This assumption is not true on x32 and on
27821 some non-glibc platforms.
27822
62bdf9a6
PE
27823 mktime: merge wrapv change from gnulib
27824 * time/mktime.c (WRAPV): New macro.
27825 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27826 (guess_time_tm, __mktime_internal): Do not assume that signed
27827 integer overflow wraps around; modern compilers generate code
27828 where this assumption is no longer valid.
27829
5e292e4f
L
278302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27831
27832 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27833 Replace "jmp L(pseudo_end)" with "ret".
27834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27835 Likewise.
27836
8caf8c87
AJ
278372012-05-23 Andreas Jaeger <aj@suse.de>
27838
27839 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27840 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27841
1a09dc56
AJ
278422012-05-23 Andreas Jaeger <aj@suse.de>
27843 Maximilian Attems <max@stro.at>
27844
27845 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27846 New macros.
27847
1c87aba0
L
278482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27849
27850 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27851 code so that pseudo_end is just ret and the stack pointer is
27852 correct also for static library in error case.
27853
40e45bd5
JM
278542012-05-23 Joseph Myers <joseph@codesourcery.com>
27855
c2670533
JM
27856 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27857 move to syscalls.list.
27858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27862
40e45bd5
JM
27863 * manual/install.texi (Running make install): Do not mention Linux
27864 kernel version for which pt_chown is not needed.
27865 (Linux): Do not mention problems with nscd with 2.0 kernels.
27866 * INSTALL: Regenerated.
27867
be08eda5
AJ
278682012-05-23 Andreas Jaeger <aj@suse.de>
27869
27870 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27871 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27872 macro.
27873 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27874 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27875 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27876 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27877 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27878 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27880 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27881 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27882 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27883 * sysdeps/unix/sysv/linux/bits/in.h
27884 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27885
a6a056bb
RM
278862012-05-22 Roland McGrath <roland@hack.frob.com>
27887
27888 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27889 (PREPARE_VERSION): Just use assert instead, it will be elided
27890 under [NDEBUG] anyway.
27891
c9009328
L
278922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27893
27894 * sysdeps/unix/sysv/linux/Makefile: Include
27895 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27896 (sysdep_routines): Remove sysctl.
c9009328
L
27897 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27898 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27899 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27900 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27901 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27902
73338355
AJ
279032012-05-22 Andreas Jaeger <aj@suse.de>
27904
27905 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27906 that pseudo_end is just ret and the stack pointer is correct also
27907 for static library in error case.
27908
d44638b0
PP
279092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27910
27911 [BZ #14122]
27912 * nss/nsswitch.c (defconfig_entries): New variable.
27913 (__nss_database_lookup): Don't leak defconfig entries.
27914 (nss_parse_service_list): Don't leak on error paths.
27915 (free_database_entries): New function.
27916 (free_defconfig): New function.
27917 (free_mem): Move common code to free_database_entries.
27918
31a39bd8
L
279192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27920
da0331a8
L
27921 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27922 Add arch_prctl.
27923 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27924
31a39bd8
L
27925 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27926 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27928 New macro.
27929 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27930 (INTERNAL_SYSCALL_TYPES): Likewise.
27931 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27932 (LOAD_REGS_TYPES_[1-6]): Likewise.
27933 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27934 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27935
45470df3
AZ
279362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27937
27938 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27939 copysignl for GLIBC_2_0.
27940 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27941 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27943 logbl for GLIBC_2_0.
27944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27945 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27946
98a61bcb
L
279472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27948
a4f6e481
L
27949 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27950 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27951
f63d5db6
L
27952 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27953 Use "neg %eax".
27954
98a61bcb
L
27955 * time/mktime.c: Update copyright years.
27956
95770f14
PE
279572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27958
6226efbd
PE
27959 mktime: merge comment-quoting-style change from gnulib
27960 * time/mktime.c: Quote 'like this' in comments.
27961 The GNU coding standards suggest that we no longer quote `like this',
27962 as "`" and "'" are typically rendered asymmetrically nowadays.
27963 The typical gnulib style is to quote 'like this' when quoting
27964 code, and "like this" when quoting English.
27965
b99e4f78
PE
27966 * time/mktime.c (compile-command): Add "-I.".
27967
643e01e6
PE
27968 mktime: merge mktime-internal.h change from gnulib
27969 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27970
2554247d
PE
27971 mktime: merge time_r change from gnulib
27972 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27973
826dd0ab
PE
27974 mktime: merge DEBUG change from gnulib
27975 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27976 case system <time.h> has a #define.
27977
bd83aabe
PE
27978 mktime: merge <sys/types.h> change from gnulib
27979 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27980 since <time.t> is now guaranteed to define time_t.
27981
95770f14
PE
27982 mktime: merge HAVE_CONFIG_H change from gnulib
27983 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27984
5e1a27a9
L
279852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27986
0e44a77e
L
27987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27988 Use "neg %eax".
27989
5e1a27a9
L
27990 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27991 __rlim_t cast.
27992 (struct rusage): Use anonymous union to pad each field to
27993 __syscall_slong_t.
27994
46259bec
DM
279952012-05-21 David S. Miller <davem@davemloft.net>
27996
27997 * Makefules (o-iterator): Remove .s cases.
27998 (compile-command.s): Delete.
27999 (COMPILE.s): Delete.
28000 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28001
59f0c22e
JM
280022012-05-21 Joseph Myers <joseph@codesourcery.com>
28003
28004 * configure.in (libc_cv_predef_stack_protector): Only consider
28005 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28006 * configure: Regenerated.
28007
20c07380
L
280082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28009
bbb3154b
L
28010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28011 New macro. Use R*LP on int and pointer.
28012 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28013 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28014 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28015 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28016
20c07380
L
28017 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28018 [__WORDSIZE_TIME64_COMPAT32] instead of
28019 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28020 (struct utmp): Likewise.
28021 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28022 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28023 Renamed to ...
28024 (__WORDSIZE_TIME64_COMPAT32): This.
28025 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28026 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28027 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28028 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28029 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28030 (__WORDSIZE_TIME64_COMPAT32): New macro.
28031
d8d1017e
AJ
280322012-05-21 Andreas Jaeger <aj@suse.de>
28033
28034 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28035 only if [SHARED]. Add prototype for __wcschr_ia32.
28036
6c7fb145
RM
280372012-05-21 Roland McGrath <roland@hack.frob.com>
28038
28039 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28040 of %rbp unmolested in the jmp_buf while mangling the low bits.
28041 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28042 unmolested high bits of %rbp while demangling the low bits.
28043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28044
66274218
AJ
280452012-05-21 Andreas Jaeger <aj@suse.de>
28046
07c58f8f
AJ
28047 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28048 * sunrpc/svc_simple.c: Use it for registerrpc.
28049 * sunrpc/xcrypt.c: Use it for passwd2des.
28050
66274218
AJ
28051 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28052
61f65140
L
280532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28054
28055 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28056 Don't define if [__SYSCALL_WORDSIZE != 32].
28057 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28058 New macro.
28059
5fefb436
AJ
280602012-05-21 Bruno Haible <bruno@clisp.org>
28061 Andreas Jaeger <aj@suse.de>
28062
28063 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28064 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28065 inptr and inend for must_buffer_ch.
28066 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28067 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28068 * stdio-common/Makefile (tests): Remove bug15.
28069 (bug15-ENV): Remove macro.
28070 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28071 anymore.
28072
d8e272ab
AJ
280732012-05-19 Andreas Jaeger <aj@suse.de>
28074 Roland McGrath <roland@hack.frob.com>
28075
28076 * manual/contrib.texi: Completely rewritten. It contains now an
28077 alphabetical list of contributors and their contributions.
28078
4a56a162
RH
280792012-05-21 Richard Henderson <rth@twiddle.net>
28080
28081 * misc/getauxval.c (__getauxval): Use unsigned long int.
28082 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28083 (getauxval): Use unsigned long int.
28084
d024d23c
L
280852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28086
28087 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28088
cbc00a03
RM
280892012-05-21 Roland McGrath <roland@hack.frob.com>
28090
28091 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28092 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28093 __alignof__ (long double).
28094
478143fa
AZ
280952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28096
28097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28098
c7683a6d
RH
280992012-05-20 Richard Henderson <rth@twiddle.net>
28100
28101 * misc/getauxval.c: New file.
28102 * misc/sys/auxv.h: New file.
28103 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28104 (routines): Add getauxval.
28105 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28106 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28107 * elf/dl-sysdep.c (_dl_auxv): Remove.
28108 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28109 * elf/dl-support.c (_dl_auxv): New variable.
28110 (_dl_aux_init): Initialize it.
28111 * manual/startup.texi (Auxiliary Vector): New node.
28112 * sysdeps/generic/bits/hwcap.h: New file.
28113 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28114 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28115 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28116 * sysdeps/sparc/sysdep.h: ... here. Include it.
28117 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28118 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28120 Update.
c7683a6d
RH
28121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28124 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28129
a6f1845d
AZ
281302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28131
28132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28133
cbcbe830
DM
281342012-05-19 David S. Miller <davem@davemloft.net>
28135
28136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28137
e0b16cc2
JM
281382012-05-19 Joseph Myers <joseph@codesourcery.com>
28139
28140 [BZ #14123]
28141 * math/s_ccosh.c: Include <float.h>
28142 (__ccosh): Avoid internal overflow calculating sinh and cosh
28143 values before multiplying by sin and cos values.
28144 * math/s_ccoshf.c: Likewise.
28145 * math/s_ccoshl.c: Likewise.
28146 * math/s_csin.c: Likewise.
28147 * math/s_csinf.c: Likewise.
28148 * math/s_csinl.c: Likewise.
28149 * math/s_csinh.c: Likewise.
28150 * math/s_csinhf.c: Likewise.
28151 * math/s_csinhl.c: Likewise.
28152 * math/libm-test.inc (ccos_test): Add more tests.
28153 (ccosh_test): Likewise.
28154 (csin_test): Likewise.
28155 (csinh_test): Likewise.
28156 * sysdeps/i386/fpu/libm-test-ulps: Update.
28157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28158
6ad13e08
L
281592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28160
f66f0ce8
L
28161 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28162 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28163
6ad13e08
L
28164 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28165
b1d072a7
JM
281662012-05-19 Joseph Myers <joseph@codesourcery.com>
28167
28168 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28169 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28170 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28171 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28172 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28173 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28174 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28175 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28176 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28177 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28178 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28179 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28180 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28181 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28182 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28183 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28184 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28185 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28186 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28187 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28188 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28189 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28190 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28191 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28192 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28193 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28194 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28195 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28196 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28197 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28198 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28199
9eae47cb
AJ
282002012-05-18 Andreas Jaeger <aj@suse.de>
28201
28202 * csu/.gitignore: Delete.
28203
bb07f69f
L
282042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28205
28206 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28207 (timex): Use __syscall_slong_t.
28208
e6bdb741
AJ
282092012-05-18 Andreas Jaeger <aj@suse.de>
28210 Carlos O'Donell <carlos_odonell@mentor.com>
28211
28212 * manual/install.texi (Configuring and compiling): Update
28213 description about files modified in the source directory.
d6c33fda 28214 * INSTALL: Regenerated.
e6bdb741 28215
1b74487e
L
282162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28217
28218 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28219 value. Use "or" to set return value to -1.
28220 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28221 negate return value.
28222
a88b64b9
TMQMF
282232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28224
28225 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28226 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28227 failure if the compiler has Graphite support disabled.
28228 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28229 Likewise.
28230 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28231 CFLAGS-memmove.c): Likewise.
28232 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28233 Likewise.
28234
3707636e
L
282352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28236
610b8622
L
28237 * sysdeps/x86_64/x32/_itoa.h: New file.
28238
7cd195df
L
28239 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28240 getdents system call only if kernel and user dirents have the
28241 same d_ino and d_off.
28242
94b07d20
L
28243 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28244 LLONG_MAX != LONG_MAX.
28245 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28246 (_fitoa_word): Likewise.
28247
18298070
L
28248 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28249 years.
28250 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28251 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28252 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28253
553c7ea4
L
28254 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28255 include <bits/wordsize.h>. Check __x86_64__ instead of
28256 __WORDSIZE.
28257 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28258 if __x86_64__ is defined. Use anonymous union on fpstate.
28259
3707636e
L
28260 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28261 anonymous union.
28262
b53ef01a
AS
282632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28264
37fb1dc0
AS
28265 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28266 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28267 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28268 Refer to _rtld_local_ro instead of _rtld_global_ro.
28269 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28270 Likewise.
28271 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28272 Likewise.
28273 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28274 Likewise.
28275 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28276 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28277 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28278
b53ef01a
AS
28279 * sysdeps/powerpc/powerpc32/dl-machine.c
28280 (__elf_machine_runtime_setup) [PROF]: Don't reference
28281 _dl_prof_resolve.
28282
7a185db2
AJ
282832012-05-18 Andreas Jaeger <aj@suse.de>
28284
28285 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28286 function only available for GCCs before 3.4 since GCC 3.4
28287 introduced a builtin.
28288 (lrint): Likewise.
28289 (llrintf): Likewise.
28290 (llrint): Likewise.
28291 (fmaxf): Likewise.
28292 (fmax): Likewise.
28293 (fminf): Likewise.
28294 (fmin): Likewise.
28295 (rint): Likewise.
28296 (rintf): Likewise.
28297 (nearbyint): Likewise.
28298 (nearbyintf): Likewise.
28299 (ceil): Likewise.
28300 (ceilf): Likewise.
28301 (floor): Likewise.
28302 (floorf): Likewise.
28303
3e5aef87
L
283042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28305
428bd707
L
28306 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28307 on both fields and cast pointer to __syscall_ulong_t.
28308
3e5aef87
L
28309 * bits/types.h (__fsword_t): New type.
28310 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28311 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28313 (__FSWORD_T_TYPE): Likewise.
28314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28315 (__FSWORD_T_TYPE): Likewise.
28316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28317 (__FSWORD_T_TYPE): Likewise.
28318 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28319 (__FSWORD_T_TYPE): Likewise.
28320 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28321 __SWORD_TYPE with __fsword_t.
28322 (statfs64): Likewise.
28323
1ba7c3dc
DM
283242012-05-17 David S. Miller <davem@davemloft.net>
28325
28326 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28327
59910343
AJ
283282012-05-17 Andreas Jaeger <aj@suse.de>
28329
28330 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28331 warning.
28332
2e4c1e9e
L
283332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28334
28335 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28336
de7f5ce7
AJ
283372012-05-17 Andreas Jaeger <aj@suse.de>
28338
28339 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28340 when it is used.
28341
286abc3d
CM
283422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28343
28344 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28345
477cc68e
L
283462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28347
28348 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28349 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28350
1a0994f5
CD
283512012-05-17 Andreas Jaeger <aj@suse.de>
28352 Carlos O'Donell <carlos_odonell@mentor.com>
28353
28354 [BZ #14059]
28355 * sysdeps/x86_64/multiarch/init-arch.h
28356 (bit_YMM_Usable): Rename to...
28357 (bit_AVX_Usable): ... this.
28358 (bit_FMA4_Usable): New macro.
28359 (bit_XMM_state): New macro.
28360 (bit_YMM_state): New macro.
28361 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28362 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28363 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28364 (CPUID_OSXSAVE): New macro.
28365 (CPUID_AVX): New macro.
28366 (CPUID_FMA4): New macro.
28367 (index_YMM_Usable): Rename to...
28368 (index_AVX_Usable): ... this.
28369 (HAS_AVX): Use HAS_ARCH_FEATURE.
28370 (HAS_FMA4): Likewise.
28371 (HAS_YMM_USABLE): Remove.
28372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28373 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28374 are present.
28375 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28376 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28377 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28378 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28379 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28380
0af797de
CM
283812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28382
28383 * math/libm-test.c: Support platforms without multiple rounding modes.
28384 * math/bug-nextafter.c: Support platforms without FP exceptions.
28385 * math/bug-nexttoward.c: Likewise.
28386 * math/test-fenv.c: Likewise.
28387 * math/test-misc.c: Likewise.
28388 * stdlib/bug-getcontext.c: Likewise.
28389
e39745ff
AJ
283902012-05-17 Andreas Jaeger <aj@suse.de>
28391
28392 * manual/examples/search.c (critter_cmp): Change signature to
28393 avoid warnings.
28394 * manual/string.texi (Collation Functions): Likewise.
28395
48970aba
L
283962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28397
28398 * bits/types.h: Fold copyright years.
28399 * bits/typesizes.h: Likewise.
28400 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28404 * time/time.h: Likewise.
28405
bedee953
PP
284062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28407
28408 [BZ #208]
28409 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28410 in instead of returning them. Return void.
28411 (__libc_mallinfo): Accumulate over all arenas.
28412 (__malloc_stats): Adjust for change in int_mallinfo interface.
28413
61653dfb
RM
284142012-05-16 Roland McGrath <roland@hack.frob.com>
28415
30b99d79
RM
28416 [BZ #10375]
28417 * configure.in (NM): Add AC_CHECK_TOOL for it.
28418 (libc_extra_cflags): New substituted variable.
28419 Check for -fstack-protector being used implicitly.
28420 * configure: Regenerated.
28421 * config.make.in (config-extra-cflags): New variable,
28422 gets @libc_extra_cflags@.
28423 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28424
61653dfb
RM
28425 [BZ #10375]
28426 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28427 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28428 * configure: Regenerated.
28429 * config.make.in (CPPUNDEFS): New substituted variable.
28430 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28431 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28432 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28433
661768bb
L
284342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28437 (mq_attr): Use __syscall_slong_t.
28438
d4261567
L
284392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28440
28441 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28442 Check __x86_64__ instead of __WORDSIZE.
28443 (_STAT_VER_LINUX): Likewise.
28444 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28445 __syscall_ulong_t and __syscall_slong_t.
28446 (stat64): Likewise.
28447
cf3ff365
L
284482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28449
28450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28451
76cf3e4d
L
284522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28453
28454 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28455
a637753a
L
284562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28457
28458 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28459 __syscall_ulong_t.
28460
d5e05119
L
28461 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28462 include <bits/wordsize.h>. Check __x86_64__ instead of
28463 __WORDSIZE.
28464 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28465 defined.
28466 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28467
f62ee380
L
28468 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28469 include <bits/wordsize.h>. Check __x86_64__ instead of
28470 __WORDSIZE.
28471 (user_regs_struct): Use "__extension__ unsigned long long"
28472 instead of "unsigned long" if __x86_64__ is defined.
28473 (user): Likewise. Pad after pointer field if __ILP32__ is
28474 defined.
28475
4e124ced
JM
284762012-05-16 Joseph Myers <joseph@codesourcery.com>
28477
6a3951a0
JM
28478 * configure.in (makeinfo): Require version 4.5 or later. Allow
28479 versions 5 to 9.
28480 * configure: Regenerated.
28481 * manual/install.texi (texinfo): Increase version requirement to
28482 4.5 or later.
28483 * INSTALL: Regenerated.
28484
4e124ced
JM
28485 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28486
953ca31a
L
284872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28488
28489 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28490
617aca05
L
28491 * sysdeps/x86_64/x32/ffs.c: New file.
28492
5762f7ae
L
28493 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28494 __syscall_ulong_t.
28495 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28496 defined. Use __syscall_ulong_t.
28497 (shminfo): Use __syscall_ulong_t.
28498 (shm_info): Likewise.
28499
a26b6856
L
28500 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28501 __syscall_ulong_t.
28502
cb2b9ef7
L
28503 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28504 <bits/wordsize.h>.
28505 (msgqnum_t): Use __syscall_ulong_t.
28506 (msglen_t): Likewise.
28507 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28508 __syscall_ulong_t.
28509
34683bb0
L
28510 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28511 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28512
84a68786
L
28513 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28514
48baa5f1
L
28515 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28516 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28517
180be88b
L
28518 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28519 __syscall_slong_t.
28520
5e90c8ad
L
28521 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28522 include <bits/wordsize.h>. Check __x86_64__ instead of
28523 __WORDSIZE.
28524
23dfb58b
L
28525 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28526 "unsigned long long int" if __x86_64__ is defined.
28527 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28528
ce5d54b0
L
28529 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28530 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28531 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28532
13dc9eac
L
28533 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28534 <stdint.h>.
28535 (GET_PC): Cast to uintptr_t first.
28536 (GET_FRAME): Likewise.
28537 (GET_STACK): Likewise.
28538
a7895d15
L
28539 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28540 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28541 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28542 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28543 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28544 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28545 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28546 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28547 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28548 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28549 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28551 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28552 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28553 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28554 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28555 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28556 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28557 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28558 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28559 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28560 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28561 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28562 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28563 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28564 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28565 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28566 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28567 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28568
656416c9
AS
285692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28570
5bd66283
AS
28571 * Makerules (+depfiles): Also collect depfiles from .oS in
28572 $(extra-objs).
28573 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28574 .oS, $(libnldbl-routines)).
28575
656416c9
AS
28576 * Makerules (native-compile-mkdep-flags): Define.
28577 * sunrpc/Makefile (extra-objs): Add $(addprefix
28578 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28579 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28580 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28581 calling $(make-target-directory).
28582
a46f2169
L
285832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28584
28585 * bits/types.h (__snseconds_t): Removed.
28586 * time/time.h (struct timespec): Replace __snseconds_t with
28587 __syscall_slong_t.
28588 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28589 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28590 Likewise.
28591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28592 (__SNSECONDS_T_TYPE): Likewise.
28593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28594 (__SNSECONDS_T_TYPE): Likewise.
28595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28596 (__SNSECONDS_T_TYPE): Likewise.
28597
6af6528b
L
285982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28599
28600 * sysdeps/mach/hurd/bits/typesizes.h
28601 (__SYSCALL_SLONG_TYPE): New macro.
28602 (__SYSCALL_ULONG_TYPE): Likewise.
28603
de986b56
L
286042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28605
28606 * bits/types.h (__syscall_slong_t): New type.
28607 (__syscall_ulong_t): Likewise.
28608
28609 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28610 (__SYSCALL_ULONG_TYPE): Likewise.
28611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28612 (__SYSCALL_SLONG_TYPE): Likewise.
28613 (__SYSCALL_ULONG_TYPE): Likewise.
28614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28615 (__SYSCALL_SLONG_TYPE): Likewise.
28616 (__SYSCALL_ULONG_TYPE): Likewise.
28617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28618 (__SYSCALL_SLONG_TYPE): Likewise.
28619 (__SYSCALL_ULONG_TYPE): Likewise.
28620
85736dc7
L
286212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28622
28623 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28624 Add sigaltstack-offsets.sym.
28625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28626 <sigaltstack-offsets.h>.
28627 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28628 longjmp_msg pointer.
28629 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28630 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28631 signal stack.
28632 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28633
cc03b296
JM
286342012-05-15 Joseph Myers <joseph@codesourcery.com>
28635
a9538892
JM
28636 * elf/stackguard-macros.h: Remove file.
28637 * sysdeps/generic/stackguard-macros.h: New file.
28638 * sysdeps/i386/stackguard-macros.h: Likewise.
28639 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28640 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28641 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28642 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28643 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28644 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28645 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28646 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28647 <elf/stackguard-macros.h>.
28648
cc03b296
JM
28649 [BZ #14109]
28650 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28651 __aligned__ in attribute.
28652 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28653 (gregset_t): Likewise.
28654
93171016
L
286552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28656
28657 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28658 * sysdeps/x86_64/64/Implies-after: Here. New file.
28659 * sysdeps/x86_64/x32/Implies-after: New file.
28660
d86813a0
L
286612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28662
28663 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28664 and access return value for _dl_profile_fixup. Use R10_LP to
28665 load frame size.
28666
2953ec75
L
286672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28668
28669 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28670
3b550e9e
L
286712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28672
28673 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28674 * sysdeps/x86_64/x32/sysdep.h: New file.
28675
eda41706
L
286762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28677
28678 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28679 * sysdeps/x86_64/setjmp.S: Likewise.
28680
9ea01d93
AZ
286812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28682
28683 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28684 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28685 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28686 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28687 remove unused global constant.
28688
02a91938
CM
286892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28690
28691 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28692 include of <not-cancel.h>.
28693
6540185f
RM
286942012-05-15 Roland McGrath <roland@hack.frob.com>
28695
28696 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28697
509072a0
AJ
286982012-05-15 Jeff Law <law@redhat.com>
28699 Andreas Jaeger <aj@suse.de>
28700
28701 [BZ #13594]
28702 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28703 out from...
28704 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28705 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28706 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28707 code changing __hst_map_handle.map.
28708
ba75122d
RM
287092012-05-15 Roland McGrath <roland@hack.frob.com>
28710
28711 * configure.in (sysnames): Look for Implies-before and Implies-after
28712 files.
28713 * configure: Regenerated.
28714
890d8bd8
L
287152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28716
28717 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28718 8-byte data alignment with LP_SIZE alignment.
28719
f6ee6623
L
287202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28721
28722 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28723 into R10_LP.
28724
ea2626f6
L
287252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28726
28727 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28728
085f715e
L
287292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28730
28731 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28732 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28733 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28734 Likewise.
28735 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28736
be8498fc
L
287372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28738
28739 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28740 (stackinfo_sub_sp): Likewise.
28741
70bc83b9
L
287422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28743
28744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28745 RAX_LP.
28746
9bc0b730
L
287472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28748
28749 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28750 into R*_LP.
28751
6d2850e7
L
287522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28753
28754 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28755 sizes into R*_LP.
28756
3cb84561
L
287572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28758
28759 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28760
54e2ed81
L
287612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28762
28763 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28764 into R11_LP and load __x86_64_shared_cache_size_half into
28765 R8_LP.
28766
8a17f349
L
287672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28768
28769 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28770 R8_LP.
28771
777b1eea
AZ
287722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28773
28774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28775 logb for POWER7.
28776 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28777 logbf for POWER7.
28778 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28779 logbl for POWER7.
28780 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28781 powerpc32/power7/fpu/s_logb.c via #include.
28782 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28783 powerpc32/power7/fpu/s_logbf.c via #include.
28784 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28785 powerpc32/power7/fpu/s_logbl.c via #include.
28786
d20d4ac2
JM
287872012-05-15 Joseph Myers <joseph@codesourcery.com>
28788
28789 * README.libm: Remove file.
28790
6cdef1ab
L
287912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28792
28793 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28794 count for x32. Use R*_LP and omit operand-size suffix.
28795
0b254d8f
L
287962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28797
28798 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28799 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28800 * sysdeps/x86_64/x32/shlib-versions: New file.
28801
ceb809dc
RM
288022012-05-14 Roland McGrath <roland@hack.frob.com>
28803
28804 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28805 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28806 Use _dl_fatal_printf instead.
28807
37f1abd4
JM
288082012-05-14 Joseph Myers <joseph@codesourcery.com>
28809
28810 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28811 set if not set by the user. Do not allow for being unset.
28812 * sysdeps/unix/sysv/linux/configure: Regenerated.
28813
11de3a33
L
288142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28815
28816 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28817 the `q' suffix from lea and replace .quad with ASM_ADDR.
28818
e02f153a
L
288192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28820
28821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28822 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28823 instead of $17.
28824 (PTR_DEMANGLE): Likewise.
28825
520ae0fd
L
288262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28827
28828 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28829 (LP_OP): Likewise.
28830 (ASM_ADDR): Likewise.
28831 (RAX_LP): Likewise.
28832 (RBP_LP): Likewise.
28833 (RBX_LP): Likewise.
28834 (RCX_LP): Likewise.
28835 (RDI_LP): Likewise.
28836 (RSI_LP): Likewise.
28837 (RSP_LP): Likewise.
28838 (R8_LP): Likewise.
28839 (R9_LP): Likewise.
28840 (R10_LP): Likewise.
28841 (R10_LP): Likewise.
28842 (R11_LP): Likewise.
28843 (R12_LP): Likewise.
28844 (R13_LP): Likewise.
28845 (R14_LP): Likewise.
28846 (R15_LP): Likewise.
28847
b985be81
L
288482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28849
28850 * sysdeps/x86_64/x32/dl-machine.h: New file.
28851
6a4888ff
AJ
288522012-05-14 Andreas Jaeger <aj@suse.de>
28853
28854 * manual/Makefile (subdir): Remove export of subdir.
28855 (all): Remove target.
28856 (.PHONY): Remove all from list.
28857 (mkinstalldirs): Remove.
28858 (.PHONY): Remove installdirs from list.
28859 ($(inst_infodir)/libc.info): Use make-target-directory.
28860 (installdirs): Remove.
28861 (subdir_%): Remove.
28862 (glibc-targets): Remove.
28863 (lib): Remove.
28864 (stubs): Remove.
28865 ($(objpfx)stubs ../po/manual.pot): Remove.
28866 ($(objpfx)stamp%): Remove.
28867 (make-target-directory): Remove.
28868 (subdir_install): Remove.
28869 (routines): Remove.
28870 (aux): Remove.
28871 (sources): Remove.
28872 (objects): Remove.
28873 (headers): Remove.
28874
28875 [BZ #13750]
28876 * manual/.gitignore: Remove, it's not needed anymore.
28877 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28878 all files in it.
28879 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28880 directory.
28881 (texis): Renamed to $(objpfx)texis.
28882 (texis-path): New, contains path to generated files.
28883 (chapters.%): Use texis-path for complete path, add extra argument
28884 libc-texinfo.sh.
28885 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28886 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28887 (summary,texi, stamp-summary): Use complete path of
28888 files. Generate files in build dir.
28889 (dir-add.texi): Build in build dir.
28890 (libm-err.texi,stamp-libm-err): Likewise.
28891 (version.texi, stamp-version): Likewise.
28892 (.%c.texi): Likewise.
28893 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28894 (mostlyclean): Remove target.
28895 (realclean): Remove target.
28896 (generated): Add new variable with contents from mostlyclean and
28897 realclean, remove entries duplicated in common-mostlyclean, add
28898 stamp-libm-err and stamp-version.
28899 (generated-dirs): Add libc directory.
28900 ($(inst_infodir)/libc.info): Install files from build dir.
28901
28902 * manual/install.texi (Configuring and compiling): Adjust since
28903 the info files are not part of the tar ball anymore.
28904
7ac77294
AJ
289052012-05-14 Andreas Jaeger <aj@suse.de>
28906
28907 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28908 variable.
28909
ffb7875d
JM
289102012-05-14 Joseph Myers <joseph@codesourcery.com>
28911
28912 [BZ #13717]
28913 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28914 to 2.2.0 where earlier.
28915 * sysdeps/unix/sysv/linux/configure: Regenerated.
28916 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28917 Remove conditional code.
28918 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28919 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28920 Remove conditional code.
28921 [!__NR_lchown]: Likewise.
28922 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28923 [__NR_lchown]: Likewise.
28924 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28925 comment referencing __ASSUME_LCHOWN_SYSCALL.
28926 * sysdeps/unix/sysv/linux/i386/sigaction.c
28927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28929 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28930 Remove conditional code.
28931 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28932 (__protocol_available): Remove #if 0 code.
28933 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28934 conditional code.
28935 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28936 * sysdeps/unix/sysv/linux/kernel-features.h
28937 (__ASSUME_GETCWD_SYSCALL): Don't define.
28938 (__ASSUME_REALTIME_SIGNALS): Likewise.
28939 (__ASSUME_PREAD_SYSCALL): Likewise.
28940 (__ASSUME_PWRITE_SYSCALL): Likewise.
28941 (__ASSUME_POLL_SYSCALL): Likewise.
28942 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28943 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28944 non-SPARC.
28945 (__ASSUME_SIOCGIFNAME): Don't define.
28946 (__ASSUME_MSG_NOSIGNAL): Likewise.
28947 (__ASSUME_SENDFILE): Define unconditionally.
28948 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28949 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28950 conditional code.
28951 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28952 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28953 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28954 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28955 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28956 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28957 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28959 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28960 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28962 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28963 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28965 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28968 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28971 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28974 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28980 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28982 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28983 Remove conditional code.
28984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28985 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28986 Remove conditional code.
28987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28988 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28989 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28990 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28991 Remove conditional code.
28992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28993 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28994 Remove conditional code.
28995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28996 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28997 Remove conditional code.
28998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28999 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29000 Remove conditional code.
29001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29002 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29003 Remove conditional code.
29004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29005 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29006 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29008 * sysdeps/unix/sysv/linux/sigaction.c
29009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29011 * sysdeps/unix/sysv/linux/sigpending.c
29012 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29013 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29014 * sysdeps/unix/sysv/linux/sigprocmask.c
29015 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29016 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29017 * sysdeps/unix/sysv/linux/sigsuspend.c
29018 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29019 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29020 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29021 (__libc_missing_rt_sigs): Remove.
29022 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29023 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29024 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29025 Remove conditional code.
29026 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29027 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29028 return 1.
29029 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29030 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29031 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29032 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29033
1bfb7291
AJ
290342012-05-14 Andreas Jaeger <aj@suse.de>
29035
caae5a81
AJ
29036 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29037 it's not used in glibc.
29038 (__coshm1): Likewise.
29039 (__acosh1p): Likewise.
29040 (__sgn): Likewise.
29041
1bfb7291
AJ
29042 * manual/string.texi (Copying and Concatenation): Add missing
29043 variable in concat example.
29044 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29045
c044d724
L
290462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29047
144c5467 29048 [BZ #14103]
c044d724
L
29049 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29050 __builtin_clzl with __builtin_clzll.
29051
2523c62b
L
290522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29053
29054 [BZ #14104]
29055 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29056 libc_freeres_ptr.
29057
d7bb4c42
LD
290582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29059
29060 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29061 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29062 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29063 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29064
9dc4e1fb
MF
290652012-05-14 Mike Frysinger <vapier@gentoo.org>
29066
29067 * NEWS: Update ia64 info.
29068
c7df0112
AS
290692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29070
29071 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29072 used as bcopy.
29073
dc70356c
TS
290742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29075
29076 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29077 * sysdeps/unix/syscalls.list (dup3): Likewise.
29078 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29079 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29080
9fb1a21f
L
290812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29082
29083 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29084 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29085
4822a2a5
L
290862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29087
29088 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29089 thread pointer.
29090 (TLS_IE): Use mov/add instead of movq/addq to load thread
29091 pointer.
29092 (TLS_GD_PREFIX): New.
29093 (TLS_GD): Use it.
29094
842b81d6
DM
290952012-05-11 David S. Miller <davem@davemloft.net>
29096
29097 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29098 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29099 (_FPU_SETCW): Likewise.
29100
1cf463cd
L
291012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29104 is 32-byte aligned.
29105
60cc4a18
AS
291062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29107
29108 [BZ #11837]
29109 * iconvdata/gb18030.c: Update tables.
29110 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29111 characters specially.
29112 (BODY for TO_LOOP): Add encoding of missing ranges.
29113
febb44a4
TS
291142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29115
29116 [BZ #13673]
29117 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29118 * sysdeps/mach/hurd/dup3.c: Likewise.
29119 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29120 * sysdeps/powerpc/memmove.c:: Likewise.
29121
0a10fb9e
L
291222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29123
29124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29125 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29126
df8a552f
L
291272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29128
29129 * elf/elf.h (R_X86_64_RELATIVE64): New.
29130 (R_X86_64_NUM): Updated.
29131 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29132 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29133 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29134 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29135 tst-quad1pie tst-quad2pie
29136 (modules-names): Add tst-quadmod1 tst-quadmod2.
29137 ($(objpfx)tst-quad1): New dependency.
29138 ($(objpfx)tst-quad2): Likewise.
29139 ($(objpfx)tst-quad1pie): Likewise.
29140 ($(objpfx)tst-quad2pie): Likewise.
29141 * sysdeps/x86_64/tst-quad1.c: New file.
29142 * sysdeps/x86_64/tst-quad1pie.c: New file.
29143 * sysdeps/x86_64/tst-quad2.c: Likewise.
29144 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29145 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29146 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29147 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29148 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29149
f34d6f84
ST
291502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29151
f42d41d1
ST
29152 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29153 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29154 * streams/stropts.h (t_scalar_t): Define type.
29155
3c3571fc
ST
29156 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29157 (_PATH_PRESERVE): Set to "/var/lib".
29158 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29159
61f06bd3
ST
29160 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29161 instead of int.
29162
918d4d71
ST
29163 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29164 if __dir_mkfile succeeded.
29165
f34d6f84
ST
29166 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29167 checking for _hurd_dtablesize. Unlock it right after having
29168 finished _hurd_dtable allocation.
29169
10589b4a
TS
291702012-05-10 Thomas Schwinge <thomas@schwinge.name>
29171
674cdbc7
TS
29172 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29173 * sysdeps/mach/hurd/configure: Regenerated.
29174 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29175 special-casing to...
29176 * sysdeps/gnu/configure.in: ... this new file.
29177 * sysdeps/unix/sysv/linux/configure: Regenerated.
29178 * sysdeps/gnu/configure: New generated file.
29179
8e41b99f
TS
29180 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29181 for Linux: use nsec instead of usec, as well as:
29182 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29183 members of type struct timespec.
29184 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29185 New macros.
29186 (struct stat64): Likewise.
29187 (_STATBUF_ST_NSEC): New macro.
29188 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29189
10589b4a
TS
29190 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29191 __strtoul_internal rather than strtoul.
29192
63643c85
PT
291932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29194
29195 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29196 and reject them.
29197
3faebe6a
ST
291982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29199
29200 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29201 which preserves existing values.
29202 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29203
c6474b07
PT
292042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29205
29206 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29207 TIMEOUT values. Return EINVAL for NFDS values either negative or
29208 greater than FD_SETSIZE.
29209
1043890b
ST
292102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29211
29212 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29213 allocated, call __vm_protect to finish enabling the existing space, and
29214 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29215 allocate the remainder.
29216
37ed8b9b
PT
292172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29218
29219 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29220 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29221
db653660
ST
292222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29223
37ed8b9b
PT
29224 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29225 sysdeps/mach/hurd/readlink.c.
b29d4053 29226
db653660
ST
29227 * posix/tst-sysconf.c (posix_options): Only use
29228 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29229 _POSIX_SYNCHRONIZED_IO when they are defined
29230 * sysdeps/mach/hurd/bits/posix_opt.h:
29231 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29232 (_XOPEN_REALTIME): Undefine macro.
29233 (_XOPEN_REALTIME_THREADS): Undefine macro.
29234 (_XOPEN_SHM): Undefine macro.
29235 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29236 macro to -1.
29237 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29238 macro to -1.
29239 (_POSIX_ASYNC_IO): Undefine macro.
29240 (_POSIX_PRIORITIZED_IO): Undefine macro.
29241 (_POSIX_SPIN_LOCKS): Define macro to -1.
29242
ee16e894
ST
29243 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29244 SA_NODEFER, SA_RESETHAND.
29245 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29246 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29247 F_DUPFD_CLOEXEC.
29248
6103ae3b
TS
292492012-05-10 Thomas Schwinge <thomas@schwinge.name>
29250
29251 * elf/Makefile (pldd-modules): Define unconditionally.
29252
80b4e5f3
TS
292532012-05-10 Thomas Schwinge <thomas@schwinge.name>
29254
29255 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29256
edadcbd6
ST
292572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29258
29259 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29260 Return ENOENT when name is empty.
29261 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29262
80694780
TS
292632012-05-10 Thomas Schwinge <thomas@schwinge.name>
29264
1792c087
TS
29265 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29266
80694780
TS
29267 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29268
6b645f0d
ST
292692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29270
80694780
TS
29271 Fix mlock in all cases except non-readable pages.
29272 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29273 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29274
6b645f0d
ST
29275 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29276 (__mkdir): When path is `/', just fail with EEXIST.
29277 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29278
e468f8a3
TS
292792012-05-10 Thomas Schwinge <thomas@schwinge.name>
29280
29281 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29282 <sys/uio.h> (for writev).
29283 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29284 and <sys/param.h> (for MIN).
29285
a4186cff
PT
292862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29287
29288 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29289 REQUESTED_TIME. Properly set the remaining time and return EINTR
29290 if interrupted.
29291
510bbf14
TS
292922012-05-10 Thomas Schwinge <thomas@schwinge.name>
29293
29294 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29295 Depend on against $(link-rpcuserlibs).
29296
5d5722e8
ST
292972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29298
a4186cff
PT
29299 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29300 (__libc_stack_end): Do not use attribute_relro.
29301 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29302 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29303 to libthread-provided value.
a4186cff
PT
29304 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29305 attribute_relro.
5d5722e8 29306
37233df9
TS
293072012-05-10 Thomas Schwinge <thomas@schwinge.name>
29308
be971a2b
TS
29309 [BZ #3748]
29310 * bits/libc-lock.h (__libc_once_get): New macro.
29311 * sysdeps/mach/bits/libc-lock.h: Likewise.
29312 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29313 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29314 instead of using implementation details.
29315
37233df9
TS
29316 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29317 * libio/freopen.c: Likewise.
29318 * libio/freopen64.c: Likewise.
29319 * misc/syslog.c: Likewise.
29320 * nscd/connections.c: Likewise.
29321 * nscd/netgroupcache.c: Likewise.
29322 * sysdeps/posix/getcwd.c: Likewise.
29323
38de94a5
RM
293242012-05-10 Roland McGrath <roland@hack.frob.com>
29325
29326 * math/w_ilogbf.c: Add #include <limits.h>.
29327
67530489
ST
293282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29329
a4186cff 29330 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29331 path instead of returning without unlocking.
29332
67530489
ST
29333 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29334 immediate-write ioctls.
29335 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29336
5aa3a74a
TS
293372012-05-10 Thomas Schwinge <thomas@schwinge.name>
29338
18bad2ae
TS
29339 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29340 __builtin_frame_address instead of making assumptions about the
29341 location of the return address relative to DATA. Force early load of
29342 the return address.
29343 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29344 __builtin_frame_address.
29345
5aa3a74a
TS
29346 dup3 for GNU Hurd.
29347 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29348 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29349 implement dup3 and do some further code clean-ups.
29350 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29351 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29352
ecd0de9a
ST
293532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29354
cd9fa985
ST
29355 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29356
a4186cff
PT
29357 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29358 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29359 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29360 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29361 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29362 d->port.lock.
802ca5a5 29363
a4186cff
PT
29364 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29365 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29366 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29367
bcf55240
TS
293682012-05-10 Thomas Schwinge <thomas@schwinge.name>
29369
6960eb42
TS
29370 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29371 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29372 definitions.
29373
eb43375f
TS
29374 accept4 for GNU Hurd.
29375 * include/sys/socket.h (__libc_accept4): New prototype.
29376 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29377 to implement __libc_accept4.
29378 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29379 __libc_accept4.
29380 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29381
bcf55240
TS
29382 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29383 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29384 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29385 signal-defines.sym.
29386
6178c55b
ST
293872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29388
a4186cff 29389 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29390
6f080c2f
TS
293912012-05-10 Thomas Schwinge <thomas@schwinge.name>
29392
29393 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29394 assertion on O_CLOEXEC flag.
29395 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29396 * hurd/intern-fd.c: Likewise.
29397 * hurd/port2fd.c: Likewise.
29398
bcfe3a54
ST
293992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29400
29401 [BZ #3906]
29402 * bits/in.h (IPV6_PKTINFO): Define new macro.
29403 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29404
89c9aa49
AZ
294052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29406
29407 [BZ #13954]
29408 [BZ #13955]
29409 [BZ #13956]
29410 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29411 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29412 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29413 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29414 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29415 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29416 * math/libm-test.inc (logb_test) : Additional logb tests.
29417
021db4be
AJ
294182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29419 Andreas Jaeger <aj@suse.de>
29420
29421 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29422 * configure: Regenerated.
29423 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29424 * config.make.in (link-obsolete-rpc): New substituted variable.
29425 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29426 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29427 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29428 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29429 so that libc.a contains the symbols.
29430 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29431 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29432 * sunrpc/auth_none.c: Likewise.
29433 * sunrpc/auth_unix.c: Likewise.
29434 * sunrpc/authdes_prot.c: Likewise.
29435 * sunrpc/authuxprot.c: Likewise.
29436 * sunrpc/clnt_gen.c: Likewise.
29437 * sunrpc/clnt_perr.c: Likewise.
29438 * sunrpc/clnt_raw.c: Likewise.
29439 * sunrpc/clnt_simp.c: Likewise.
29440 * sunrpc/clnt_tcp.c: Likewise.
29441 * sunrpc/clnt_udp.c: Likewise.
29442 * sunrpc/clnt_unix.c: Likewise.
29443 * sunrpc/des_crypt.c: Likewise.
29444 * sunrpc/des_soft.c: Likewise.
29445 * sunrpc/get_myaddr.c: Likewise.
29446 * sunrpc/key_call.c: Likewise.
29447 * sunrpc/key_prot.c: Likewise.
29448 * sunrpc/netname.c: Likewise.
29449 * sunrpc/pm_getmaps.c: Likewise.
29450 * sunrpc/pm_getport.c: Likewise.
29451 * sunrpc/pmap_clnt.c: Likewise.
29452 * sunrpc/pmap_prot.c: Likewise.
29453 * sunrpc/pmap_prot2.c: Likewise.
29454 * sunrpc/pmap_rmt.c: Likewise.
29455 * sunrpc/publickey.c: Likewise.
29456 * sunrpc/rpc_cmsg.c: Likewise.
29457 * sunrpc/rpc_common.c: Likewise.
29458 * sunrpc/rpc_dtable.c: Likewise.
29459 * sunrpc/rpc_prot.c: Likewise.
29460 * sunrpc/rpc_thread.c: Likewise.
29461 * sunrpc/rtime.c: Likewise.
29462 * sunrpc/svc.c: Likewise.
29463 * sunrpc/svc_auth.c: Likewise.
29464 * sunrpc/svc_raw.c: Likewise.
29465 * sunrpc/svc_run.c: Likewise.
29466 * sunrpc/svc_tcp.c: Likewise.
29467 * sunrpc/svc_udp.c: Likewise.
29468 * sunrpc/svc_unix.c: Likewise.
29469 * sunrpc/svcauth_des.c: Likewise.
29470 * sunrpc/xcrypt.c: Likewise.
29471 * sunrpc/xdr.c: Likewise.
29472 * sunrpc/xdr_array.c: Likewise.
29473 * sunrpc/xdr_float.c: Likewise.
29474 * sunrpc/xdr_intXX_t.c: Likewise.
29475 * sunrpc/xdr_mem.c: Likewise.
29476 * sunrpc/xdr_rec.c: Likewise.
29477 * sunrpc/xdr_ref.c: Likewise.
29478 * sunrpc/xdr_sizeof.c: Likewise.
29479 * sunrpc/xdr_stdio.c: Likewise.
29480
b5c086a2
RM
294812012-05-10 Roland McGrath <roland@hack.frob.com>
29482
29483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29484 change. Update copyright years.
29485
6d74dd09
JM
294862012-05-10 Joseph Myers <joseph@codesourcery.com>
29487
29488 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29489
28e72501
MK
294902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29491 Joseph Myers <joseph@codesourcery.com>
29492 Paul Pluzhnikov <ppluzhnikov@google.com>
29493
29494 [BZ #14012]
29495 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29496 requiring rpcgen.
29497 [cross-compiling] (extra-libs): Likewise.
29498 [cross-compiling] (extra-libs-others): Likewise.
29499 [cross-compiling] (librpcsvc-routines): Likewise.
29500 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29501 [cross-compiling] (omit-deps): Likewise.
29502 (sunrpc-CPPFLAGS): New variable.
29503 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29504 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29505 (cross-rpcgen-objs): New variable.
29506 (extra-objs): Append $(cross-rpcgen-objs).
29507 ($(cross-rpcgen-objs)): New rule.
29508 ($(objpfx)cross-rpcgen): Likewise.
29509 (rpcgen-cmd): Define to use $(built-program-file). Expand
29510 comment.
29511 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29512 ($(objpfx)x%.stmp): Likewise.
29513 * sunrpc/proto.h [IS_IN_build] (_): Define.
29514 [IS_IN_build] (_libc_intl_domainname): Likewise.
29515
c8c59454
L
295162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29517
29518 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29519 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29520 and R_X86_64_TPOFF64.
29521
6f27cd16
JM
295222012-05-10 Joseph Myers <joseph@codesourcery.com>
29523
29524 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29525 sysdeps/unix/sysv/syscalls.list.
29526 (stime): Likewise.
29527 (utime): Likewise.
29528 * sysdeps/unix/sysv/syscalls.list: Remove file.
29529
02467e1c
PE
295302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29531
29532 [BZ #3440]
29533 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29534 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29535 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29536 (__LC_IDENTIFICATION): Make these macros useful in #if
29537 expressions, as required by C99.
29538
da392631
AS
295392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29540
29541 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29542 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29543 after this.
29544
8115f29b
L
295452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29546
29547 * stdlib/longlong.h: Updated from GCC.
29548
bdd74070
AJ
295492012-05-09 Andreas Jaeger <aj@suse.de>
29550
edfe0dbe
AJ
29551 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29552 default is first entry.
29553 (run_mode): Set type.
29554 (main): Remove informal message about syslog.
29555 (options): Fix typo.
29556
bcfe3a54
ST
29557 [BZ #14053]
29558 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29559 to asm.
bcfe3a54
ST
29560 (lrint): Likewise.
29561 (llrintf): Likewise.
29562 (llrint): Likewise.
29563 (rint): Likewise.
29564 (rintf): Likewise.
29565 (nearbyint): Likewise.
29566 (nearbyintf): Likewise.
bdd74070 29567
91d8d69e
AJ
295682012-05-09 Andreas Jaeger <aj@suse.de>
29569 Pedro Alves <palves@redhat.com>
29570
29571 * nscd/nscd.c (run_mode): Use enum.
29572 (main): Cleanup coding style issue.
29573
bb90b80b
AJ
295742012-05-09 Alexandre Oliva <aoliva@redhat.com>
29575 Andreas Jaeger <aj@suse.de>
29576
bcfe3a54
ST
29577 * nscd/nscd.c (go_background): Replaced with...
29578 (run_mode): ... this.
bb90b80b 29579 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29580 (options): Add -F --foreground.
29581 (main): Implement it.
29582 (parse_opt): Parse it.
bb90b80b 29583
1a4b75a1
AJ
295842012-05-09 Andreas Jaeger <aj@suse.de>
29585
29586 [BZ #14083]
29587 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29588 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29589 -Wconversion warning.
29590 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29591 Likewise.
29592
b1cc2472
JM
295932012-05-09 Joseph Myers <joseph@codesourcery.com>
29594
29595 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29596 == 0.
29597 (LC_ALL): Use macro-int-constant.
29598 (LC_COLLATE): Likewise.
29599 (LC_CTYPE): Likewise.
29600 (LC_MESSAGES): Likewise.
29601 (LC_MONETARY): Likewise.
29602 (LC_NUMERIC): Likewise.
29603 (LC_TIME): Likewise.
29604 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29605 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29607 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29608 Specify type.
29609 [C99-based standards] (float_t): Expect type.
29610 [C99-based standards] (double_t): Expect type.
29611 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29612 type.
29613 [C99-based standards] (HUGE_VALL): Likewise.
29614 [C99-based standards] (INFINITY): Likewise.
29615 [C99-based standards] (NAN): Likewise.
29616 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29617 [C99-based standards] (FP_NAN): Likewise.
29618 [C99-based standards] (FP_NORMAL): Likewise.
29619 [C99-based standards] (FP_SUBNORMAL): Likewise.
29620 [C99-based standards] (FP_ZERO): Likewise.
29621 [C99-based standards] (FP_FAST_FMA): Use
29622 optional-macro-int-constant. Specify type. Require == 1.
29623 [C99-based standards] (FP_FAST_FMAF): Likewise.
29624 [C99-based standards] (FP_FAST_FMAL): Likewise.
29625 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29626 [C99-based standards] (FP_ILOGBNAN): Likewise.
29627 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29628 Specify type.
29629 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29630 [C99-based standards] (math_errhandling): Specify type.
29631 [ISO99 || ISO11] (signgam): Do not allow.
29632 [non-C99-based standards] (copysignf): Do not allow.
29633 [non-C99-based standards] (exp2f): Likewise.
29634 [non-C99-based standards] (log2f): Likewise.
29635 [non-C99-based standards] (modff): Allow.
29636 [non-C99-based standards] (erff): Do not allow.
29637 [non-C99-based standards] (erfcf): Likewise.
29638 [non-C99-based standards] (gammaf): Likewise.
29639 [non-C99-based standards] (hypotf): Likewise.
29640 [non-C99-based standards] (j0f): Likewise.
29641 [non-C99-based standards] (j1f): Likewise.
29642 [non-C99-based standards] (jnf): Likewise.
29643 [non-C99-based standards] (lgammaf): Likewise.
29644 [non-C99-based standards] (tgammaf): Likewise.
29645 [non-C99-based standards] (y0f): Likewise.
29646 [non-C99-based standards] (y1f): Likewise.
29647 [non-C99-based standards] (ynf): Likewise.
29648 [non-C99-based standards] (isnanf): Likewise.
29649 [non-C99-based standards] (acoshf): Likewise.
29650 [non-C99-based standards] (asinhf): Likewise.
29651 [non-C99-based standards] (atanhf): Likewise.
29652 [non-C99-based standards] (cbrtf): Likewise.
29653 [non-C99-based standards] (expm1f): Likewise.
29654 [non-C99-based standards] (ilogbf): Likewise.
29655 [non-C99-based standards] (log1pf): Likewise.
29656 [non-C99-based standards] (logbf): Likewise.
29657 [non-C99-based standards] (nextafterf): Likewise.
29658 [non-C99-based standards] (remainderf): Likewise.
29659 [non-C99-based standards] (rintf): Likewise.
29660 [non-C99-based standards] (scalbf): Likewise.
29661 [non-C99-based standards] (copysignl): Likewise.
29662 [non-C99-based standards] (exp2l): Likewise.
29663 [non-C99-based standards] (log2l): Likewise.
29664 [non-C99-based standards] (modfl): Allow.
29665 [non-C99-based standards] (erfl): Do not allow.
29666 [non-C99-based standards] (erfcl): Likewise.
29667 [non-C99-based standards] (gammal): Likewise.
29668 [non-C99-based standards] (hypotl): Likewise.
29669 [non-C99-based standards] (j0l): Likewise.
29670 [non-C99-based standards] (j1l): Likewise.
29671 [non-C99-based standards] (jnl): Likewise.
29672 [non-C99-based standards] (lgammal): Likewise.
29673 [non-C99-based standards] (tgammal): Likewise.
29674 [non-C99-based standards] (y0l): Likewise.
29675 [non-C99-based standards] (y1l): Likewise.
29676 [non-C99-based standards] (ynl): Likewise.
29677 [non-C99-based standards] (isnanl): Likewise.
29678 [non-C99-based standards] (acoshl): Likewise.
29679 [non-C99-based standards] (asinhl): Likewise.
29680 [non-C99-based standards] (atanhl): Likewise.
29681 [non-C99-based standards] (cbrtl): Likewise.
29682 [non-C99-based standards] (expm1l): Likewise.
29683 [non-C99-based standards] (ilogbl): Likewise.
29684 [non-C99-based standards] (log1pl): Likewise.
29685 [non-C99-based standards] (logbl): Likewise.
29686 [non-C99-based standards] (nextafterl): Likewise.
29687 [non-C99-based standards] (remainderl): Likewise.
29688 [non-C99-based standards] (rintl): Likewise.
29689 [non-C99-based standards] (scalbl): Likewise.
29690 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29691 [non-C99-based standards] (FP_*): Do not allow.
29692 [C99-based standards] (FP_*): Change to
29693 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29694 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29695 allow.
29696 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29697 (SIG_ERR): Likewise.
29698 [X/Open-based standards] (SIG_HOLD): Likewise.
29699 (SIG_IGN): Likewise.
29700 (SIGABRT): Use macro-int-constant. Specify type. Require
29701 positive value.
29702 (SIGFPE): Likewise.
29703 (SIGILL): Likewise.
29704 (SIGINT): Likewise.
29705 (SIGSEGV): Likewise.
29706 (SIGTER): Likewise.
29707 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29708 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29709 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29710 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29711 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29712 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29713 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29714 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29715 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29716 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29717 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29718 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29719 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29720 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29721 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29722 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29723 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29724 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29725 [X/Open-based standards] (SIGTRAP): Likewise.
29726 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29727 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29728 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29729 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29730 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29731 allow.
29732
b9f1922d
IW
297332012-05-08 Ian Wienand <ianw@vmware.com>
29734
29735 [BZ #14080]
29736 * time/tzset.c (__tzset_parse_tz): Update default rules for
29737 daylight time changes in the Energy Policy Act of 2005.
29738
1db86e88
AJ
297392012-05-09 Andreas Jaeger <aj@suse.de>
29740
29741 [BZ #13983]
29742 * elf/ldconfig.c (parse_conf): Change string to make clear that
29743 ldconfig only issued a warning if ld.so.conf does not exist.
29744
dee4a4e3
DM
297452012-05-08 David S. Miller <davem@davemloft.net>
29746
ee0db190
DM
29747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29748 movxtod instead of popping the value on the stack.
29749
dee4a4e3
DM
29750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29751
6a43ec98
CD
297522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29753
29754 * config.h.in: Add HAVE_ARM_PCS_VFP.
29755
05c2c961
RMG
297562012-05-08 Roland Mc Grath <roland@hack.frob.com>
29757
bcfe3a54
ST
29758 [BZ #13979]
29759 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29760 checking but the checks are disabled for any reason.
05c2c961 29761
4b30f61a
L
297622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29763
29764 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29765 and ELF64_R_TYPE with ELFW(R_TYPE).
29766
eee2bc67
JM
297672012-05-08 Joseph Myers <joseph@codesourcery.com>
29768
7ea5391a
JM
29769 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29770 (ulimit): Likewise.
29771
eee2bc67
JM
29772 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29773 (settimeofday): Likewise.
29774
abb66a67
MF
297752012-05-08 Mike Frysinger <vapier@gentoo.org>
29776
29777 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29778 a struct th_u2 inside the union, and move tu_block/tu_code into
29779 a new th_u3 union of tu_block/tu_code inside of that. Move
29780 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29781 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29782 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29783 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29784 (th_stuff): Change to th_u1.tu_stuff.
29785 (th_data): Define.
29786 (th_msg): Change to th_u1.th_u2.tu_data.
29787
7f18b530
DM
297882012-05-07 David S. Miller <davem@davemloft.net>
29789
05760585
DM
29790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29791
7f18b530
DM
29792 [BZ #14074]
29793 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29794 (SETUP_PIC_REG): Use it.
29795 (SETUP_PIC_REG_LEAF): Use it.
29796
495fd99f
JM
297972012-05-07 Joseph Myers <joseph@codesourcery.com>
29798
29799 [BZ #13885]
29800 [BZ #13923]
29801 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29802 USE_AS_EXPM1L.
29803 (EXPL_FINITE): Likewise.
29804 (FLDLOG): Likewise.
29805 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29806 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29807 e_expl.S.
29808 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29809 USE_AS_EXPM1L.
29810 (EXPL_FINITE): Likewise.
29811 (FLDLOG): Likewise.
29812 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29813 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29814 e_expl.S.
29815 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29816 test of -max_value argument for long double.
29817 * sysdeps/i386/fpu/libm-test-ulps: Update.
29818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29819
6693d694
DM
298202012-05-06 David S. Miller <davem@davemloft.net>
29821
29822 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29823 quad soft-float symbols whose references which are compiler
29824 generated.
29825 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29826
6c23e11c
JM
298272012-05-06 Joseph Myers <joseph@codesourcery.com>
29828
d8b82cad
JM
29829 [BZ #13884]
29830 [BZ #13914]
29831 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29832 USE_AS_EXP10L.
29833 (EXPL_FINITE): Likewise.
29834 (FLDLOG): Likewise.
29835 (c0): Likewise.
29836 (c1): Likewise.
29837 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29838 Adjust comments for base varying.
29839 (__expl_finite): Change alias to EXPL_FINITE.
29840 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29841 e_expl.S.
29842 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29843 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29845 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29846 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29847 USE_AS_EXP10L.
29848 (EXPL_FINITE): Likewise.
29849 (FLDLOG): Likewise.
29850 (c0): Likewise.
29851 (c1): Likewise.
29852 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29853 Adjust comments for base varying.
29854 (__expl_finite): Change alias to EXPL_FINITE.
29855 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29856 tests for bugs.
29857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29858
6c23e11c
JM
29859 [BZ #14064]
29860 * math/libm-test.inc (check_float_internal): Correct ulp
29861 calculation for subnormal expected results.
29862
29ba805c
AJ
298632012-05-06 Andreas Jaeger <aj@suse.de>
29864
29865 * Makeconfig (+math-flags): New, set to -frounding-math.
29866 (+cflags): Add +math-flags so that all of glibc gets compiled with
29867 it.
29868
29869 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29870
7b17aeda
JM
298712012-05-05 Joseph Myers <joseph@codesourcery.com>
29872
5779f134
JM
29873 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29874 Disable one test.
29875
41498f4d
JM
29876 [BZ #13787]
29877 [BZ #13922]
29878 [BZ #14036]
29879 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29880 (__ieee754_expl): Allow for and saturate large arguments.
29881 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29882 (u_threshold): Likewise.
29883 (__exp): Call __ieee754_exp before checking for overflow and
29884 underflow.
29885 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29886 (u_threshold): Likewise.
29887 (__expf): Call __ieee754_expf before checking for overflow and
29888 underflow.
29889 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29890 (u_threshold): Likewise.
29891 (__expl): Call __ieee754_expl before checking for overflow and
29892 underflow.
29893 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29894 (__ieee754_expl): Allow for and saturate large arguments.
29895 * math/libm-test.inc (exp_test): Add another test. Do not allow
29896 missing overflow exception on overflow.
29897 (expm1_test): Do not allow missing overflow exception on overflow.
29898
6698b8bf
JM
29899 * sysdeps/i386/fpu/e_expl.c: Move to ...
29900 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29901 rather than using inline asm.
29902 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29903 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29904 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29905
7b17aeda
JM
29906 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29907 (nice): Likewise.
29908 (poll): Likewise.
29909 (signal): Likewise.
29910 (time): Likewise.
29911 (times): Likewise.
29912
f7c85819
JM
299132012-05-04 Joseph Myers <joseph@codesourcery.com>
29914
29915 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29916 sysdeps/unix/common/syscalls.list.
29917 (fchmod): Likewise.
29918 (fchown): Likewise.
29919 (ftruncate): Likewise.
29920 (getrusage): Likewise.
29921 (gettimeofday): Likewise.
29922 (setpgid): Likewise.
29923 (setregid): Likewise.
29924 (setreuid): Likewise.
29925 (sigaction): Likewise.
29926 (truncate): Likewise.
29927 (vhangup): Likewise.
29928 * sysdeps/unix/common/syscalls.list: Remove file.
29929 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29930 * sysdeps/unix/sysv/linux/Implies: Likewise.
29931
336270d0
L
299322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29933
29934 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29936 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29937 Moved to ...
29938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29939 Here.
29940 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29941 to ...
29942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29943 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29944 to ...
29945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29946 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29947 to ...
29948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29949 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29950 to ...
29951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29952 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29953 to ...
29954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29955 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29956 to ...
29957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29958 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29959 to ...
29960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29961 Here.
29962 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29963 to ...
29964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29965 Here.
29966 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29967 to ...
29968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29969 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29970 Moved to ...
29971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29972 Here.
29973 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29974 to ...
29975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29976
d128e450
JM
299772012-05-04 Joseph Myers <joseph@codesourcery.com>
29978
fa8ee516
JM
29979 * sysdeps/unix/common/bits/dirent.h: Remove file.
29980 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29981
d128e450
JM
29982 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29983 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29984 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29985 * sysdeps/unix/bsd/isatty.c: Likewise.
29986 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29987 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29988 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29989
ff8faaf0 299902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29991
62881be4 29992 [BZ #13563]
31dc8730
AZ
29993 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29994 long double comparison inaccuracies.
29995 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29997
6fef930c
AS
299982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29999
30000 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30002
8f203e6c
JM
300032012-05-04 Joseph Myers <joseph@codesourcery.com>
30004
30005 [BZ #14049]
30006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30007 nonzero digits before rounding a hex value.
30008 * stdlib/tst-strtod.c (tests): Add another test.
30009
5197d9c2
AK
300102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30011
30012 * sysdeps/s390/fpu/libm-test-ulps: Update.
30013
f0c1dedf
AJ
300142012-05-03 Andreas Jaeger <aj@suse.de>
30015
30016 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30017 does not get optimized out.
30018 (malloc_opt_barrier): New.
30019
a65ef2ae 300202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30021 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30022
2b942cb7 30023 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30024 intermediate file deletion.
2b942cb7 30025 (generated): Add .symlist files.
a65ef2ae 30026
54b71e02
JM
300272012-05-03 Joseph Myers <joseph@codesourcery.com>
30028
30029 [BZ #13775]
30030 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30031 Redirect under this condition.
30032 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30033 [__USE_GNU] (__dprintf_chk): Not under this condition.
30034 [__USE_GNU] (__vdprintf_chk): Likewise.
30035 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30036 under this condition.
30037 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30038 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30039 [__USE_XOPEN2K8] (vdprintf): Likewise.
30040 [__USE_GNU] (__dprintf_chk): Not under this condition.
30041 [__USE_GNU] (__vdprintf_chk): Likewise.
30042 [__USE_GNU] (dprintf): Likewise.
30043 [__USE_GNU] (vdprintf): Likewise.
30044
d3dfcc41
RM
300452012-05-03 Roland McGrath <roland@hack.frob.com>
30046
30047 * elf/Makefile (common-generated): Set this instead of generated for
30048 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30049 $(all-built-dso)-derived lists.
30050
7ac30cc5
AJ
300512012-05-03 Andreas Jaeger <aj@suse.de>
30052
0c51e550
AJ
30053 * sysdeps/i386/fpu/libm-test-ulps: Update.
30054
7ac30cc5
AJ
30055 * FAQ: Removed.
30056 * FAQ.in: Likewise.
30057 * scripts/gen-FAQ.pl: Likewise.
30058 * manual/install.texi (Installation): Point to online location of
30059 FAQ.
30060 * Makefile (files-for-dist): Remove FAQ.
30061 (FAQ): Remove.
30062
d4c2917f
AM
300632012-05-02 Allan McRae <allan@archlinux.org>
30064
30065 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30066 (LDFLAGS-reldepmod5.so): Likewise.
30067 (LDFLAGS-reldep6mod1.so): Likewise.
30068 (LDFLAGS-reldep6mod4.so): Likewise.
30069 (LDFLAGS-reldep8mod3.so): Likewise.
30070 (LDFLAGS-unload4mod1.so): Likewise.
30071 (LDFLAGS-unload4mod2.so): Likewise.
30072 (LDFLAGS-tst-initorder): Likewise.
30073 (LDFLAGS-tst-initordera2.so): Likewise.
30074 (LDFLAGS-tst-initordera3.so): Likewise.
30075 (LDFLAGS-tst-initordera4.so): Likewise.
30076 (LDFLAGS-tst-initorderb2.so): Likewise.
30077 (LDFLAGS-noload): Likewise.
30078 (LDFLAGS-next): Likewise.
30079 (LDFLAGS-order2mod1.so): Likewise.
30080 (LDFLAGS-order2mod2.so): Likewise.
30081 (LDFLAGS-tst-initorder2): Likewise.
30082 (LDFLAGS-tst-initorder2a.so): Likewise.
30083 (LDFLAGS-tst-initorder2b.so): Likewise.
30084 (LDFLAGS-tst-initorder2c.so): Likewise.
30085 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30086
d77f993f
DM
300872012-05-02 David S. Miller <davem@davemloft.net>
30088
30089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30090
171a70b4
PP
300912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30092
30093 [BZ #14055]
30094 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30095
0be196ad
AJ
300962012-05-02 Andreas Jaeger <aj@suse.de>
30097
30098 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30099 since we manipulate rounding mode.
30100 (CPPFLAGS-test-idouble.c): Likewise.
30101 (CPPFLAGS-test-ifloat.c): Likewise.
30102 (CFLAGS-test-ldouble.c): Likewise.
30103 (CFLAGS-test-double.c): Likewise.
30104 (CFLAGS-test-float.c): Likewise.
30105 (CFLAGS-test-misc.c): Likewise.
30106 (CFLAGS-test-test-fenv.c): Likewise.
30107
4f9d04aa
AZ
301082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30109
2b942cb7
RM
30110 [BZ #2550]
30111 [BZ #2570]
30112 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30113 comparisons to determine direction to adjust input.
4f9d04aa 30114
82a79e7d
RM
301152012-05-01 Roland McGrath <roland@hack.frob.com>
30116
f5a01ca9
RM
30117 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30118 output to the target.
30119
90fe4186
RM
30120 * scripts/localplt.awk: New file.
30121 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30122 (check-localplt-CFLAGS): Variable removed.
30123 ($(all-built-dso:=.jmprel)): New static pattern rule.
30124 (generated): Add those targets.
30125 (localplt-built-dso): New variable.
30126 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30127
30128 * elf/check-localplt.c: File removed.
30129
82397ed6
RM
30130 * scripts/check-execstack.awk: New file.
30131 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30132 (check-execstack-CFLAGS): Variable removed.
30133 ($(objpfx)check-execstack.h): Target removed.
30134 ($(objpfx)execstack-default): New target.
30135 (generated): Add that instead of check-execstack.h.
30136 ($(all-built-dso:=.phdr)): New static pattern rule.
30137 (generated): Add those targets.
30138 * elf/check-execstack.c: File removed.
30139
82a79e7d
RM
30140 * scripts/check-textrel.awk: New file.
30141 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30142 (check-textrel-CFLAGS): Variable removed.
30143 (all-built-dso): Use := to define.o
30144 ($(all-built-dso:=.dyn)): New static pattern rule.
30145 (generated): Add those targets.
30146 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30147 * config.make.in (READELF): New substituted variable.
30148 * elf/check-textrel.c: File removed.
30149
62fde54f 301502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30151
615605c9
JM
30152 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30153 allow.
30154 * conform/data/ctype.h-data [C99-based standards] (isblank):
30155 Expect function.
30156 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30157 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30159 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30160 Specify type. Require positive value.
30161 (EILSEQ): Likewise.
30162 (ERANGE): Likewise.
30163 [ISO || POSIX] (EILSEQ): Do not expect.
30164 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30165 Specify type. Require positive value.
30166 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30167 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30168 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30169 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30170 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30171 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30172 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30173 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30174 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30175 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30176 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30177 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30178 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30179 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30180 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30181 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30182 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30183 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30184 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30185 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30186 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30187 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30188 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30189 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30190 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30191 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30192 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30193 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30194 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30195 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30196 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30197 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30198 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30199 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30200 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30201 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30202 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30203 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30204 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30205 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30206 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30207 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30208 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30209 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30210 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30211 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30212 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30213 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30214 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30215 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30216 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30217 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30218 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30219 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30220 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30221 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30222 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30223 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30224 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30225 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30226 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30227 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30228 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30229 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30230 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30231 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30232 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30233 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30234 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30235 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30236 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30237 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30238 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30239 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30240 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30241 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30242 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30243 Require >= 2.
30244 (FLT_ROUNDS): Expect as macro, not constant.
30245 (FLT_MANT_DIG): Use macro-int-constant.
30246 (DBL_MANT_DIG): Likewise.
30247 (LDBL_MANT_DIG): Likewise.
30248 (FLT_DIG): Likewise.
30249 (DBL_DIG): Likewise.
30250 (LDBL_DIG): Likewise.
30251 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30252 (DBL_MIN_EXP): Likewise.
30253 (LDBL_MIN_EXP): Likewise.
30254 (FLT_MAX_EXP): Use macro-int-constant.
30255 (DBL_MAX_EXP): Likewise.
30256 (LDBL_MAX_EXP): Likewise.
30257 (FLT_MAX_10_EXP): Likewise.
30258 (DBL_MAX_10_EXP): Likewise.
30259 (LDBL_MAX_10_EXP): Likewise.
30260 (FLT_MAX): Use macro-constant.
30261 (DBL_MAX): Likewise.
30262 (LDBL_MAX): Likewise.
30263 (FLT_EPSILON): Use macro-constant. Give upper bound.
30264 (DBL_EPSILON): Likewise.
30265 (LDBL_EPSILON): Likewise.
30266 (FLT_MIN): Likewise.
30267 (DBL_MIN): Likewise.
30268 (LDBL_MIN): Likewise.
30269 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30270 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30271 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30272 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30273 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30274 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30275 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30276 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30277 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30278 [ISO11] (FLT_TRUE_MIN): Likewise.
30279 [ISO11] (LDBL_TRUE_MIN): Likewise.
30280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30281 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30282 (SCHAR_MIN): Use macro-int-constant. Specify type.
30283 (SCHAR_MAX): Likewise.
30284 (UCHAR_MAX): Likewise.
30285 (CHAR_MIN): Likewise.
30286 (CHAR_MAX): Likewise.
30287 (MB_LEN_MAX): Use macro-int-constant.
30288 (SHRT_MIN): Use macro-int-constant. Specify type.
30289 (SHRT_MAX): Likewise.
30290 (USHRT_MAX): Likewise.
30291 (INT_MAX): Likewise.
30292 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30293 bound negative.
30294 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30295 bound with "U".
30296 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30297 bound with "L".
30298 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30299 bound negative. Suffix upper bound with "L".
30300 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30301 bound with "UL".
30302 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30303 Specify type.
30304 [C99-based standards] (LLONG_MAX): Likewise.
30305 [C99-based standards] (ULLONG_MAX): Likewise.
30306 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30307 == 0.
30308 [ISO11] (max_align_t): Require type.
30309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30310
c9140a62
JM
30311 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30312 from $CFLAGS, without defining away __attribute__ calls.
30313 (checknamespace): Use $CFLAGS_namespace.
30314
9af0bf29
JM
30315 * conform/conformtest.pl (@keywords): Only include C99 keywords
30316 for standards based on C99 or C11.
30317
343222a2
JM
30318 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30319 Disable tests.
30320 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30321 UNIX98]: Likewise.
30322
661f8cf0
JM
30323 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30324 usability of symbols in #if.
30325
ee74b9cb
JM
30326 * conform/conformtest.pl: If macro or constant types start
30327 "promoted:", expect the symbol to be of the following type
30328 promoted by the integer promotions.
62fde54f 30329
aafc49b3
JM
30330 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30331 in one place. Also handle "macro-constant".
30332
fefdf574
JM
30333 * conform/conformtest.pl: Only accept expected macro values with
30334 "==". Parse all "macro" lines in one place.
30335 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30336
f2d922fe
JM
30337 * conform/conformtest.pl: Handle braced types on "constant" lines
30338 instead of handling "typed-constant".
30339 * conform/data/signal.h-data: Use "constant" instead of
30340 "typed-constant".
30341
d22956c9
JM
30342 * conform/conformtest.pl: Handle "optional-" at start of lines in
30343 one place rather than duplicating several cases. Handle each
30344 format of "macro" line with initial "optional-".
30345
028e2e38
JM
30346 * conform/conformtest.pl: Only accept expected constant or
30347 optional-constant values with "==". Parse all "constant" lines in
30348 one place. Parse all "optional-constant" lines in one place.
30349 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30350 * conform/data/fmtmsg.h-data: Likewise.
30351 * conform/data/netinet/in.h-data: Likewise.
30352 * conform/data/tar.h-data: Likewise.
30353 * conform/data/limits.h-data: Use "==" form on "constant" and
30354 "optional-constant" lines.
30355
1b8f2850
JM
30356 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30357 Use -std=c99 for XOPEN2K.
30358 (@knownproblems): Remove.
30359 (newtoken): Don't check %isknown.
30360
a05a144b
JM
30361 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30362 Do not expect macro.
30363 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30364 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30365 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30366 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30367 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30368 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30369 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30370 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30371 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30372 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30373 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30374 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30375 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30376 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30377 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30378 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30379 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30380 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30381 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30382 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30383 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30384 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30385 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30386 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30387 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30388 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30389 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30390 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30391 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30392 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30393 [XPG3] (acosh): Likewise.
30394 [XPG3] (asinh): Likewise.
30395 [XPG3] (atanh): Likewise.
30396 [XPG3] (cbrt): Likewise.
30397 [XPG3] (expm1): Likewise.
30398 [XPG3] (ilogb): Likewise.
30399 [XPG3] (log1p): Likewise.
30400 [XPG3] (logb): Likewise.
30401 [XPG3] (nextafter): Likewise.
30402 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30403 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30404 [XPG3] (remainder): Likewise.
30405 [XPG3] (rint): Likewise.
30406 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30407 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30408 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30409 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30410 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30411 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30412 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30413 [UNIX98 || XOPEN2K] (scalb): Expect.
30414 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30415 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30416 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30417 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30418 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30419 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30420 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30421 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30422 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30423 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30424 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30425 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30426 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30427 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30428 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30429 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30430 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30431 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30432 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30433 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30434 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30435 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30436 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30437 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30438 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30439 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30440 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30441 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30442 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30443 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30444 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30445 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30446 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30447 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30448 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30449 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30450 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30451 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30452 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30453 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30454 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30455 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30456 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30457 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30458 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30459 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30460 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30461 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30462 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30463 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30464 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30465 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30466 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30467 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30468 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30469 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30470 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30471 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30472 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30473 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30474 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30475 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30476 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30477 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30478 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30479 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30480 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30481 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30482 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30483 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30484 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30485 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30486 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30487 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30488 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30489 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30490 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30491 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30492 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30493 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30494 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30495 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30496 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30497 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30498 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30499 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30500 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30501 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30502 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30503 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30504 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30505 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30506 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30507 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30508 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30509 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30510 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30511 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30512 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30513 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30514 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30515 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30516 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30517 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30518 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30519 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30520 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30521 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30522 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30523 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30524 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30525 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30526 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30527 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30528 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30529 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30530 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30531 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30532 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30533 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30534 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30535 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30536 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30537 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30538 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30539 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30540 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30541 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30542 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30543 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30544 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30545 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30546 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30547 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30548 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30549 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30550 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30551
73c5ebe3
JM
30552 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30553 _XOPEN_SOURCE_EXTENDED for XPG4.
30554
39c33b6c
JM
30555 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30556
62fde54f
JM
30557 * Makeconfig (localtime): Remove variable.
30558 (inst_localtime-file): Likewise.
30559
0741d64c
AS
305602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30561
30562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30563 Update.
30564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30565 Update.
30566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30567 Update.
30568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30569 Update.
30570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30571 Update.
30572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30573 Update.
30574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30575 Update.
30576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30577 Update.
30578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30579 Update.
30580
7cb029ee
JM
305812012-05-01 Joseph Myers <joseph@codesourcery.com>
30582
30583 [BZ #2550]
30584 [BZ #2570]
30585 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30586 comparisons to determine direction to adjust input.
30587 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30588 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30589 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30590 Likewise.
30591 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30592 Likewise.
30593 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30594 Likewise.
30595 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30596 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30597 Likewise.
30598 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30599 Likewise.
30600 * math/libm-test.inc (nexttoward_test): Add more tests.
30601
412bd966
AS
306022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30603
30604 [BZ #14040]
30605 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30606 in version GLIBC_2.1, not GLIBC_2.0.
30607 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30608 Likewise.
30609
9568c0c2
JM
306102012-04-30 Joseph Myers <joseph@codesourcery.com>
30611
adfbc8ac
JM
30612 [BZ #13942]
30613 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30614 (1 - x) * (1 + x).
30615 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30616 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30617 * math/libm-test.inc (acos_test): Add more tests.
30618 (asin_test): Likewise.
30619 * sysdeps/i386/fpu/libm-test-ulps: Update.
30620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30621
5ba3cc69
JM
30622 [BZ #14034]
30623 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30624 of square root.
30625 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30626 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30627 * math/libm-test.inc (acos_test_tonearest): New function.
30628 (acos_test_towardzero): Likewise.
30629 (acos_test_downward): Likewise.
30630 (acos_test_upward): Likewise.
30631 (asin_test_tonearest): Likewise.
30632 (asin_test_towardzero): Likewise.
30633 (asin_test_downward): Likewise.
30634 (asin_test_upward): Likewise.
30635 (main): Call the new functions.
30636 * sysdeps/i386/fpu/libm-test-ulps: Update.
30637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30638
9568c0c2
JM
30639 [BZ #13884]
30640 [BZ #13924]
30641 * math/e_exp10.c: Include <float.h>.
30642 (__ieee754_exp10): Handle underflow here rather than multiplying
30643 large negative argument by M_LN10.
30644 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30645 of __ieee754_expf.
30646 * math/e_exp10l.c: Include <float.h>.
30647 (__ieee754_exp10l): Handle underflow here rather than multiplying
30648 large negative argument by M_LN10l.
30649 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30650 spurious overflow exception on underflow.
30651
5ac3ea17
MP
306522012-04-29 Marek Polacek <polacek@redhat.com>
30653
30654 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30655 (__fortify_function): New macro.
30656 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30657 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30658 __extern_always_inline.
30659 * libio/bits/stdio2.h: Likewise.
30660 * libio/bits/stdio.h: Likewise.
30661 * string/string.h: Likewise.
30662 * string/bits/string3.h: Likewise.
30663 * include/stdio.h: Likewise.
30664 * stdlib/bits/stdlib.h: Likewise.
30665 * stdlib/stdlib.h: Likewise.
30666 * rt/bits/mqueue2.h: Likewise.
30667 * rt/mqueue.h: Likewise.
30668 * posix/bits/unistd.h: Likewise.
30669 * posix/unistd.h: Likewise.
30670 * io/bits/poll2.h: Likewise.
30671 * io/bits/fcntl2.h: Likewise.
30672 * io/fcntl.h: Likewise.
30673 * io/sys/poll.h: Likewise.
30674 * misc/bits/syslog.h: Likewise.
30675 * misc/bits/syslog-ldbl.h: Likewise.
30676 * misc/sys/syslog.h: Likewise.
30677 * socket/bits/socket2.h: Likewise.
30678 * socket/sys/socket.h: Likewise.
30679 * debug/tst-chk1.c: Likewise.
30680 * wcsmbs/bits/wchar2.h: Likewise.
30681 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30682 * wcsmbs/wchar.h: Likewise.
30683
ecf0ebfb
AJ
306842012-04-29 Andreas Jaeger <aj@suse.de>
30685
30686 * Makerules (tests): Remove enable-check-abi protection.
30687 (check-abi-warn): Remove.
30688 (check-abi-%): Remove check-abi-warn usage.
30689
30690 * configure.in: Remove check-abi configure option.
30691 * configure: Regenerated.
30692 * config.make.in (enable-check-abi): Remove.
30693
6d5c57fa
AS
306942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30695
24c5d07e 30696 [BZ #14033]
ded5180a
AS
30697 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30698 double functions to double *_finite functions.
30699
7e0d315d
AS
30700 [BZ #13941]
30701 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30702 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30703 LDBL_MIN_EXP.
30704 * stdio-common/Makefile (tests): Add tst-sprintf3.
30705 * stdio-common/tst-sprintf3.c: New file.
30706
6d5c57fa
AS
30707 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30708 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30709
0749ff8b
JM
307102012-04-28 Joseph Myers <joseph@codesourcery.com>
30711
30712 * conform/conformtest.pl: Remove duplicate typed-constant
30713 handling.
30714
8dbd5d7b
DM
307152012-04-28 David S. Miller <davem@davemloft.net>
30716
30717 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30718 (check-abi-%): Remove AWK script prerequisite and explicit
30719 abilist directory.
30720 (check-abi): Rewrite to just diff the symlist with the abilist.
30721 (config-tls, config-abi-config): Delete, no longer used.
30722 (update-abi-%): Remove AWK script and explicit abilist directory.
30723 (update-abi): Rewrite to simply compare and conditionally copy the
30724 symlist and the sysdep abilist file. Remove update-abi-config
30725 checks.
30726 * abilist/ld.abilist: Remove.
30727 * abilist/libBrokenLocale.abilist: Remove.
30728 * abilist/libanl.abilist: Remove.
30729 * abilist/libcrypt.abilist: Remove.
30730 * abilist/libdl.abilist: Remove.
30731 * abilist/librt.abilist: Remove.
30732 * abilist/libthread_db.abilist: Remove.
30733 * abilist/libutil.abilist: Remove.
30734 * scripts/extract-abilist.awk: Remove.
30735 * scripts/merge-abilist.awk: Remove.
30736 * sysdeps/generic/libcidn.abilist: New file.
30737 * sysdeps/generic/libnss_compat.abilist: New file.
30738 * sysdeps/generic/libnss_db.abilist: New file.
30739 * sysdeps/generic/libnss_dns.abilist: New file.
30740 * sysdeps/generic/libnss_files.abilist: New file.
30741 * sysdeps/generic/libnss_hesiod.abilist: New file.
30742 * sysdeps/generic/libnss_nis.abilist: New file.
30743 * sysdeps/generic/libnss_nisplus.abilist: New file.
30744 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30745 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30746 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30747 file.
30748 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30749 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30750 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30751 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30752 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30753 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30754 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30755 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30756 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30757 file.
30758 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30759 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30760 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30761 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30762 file.
30763 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30764 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30765 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30766 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30767 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30768 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30769 file.
30770 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30771 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30772 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30773 file.
30774 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30776 New file.
30777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30778 New file.
30779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30780 New file.
30781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30782 New file.
30783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30784 New file.
30785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30786 New file.
30787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30788 New file.
30789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30790 New file.
30791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30792 New file.
30793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30794 New file.
30795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30796 New file.
30797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30798 New file.
30799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30800 New file.
30801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30802 file.
30803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30804 New file.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30806 New file.
30807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30808 file.
30809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30810 New file.
30811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30812 New file.
30813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30814 file.
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30816 New file.
30817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30818 New file.
30819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30820 New file.
30821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30822 New file.
30823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30824 New file.
30825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30826 New file.
30827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30829 file.
30830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30831 New file.
30832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30833 file.
30834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30835 file.
30836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30837 file.
30838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30839 file.
30840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30841 file.
30842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30843 New file.
30844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30845 file.
30846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30847 file.
30848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30849 New file.
30850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30851 file.
30852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30854 file.
30855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30856 New file.
30857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30858 file.
30859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30860 file.
30861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30862 file.
30863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30864 file.
30865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30866 file.
30867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30868 New file.
30869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30870 file.
30871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30872 file.
30873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30874 New file.
30875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30876 file.
30877 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30878 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30879 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30880 file.
30881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30882 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30883 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30884 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30885 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30886 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30887 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30888 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30889 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30890 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30893 file.
30894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30895 New file.
30896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30897 file.
30898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30899 file.
30900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30901 file.
30902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30903 file.
30904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30905 file.
30906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30907 New file.
30908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30909 New file.
30910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30911 file.
30912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30913 New file.
30914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30915 file.
30916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30918 file.
30919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30920 New file.
30921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30922 file.
30923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30924 file.
30925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30926 file.
30927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30928 file.
30929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30930 file.
30931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30932 New file.
30933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30934 New file.
30935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30936 file.
30937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30938 New file.
30939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30940 file.
30941
41d73a1b
JM
309422012-04-28 Joseph Myers <joseph@codesourcery.com>
30943
30944 * conform/conformtest.pl: Fix typo in handling typed-constant from
30945 allow-header.
30946
28aeeda4
JM
309472012-04-27 Joseph Myers <joseph@codesourcery.com>
30948
adae8f5e
JM
30949 * README: Cut down references to pre-2.6 Linux kernels and
30950 Linuxthreads. Update lists of configurations in libc and ports
30951 and sort alphabetically. Say "or newer" with Linux kernel version
30952 requirements.
30953
28aeeda4
JM
30954 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30955
a462cb63
RA
309562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30957
30958 [BZ #887]
30959 * math/libm-test.inc (logb_test_downward): New test to expose
30960 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30961 rounding mode.
30962
6ad3493e
JM
309632012-04-27 Joseph Myers <joseph@codesourcery.com>
30964
30965 [BZ #14027]
30966 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30967 to be done.
30968 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30969 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30970
2ce4f015
JM
309712012-04-26 Joseph Myers <joseph@codesourcery.com>
30972
5aeb141a
JM
30973 * sysdeps/unix/i386/brk.S: Remove file.
30974 * sysdeps/unix/i386/dl-brk.S: Likewise.
30975 * sysdeps/unix/i386/pipe.S: Likewise.
30976 * sysdeps/unix/i386/sigreturn.S: Likewise.
30977 * sysdeps/unix/i386/syscall.S: Likewise.
30978 * sysdeps/unix/i386/vfork.S: Likewise.
30979 * sysdeps/unix/i386/wait.S: Likewise.
30980
7143acae
JM
30981 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30982 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30983
2ce4f015
JM
30984 * configure.in (arm*-none*): Do not allow without
30985 --enable-hacker-mode.
30986 (netbsd*): Remove case setting base_os.
30987 (386bsd*): Likewise.
30988 (freebsd*): Likewise.
30989 (bsdi*): Likewise.
30990 (osf*): Likewise.
30991 (sunos*): Likewise.
30992 (ultrix*): Likewise.
30993 (newsos*): Likewise.
30994 (dynix*): Likewise.
30995 (*bsd*): Likewise.
30996 (sysv*): Likewise.
30997 (isc*): Likewise.
30998 (esix*): Likewise.
30999 (sco*): Likewise.
31000 (minix*): Likewise.
31001 (irix4*): Likewise.
31002 (irix6*): Likewise.
31003 (solaris[2-9]*): Likewise.
31004 (none): Likewise.
31005 * configure: Regenerated.
31006
0ac229c8
AZ
310072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31008
31009 [BZ #11521]
31010 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31011 overflow or cancellation in calculating denominator.
31012 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31013 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31014 down expression to avoid unexpected rounding in newer GCCs.
31015 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31016
33f244f4
DM
310172012-04-26 David S. Miller <davem@davemloft.net>
31018
31019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31020 long-double compat symbols.
31021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31034
cfa1f3e8
DM
310352012-04-25 David S. Miller <davem@davemloft.net>
31036
31037 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31038 HWCAP_* values only after the memory barriers have been defined.
31039 (atomic_full_barrier): Define.
31040 (atomic_read_barrier): Define.
31041 (atomic_write_barrier): Define.
31042
6e236b92
SP
310432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31044
31045 * shlib-versions: Add libgcc_s version information.
31046 * sysdeps/generic/libgcc_s.h: Remove.
31047 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31048 libgcc_s.h.
31049 * sysdeps/gnu/unwind-resume.c: Likewise.
31050 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31051
aab39a09
DM
310522012-04-25 David S. Miller <davem@davemloft.net>
31053
31054 * sysdeps/unix/sparc/brk.S: Delete.
31055 * sysdeps/unix/sparc/dl-brk.S: Delete.
31056 * sysdeps/unix/sparc/pipe.S: Delete.
31057 * sysdeps/unix/sparc/sysdep.S: Delete.
31058 * sysdeps/unix/sparc/sysdep.h: Delete.
31059 * sysdeps/unix/sparc/vfork.S: Delete.
31060 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31061 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31062 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31063 ret_ERRVAL, r0, r1, MOVE): Define.
31064 (JUMPTARGET): Remove.
31065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31066 sysdeps/unix/sparc/sysdep.h
31067 (ENTRY, END): Remove.
31068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31069
a3cc4f48
JM
310702012-04-25 Joseph Myers <joseph@codesourcery.com>
31071
2ed8cda2
JM
31072 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31073 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31074 -DIS_IN_build.
31075
35d76d59
JM
31076 * timezone/README: Update upstream location and email address for
31077 tzcode and tzdata.
31078 * timezone/zdump.c: Update from tzcode 2012b.
31079 * timezone/zic.c: Likewise.
31080
a3cc4f48
JM
31081 * configure.in (libc_cv_as_needed): Remove test.
31082 * configure: Regenerated.
31083 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31084 conditional definition.
31085 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31086 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31087 * config.make.in (have-as-needed): Remove variable.
31088
ceab42c3
SP
310892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31090 Paul Pluzhnikov <ppluzhnikov@google.com>
31091
31092 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31093 strings correctly.
31094
3ce2865f
CLT
310952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31096
31097 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31098 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31099 * sysdeps/sh/strlen.S: Likewise.
31100
f37e0d68
JM
311012012-04-24 Joseph Myers <joseph@codesourcery.com>
31102
ae186e9a
JM
31103 * sysdeps/unix/fork.S: Remove file.
31104 * sysdeps/unix/i386/fork.S: Likewise.
31105 * sysdeps/unix/sparc/fork.S: Likewise.
31106
b96914af
JM
31107 * sysdeps/unix/system.c: Remove file.
31108 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31109
f37e0d68
JM
31110 * sysdeps/unix/getegid.S: Remove file.
31111 * sysdeps/unix/geteuid.S: Likewise.
31112
87ef29ca
RM
311132012-04-24 Roland McGrath <roland@hack.frob.com>
31114
83bcd236
RM
31115 * scripts/check-localplt.awk: New file.
31116 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31117 of diff.
31118 * scripts/data/localplt-generic.data: Add a comment.
31119
87ef29ca
RM
31120 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31121 NODE when __dir_mkfile failed.
31122 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31123 Reported by Ludovic Courtès <ludo@gnu.org>.
31124
e5a6e567
AJ
311252012-04-24 Andreas Jaeger <aj@suse.de>
31126
31127 * Makerules (common-clean): Also remove gen-as-const-headers
31128 files.
31129
c1820385
JM
311302012-04-24 Joseph Myers <joseph@codesourcery.com>
31131
31132 * Makerules (native-compile): Do not change working directory for
31133 build. Use $(OUTPUT_OPTION) in command.
31134 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31135
94e02fc4
AZ
311362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31137
31138 [BZ #13886]
31139 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31140 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31141 * math/libm-test.inc (floor_test): Add more tests.
31142 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31143
3a533ca3
JM
311442012-04-24 Joseph Myers <joseph@codesourcery.com>
31145
940ab4b3
JM
31146 * sysdeps/unix/getdents.c: Remove file.
31147 * sysdeps/unix/sysv/getdents.c: Likewise.
31148 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31149
90e037bd
JM
31150 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31151 sysdeps/unix/mman/syscalls.list.
31152 (mmap): Likewise.
31153 (mprotect): Likewise.
31154 (msync): Likewise.
31155 (munmap): Likewise.
31156 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31157 * sysdeps/unix/mman/syscalls.list: Remove.
31158 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31159
3a533ca3
JM
31160 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31161 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31162 * configure: Regenerated.
31163 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31164 $(libgcc_s_suffix).
31165 * config.make.in (libgcc_s_suffix): Remove variable.
31166
1ad743de
JM
311672012-04-23 Joseph Myers <joseph@codesourcery.com>
31168
4ad451e2
JM
31169 * sysdeps/unix/sysv/gethostname.c: Move to ...
31170 * sysdeps/posix/gethostname.c: ... here.
31171
5e37ce39
JM
31172 * sysdeps/unix/execve.S: Remove file.
31173
1ad743de
JM
31174 * sysdeps/unix/_exit.S: Remove file.
31175
4e681b5b
AJ
311762012-04-23 Andreas Jaeger <aj@suse.de>
31177
31178 [BZ #13739]
31179 * manual/Makefile: Remove make dist support, there's no
31180 need for a stand-alone documentation tar ball.
31181 (TEXI2DVI): Define always, it's not in Makeconfig.
31182 (dist): Removed.
31183 (tar-it): Removed.
31184 (edition): Removed.
31185 (glibc-doc-$(edition).tar): Removed
31186 (%.Z): Removed.
31187 (%.gz): Removed.
31188 (%.uu): Removed.
31189 (ETAGS): Remove, it's in Makeconfig.
31190 (move-if-change): Remove, it's in Makeconfig.
31191
38686a03 311922012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31193
31194 [BZ #13970]
31195 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31196 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31197 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31198 (strtod_l, strtof_l, strtold_l): Remove __wur.
31199 It is not necessarily an error to ignore strtol's return value.
31200 One can reliably look at the stored endptr to decide whether
31201 the number had valid syntax.
31202
7c0616fa
AJ
312032012-04-21 Andreas Jaeger <aj@suse.de>
31204
803cb6b7 31205 [BZ #13739]
7c0616fa
AJ
31206 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31207
b0fe253f
JM
312082012-04-21 Joseph Myers <joseph@codesourcery.com>
31209
31210 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31211 * sysdeps/unix/sysv/Versions: Remove file.
31212
8280f22d
MT
312132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31214
31215 [BZ #13927]
31216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31217
75ce411f 312182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31219
31220 [BZ #7064]
31221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31222 version from __vm86.
31223
097d59fa
JM
312242012-04-20 Joseph Myers <joseph@codesourcery.com>
31225
a90f3bcb
JM
31226 * sysdeps/unix/common/lxstat.c: Remove file.
31227 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31228
edc7ea78
JM
31229 * sysdeps/unix/sysv/Makefile: Remove file.
31230
cb78c221
JM
31231 * sysdeps/unix/sysv/direct.h: Remove file.
31232
efa6a45f
JM
31233 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31234 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31235 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31236 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31237 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31238 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31239 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31240
9c9f2d0c
JM
31241 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31242
4541c83b
JM
31243 * sysdeps/unix/xmknod.c: Remove file.
31244 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31245
f5d153a0
JM
31246 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31247
aa746595
JM
31248 * sysdeps/unix/sysv/i386/time.S: Remove file.
31249
cce5905e
JM
31250 * sysdeps/unix/fxstat.c: Remove file.
31251 * sysdeps/unix/xstat.c: Likewise.
31252 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31253
37fa3841
JM
31254 * sysdeps/unix/sysv/sigaction.c: Remove file.
31255
ff1962a3
JM
31256 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31257 (sysdep_headers): Remove variable.
31258 [termio.h not in sysdep_headers] (generated): Likewise.
31259 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31260 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31261 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31262 * sysdeps/unix/sysv/tcflow.c: Likewise.
31263 * sysdeps/unix/sysv/tcflush.c: Likewise.
31264 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31265 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31266 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31267 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31268 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31269
e7740d31
JM
31270 * sysdeps/unix/siglist.c: Remove file.
31271
ee06f18b
JM
31272 * sysdeps/unix/getppid.S: Remove file.
31273
097d59fa
JM
31274 * sysdeps/unix/mkdir.c: Remove file.
31275 * sysdeps/unix/rmdir.c: Likewise.
31276
ff3d51ec
AS
312772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31278
31279 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31280 ERR_MAX value.
31281 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31282 errlist-compat value.
31283
50f81fd7
DM
312842012-04-18 David S. Miller <davem@davemloft.net>
31285
31286 * sysdeps/generic/memcopy.h (reg_char): Delete.
31287 * debug/strcat_chk.c: Use char, not reg_char.
31288 * debug/strcpy_chk.c: Likewise.
31289 * debug/strncat_chk.c: Likewise.
31290 * debug/strncpy_chk.c: Likewise.
31291 * string/memchr.c: Likewise.
31292 * string/memrchr.c: Likewise.
31293 * string/rawmemchr.c: Likewise.
31294 * string/strcat.c: Likewise.
31295 * string/strchr.c: Likewise.
31296 * string/strchrnul.c: Likewise.
31297 * string/strcmp.c: Likewise.
31298 * string/strcpy.c: Likewise.
31299 * string/strncat.c: Likewise.
31300 * string/strncmp.c: Likewise.
31301 * string/strncpy.c: Likewise.
31302
8ff41c46
WS
313032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31304
31305 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31306 __builtin_memcopy is called when src and dest ranges are known to not
31307 overlap.
31308
6b652f46
WS
313092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31310
31311 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31312 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31313 fwd_align_merge macro call.
31314 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31315 bwd_align_merge macro call.
31316 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31317
b282631e
WS
313182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31319
31320 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31321 bwd_align_merge macros.
31322 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31323 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31324 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31325
95aa737c
DM
313262012-04-18 David S. Miller <davem@davemloft.net>
31327
31328 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31329
7a99a614
AJ
313302012-04-18 Andreas Jaeger <aj@suse.de>
31331
31332 [BZ# 6794]
31333 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31334 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31335 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31336
31337 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31338 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31339 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31340
31341 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31342 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31343 Adjust for changed ldbl-128 files.
31344
31345 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31346 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31347 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31348
e5270c23
DM
313492012-04-17 David S. Miller <davem@davemloft.net>
31350
31351 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31352
fb5e92c9
AS
313532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31354
31355 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31356 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31357 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31358 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31359 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31360 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31361
76da7265
AZ
313622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31363
31364 [BZ #6794]
31365 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31366 * math/libm-test.inc: Add ilogb errno and exception tests.
31367 * math/w_ilogb.c: New file: ilogb wrapper.
31368 * math/w_ilogbf.c: New file: ilogbf wrapper.
31369 * math/w_ilogbl.c: New file: ilogbl wrapper.
31370 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31371 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31372 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31373 exception being thrown with 0.0 as argument.
31374 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31375 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31376 exception being thrown with 0.0 as argument.
31377 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31378 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31379 exception being thrown with 0.0 as argument.
31380 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31381 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31382 exception being thrown with 0.0 as argument.
31383 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31384 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31385 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31386 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31387 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31388 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31389 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31390 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31391 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31392
0396e69d
PB
313932012-04-17 Petr Baudis <pasky@ucw.cz>
31394
31395 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31396 with altivec.
31397
750b5926
MP
313982012-04-16 Marek Polacek <polacek@redhat.com>
31399
31400 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31401
751728a1
MP
314022012-04-16 Marek Polacek <polacek@redhat.com>
31403
31404 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31405 operands of fdivp instruction.
31406
34a27407
L
314072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31408
31409 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31410 * elf/tst-auditmod3b.c: Likewise.
31411 * elf/tst-auditmod4b.c: Likewise.
31412 * elf/tst-auditmod5b.c: Likewise.
31413 * elf/tst-auditmod6b.c: Likewise.
31414 * elf/tst-auditmod6c.c: Likewise.
31415 * elf/tst-auditmod7b.c: Likewise.
31416 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31417 * sysdeps/x86_64/preconfigure.in: Likewise.
31418 * sysdeps/x86_64/preconfigure: Regenerated.
31419
7e73e17d
L
314202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31421
31422 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31423 __ILP32__.
31424
c7a6ab72
AB
314252012-04-13 Antoine Balestrat <merkil33@gmail.com>
31426
31427 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31428 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31429
a9e8e0e0
CL
314302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31431
31432 [BZ #13973]
31433 * locale/iso-639.def: Fix gl language name. Spotted by
31434 Yaron Shahrabani.
31435
ec98af7d
RM
314362012-04-12 Roland McGrath <roland@hack.frob.com>
31437
31438 [BZ #2074]
31439 * libio/libio.h (__io_write_fn): Update comment.
31440
247c3ede
PB
314412012-04-12 Petr Baudis <pasky@ucw.cz>
31442
31443 [BZ #2074]
31444 * stdio.texi (Hook Functions): The user provided writer function
31445 is not allowed to return -1.
31446
55939d6d
DM
314472012-04-11 David S. Miller <davem@davemloft.net>
31448
31449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31450
90020f5a
MF
314512012-04-11 Mike Frysinger <vapier@gentoo.org>
31452
31453 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31454 Add a leading slash to rtkaio.
31455
288f9098
JM
314562012-04-11 Jim Meyering <meyering@redhat.com>
31457
90020f5a
MF
31458 [BZ #11959]
31459 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31460 It is not necessarily an error to ignore fwrite's return
31461 value. One can reliably use ferror to test for errors after
31462 the fact.
288f9098 31463
4be2b570
L
314642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31465
31466 * bits/types.h (__snseconds_t): New type.
31467 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31468
31469 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31471 (__SNSECONDS_T_TYPE): Likewise.
31472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31473 (__SNSECONDS_T_TYPE): Likewise.
31474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31475 (__SNSECONDS_T_TYPE): Likewise.
31476
288f9098 314772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31478
31479 [BZ #2636]
31480 * manual/time.texi (Processor Time): Return type of times is
31481 elapsed real time since an arbitrary point in the past.
31482 (CPU Time): Move CLK_TCK from here...
31483 (Processor Time): ...to here. Correct description.
31484 * manual/conf.texi (Constants for Sysconf): Correct description of
31485 _SC_CLK_TCK.
31486
d7dd4413
DM
314872012-04-10 David S. Miller <davem@davemloft.net>
31488
31489 [BZ #13967]
31490 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31491 where the is a gap between DT_REL(A) and DT_JMPREL.
31492
b46068fc
L
314932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31494
31495 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31496 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31497 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31498
73d65cc3
SP
314992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31500
31501 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31502 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31503 (dl_main): Handle --inhibit-cache.
31504 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31505 _dl_inhibit_cache.
31506 * elf/dl-load.c (_dl_map_object): Use it.
31507 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31508
bcc8d661
JM
315092012-04-09 Joseph Myers <joseph@codesourcery.com>
31510
8f9a2fae
JM
31511 [BZ #13872]
31512 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31513 (__ieee754_powl): Saturate large exponents rather than testing for
31514 overflow of y*log2(x).
31515 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31516 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31517 exceptions.
31518
bcc8d661
JM
31519 [BZ #11521]
31520 * math/s_ctan.c: Include <float.h>.
31521 (__ctan): Avoid internal overflow or cancellation in calculating
31522 denominator.
31523 * math/s_ctanf.c: Likewise.
31524 * math/s_ctanl.c: Likewise.
31525 * math/s_ctanh.c: Likewise.
31526 * math/s_ctanhf.c: Likewise.
31527 * math/s_ctanhl.c: Likewise.
31528 * math/libm-test.inc (ctan_test): Add more tests.
31529 (ctanh_test): Likewise.
31530 * sysdeps/i386/fpu/libm-test-ulps: Update.
31531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31532
823fbbb4
AJ
315332012-04-09 Andreas Jaeger <aj@suse.de>
31534
03879793
AJ
31535 [BZ #6894]
31536 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31537 is an optional BSD extension.
31538
823fbbb4
AJ
31539 [BZ #10254]
31540 * manual/stdio.texi (Opening Streams): Document additional fopen
31541 parameters.
31542
8de131cb
RM
315432012-04-09 Roland McGrath <roland@hack.frob.com>
31544
31545 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31546 %eax without telling the compiler.
31547
c0ed9d7d
CD
315482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31549
31550 [BZ # 13963]
31551 * manual/install.texi: Use sourceware.org.
31552
c483f6b4
JM
315532012-04-09 Joseph Myers <joseph@codesourcery.com>
31554
d7dd9453
JM
31555 [BZ #13873]
31556 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31557 (__ieee754_pow): Generate overflow and underflow using huge*huge
31558 and tiny*tiny rather than just returning constant infinity or zero
31559 for large exponents.
31560 * math/libm-test.inc (pow_test): Require overflow exceptions for
31561 applicable cases of large exponents.
31562
c483f6b4
JM
31563 [BZ #706]
31564 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31565 (__ieee754_pow): Use iterative multiplication algorithm only for
31566 integer exponents with absolute value below 1024. Check for odd
31567 integer exponents when using algorithm for real exponents.
31568 * math/libm-test.inc (pow_test): Add more tests.
31569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31570
d2de7579
JM
315712012-04-08 Joseph Myers <joseph@codesourcery.com>
31572
31573 [BZ #13705]
31574 * math/libm-test.inc (exp_test): Do not allow overflow exception
31575 on underflow test.
31576
f77f1232
AJ
315772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31578
31579 [BZ #13705]
31580 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31581 instead of __kernel_standard_f.
31582
3884932b
MF
315832012-04-08 Mike Frysinger <vapier@gentoo.org>
31584
31585 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31586 * sysdeps/x86_64/memset_chk.S: Likewise.
31587
54472e9c
AJ
315882012-04-08 Andreas Jaeger <aj@suse.de>
31589
6ab0fbfc
AJ
31590 [BZ #10153]
31591 * manual/startup.texi (Environment Access): Describe return value
31592 for putenv and setenv.
31593
61efba8c
AJ
31594 [BZ #6895]
31595 * manual/filesys.texi (Directory Entries): Add description for
31596 DT_LNK.
31597
95c3f29a
AJ
31598 [BZ #6890]
31599 * manual/filesys.texi (Directory Entries): Clarify that it's file
31600 system not operating system in the description of DT_UNKNOWN.
31601
54472e9c
AJ
31602 [BZ #6578]
31603 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31604
624254b1
SC
316052012-04-08 Stephen Compall <s11@member.fsf.org>
31606
31607 [BZ #6649]
31608 * manual/llio.texi (Opening and Closing Files): Add cross
31609 reference to explain mode argument.
31610
1e4920e0
MF
316112012-04-07 Mike Frysinger <vapier@gentoo.org>
31612
31613 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31614 * sysdeps/x86_64/memset_chk.S: Likewise.
31615
5ed848f3
DM
316162012-04-07 David S. Miller <davem@davemloft.net>
31617
31618 * elf/elf.h (R_SPARC_WDISP10): Define.
31619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31620 R_SPARC_SIZE32.
31621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31622 R_SPARC_SIZE64 and R_SPARC_H34.
31623
96154cd8
CD
316242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31625
31626 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31627 conditions and remove no longer applicable assertion.
31628
9904dc47
L
316292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31630
31631 * bits/byteswap.h: Include <features.h>.
31632 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31633 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31634
f8887d0a
L
316352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31636
31637 * bits/byteswap.h (__bswap_16): Removed.
31638 Include <bits/byteswap-16.h> to get __bswap_16.
31639 * sysdeps/i386/bits/byteswap.h: Likewise.
31640 * sysdeps/s390/bits/byteswap.h: Likewise.
31641 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31642 * bits/byteswap-16.h: New file.
31643 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31644 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31645 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31646 * string/Makefile (headers): Add bits/byteswap-16.h.
31647
62470f60
PP
316482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31649
31650 [BZ #13895]
31651 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31652 extra indirection.
31653 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31654 * nss/tst-nss-static.c: New.
31655
4dad7bab
RM
316562012-04-06 Robert Millan <rmh@gnu.org>
31657
31658 [BZ #6486]
31659 * manual/llio.texi (File Position Primitive): lseek
31660 refers to WHENCE when it really means OFFSET.
31661
e9142a17
AJ
316622012-04-06 Andreas Jaeger <aj@suse.de>
31663
2c040eff
AJ
31664 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31665 strncmp declarations.
31666
e9142a17
AJ
31667 * abilist/libc.abilist: Add __poll and __ppoll.
31668
ff9f1c5f
DM
316692012-04-05 David S. Miller <davem@davemloft.net>
31670
dcd2ae90
DM
31671 * scripts/check-local-headers.sh: Accept a host triplet in the
31672 path matched by the exclude regexp.
31673
993eb054
DM
31674 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31675 definition.
31676 * sysdeps/powerpc/powerpc32/dl-machine.h
31677 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31678 * sysdeps/s390/s390-32/dl-machine.h
31679 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31680 * sysdeps/sparc/sparc32/dl-machine.h
31681 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31682 * sysdeps/sparc/sparc64/dl-machine.h
31683 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31684
ff9f1c5f
DM
31685 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31686 lazy binding.
48e2e132 31687 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31688 undefined symbol errors.
31689
48e2e132 31690 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31691 DT_NEEDED entries.
31692
e80d6f94
MM
316932012-04-05 Michael Matz <matz@suse.de>
31694
31695 [BZ #13592]
31696 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31697
349fa79f
AJ
316982012-04-05 Andreas Jaeger <aj@suse.de>
31699
31700 [BZ #13908]
31701 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31702 comment.
31703
f402708f
KK
317042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31705
31706 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31707 which ROUND is no valid rounding mode.
31708
2ecccfc9
KK
317092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31710
31711 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31712 read again.
31713 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31714
8a53f50f
KK
317152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31716
31717 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31718 an exception using FPU order intentionally.
31719
317202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31721
31722 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31723 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31724 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31725 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31726
d653abb7
SJ
317272012-04-05 Simon Josefsson <simon@josefsson.org>
31728
31729 [BZ #12340]
31730 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31731 EINVAL when BUFLEN is too smal.
31732
c3b1bf7d
TS
317332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31734
31735 [BZ #13553]
31736 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31737 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31738
b1aa60f3
AJ
317392012-04-03 Andreas Jaeger <aj@suse.de>
31740
c3b1bf7d 31741 [BZ #13938]
67f60a26
AJ
31742 * manual/setjmp.texi (System V contexts): Fix sentence.
31743
b1aa60f3
AJ
31744 [BZ #13926]
31745 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31746 New macro for this case.
31747 [!__GNUC__] (__bswap_64): New inline function for this case.
31748 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31749 * bits/byteswap.h: Likewise.
31750 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31751 ull, guard with __GLIBC_HAVE_LONG_LONG.
31752
31753 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31754 __GLIBC_HAVE_LONG_LONG.
31755
31756 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31757 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31758
39c59c35
TMQMF
317592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31760
31761 [BZ #13691]
31762 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31763 inptr and inend, rather than using last_ch.
31764
135ffda8
DM
317652012-04-02 David S. Miller <davem@davemloft.net>
31766
31767 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31768 * stdio-common/printf-parse.h (read_int): Change return type to
31769 'int', return -1 on INT_MAX overflow.
31770 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31771 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31772 overflows INT_MAX. Check for overflow of in-format-string precision
31773 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31774 SIZE_MAX not INT_MAX for integer overflow test.
31775 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31776 skip the construct in the format string but do not record anything.
31777 * stdio-common/bug22.c: Adjust to test both width/prevision
31778 INT_MAX overflow as well as total length INT_MAX overflow. Check
31779 explicitly for proper errno values.
31780
228c019e
TS
317812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31782
302cadd3
TS
31783 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31784 CHAR_MAX.
31785 * string/test-strcmp.c [! WIDE]: Likewise.
31786 * time/tst-mktime2.c: Likewise for INT_MAX.
31787 * string/test-string.h: #include <sys/param.h> for MIN.
31788
228c019e
TS
31789 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31790 * sysdeps/i386/init-first.c (init): Likewise.
31791 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31792 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31793 * sysdeps/sh/init-first.c (init): Likewise.
31794
cfa633f5
UD
317952012-04-01 Ulrich Drepper <drepper@gmail.com>
31796
31797 * po/ru.po: Update from translation team.
d1635ef8 31798 * po/vi.po: Likewise.
cfa633f5 31799
6cd0a5ea
SP
318002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31801
31802 * resolv/nss_dns/dns-host.c: Merge copyright years.
31803
4b43400f
LD
318042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31805
31806 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31807 Optimize memcpy with prefetch if
31808 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31809 src, dst pointers have unequal 16 byte alignments.
31810
48c41d04
SP
318112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31812
31813 [BZ #13928]
31814 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31815 from a CNAME entry and return the minimum ttl for the query.
31816 (gaih_getanswer_slice): Likewise.
31817
b8dc394d
JL
318182012-03-30 Jeff Law <law@redhat.com>
31819
31820 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31821 due to long keys.
31822 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31823 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31824
2f5a5ed0
JL
31825 * resolv/nss_dns/dns-host.c: Update copyright year.
31826
1d39e359
UD
318272012-03-30 Ulrich Drepper <drepper@gmail.com>
31828
c030f70c 31829 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31830 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31831
1d39e359
UD
31832 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31833 comments for sendmmsg.
31834
318352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31836
31837 [BZ #13691]
31838 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31839 with only 1 character between 0x0041 and 0x01b0.
31840 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31841 * wcsmbs/tst-mbsnrtowcs.c: New file.
31842
20fde227
DM
318432012-03-29 David S. Miller <davem@davemloft.net>
31844
31845 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31846 small copies by hand.
31847
984a4237
JL
318482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31849
31850 [BZ #13761]
31851 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31852 _nss_compat_initgroups_dyn): Fall back to malloc/free
31853 for large group memberships.
31854
18c9d62b
DM
318552012-03-28 David S. Miller <davem@davemloft.net>
31856
88d85d4f
DM
31857 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31858 that branches into memcpy.
31859 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31861 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31862 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31864 bits.
31865 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31866 implementation too.
31867 * sysdeps/sparc/mempcpy.S: New file.
31868
e5aa83e1
DM
31869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31870 the IFUNC routine in the libc case.
31871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31872
88570753
DM
31873 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31874 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31875 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31876 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31877 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31878 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31879 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31880 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31881
249d7567
DM
31882 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31883 loop to 256 bytes instead of 64 bytes and fix test signedness.
31884
18c9d62b
DM
31885 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31886 * sysdeps/sparc/sparc32/Makefile: rather than here...
31887 * sysdeps/sparc/sparc64/Makefile: and here.
31888
05f3d1f6
UD
318892012-03-28 Ulrich Drepper <drepper@gmail.com>
31890
31891 * malloc/mallocbug.c: Avoid warnings about unused variables.
31892
86ae07a8
JL
318932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31894
31895 [BZ #13760]
31896 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31897 in the right place. Discard and retry query if response is
31898 larger than input buffer size.
31899
41bf21a1
JM
319002012-03-28 Joseph Myers <joseph@codesourcery.com>
31901
d6270972
JM
31902 [BZ #369]
31903 [BZ #2678]
31904 [BZ #3866]
31905 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31906 x for large integer exponent.
31907 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31908 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31909 sign of result as needed afterwards.
31910 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31911 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31912 result for underflowing pow the same as for overflow.
31913 (__kernel_standard_l): Handle powl overflow and underflow here
31914 rather than calling __kernel_standard.
31915 * math/libm-test.inc (pow_test): Add more tests.
31916
414fca03 31917 [BZ #3868]
41bf21a1
JM
31918 [BZ #13879]
31919 [BZ #13910]
31920 [BZ #13911]
31921 [BZ #13912]
31922 [BZ #13913]
31923 [BZ #13915]
31924 [BZ #13916]
31925 [BZ #13917]
31926 [BZ #13918]
31927 [BZ #13919]
31928 [BZ #13920]
31929 [BZ #13921]
31930 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31931 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31932 (__kernel_standard_l): New function.
31933 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31934 __kernel_standard.
31935 * math/w_acosl.c (__acosl): Likewise.
31936 * math/w_asinl.c (__asinl): Likewise.
31937 * math/w_atan2l.c (__atan2l): Likewise.
31938 * math/w_atanhl.c (__atanhl): Likewise.
31939 * math/w_coshl.c (__coshl): Likewise.
31940 * math/w_exp10l.c (__exp10l): Likewise.
31941 * math/w_exp2l.c (__exp2l): Likewise.
31942 * math/w_fmodl.c (__fmodl): Likewise.
31943 * math/w_hypotl.c (__hypotl): Likewise.
31944 * math/w_j0l.c (__j0l, __y0l): Likewise.
31945 * math/w_j1l.c (__j1l, __y1l): Likewise.
31946 * math/w_jnl.c (__jnl, __ynl): Likewise.
31947 * math/w_lgammal.c (__lgammal): Likewise.
31948 * math/w_log10l.c (__log10l): Likewise.
31949 * math/w_log2l.c (__log2l): Likewise.
31950 * math/w_logl.c (__logl): Likewise.
31951 * math/w_powl.c (__powl): Likewise.
31952 * math/w_remainderl.c (__remainderl): Likewise.
31953 * math/w_scalbl.c (sysv_scalbl): Likewise.
31954 * math/w_sinhl.c (__sinhl): Likewise.
31955 * math/w_sqrtl.c (__sqrtl): Likewise.
31956 * math/w_tgammal.c (__tgammal): Likewise.
31957 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31958 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31959 * math/libm-test.inc (acos_test): Add more tests.
31960 (acosh_test): Likewise.
31961 (asin_test): Likewise.
31962 (atanh_test): Likewise.
31963 (exp_test): Likewise.
31964 (exp10_test): Likewise.
31965 (exp2_test): Likewise.
31966 (expm1_test): Likewise.
31967 (lgamma_test): Likewise.
31968 (log_test): Likewise.
31969 (log10_test): Likewise.
31970 (log1p_test): Likewise.
31971 (log2_test): Likewise.
31972 (pow_test): Do not allow some spurious overflow exceptions.
31973 (sqrt_test): Add more tests.
31974 (tgamma_test): Likewise.
31975 (y0_test): Likewise.
31976 (y1_test): Likewise.
31977 (yn_test): Likewise.
31978
dd62fda6
AB
319792012-03-27 Anton Blanchard <anton@samba.org>
31980
31981 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31982 MAP_HUGETLB.
31983 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31984 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31985 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31986
1e3cdfda
AJ
319872012-03-27 David S. Miller <davem@davemloft.net>
31988
b855ab85
DM
31989 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31990
1e3cdfda
AJ
31991 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31992 have-as-vis3 check.
31993
319942012-03-27 Andreas Jaeger <aj@suse.de>
31995
31996 * sysdeps/x86_64/elf/configure.in: Moved to ...
31997 * sysdeps/x86_64/configure.in: ... here.
31998 * sysdeps/x86_64/elf/start.S: Moved to ...
31999 * sysdeps/x86_64/start.S: ... here.
32000 * sysdeps/x86_64/elf/configure: Delete.
32001
32002 * sysdeps/x86_64/configure.in: Merge contents from
32003 sysdeps/i386/configure.in (without i686 check).
32004
32005 * sysdeps/i386/elf/Versions: Merge into ...
32006 * sysdeps/i386/Versions: ... this.
32007 * sysdeps/i386/elf/Versions: Delete file.
32008 * sysdeps/i386/elf/start.S: Moved to ...
32009 * sysdeps/i386/start.S: ...here.
32010 * sysdeps/i386/elf/configure.in: Merge into...
32011 * sysdeps/i386/configure.in: ...here.
32012 * sysdeps/i386/elf/configure.in: Delete file.
32013 * sysdeps/i386/elf/configure: Delete file.
32014
32015 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32016 * debug/backtracesyms.c: ... here.
32017 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32018 * debug/backtracesymsfd.c: ... here.
32019 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32020 * sysdeps/generic/ifunc-sel.h: ... here.
32021
32022 * sysdeps/unix/i386/start.c: Delete file.
32023 * sysdeps/unix/sparc/start.c: Delete file.
32024 * sysdeps/unix/start.c: Delete file.
32025
32026 * sysdeps/sh/elf/configure.in: Moved to ...
32027 * sysdeps/sh/configure.in: ... here.
32028 * sysdeps/sh/elf/start.S: Moved to ...
32029 * sysdeps/sh/start.S: ... here.
32030 * sysdeps/sh/elf/configure: Delete file.
32031
32032 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32033 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32034 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32035 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32036 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32037 * sysdeps/powerpc/powerpc64/start.S: here.
32038 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32039 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32040 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32041 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32042 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32043
32044 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32045 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32046 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32047 * sysdeps/powerpc/powerpc32/start.S: ... here.
32048 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32049 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32050 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32051
32052 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32053 * sysdeps/powerpc/ifunc-sel.h: ... here.
32054 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32055 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32056
32057 * sysdeps/sparc/elf/configure.in: Moved to ...
32058 * sysdeps/sparc/configure.in: ... here.
32059 * sysdeps/sparc/elf/configure: Delete file.
32060 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32061 * sysdeps/sparc/sparc32/start.S: ... here.
32062 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32063 * sysdeps/sparc/sparc64/start.S: ... here.
32064 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32065 * sysdeps/sparc/sparc32/Makefile: ... this.
32066 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32067 * sysdeps/sparc/sparc64/Makefile: ... this.
32068
32069 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32070 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32071 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32072 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32073 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32074 * sysdeps/s390/s390-32/setjmp.S: ... here.
32075 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32076 * sysdeps/s390/s390-32/configure.in: ... here.
32077 * sysdeps/s390/s390-32/elf/configure: Delete file.
32078 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32079 * sysdeps/s390/s390-32/start.S: ... here.
32080
32081 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32082 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32083 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32084 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32085 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32086 * sysdeps/s390/s390-64/setjmp.S: ... here.
32087 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32088 * sysdeps/s390/s390-64/configure.in: ... here
32089 * sysdeps/s390/s390-64/elf/configure: Delete file.
32090 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32091 * sysdeps/s390/s390-64/start.S: ... here.
32092 * sysdeps/s390/s390-64/elf/configure: Delete.
32093
32094 * configure.in: Remove support for elf directories in sysdeps.
32095
32096 * configure: Regenerated.
32097 * sysdeps/i386/configure: Regenerated.
32098 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32099 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32100 * sysdeps/s390/s390-32/configure: Regenerated.
32101 * sysdeps/s390/s390-64/configure: Regenerated.
32102 * sysdeps/sh/configure: Regenerated.
32103 * sysdeps/sparc/configure: Regenerated.
32104 * sysdeps/x86_64/configure: Regenerated.
32105
a3f61311
AS
321062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32107
c876e002
AS
32108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32109
a3f61311
AS
32110 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32111 denormal result into account.
32112
ac4c54f0
RM
321132012-03-25 Roland McGrath <roland@hack.frob.com>
32114
32115 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32116 Reported by Allan McRae <allan@archlinux.org>.
32117
6a9b9c02
JL
321182012-03-23 Jeff Law <law@redhat.com>
32119
32120 * nss/getnssent.c (__nss_getent): Fix typo.
32121
4c42a0c1
DM
321222012-03-23 David S. Miller <davem@davemloft.net>
32123
32124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32125
1532c7ac
L
321262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32129 to pad to uint64_t for each field.
32130 (dl_tls_index): Replace unsigned long with uint64_t.
32131
3ff42526
PP
321322012-03-23 Daniel Jacobowitz <dmj@google.com>
32133 Paul Pluzhnikov <ppluzhnikov@google.com>
32134
32135 [BZ #6528]
32136 * grp/Makefile (otherlibs): Don't set it.
32137 * inet/Makefile (otherlibs): Likewise.
32138 * login/Makefile (otherlibs): Likewise.
32139 * nscd/Makefile (otherlibs): Likewise.
32140 * posix/Makefile (otherlibs): Likewise.
32141 * pwd/Makefile (otherlibs): Likewise.
32142 * rt/Makefile (otherlibs): Likewise.
32143 * sunrpc/Makefile (otherlibs): Likewise.
32144 * nss/Makefile (otherlibs): Likewise.
32145 Add libnss_files to routines and static-only-routines.
32146 ($(objpfx)getent): Remove rule.
32147 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32148 static-only-routines.
32149
7c69cd14
JM
321502012-03-22 Joseph Myers <joseph@codesourcery.com>
32151
32152 [BZ #13892]
32153 * math/s_cexp.c: Include <float.h>.
32154 (__cexp): Handle exp result overflowing not necessarily
32155 overflowing both real and imaginary parts of result.
32156 * math/s_cexpf.c: Likewise.
32157 * math/s_cexpl.c: Likewise.
32158 * math/libm-test.inc (cexp_test): Add more tests.
32159 * sysdeps/i386/fpu/libm-test-ulps: Update.
32160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32161
81b035fe
L
321622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32163
32164 * include/link.h (ELFW): New macro.
32165 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32166 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32167
1da7940c
L
321682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32169
32170 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32171 with uint64_t.
32172
b749dbb9
L
321732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32174
32175 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32176 declaration.
32177 (struct La_x32_retval): Likewise.
32178
2ff87f3f
L
321792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32180
32181 * sysdeps/x86_64/preconfigure.in: New file.
32182 * sysdeps/x86_64/preconfigure: New generated file.
32183
c0df8e69
JM
321842012-03-22 Joseph Myers <joseph@codesourcery.com>
32185
48e44791
JM
32186 [BZ #13824]
32187 * math/e_exp2l.c: Include <float.h>.
32188 (__ieee754_exp2l): Handle overflow and underflow cases
32189 separately. Only pass fractional part of argument to
32190 __ieee754_expl.
32191 * math/libm-test.inc (exp2_test): Add more tests.
32192
c0df8e69
JM
32193 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32194 negating x to take absolute value.
32195 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32196 Likewise.
32197 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32198 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32199 Likewise.
32200 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32201 computing low part if x was negated.
32202 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32203
c8e43ba7
L
322042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32205
32206 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32207 la_x32_gnu_pltexit.
32208 (pltexit): Cast int_retval to ptrdiff_t.
32209 * elf/tst-auditmod3b.c: Likewise.
32210 * elf/tst-auditmod4b.c: Likewise.
32211 * elf/tst-auditmod5b.c: Likewise.
32212 * elf/tst-auditmod6b.c: Likewise.
32213 * elf/tst-auditmod6c.c: Likewise.
32214 * elf/tst-auditmod7b.c: Likewise.
32215
32216 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32217 and x32_gnu_pltexit.
32218
32219 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32220 __ELF_NATIVE_CLASS.
32221 (La_x32_regs): New macro.
32222 (La_x32_retval): Likewise.
32223 (la_x32_gnu_pltenter): New function prototype.
32224 (la_x32_gnu_pltexit): Likewise.
32225
7998fa78
AS
322262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32227
dcb33988
AS
32228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32229 exponent.
32230
233fc563
AS
32231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32232
7998fa78
AS
32233 * configure.in (libc_cv_cc_nofma): Check for option to disable
32234 generation of FMA instructions.
32235 * configure: Regenerate.
32236 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32237 * sysdeps/ieee754/dbl-64/Makefile: New file.
32238 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32239 Remove brandred-fma4.
32240 (CFLAGS-brandred-fma4.c): Remove.
32241 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32242 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32243 define.
32244 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32245 define.
32246
8e95c99a
L
322472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32248
32249 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32250 LLONG_MAX != LONG_MAX.
32251 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32252 (_fitoa_word): Likewise.
32253 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32254 LLONG_MAX != LONG_MAX.
32255 * stdio-common/_itowa.h: Include <_itoa.h>.
32256 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32257 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32258 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32259 only if not defined.
32260 (_ITOA_WORD_TYPE): Likewise.
32261 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32262 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32263
6f4db457
DM
322642012-03-21 David S. Miller <davem@davemloft.net>
32265
32266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32267
7785fe5a
L
322682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32269
32270 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32271 of x86_64 when setting libc_cv_slibdir, libdir and
32272 libc_cv_localedir.
32273 * sysdeps/unix/sysv/linux/configure: Regenerated.
32274
4535cd55
JM
322752012-03-21 Joseph Myers <joseph@codesourcery.com>
32276
32277 * manual/lang.texi (Old Varargs): Remove section.
32278 (How Variadic): Update menu.
32279 (va_start): Do not mention varargs.h.
32280
17228132
TS
322812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32282 Joseph Myers <joseph@codesourcery.com>
32283
32284 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32285 link test.
32286 * configure: Regenerated.
32287
8149f976
TS
322882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32289
05f3d1f6
UD
32290 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32291 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32292 conformtest.pl
8149f976 32293
1a4ac776
JM
322942012-03-21 Joseph Myers <joseph@codesourcery.com>
32295
be22ce65
JM
32296 * NOTES: Remove.
32297 * Makefile (files-for-dist): Remove NOTES.
32298 (NOTES): Remove rule.
32299 * README: Don't refer to NOTES.
32300 * manual/creature.texi: Don't include macros.texi.
32301 * manual/intro.texi (creature.texi): Remove comment referring to
32302 NOTES.
32303
40b601fb
JM
32304 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32305 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32306 * configure: Regenerated.
32307 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32308 LIBC_TRY_CC_OPTION.
32309 (libc_cv_as_i686): Likewise.
32310 (libc_cv_cc_avx): Likewise.
32311 (libc_cv_cc_sse2avx): Likewise.
32312 (libc_cv_cc_fma4): Likewise.
32313 (libc_cv_cc_novzeroupper): Likewise.
32314 * sysdeps/i386/configure: Regenerated.
32315
1a4ac776
JM
32316 [BZ #13883]
32317 * sysdeps/i386/fpu/s_cexp.S: Remove.
32318 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32319 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32320 * math/libm-test.inc (cexp_test): Add more tests.
32321 * sysdeps/i386/fpu/libm-test-ulps: Update.
32322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32323
a458e7fe
AM
323242012-03-21 Allan McRae <allan@archlinux.org>
32325
32326 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32327
0cb7efc5
JM
323282012-03-21 Joseph Myers <joseph@codesourcery.com>
32329
32330 [BZ #13871]
32331 * math/w_exp2.c: Do not include <float.h>.
32332 (o_threshold, u_threshold): Remove.
32333 (__exp2): Calculate result before checking finiteness and calling
32334 __kernel_standard.
32335 * math/w_exp2f.c: Likewise.
32336 * math/w_exp2l.c: Likewise.
32337 * math/libm-test.inc (exp2_test): Require overflow exception for
32338 1e6 input.
2460d3aa
JM
32339
32340 [BZ #3866]
32341 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32342 range of signed 64-bit integers before using fistpll. Remove
32343 checks for whether integers fit in mantissa bits.
32344 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32345 the range of signed 32-bit integers before using fistpl. Remove
32346 checks for whether integers fit in mantissa bits.
32347 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32348 (__ieee754_powl): Test for y outside the range of signed 64-bit
32349 integers before using fistpll. Reduce 64-bit values to 63-bit
32350 ones as needed.
32351 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32352 divide-by-zero is raised for zero to large negative powers.
32353 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32354 (__ieee754_powl): Test for y outside the range of signed 64-bit
32355 integers before using fistpll. Reduce 64-bit values to 63-bit
32356 ones as needed.
32357 * math/libm-test.inc (pow_test): Add more tests.
32358
eb96ffb0
L
323592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32360
32361 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32362 <stdio-common/_itoa.h>.
32363 * debug/segfault.c: Likewise.
32364 * elf/dl-cache.c: Likewise.
32365 * elf/dl-minimal.c: Likewise.
32366 * elf/dl-misc.c: Likewise.
32367 * elf/dl-sysdep.c: Likewise.
32368 * elf/dl-version.c: Likewise.
32369 * elf/rtld.c: Likewise.
32370 * hurd/hurdsock.c: Likewise.
32371 * hurd/lookup-retry.c: Likewise.
32372 * malloc/malloc.c: Likewise.
32373 * malloc/mtrace.c: Likewise.
32374 * nscd/nscd_getgr_r.c: Likewise.
32375 * nscd/nscd_getpw_r.c: Likewise.
32376 * nscd/nscd_getserv_r.c: Likewise.
32377 * posix/getopt_init.c: Likewise.
32378 * posix/wordexp.c: Likewise.
32379 * stdio-common/_itoa.c: Likewise.
32380 * stdio-common/printf_fphex.c: Likewise.
32381 * stdio-common/vfprintf.c: Likewise.
32382 * string/_strerror.c: Likewise.
32383 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32384 * sysdeps/i386/i686/hp-timing.h: Likewise.
32385 * sysdeps/mach/_strerror.c: Likewise.
32386 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32387 * sysdeps/mach/hurd/sethostid.c: Likewise.
32388 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32389 * sysdeps/mach/xpg-strerror.c: Likewise.
32390 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32391 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32392 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32393 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32394 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32395 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32396 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32397 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32398 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32399 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32400 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32401 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32402 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32403 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32404 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32405 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32406 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32407 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32408 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32409 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32410 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32411
32412 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32413
32414 * stdio-common/_itoa.h: Moved to ...
32415 * sysdeps/generic/_itoa.h: Here.
32416
32417 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32418
32419 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32420 instead of "_itoa.h" and "_itowa.h".
32421 * stdio-common/vfprintf.: Likewise.
32422
d1af992d
L
324232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32424
32425 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32426 <bits/wordsize.h>.
32427 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32428 (__signbit): Likwise.
32429 (llrintf): Likwise.
32430 (llrint): Likwise.
32431
114883e0
L
324322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32435 __WORDSIZE != 64.
32436
c135cc1b
JM
324372012-03-20 Joseph Myers <joseph@codesourcery.com>
32438
32439 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32440 OVERFLOW_EXCEPTION_OK.
32441 * math/libm-test.inc ("Philosophy"): Update comment about
32442 exception testing.
32443 (OVERFLOW_EXCEPTION): Define.
32444 (OVERFLOW_EXCEPTION_OK): Likewise.
32445 (INVALID_EXCEPTION_OK): Renumber.
32446 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32447 (IGNORE_ZERO_INF_SIGN): Likewise.
32448 (test_exceptions): Handle FE_OVERFLOW.
32449 (exp10_test): Expect overflow exceptions.
32450 (exp2_test): Likewise.
32451 (expm1_test): Likewise.
32452 (nextafter_test): Likewise.
32453 (pow_test): Likewise.
32454 (scalbn_test): Likewise.
32455 (scalbln_test): Likewise.
32456
95443d88
L
324572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32458
32459 * sysdeps/x86_64/bits/atomic.h
32460 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32461 64bit integer.
32462 (atomic_exchange_acq): Likewise.
32463 (__arch_exchange_and_add_body): Likewise.
32464 (__arch_add_body): Likewise.
32465 (atomic_add_negative): Likewise.
32466 (atomic_add_zero): Likewise.
32467
490df6c4
L
324682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32469
c2722551 32470 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32471 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32472
5e52b189
L
324732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32474
32475 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32476 Check __x86_64__ instead of __WORDSIZE.
32477
a9879d4c
L
324782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32479
32480 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32481
5df98260
DM
324822012-03-19 David S. Miller <davem@davemloft.net>
32483
e1497744
DM
32484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32485
5df98260
DM
32486 * sysdeps/sparc/fpu/fenv_private.h: New file.
32487 * sysdeps/sparc/fpu/math_private.h: Use it.
32488 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32489 Remove.
32490 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32491 (libc_feholdexcept_setroundl): Remove.
32492 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32493 Remove.
32494 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32495 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32496
b4c35121
L
324972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32498
32499 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32500 int64_t instead of long int.
32501 (INSERT_WORDS64): Likwise.
32502
56965fd7
L
325032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32504
32505 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32506 _Unwind_GetCFA return to _Unwind_Ptr first.
32507
83d1aec8
JM
325082012-03-19 Joseph Myers <joseph@codesourcery.com>
32509
1897ad44
JM
32510 [BZ #13629]
32511 * math/s_clog.c: Include <float.h>.
32512 (__clog): Scale large or subnormal inputs.
32513 * math/s_clogf.c: Likewise.
32514 * math/s_clogl.c: Likewise.
32515 * math/s_clog10.c: Include <float.h>.
32516 (M_LOG10_2): Define.
32517 (__clog10): Scale large or subnormal inputs.
32518 * math/s_clog10f.c: Likewise.
32519 * math/s_clog10l.c: Likewise.
32520 * math/libm-test.inc (clog_test): Add more tests.
32521 (clog10_test): Likewise.
32522 * sysdeps/i386/fpu/libm-test-ulps: Update.
32523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32524
7726d6a9
JM
32525 [BZ #11451]
32526 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32527 x and y.
32528 * math/libm-test.inc (atan2_test): Add another test.
32529
83d1aec8
JM
32530 * Makerules (common-objdir-compile): Remove.
32531 * sysdeps/unix/Makefile (config-generated): Do not add
32532 $(unix-generated) to variable.
32533 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32534 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32535 Remove rule.
32536 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32537 Likewise.
32538 [generic bits/local_lim.h] (before-compile): Do not append to
32539 variable.
32540 [generic bits/local_lim.h] (common-generated): Likewise.
32541 [generic sys/param.h] (before-compile): Do not append to variable.
32542 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32543 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32544 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32545 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32546 include.
32547 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32548 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32549 [generic sys/param.h] ($(addprefix
32550 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32551 [generic sys/param.h] (common-generated): Do not append to
32552 variable.
32553 [generic sys/param.h] (sysdep_headers): Likewise.
32554 [generic bits/errno.h] (before-compile): Do not append to
32555 variable.
32556 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32557 rule.
32558 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32559 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32560 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32561 [generic bits/errno.h] (common-generated): Do not append to
32562 variable.
32563 [generic bits/ioctls.h] (before-compile): Do not append to
32564 variable.
32565 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32566 rule.
32567 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32568 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32569 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32570 rule.
32571 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32572 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32573 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32574 [generic bits/ioctls.h] (common-generated): Do not append to
32575 variable.
32576 [generic sys/syscall.h] (syscall.h): Remove variable.
32577 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32578 rule.
32579 [generic sys/syscall.h] (before-compile): Do not append to
32580 variable.
32581 [generic sys/syscall.h] (common-generated): Likewise.
32582 * sysdeps/unix/errnos-tmpl.c: Remove file.
32583 * sysdeps/unix/errnos.awk: Likewise.
32584 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32585 * sysdeps/unix/ioctls.awk: Likewise.
32586 * sysdeps/unix/mk-local_lim.c: Likewise.
32587 * sysdeps/unix/snarf-ioctls: Likewise.
32588
4851a949
RH
325892012-03-19 Richard Henderson <rth@twiddle.net>
32590
bd37f2ee
RH
32591 * sysdeps/i386/fpu/fenv_private.h: New file.
32592 * sysdeps/i386/fpu/math_private.h: Use it.
32593 (math_opt_barrier, math_force_eval): Remove.
32594 (libc_feholdexcept_setround_53bit): Remove.
32595 (libc_feupdateenv_53bit): Remove.
32596 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32597 (math_opt_barrier, math_force_eval): Remove.
32598 (libc_feholdexcept): Remove.
32599 (libc_feholdexcept_setround): Remove.
32600 (libc_fetestexcept, libc_fesetenv): Remove.
32601 (libc_feupdateenv_test): Remove.
32602 (libc_feupdateenv, libc_feholdsetround): Remove.
32603 (libc_feresetround): Remove.
32604
d0adc922
RH
32605 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32606 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32607
0fe0f1f8
RH
32608 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32609 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32610 (libc_feupdateenv_testl): New.
32611 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32612 (libc_feupdateenv_testf): New.
32613 (libc_feupdateenv): Use libc_feupdateenv_test.
32614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32615 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32616
eb92c487
RH
32617 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32618 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32619 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32620 (libc_feresetround_noex): New.
32621 (libc_feresetround_noexf): New.
32622 (libc_feresetround_noexl): New.
32623 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32624 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32625 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32626 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32627 SET_RESTORE_ROUND.
32628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32630 (__cos): Likewise.
32631 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32632 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32633 SET_RESTORE_ROUND_NOEX.
32634 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32635 SET_RESTORE_ROUND_NOEXF.
32636 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32637 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32638 (libc_feholdsetroundf): New.
32639 (libc_feresetround, libc_feresetroundf): New.
32640
7d2e8012
RH
32641 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32642 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32643 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32644
b4dabbb4
RH
32645 * sysdeps/generic/math_private.h: Include <fenv.h>.
32646 (default_libc_feholdexcept): New.
32647 (default_libc_feholdexcept_setround): New.
32648 (default_libc_fesetenv, default_libc_feupdateenv): New.
32649 (libc_feholdexcept): Only define if undefined.
32650 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32651 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32652 (libc_feholdexcept_setroundl): Likewise.
32653 (libc_feholdexcept_setround_53bit): Likewise.
32654 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32655 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32656 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32657 (libc_feupdateenv_53bit): Likewise.
32658 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32659 (libc_feholdexcept): Convert from macro to inline function.
32660 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32661 (libc_fesetenv, libc_feupdateenv): Likewise.
32662
4851a949
RH
32663 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32664 not previously defined.
32665 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32666 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32667 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32668 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32669 * sysdeps/ieee754/flt-32/math_private.h: New file.
32670 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32671 math_private.h below SET_FLOAT_WORD.
32672 (__isnan, __isinf_ns, __finite): Remove.
32673 (__isnanf, __isinf_nsf, __finitef): Remove.
32674
e79d442e
AS
326752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32676
32677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32678
90b80344
DM
326792012-03-17 David S. Miller <davem@davemloft.net>
32680
32681 [BZ #6471]
32682 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32683 for 2.16.
32684
edc21804
DM
326852012-03-16 David S. Miller <davem@davemloft.net>
32686
77e927af
DM
32687 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32688 warnings.
32689
374976dd
DM
32690 [BZ #6471]
32691 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32692 properly.
32693 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32694 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32695 sysdep_routines when subdir is sysvipc.
32696 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32697 __getshmlba helper.
32698
edc21804
DM
32699 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32700
473c3ef3
L
327012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32702
32703 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32704 [__LP64__].
32705
eb0f39b6
L
327062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32707
32708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32709 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32710 (__lround): Renamed to ...
32711 (__llround): This. Replace long int with long long int.
32712 Define lround functions as aliases of llround functions.
32713 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32714
6b6cd74b
L
327152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32716
32717 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32718 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32719 adresses to uintptr_t. Replace "long int" and "unsigned long
32720 int" with "greg_t" on va_arg.
32721
f1a77b01
L
327222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32723
32724 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32725 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32726
32727 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32728 Move e_machine check before EI_CLASS check. Handle x32
32729 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32730 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32731 SKIP_EM_IA_64 and include
32732 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32733
32734 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32735 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32736 (add_system_dir): New macro.
32737
32738 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32739 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32740
11b90b9f
JM
327412012-03-16 Joseph Myers <joseph@codesourcery.com>
32742
c36e1d23
JM
32743 [BZ #2551]
32744 [BZ #2552]
32745 [BZ #2553]
32746 [BZ #2554]
32747 [BZ #2562]
32748 [BZ #2563]
32749 [BZ #2565]
32750 [BZ #2566]
32751 [BZ #2576]
32752 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32753 (y0): Likewise.
32754 * math/w_j0f.c (j0f): Likewise.
32755 (y0f): Likewise.
32756 * math/w_j0l.c (__j0l): Likewise.
32757 (__y0l): Likewise.
32758 * math/w_j1.c (j1): Likewise.
32759 (y1): Likewise.
32760 * math/w_j1f.c (j1f): Likewise.
32761 (y1f): Likewise.
32762 * math/w_j1l.c (__j1l): Likewise.
32763 (__y1l): Likewise.
32764 * math/w_jn.c (jn): Likewise.
32765 (yn): Likewise.
32766 * math/w_jnf.c (jnf): Likewise.
32767 (ynf): Likewise.
32768 * math/w_jnl.c (__jnl): Likewise.
32769 (__ynl): Likewise.
32770 * math/libm-test.inc (j0_test): Add more tests.
32771 (j1_test): Likewise.
32772 (jn_test): Likewise. Add trailing semicolon to existing test.
32773 (y0_test): Likewise.
32774 (y1_test): Likewise.
32775 * sysdeps/i386/fpu/libm-test-ulps: Update.
32776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32777
11b90b9f
JM
32778 [BZ #13851]
32779 [BZ #13854]
32780 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32781 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32782 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32783 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32784 (__tanl): Set errno for infinite argument.
32785 * sysdeps/i386/fpu/mptan.c: Remove.
32786 * sysdeps/i386/fpu/s_tan.S: Likewise.
32787 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32788 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32789 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32790 * math/libm-test.inc (tan_test): Add more tests and enable more
32791 tests for double and long double.
32792 * sysdeps/i386/fpu/libm-test-ulps: Update.
32793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32794
6a1bd2a1
JK
327952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32796
32797 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32798 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32799
10a803e0
RM
328002012-03-16 Roland McGrath <roland@hack.frob.com>
32801
32802 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32803 * configure.in: Use it for both main tree and add-ons.
32804 * configure: Regenerated.
32805
f196c7f7
L
328062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32809
8848d99d
JM
328102012-03-16 Joseph Myers <joseph@codesourcery.com>
32811
96cbe7f4
JM
32812 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32813 in comment.
32814
8848d99d
JM
32815 [BZ #13851]
32816 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32817 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32818 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32819 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32820 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32821 infinite argument.
32822 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32824 != 0 for prec == 2.
32825 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32826 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32827 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32828 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32829 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32830 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32831 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32832 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32833 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32834 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32835 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32836 * math/libm-test.inc (cos_test): Add more tests and enable more
32837 tests for long double.
32838 (sin_test): Likewise.
32839 (sincos_test): Likewise.
32840 * sysdeps/i386/fpu/libm-test-ulps: Update.
32841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32842
dd7f4703
DM
328432012-03-16 David S. Miller <davem@davemloft.net>
32844
32845 * sysdeps/sparc/fpu/math_private.h: New file.
32846
006f1daa
DM
328472012-03-15 David S. Miller <davem@davemloft.net>
32848
c0c83bc8
DM
32849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32850 file.
e6a62e18 32851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32853 file.
e6a62e18
DM
32854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32860 sysdep routines.
32861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32862
88cb87d9
DM
32863 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32864 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32865
006f1daa 32866 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32868 sparc-ifunc.h
006f1daa 32869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32871 Likewise.
32872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32873 Likewise.
006f1daa
DM
32874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32878 Likewise.
006f1daa
DM
32879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32884 Likewise.
32885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32886 Likewise.
006f1daa
DM
32887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32896 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32905 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32906 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32908 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32910 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32911
11e0098e
AS
329122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32913
32914 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32915 scaling.
32916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32917
e85b09d0
AJ
329182012-03-15 Andreas Jaeger <aj@suse.de>
32919
32920 [BZ #13852]
32921 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32922 ieee754/flt-32 implementation for sin, cos and sincos.
32923 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32924 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32925 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32926 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32927 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32928 ieee754/flt-32 implementation for tan.
32929
32930 * math/libm-test.inc (cos_test): Enable some large input tests for
32931 float as well
32932 (sin_test): Likewise.
32933 (sincos_test): Likewise.
32934 (tan_test): Add tests for large input.
32935
32936 * sysdeps/i386/fpu/libm-test-ulps: Update.
32937
81c64153
AJ
329382012-03-15 Andreas Jaeger <aj@suse.de>
32939
32940 [BZ #13658]
32941 * math/libm-test.inc (cos_test): Add more test cases.
32942 (sin_test): Likewise.
32943 (sincos_test): Likewise.
32944
7bbfa5c6
AJ
329452012-03-15 Andreas Jaeger <aj@suse.de>
32946
32947 [BZ #13837]
32948 * math/libm-test.inc (cos_test): Add a test case for large input
32949 value.
32950 (sin_test): Likewise.
32951 (sincos_test): Likewise.
32952
329532012-03-15 Andreas Jaeger <aj@suse.de>,
32954 Joseph Myers <joseph@codesourcery.com>
32955
32956 [BZ #13658]
0671f479 32957 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32958 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32959 * sysdeps/i386/fpu/branred.c: Likewise.
32960 * sysdeps/i386/fpu/dosincos.c: Likewise.
32961 * sysdeps/i386/fpu/mpa.c: Likewise.
32962 * sysdeps/i386/fpu/s_cos.S: Likewise.
32963 * sysdeps/i386/fpu/s_sin.S: Likewise.
32964 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32965 * sysdeps/i386/fpu/sincos32.c: Likewise.
32966
32967 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32968 Define.
32969 (libc_feupdateenv_53bit): Define.
32970 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32971 Define.
32972 (libc_feupdateenv_53bit): Define.
32973
32974 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32975 53 bit (without extend i386 double precision).
32976
32977 * math/libm-test.inc (sincos_test): Add tests for large input.
32978 (sin): Likewise.
32979 (cos): Likewise.
32980
32981 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32982
9cad04ea
AS
329832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32984
32985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32986
f7062b9a
DM
329872012-03-15 David S. Miller <davem@davemloft.net>
32988
32989 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32990 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32991 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32992 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33005 file.
f7062b9a 33006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33008 file.
f7062b9a 33009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33011 file.
f7062b9a 33012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33014 file.
f7062b9a
DM
33015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33017 fmin/fmax sysdep routines.
33018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33019
7bd951ff
DM
330202012-03-14 David S. Miller <davem@davemloft.net>
33021
559398ab
DM
33022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33029 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33042 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33043 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33044 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33045 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33047 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33048 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33051 routines.
33052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33053 file.
559398ab 33054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33056 file.
559398ab 33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33059 file.
559398ab 33060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33062 file.
559398ab 33063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33065 file.
559398ab 33066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33068 file.
33069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33070 file.
33071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33072 file.
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33074 file.
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33076 New file.
33077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33078 file.
33079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33080 file.
559398ab 33081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33083 file.
559398ab 33084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33086 file.
559398ab 33087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33089 file.
559398ab 33090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33092 VIS3 routines.
559398ab
DM
33093
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33095 New file.
33096
5a1c1e32
DM
33097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33098
eae47a36
DM
33099 * sysdeps/sparc/configure.in: New file.
33100 * sysdeps/sparc/configure: Generate.
33101 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33102 * configure: Regenerate.
33103 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33104 * config.make.in (have-as-vis3): New.
33105 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33106 available use -Av9d instead of -Av9a.
33107 * sysdeps/sparc/sparc64/Makefile: Likewise.
33108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33110 New file.
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33112 file.
33113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33114 New file.
33115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33116 file.
eae47a36
DM
33117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33118 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33119 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33122
c0c83bc8
DM
33123 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33124 fzeros/fnegs to load 0x80000000 into a float register instead of
33125 using the stack.
7bd951ff
DM
33126 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33127
bd951ccb
JM
331282012-03-14 Joseph Myers <joseph@codesourcery.com>
33129
33130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33131 bits/syscall.h.
33132 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33133 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33134 ($(inst_includedir)/bits/syscall.h): Remove rule.
33135 ($(objpfx)bits/syscall.d): Include instead of
33136 $(objpfx)syscall-list.d.
33137 (generated): Change syscall-list.h and syscall-list.d to
33138 bits/syscall.h and bits/syscall.d.
33139
bb4e6db2
RM
331402012-03-14 Roland McGrath <roland@hack.frob.com>
33141
33142 [BZ #13846]
33143 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33144
aa4a2ae1
JM
331452012-03-14 Joseph Myers <joseph@codesourcery.com>
33146
e456826d
JM
33147 [BZ #13841]
33148 * math/s_csqrt.c: Include <float.h>.
33149 (__csqrt): Scale large or subnormal inputs.
33150 * math/s_csqrtf.c: Likewise.
33151 * math/s_csqrtl.c: Likewise.
33152 * math/libm-test.inc (csqrt_test): Add more tests.
33153 * sysdeps/i386/fpu/libm-test-ulps: Update.
33154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33155
aa4a2ae1
JM
33156 [BZ #13840]
33157 * math/libm-test.inc (hypot_test): Add more tests.
33158
7c10fd35
DM
331592012-03-13 David S. Miller <davem@davemloft.net>
33160
33161 [BZ #13840]
33162 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33163 double-precision for the calculation instead of scaling.
33164
f453b98b
JM
331652012-03-13 Joseph Myers <joseph@codesourcery.com>
33166
33167 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33168 manipulate bits before adding and subtracting TWO52[sx].
33169 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33170 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33171 Likewise.
33172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33173
09a3453f
DM
331742012-03-13 David S. Miller <davem@davemloft.net>
33175
8e59da90
DM
33176 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33177 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33179 rtld-global-offsets.h
33180 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33181
2a8ab7f2
DM
33182 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33183 large parameters.
33184
10f62770
DM
33185 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33186
5f0bdb18
DM
33187 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33188 'err' in the ifdef scope in which it is actually used.
33189
09a3453f
DM
33190 * nss/nss_db/db-init.c: Include string.h
33191
b4b2eb5e
DM
331922012-03-12 David S. Miller <davem@davemloft.net>
33193
98bb2f1c
DM
33194 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33195 masking out of the most significant byte of random value used.
33196 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33197 Fix coding style in previous change.
33198
b4b2eb5e
DM
33199 * sysdeps/unix/sysv/linux/kernel-features.h
33200 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33201 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33202 expression.
33203 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33204 later.
33205
6e226b09
DM
332062012-03-11 David S. Miller <davem@davemloft.net>
33207
a1bcbd40
DM
33208 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33209 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33211 for 'resultvar' otherwise things get truncated on 64-bit.
33212
cb9d6174
DM
33213 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33214 Fix masking out of the most significant byte of random value used.
33215
6e226b09
DM
33216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33217
058c132d
AS
332182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33219
33220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33221
2d2cd515
DM
332222012-03-09 David S. Miller <davem@davemloft.net>
33223
33224 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33225 variables with appropriate CPP guards.
33226 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33227 frame pointer, not the stack pointer. Correct layout comments. Fix test
33228 on resulting framesize and the management of the outregs buffer for pltexit.
33229 Preserve floating point return values across _dl_call_pltexit call.
33230 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33231 framesize and the management of the outregs buffer for pltexit.
33232 Preserve floating point return values across _dl_call_pltexit
33233 call.
33234 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33235 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33236 (print_exit): Fix format string for return register value.
33237
9a07f9d0
JM
332382012-03-10 Joseph Myers <joseph@codesourcery.com>
33239
33240 * sunrpc/Makefile (others): Add rpcgen.
33241 ($(objpfx)rpcgen): Remove special build rule and dependency on
33242 libc.
33243 * sunrpc/rpcgen.c: New file.
33244
547b5e30
PE
332452012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33246
c524201a
PE
33247 [BZ #13673]
33248 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33249 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33250 * sysdeps/i386/crti.S: Likewise.
33251 * sysdeps/i386/crtn.S: Likewise.
33252 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33253 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33254 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33255 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33256 * sysdeps/sh/crti.S: Likewise.
33257 * sysdeps/sh/crtn.S: Likewise.
33258 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33259
7b6235f2
PE
33260 [BZ #13673]
33261 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33262 with URL.
33263 * locale/programs/locfile-kw.gperf: Likewise.
33264 * locale/programs/charmap-kw.h: Regenerated.
33265 * locale/programs/locfile-kw.h: Likewise.
33266
547b5e30
PE
33267 [BZ #13673]
33268 * intl/plural.y: Replace FSF snail mail address with URL.
33269 * intl/plural.c: Regenerated.
33270
5f0a5dae
RH
332712012-03-09 Richard Henderson <rth@twiddle.net>
33272
33273 * include/math_private.h: Remove file.
33274 * math/math_private.h: Move file ...
33275 * sysdeps/generic/math_private.h: ... here.
33276
b8c03620
RH
33277 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33278 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33279 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33280
4e234f5d 33281 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33282 and <math_private.h>.
33283 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33284 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33285 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33286 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33287 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33288 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33290 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33291 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33292 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33294 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33295 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33296 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33300 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33301 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33302 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33304 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33305 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33307 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33308 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33309 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33310 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33312 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33314 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33315 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33316 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33317 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33318 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33319 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33320 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33321 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33322 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33323 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33324 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33325 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33326 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33327 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33328 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33329 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33330 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33331 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33332 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33333 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33335 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33336 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33337 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33338 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33340 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33341 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33343 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33344 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33346 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33347 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33348 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33362 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33363 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33364 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33366 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33369 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33370 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33371 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33372 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33373 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33374 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33376 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33377 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33378 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33379 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33380 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33381 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33382 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33383 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33384 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33385 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33386 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33387 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33388 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33389 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33390 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33391 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33392 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33393 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33394 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33395 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33396 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33397 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33398 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33399 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33400 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33401 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33402 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33403 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33404 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33405 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33406 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33407 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33408 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33409 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33410 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33411 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33412 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33413 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33414 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33415 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33416 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33417 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33418 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33419 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33420 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33421 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33422 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33423 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33424 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33425 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33426 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33427 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33428 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33429 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33430 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33431 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33432 * sysdeps/ieee754/k_standard.c: Likewise.
33433 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33434 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33435 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33436 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33437 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33438 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33439 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33440 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33441 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33442 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33443 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33444 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33447 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33448 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33449 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33450 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33468 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33469 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33472 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33473 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33477 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33481 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33483 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33484 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33485 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33487 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33488 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33489 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33490 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33492 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33493 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33494 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33496 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33497 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33498 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33500 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33501 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33502 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33503 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33506 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33507 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33508 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33509 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33510 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33511 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33512 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33513 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33514 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33515 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33516 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33517 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33518 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33519 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33520 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33521 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33522 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33523 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33524 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33525 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33526 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33527 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33528 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33529 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33530 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33531 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33533 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33534 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33535 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33536 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33544 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33545 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33546 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33547 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33548 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33549 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33550 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33551 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33552 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33553 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33555 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33557 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33558 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33559 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33560 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33561 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33562 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33563 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33564 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33565 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33566 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33567 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33568 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33569 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33570 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33571 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33572 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33573 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33574 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33575 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33576 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33577 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33578 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33579 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33580 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33581 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33582 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33583 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33584 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33585 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33586 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33587 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33588 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33589 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33590 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33591 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33592 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33593 * sysdeps/ieee754/s_lib_version.c: Likewise.
33594 * sysdeps/ieee754/s_matherr.c: Likewise.
33595 * sysdeps/ieee754/s_signgam.c: Likewise.
33596 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33597 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33598 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33599 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33600 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33601 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33602 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33603 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33604 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33605 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33606 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33607 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33608 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33609 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33610 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33611 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33612 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33613 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33614 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33615 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33616 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33617
1991fa03
JM
336182012-03-09 Joseph Myers <joseph@codesourcery.com>
33619
33620 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33621 * sunrpc/rpc_main.c: Likewise.
33622 * sunrpc/rpc_svcout.c: Likewise.
33623
60d6f5a6
DM
336242012-03-09 David S. Miller <davem@davemloft.net>
33625
33626 * include/math_private.h: New file.
33627
4962050e
JM
336282012-03-09 Joseph Myers <joseph@codesourcery.com>
33629
02a6f887
JM
33630 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33631 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33632 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33633 from <bits/socket_type.h>.
33634 (enum __socket_type): Don't define here.
33635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33637 bits/socket_type.h.
33638
c6e013c1
JM
33639 [BZ #13566]
33640 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33641 checking __USE_GNU.
33642
4962050e
JM
33643 * Makerules ($(inst_includedir)/%.h): New rule.
33644 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33645 (install-others): Remove variable setting.
33646 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33647
38842f45
RH
336482012-03-08 Richard Henderson <rth@twiddle.net>
33649
67bb6da6
RH
33650 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33651 from macro to inline function; merge with the
33652 !__LIBC_INTERNAL_MATH_INLINES version.
33653 (__ieee754_sqrtf): Likewise.
33654
15194b4b
RH
33655 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33656 to inline function.
33657 (__rintf, __floor, __floorf): Likewise.
33658
64e21ede
RH
33659 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33660 macro to inline function.
33661 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33662
38842f45
RH
33663 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33664 not <math/math_private.h>.
33665
c64bf5fe
DM
336662012-03-08 David S. Miller <davem@davemloft.net>
33667
33668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33669 copyright year.
33670 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33671
82d86f28
TS
336722012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33673
33674 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33675 normalization.
33676 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33677 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33678
aea5d727
UD
336792012-03-08 Ulrich Drepper <drepper@gmail.com>
33680
33681 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33682 be defined individually, they must be defined as a block. Define
33683 S for printing a string instead of hidint the different by using a
33684 macro for adding the 'l'.
33685 * stdio-common/tst-fphex-wide.c: Adjust.
33686
70bca0a3
MP
336872012-03-07 Marek Polacek <polacek@redhat.com>
33688
33689 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33690
65b81130
MP
336912012-03-08 Marek Polacek <polacek@redhat.com>
33692
33693 [BZ #13806]
33694 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33695 * stdio-common/tst-fphex.c: Define a few macros to make the
33696 test reusable. Use them.
33697 * stdio-common/tst-fphex-wide.c: New file.
33698
07037eeb
JM
336992012-03-08 Joseph Myers <joseph@codesourcery.com>
33700
a7a93d50
JM
33701 [BZ #6911]
33702 * manual/macros.texi (gnusystems): New macro.
33703 (nongnusystems): Likewise.
33704 (gnulinuxhurdsystems): Likewise.
33705 (gnuhurdsystems): Likewise..
33706 (gnulinuxsystems): Likewise.
33707 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33708 variants of the GNU system, not "GNU system".
33709 * manual/conf.texi: Likewise.
33710 * manual/errno.texi: Likewise. Update example of errno macro
33711 expansion.
33712 * manual/filesys.texi: Likewise.
33713 (getumask): Document as specific to GNU/Hurd.
33714 * manual/install.texi: Likewise. Reword some references to
33715 GNU/Linux.
33716 * manual/intro.texi: Likewise.
33717 * manual/io.texi: Likewise.
33718 (File Name Portability): Detail which constraints are inapplicable
33719 to all GNU systems and which are only inapplicable to GNU/Hurd.
33720 * manual/job.texi: Likewise.
33721 * manual/llio.texi: Likewise.
33722 (O_NOCTTY): Document as present on GNU/Linux.
33723 * manual/maint.texi: Likewise.
33724 * manual/memory.texi: Likewise.
33725 * manual/pattern.texi: Likewise.
33726 * manual/pipe.texi: Likewise.
33727 * manual/process.texi: Likewise.
33728 * manual/resource.texi: Likewise.
33729 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33730 child on GNU/Hurd.
33731 * manual/setjmp.texi: Likewise.
33732 * manual/signal.texi: Likewise.
33733 * manual/startup.texi: Likewise.
33734 * manual/stdio.texi: Likewise.
33735 * manual/terminal.texi: Likewise.
33736 (ONLCR): Document as POSIX.
33737 (OXTABS): Document availability on GNU/Linux as XTABS.
33738 (ONOEOT): Document availability separately from other bits.
33739 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33740 * manual/time.texi: Likewise.
33741 * manual/users.texi: Likewise.
33742 * INSTALL: Regenerated.
33743 * sysdeps/gnu/errlist.c: Regenerated.
33744
07037eeb
JM
33745 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33746 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33747 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33748 puts.
33749 * configure: Regenerated.
33750
d1d3431a
JM
337512012-03-07 Joseph Myers <joseph@codesourcery.com>
33752
af6a1e37
JM
33753 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33754 default includes instead of AC_HEADER_CHECK.
33755 * sysdeps/i386/configure: Regenerated.
33756
d1d3431a
JM
33757 [BZ #10716]
33758 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33759 * math/s_cacoshf.c (__cacoshf): Likewise.
33760 * math/s_cacoshl.c (__cacoshl): Likewise.
33761 * math/s_casinh.c (__casinh): Set signs of result from argument.
33762 * math/s_casinhf.c (__casinhf): Likewise.
33763 * math/s_casinhl.c (__casinhl): Likewise.
33764 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33765 (casinh_test): Add more tests.
33766 * sysdeps/i386/fpu/libm-test-ulps: Update.
33767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33768
482ff4da
UD
337692012-03-07 Ulrich Drepper <drepper@gmail.com>
33770
872fda05
UD
33771 * po/zh_TW.po: Update from translation team.
33772
a4300c7a
UD
33773 * login/Makefile (distribute): Remove variable.
33774 * catgets/Makefile: Likewise.
33775 * mach/Makefile: Likewise.
33776 * malloc/Makefile: Likewise.
33777 * misc/Makefile: Likewise.
33778 * iconv/Makefile: Likewise.
33779 * nscd/Makefile: Likewise.
33780 * hurd/Makefile: Likewise.
33781 * manual/Makefile: Likewise.
33782 * locale/Makefile: Likewise.
33783 * intl/Makefile: Likewise.
33784 * conform/Makefile: Likewise.
33785 * nss/Makefile: Likewise.
33786 * time/Makefile: Likewise.
33787 * soft-fp/Makefile: Likewise.
33788 * dirent/Makefile: Likewise.
33789 * gmon/Makefile: Likewise.
33790 * po/Makefile: Likewise.
33791 * rt/Makefile: Likewise.
33792 * socket/Makefile: Likewise.
33793 * math/Makefile: Likewise.
33794 * signal/Makefile: Likewise.
33795 * debug/Makefile: Likewise.
33796 * elf/Makefile: Likewise.
33797 * timezone/Makefile: Likewise.
33798 * stdlib/Makefile: Likewise.
33799 * iconvdata/Makefile: Likewise.
33800 * sunrpc/Makefile: Likewise.
33801 * io/Makefile: Likewise.
33802 * argp/Makefile: Likewise.
33803 * inet/Makefile: Likewise.
33804 * hesiod/Makefile: Likewise.
33805 * grp/Makefile: Likewise.
33806 * csu/Makefile: Likewise.
33807 * wctype/Makefile: Likewise.
33808 * crypt/Makefile: Likewise.
33809 * libio/Makefile: Likewise.
33810 * string/Makefile: Likewise.
33811 * nis/Makefile: Likewise.
33812 * resolv/Makefile: Likewise.
33813 * stdio-common/Makefile: Likewise.
33814 * wcsmbs/Makefile: Likewise.
33815 * dlfcn/Makefile: Likewise.
33816 * posix/Makefile: Likewise.
33817
3b7c4e74 33818 [BZ #6959]
482ff4da
UD
33819 * timezone/Makefile: Don't install timezone files, just the programs
33820 and scripts.
33821
f72ed77d
UD
338222012-03-06 Ulrich Drepper <drepper@gmail.com>
33823
a000466f
UD
33824 * nss/databases.def: Add missing gshadow entry.
33825
f72ed77d
UD
33826 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33827
a53b7a4e
MP
338282012-03-06 Marek Polacek <polacek@redhat.com>
33829
33830 [BZ #13726]
33831 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33832 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33833 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33834 * stdio-common/tst-long-dbl-fphex.c: New file.
33835
e9258400
DM
338362012-03-06 David S. Miller <davem@davemloft.net>
33837
33838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33839 (set_obp_int): New function.
33840 (get_obp_int): New function.
33841 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33842 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33843 Avoid unused variable warnings on 'val' and use builtin_expect.
33844 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33845 __builtin_expect.
e9258400
DM
33846 (INLINE_CLONE_SYSCALL): Likewise.
33847
3bd2c723
DM
338482012-03-05 David S. Miller <davem@davemloft.net>
33849
33850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33851
bbb78d03
AS
338522012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33853
884c5db4
AS
33854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33855
bbb78d03
AS
33856 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33857 only for |x| >= 40.
33858 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33859
1c9f702a 338602012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33861
33862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33863 Replace gettimeofday with __vdso_gettimeofday.
33864
7be16f82
RM
33865 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33866 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33867 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33868
33869 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33870 time with __vdso_time.
33871
ed58a00f
JM
338722012-03-05 Joseph Myers <joseph@codesourcery.com>
33873
33874 * manual/lang.texi (size_t): Note types to which size_t may be
33875 equivalent with the GNU C Library, but do not describe when
33876 differences between them are significant.
33877
30ee4ced
AJ
338782012-03-05 Andreas Jaeger <aj@suse.de>
33879
33880 * sysdeps/i386/fpu/libm-test-ulps: Update.
33881
b7cd39e8
JM
338822012-03-05 Joseph Myers <joseph@codesourcery.com>
33883
33884 [BZ #3976]
33885 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33886 (__ieee754_pow): Save and restore rounding mode and use
33887 round-to-nearest for main computations.
33888 * math/libm-test.inc (pow_test_tonearest): New function.
33889 (pow_test_towardzero): Likewise.
33890 (pow_test_downward): Likewise.
33891 (pow_test_upward): Likewise.
33892 (main): Call the new functions.
33893 * sysdeps/i386/fpu/libm-test-ulps: Update.
33894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33895
33896 [BZ #3976]
33897 * math/libm-test.inc (cosh_test_tonearest): New function.
33898 (cosh_test_towardzero): Likewise.
33899 (cosh_test_downward): Likewise.
33900 (cosh_test_upward): Likewise.
33901 (sinh_test_tonearest): Likewise.
33902 (sinh_test_towardzero): Likewise.
33903 (sinh_test_downward): Likewise.
33904 (sinh_test_upward): Likewise.
33905 (main): Call the new functions.
33906 * sysdeps/i386/fpu/libm-test-ulps: Update.
33907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33908
6c6a98c9
TV
339092012-03-05 Tom de Vries <tom@codesourcery.com>
33910
33911 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33912 default stack guard is set in last bytes.
33913 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33914
21bb2d2e 339152012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33916
21bb2d2e 33917 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33918
21bb2d2e
AJ
33919 [BZ #13656]
33920 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33921 possibly allocate from heap instead of stack.
33922 * stdio-common/bug-vfprintf-nargs.c: New file.
33923 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33924
c6922934
AS
339252012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33926
33927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33928
bc957d53
MP
339292012-03-03 Marek Polacek <polacek@redhat.com>
33930
33931 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33932 * math/math_private.h: Likewise.
33933 * stdlib/tst-strtod.c: Likewise.
33934 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33935 * sysdeps/x86_64/bits/atomic.h: Likewise.
33936
6358490d
DM
339372012-03-02 David S. Miller <davem@davemloft.net>
33938
33939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33943 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33944 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33945 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33946 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33947
01ae168d
RM
339482012-03-02 Roland McGrath <roland@hack.frob.com>
33949
d9a17c07
RM
33950 [BZ #13792]
33951 * manual/examples/README: New file, says the example source files
33952 can be used under GPL>=2.
33953 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33954 line containing just "*/".
33955 * manual/examples/add.c: Add copyright header (GPL>=2).
33956 * manual/examples/argp-ex1.c: Likewise.
33957 * manual/examples/argp-ex2.c: Likewise.
33958 * manual/examples/argp-ex3.c: Likewise.
33959 * manual/examples/argp-ex4.c: Likewise.
33960 * manual/examples/atexit.c: Likewise.
33961 * manual/examples/db.c: Likewise.
33962 * manual/examples/dir.c: Likewise.
33963 * manual/examples/dir2.c: Likewise.
33964 * manual/examples/execinfo.c: Likewise.
33965 * manual/examples/filecli.c: Likewise.
33966 * manual/examples/filesrv.c: Likewise.
33967 * manual/examples/fmtmsgexpl.c: Likewise.
33968 * manual/examples/genpass.c: Likewise.
33969 * manual/examples/inetcli.c: Likewise.
33970 * manual/examples/inetsrv.c: Likewise.
33971 * manual/examples/isockad.c: Likewise.
33972 * manual/examples/longopt.c: Likewise.
33973 * manual/examples/memopen.c: Likewise.
33974 * manual/examples/memstrm.c: Likewise.
33975 * manual/examples/mkfsock.c: Likewise.
33976 * manual/examples/mkisock.c: Likewise.
33977 * manual/examples/mygetpass.c: Likewise.
33978 * manual/examples/pipe.c: Likewise.
33979 * manual/examples/popen.c: Likewise.
33980 * manual/examples/rprintf.c: Likewise.
33981 * manual/examples/search.c: Likewise.
33982 * manual/examples/select.c: Likewise.
33983 * manual/examples/setjmp.c: Likewise.
33984 * manual/examples/sigh1.c: Likewise.
33985 * manual/examples/sigusr.c: Likewise.
33986 * manual/examples/stpcpy.c: Likewise.
33987 * manual/examples/strdupa.c: Likewise.
33988 * manual/examples/strftim.c: Likewise.
33989 * manual/examples/strncat.c: Likewise.
33990 * manual/examples/subopt.c: Likewise.
33991 * manual/examples/swapcontext.c: Likewise.
33992 * manual/examples/termios.c: Likewise.
33993 * manual/examples/testopt.c: Likewise.
33994 * manual/examples/testpass.c: Likewise.
33995 * manual/examples/timeval_subtract.c: Likewise.
33996
01ae168d
RM
33997 [BZ #13792]
33998 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33999 function to ...
34000 * manual/timeval_subtract.c.texi: ... here, new file.
34001
49efa33d
DM
340022012-03-02 David S. Miller <davem@davemloft.net>
34003
34004 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34005
28afd92d
JM
340062012-03-02 Joseph Myers <joseph@codesourcery.com>
34007
804360ed
JM
34008 [BZ #3976]
34009 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34010 (__sin): Save and restore rounding mode and use round-to-nearest
34011 for all computations.
34012 (__cos): Save and restore rounding mode and use round-to-nearest
34013 for all computations.
34014 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34015 <fenv.h>.
34016 (tan): Save and restore rounding mode and use round-to-nearest for
34017 all computations.
34018 * math/libm-test.inc (cos_test_tonearest): New function.
34019 (cos_test_towardzero): Likewise.
34020 (cos_test_downward): Likewise.
34021 (cos_test_upward): Likewise.
34022 (sin_test_tonearest): Likewise.
34023 (sin_test_towardzero): Likewise.
34024 (sin_test_downward): Likewise.
34025 (sin_test_upward): Likewise.
34026 (tan_test_tonearest): Likewise.
34027 (tan_test_towardzero): Likewise.
34028 (tan_test_downward): Likewise.
34029 (tan_test_upward): Likewise.
34030 (main): Call the new functions.
34031 * sysdeps/i386/fpu/libm-test-ulps: Update.
34032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34033
a6d06d7b
JM
34034 [BZ #10135]
34035 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34036 small n, then large n, before computing and testing k+n.
34037 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34039 Likewise.
34040 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34041 Likewise.
34042 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34043 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34044 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34045 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34048 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34049 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34050 * math/libm-test.inc (scalbn_test): Add more tests.
34051 (scalbln_test): Likewise.
34052
07e12bb3
JM
34053 * manual/filesys.texi (mode_t): Describe constraints on size and
34054 signedness, not exact equivalence to a particular type.
34055 (ino_t): Likewise.
34056 (ino64_t): Likewise.
34057 (dev_t): Likewise.
34058 (nlink_t): Likewise.
34059 (blkcnt_t): Likewise.
34060 (blkcnt64_t): Likewise.
34061 * manual/llio.texi (off_t): Likewise.
34062
28afd92d
JM
34063 [BZ #3976]
34064 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34065 (__ieee754_exp): Save and restore rounding mode and use
34066 round-to-nearest for all computations.
34067 * math/libm-test.inc (exp_test_tonearest): New function.
34068 (exp_test_towardzero): Likewise.
34069 (exp_test_downward): Likewise.
34070 (exp_test_upward): Likewise.
34071 (main): Call the new functions.
34072 * sysdeps/i386/fpu/libm-test-ulps: Update.
34073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34074
b1eeb65d
CD
340752012-03-01 Chris Demetriou <cgd@google.com>
34076
34077 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34078 have predictable order.
34079
53362a4b
DM
340802012-03-01 David S. Miller <davem@davemloft.net>
34081
3c969083
DM
34082 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34083
759707de
DM
34084 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34085 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34086 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34087 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34088
dfdb8ff2
DM
34089 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34090 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34091 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34093 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34094 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34095 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34096 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34097 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34098
ead89f96
DM
34099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34100
7f66bd07
DM
34101 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34102 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34103 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34104
53362a4b
DM
34105 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34106 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34107 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34108 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34109 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34110 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34111 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34112 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34113 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34114 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34115 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34116 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34117 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34118 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34119 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34121 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34122 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34123 * sysdeps/sparc/elf/configure: Regenerated.
34124
7b1902cb
JM
341252012-03-01 Joseph Myers <joseph@codesourcery.com>
34126
bec039bc
JM
34127 * configure.in (AS, LD): Require binutils 2.20 or later.
34128 * configure: Regenerated.
34129 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34130 as required minimum version.
34131 * INSTALL: Regenerated.
34132
7b1902cb
JM
34133 [BZ #2541]
34134 [BZ #4108]
34135 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34136 before squaring exponent.
34137 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34138 bottom long double and 27 bits of top long double before squaring
34139 exponent.
34140 * math/libm-test.inc (erfc_test): Add more tests.
34141 * sysdeps/i386/fpu/libm-test-ulps: Update.
34142 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34144
f775c276
KT
341452012-03-01 Kai Tietz <ktietz@redhat.com>
34146
34147 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34148 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34149 containing bit-fields.
34150 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34151 * soft-fp/single.h (_FP_UNION_S): Likewise.
34152 * soft-fp/double.h (_FP_UNION_D): Likewise.
34153
5b8a4d4a
JM
341542012-02-29 Joseph Myers <joseph@codesourcery.com>
34155
0bab47b6
JM
34156 [BZ #13786]
34157 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34158 not include ../strcmp.S.
34159 [USE_AS_STRNCASECMP_L]: Likewise.
34160 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34161 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34162 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34163 (__strncasecmp_l_ia32): Define as alias to
34164 __strncasecmp_l_nonascii.
34165
0fcad3e2
JM
34166 [BZ #5794]
34167 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34168 * sysdeps/i386/fpu/libm-test-ulps: Update.
34169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34170
5b8a4d4a
JM
34171 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34173
8fdceb2e
JL
341742012-02-29 Jeff Law <law@redhat.com>
34175
34176 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34177 out of bounds read.
34178
1f393a11
MP
341792012-02-29 Marek Polacek <polacek@redhat.com>
34180
34181 [BZ #13706]
34182 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34183 * elf/Makefile: Add rules to run tst-unused-dep.out.
34184
8847f037
DM
341852012-02-28 David S. Miller <davem@davemloft.net>
34186
34187 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34188 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34189 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34190 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34191 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34192 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34193
169d7f11
JM
341942012-02-29 Joseph Myers <joseph@codesourcery.com>
34195
34196 * math/libm-test.inc (llround_test): Move one test from
34197 lround_test. Use TEST_f_L in moved test.
34198 (lround_test): Move misplaced test to llround_test. Add testcase
34199 from bug 2561.
34200
39adf059
UD
342012012-02-28 Ulrich Drepper <drepper@gmail.com>
34202
34203 * sysdeps/x86_64/fpu/e_expf.S: New file.
34204 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34205
71b5d1c5
SB
342062012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34207
34208 [BZ #13637]
34209 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34210 of remain_len that may cause incomplete multi-byte character and
34211 false match.
34212 * posix/bug-regex33.c: New file.
34213 * posix/Makefile (tests): Add bug-regex33.
34214
1f77f049
JM
342152012-02-28 Joseph Myers <joseph@codesourcery.com>
34216
34217 * manual/macros.texi: New file.
34218 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34219 * manual/libc.texinfo: Include macros.texi.
34220 * manual/creatute.texi: Likewise.
34221 * manual/install.texi: Likewise.
34222 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34223 @glibcadj{} in references to the GNU C Library.
34224 * manual/charset.texi: Likewise.
34225 * manual/conf.texi: Likewise.
34226 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34227 when not using those macros.
34228 * manual/creature.texi: Likewise.
34229 * manual/crypt.texi: Likewise.
34230 * manual/errno.texi: Likewise.
34231 * manual/filesys.texi: Likewise.
34232 * manual/header.texi: Likewise.
34233 * manual/install.texi: Likewise.
34234 * manual/intro.texi: Likewise.
34235 * manual/io.texi: Likewise.
34236 * manual/job.texi: Likewise.
34237 * manual/lang.texi: Likewise.
34238 * manual/libc.texiinfo: Likewise.
34239 * manual/llio.texi: Likewise.
34240 * manual/locale.texi: Likewise.
34241 * manual/maint.texi: Likewise.
34242 * manual/math.texi: Likewise.
34243 * manual/memory.texi: Likewise.
34244 * manual/message.texi: Likewise.
34245 * manual/nss.texi: Likewise.
34246 * manual/pattern.texi: Likewise.
34247 * manual/process.texi: Likewise.
34248 * manual/resource.texi: Likewise.
34249 * manual/search.texi: Likewise.
34250 * manual/setjmp.texi: Likewise.
34251 * manual/signal.texi: Likewise.
34252 * manual/socket.texi: Likewise.
34253 * manual/startup.texi: Likewise.
34254 * manual/stdio.texi: Likewise.
34255 * manual/string.texi: Likewise.
34256 * manual/sysinfo.texi: Likewise.
34257 * manual/syslog.texi: Likewise.
34258 * manual/terminal.texi: Likewise.
34259 * manual/time.texi: Likewise.
34260 * manual/users.texi: Likewise.
34261 * INSTALL: Regenerated.
34262 * NOTES: Regenerated.
d40c5d54 34263 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34264
450bf206
AS
342652012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34266
34267 * include/dirent.h: Include <dirstream.h> before
34268 <dirent/dirent.h>.
34269
741a235b
DM
342702012-02-28 David S. Miller <davem@davemloft.net>
34271
34272 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34273 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34274 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34275 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34276
d6b5aa58
DM
342772012-02-27 David S. Miller <davem@davemloft.net>
34278
1aff59a3
DM
34279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34281 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34282 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34283
d6b5aa58
DM
34284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34285 frame pointer instead of stack pointer relative arg slot.
34286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34287 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34288 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34289
433f48bf
CD
342902012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34291
34292 [BZ #3992]
34293 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34294
d674b76d
DM
342952012-02-27 David S. Miller <davem@davemloft.net>
34296
34297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34301 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34302 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34303 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34304 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34305
0e7727f7
JM
343062012-02-27 Joseph Myers <joseph@codesourcery.com>
34307
34308 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34309 later. Allow versions 5-9.
43be4ca2 34310 * configure: Regenerated.
0e7727f7
JM
34311 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34312 required minimum version and 4.6 as recommended version. Do not
34313 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34314 * INSTALL: Regenerated.
0e7727f7 34315
a78bc654
DM
343162012-02-27 David S. Miller <davem@davemloft.net>
34317
428d5830
DM
34318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34322 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34323 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34324 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34325 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34326
a78bc654
DM
34327 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34328 manipulate bits before adding and subtracting TWO112[sx].
34329 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34330
4579f81c
RM
343312012-02-27 Roland McGrath <roland@hack.frob.com>
34332
36c8acb4
RM
34333 [BZ #13775]
34334 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34335 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34336 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34337 being in POSIX, because they are in 1003.1-2008.
34338
84ad622b
RM
34339 * rt/tst-aio.c: Include <fcntl.h>.
34340 * rt/tst-aio7.c: Likewise.
34341 * rt/tst-aio64.c: Likewise.
34342
4579f81c
RM
34343 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34344
abd923db
JM
343452012-02-27 Joseph Myers <joseph@codesourcery.com>
34346
34347 * manual/install.texi (--with-headers): Describe headers as
34348 interface headers, not private headers.
34349 (Specific advice for GNU/Linux systems): Describe use of headers
34350 from "make headers_install", not private headers from older
34351 kernels.
43be4ca2 34352 * INSTALL: Regenerated.
abd923db
JM
34353 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34354 Change to 2.6.19.
34355 * sysdeps/unix/sysv/linux/configure: Regenerated.
34356
6664049b
JM
34357 * manual/llio.texi (fclean): Remove documentation.
34358
bb8b6697
JM
34359 * manual/Makefile (libc-texi-generated): New variable. Include
34360 version.texi.
34361 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34362 $(libc-texi-generated), not duplicated list of files.
34363 (version.texi, stamp-version): New rules.
34364 (realclean): Remove $(libc-texi-generated), not individual files
34365 from that list. Do not remove dir-add.texinfo.
34366 * manual/libc.texinfo: Comment out uses of edition numbers and
34367 references to printed manual. Remove last-updated dates.
34368 (EDITION): Comment out.
34369 (ISBN): Likewise.
34370 (VERSION, UPDATED): Remove.
34371 (version.texi): Include.
34372
12e5c3b9
AS
343732012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34374
34375 * sysdeps/posix/spawni.c: Include <signal.h>.
34376 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34377 * sysdeps/pthread/aio_fsync.c: Likewise.
34378
4efeffc1 343792012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34380
ba63ba08
UD
34381 * conform/Makefile (tests): Run only when not cross-compiling and
34382 when fast-check is not defined.
34383
d94a4670
UD
34384 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34385 * conform/data/limits.h-data: Fixes for POSIX2008.
34386 * conform/run-conformtest.sh: Run all tests.
34387 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34388 headers.
34389 * include/bits/dlfcn.h: Likewise.
34390 * include/langinfo.h: Likewise.
34391 * include/monetary.h: Likewise.
34392 * include/sys/poll.h: Likewise.
34393
34394 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34395 for __USE_GNU.
34396 * posix/spawn.h: Define __need_sigset_t.
34397 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34398 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34399 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34400 to get sigevent_t only.
34401 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34402 only for __USE_GNU.
34403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34404 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34405 process_vm_writev only for __USE_GNU.
34406 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34407
34408 * conform/Makefile: For now ignore errors from run-conformtest.
34409 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34410 POSIX to avoid namespace pollution. Don't prepend headers.
34411 * conform/data/aio.h-data: Fixes for POSIX testing.
34412 * conform/data/fcntl.h-data: Likewise.
34413 * conform/data/glob.h-data: Likewise.
34414 * conform/data/grp.h-data: Likewise.
34415 * conform/data/pthread.h-data: Likewise.
34416 * conform/data/pwd.h-data: Likewise.
34417 * conform/data/signal.h-data: Likewise.
34418 * conform/data/spawn.h-data: Likewise.
34419 * conform/data/stdio.h-data: Likewise.
34420 * conform/data/stdlib.h-data: Likewise.
34421 * conform/data/stropts.h-data: Likewise.
34422 * conform/data/sys/mman.h-data: Likewise.
34423 * conform/data/sys/stat.h-data: Likewise.
34424 * conform/data/sys/types.h-data: Likewise.
34425 * conform/data/sys/wait.h-data: Likewise.
34426 * conform/data/time.h-data: Likewise.
34427 * conform/data/unistd.h-data: Likewise.
34428 * conform/data/utime.h-data: Likewise.
34429
34430 * io/sys/stat.h: fchmod was always in POSIX.
34431 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34432 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34433 * rt/aio.h: Define __need_timespec before including <time.h>.
34434 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34435 struct. Add forward declaration of pthread_attr_t and use it in
34436 sigevent.
34437 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34439 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34440 always remove CLK_TCK definition.
34441
c20105c3
AS
344422012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34443
34444 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34445
7a270350
UD
344462012-02-25 Ulrich Drepper <drepper@gmail.com>
34447
31341567
UD
34448 * conform/run-conformtest.sh: New file.
34449 * conform/Makefile: Run run-conformtest for tests.
34450 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34451 support.
34452
34453 * conform/data/uchar.h-data: New file.
34454 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34455 * conform/data/arpa/inet.h-data: Likewise.
34456 * conform/data/assert.h-data: Likewise.
34457 * conform/data/complex.h-data: Likewise.
34458 * conform/data/cpio.h-data: Likewise.
34459 * conform/data/ctype.h-data: Likewise.
34460 * conform/data/dirent.h-data: Likewise.
34461 * conform/data/dlfcn.h-data: Likewise.
34462 * conform/data/errno.h-data: Likewise.
34463 * conform/data/fcntl.h-data: Likewise.
34464 * conform/data/float.h-data: Likewise.
34465 * conform/data/fmtmsg.h-data: Likewise.
34466 * conform/data/fnmatch.h-data: Likewise.
34467 * conform/data/ftw.h-data: Likewise.
34468 * conform/data/glob.h-data: Likewise.
34469 * conform/data/grp.h-data: Likewise.
34470 * conform/data/iconv.h-data: Likewise.
34471 * conform/data/inttypes.h-data: Likewise.
34472 * conform/data/langinfo.h-data: Likewise.
34473 * conform/data/libgen.h-data: Likewise.
34474 * conform/data/limits.h-data: Likewise.
34475 * conform/data/locale.h-data: Likewise.
34476 * conform/data/math.h-data: Likewise.
34477 * conform/data/monetary.h-data: Likewise.
34478 * conform/data/mqueue.h-data: Likewise.
34479 * conform/data/ndbm.h-data: Likewise.
34480 * conform/data/net/if.h-data: Likewise.
34481 * conform/data/netdb.h-data: Likewise.
34482 * conform/data/netinet/in.h-data: Likewise.
34483 * conform/data/nl_types.h-data: Likewise.
34484 * conform/data/poll.h-data: Likewise.
34485 * conform/data/pthread.h-data: Likewise.
34486 * conform/data/pwd.h-data: Likewise.
34487 * conform/data/regex.h-data: Likewise.
34488 * conform/data/sched.h-data: Likewise.
34489 * conform/data/search.h-data: Likewise.
34490 * conform/data/semaphore.h-data: Likewise.
34491 * conform/data/setjmp.h-data: Likewise.
34492 * conform/data/signal.h-data: Likewise.
34493 * conform/data/spawn.h-data: Likewise.
34494 * conform/data/stdarg.h-data: Likewise.
34495 * conform/data/stdio.h-data: Likewise.
34496 * conform/data/stdlib.h-data: Likewise.
34497 * conform/data/string.h-data: Likewise.
34498 * conform/data/strings.h-data: Likewise.
34499 * conform/data/stropts.h-data: Likewise.
34500 * conform/data/sys/ipc.h-data: Likewise.
34501 * conform/data/sys/mman.h-data: Likewise.
34502 * conform/data/sys/msg.h-data: Likewise.
34503 * conform/data/sys/resource.h-data: Likewise.
34504 * conform/data/sys/select.h-data: Likewise.
34505 * conform/data/sys/sem.h-data: Likewise.
34506 * conform/data/sys/shm.h-data: Likewise.
34507 * conform/data/sys/socket.h-data: Likewise.
34508 * conform/data/sys/stat.h-data: Likewise.
34509 * conform/data/sys/statvfs.h-data: Likewise.
34510 * conform/data/sys/time.h-data: Likewise.
34511 * conform/data/sys/timeb.h-data: Likewise.
34512 * conform/data/sys/times.h-data: Likewise.
34513 * conform/data/sys/types.h-data: Likewise.
34514 * conform/data/sys/uio.h-data: Likewise.
34515 * conform/data/sys/un.h-data: Likewise.
34516 * conform/data/sys/utsname.h-data: Likewise.
34517 * conform/data/sys/wait.h-data: Likewise.
34518 * conform/data/syslog.h-data: Likewise.
34519 * conform/data/tar.h-data: Likewise.
34520 * conform/data/termios.h-data: Likewise.
34521 * conform/data/utime.h-data: Likewise.
34522 * conform/data/utmpx.h-data: Likewise.
34523 * conform/data/varargs.h-data: Likewise.
34524 * conform/data/wchar.h-data: Likewise.
34525 * conform/data/wctype.h-data: Likewise.
34526 * conform/data/wordexp.h-data: Likewise.
34527
34528 * include/stropts.h: New file.
34529 * include/uchar.h: New file.
34530 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34531 * include/assert.h: Likewise.
34532 * include/ctype.h: Likewise.
34533 * include/dirent.h: Likewise.
34534 * include/dlfcn.h: Likewise.
34535 * include/fcntl.h: Likewise.
34536 * include/fnmatch.h: Likewise.
34537 * include/glob.h: Likewise.
34538 * include/grp.h: Likewise.
34539 * include/libio.h: Likewise.
34540 * include/locale.h: Likewise.
34541 * include/math.h: Likewise.
34542 * include/net/if.h: Likewise.
34543 * include/netdb.h: Likewise.
34544 * include/netinet/in.h: Likewise.
34545 * include/pthread.h: Likewise.
34546 * include/pwd.h: Likewise.
34547 * include/regex.h: Likewise.
34548 * include/sched.h: Likewise.
34549 * include/search.h: Likewise.
34550 * include/setjmp.h: Likewise.
34551 * include/signal.h: Likewise.
34552 * include/stdio.h: Likewise.
34553 * include/stdlib.h: Likewise.
34554 * include/string.h: Likewise.
34555 * include/sys/cdefs.h: Likewise.
34556 * include/sys/mman.h: Likewise.
34557 * include/sys/msg.h: Likewise.
34558 * include/sys/resource.h: Likewise.
34559 * include/sys/select.h: Likewise.
34560 * include/sys/socket.h: Likewise.
34561 * include/sys/stat.h: Likewise.
34562 * include/sys/statvfs.h: Likewise.
34563 * include/sys/time.h: Likewise.
34564 * include/sys/times.h: Likewise.
34565 * include/sys/uio.h: Likewise.
34566 * include/sys/utsname.h: Likewise.
34567 * include/sys/wait.h: Likewise.
34568 * include/termios.h: Likewise.
34569 * include/time.h: Likewise.
34570 * include/ulimit.h: Likewise.
34571 * include/unistd.h: Likewise.
34572 * include/utime.h: Likewise.
34573 * include/wchar.h: Likewise.
34574 * include/wctype.h: Likewise.
34575 * include/wordexp.h: Likewise.
34576
34577 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34578
7a270350
UD
34579 * time/time.h: TIME_UTC must be a macro.
34580 Make timespec_get available for ISO C11 only as well.
34581
7724defc
UD
345822012-02-24 Ulrich Drepper <drepper@gmail.com>
34583
34584 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34585 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34586
6b1d1d46
JM
345872012-02-24 Joseph Myers <joseph@codesourcery.com>
34588
34589 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34590
0f8bbd69
JM
345912012-02-24 Joseph Myers <joseph@codesourcery.com>
34592
34593 * manual/texinfo.tex: Update to version 2012-01-19.16.
34594
66ab80bc
JM
345952012-02-24 Joseph Myers <joseph@codesourcery.com>
34596
34597 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34598
74981cc5
RM
345992012-02-24 Roland McGrath <roland@hack.frob.com>
34600
ee968201
RM
34601 [BZ #13738]
34602 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34603 * manual/fdl-1.3.texi: New file.
34604 * manual/fdl-1.1.texi: File removed.
34605
74981cc5
RM
34606 [BZ #13738]
34607 * manual/libc.texinfo (FDL_VERSION): New @set.
34608 Use it for mention of FDL in cover text.
34609 (Documentation License): Use it in @include file name.
34610
7bb764bc
JM
346112012-02-22 Joseph Myers <joseph@codesourcery.com>
34612 Roland McGrath <roland@hack.frob.com>
34613
34614 [BZ #5461]
34615 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34616 not LONG_LONG_MAX and LONG_LONG_MIN.
34617 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34618 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34619 name.
34620 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34621
6cbeae47
JM
346222012-02-22 Joseph Myers <joseph@codesourcery.com>
34623
34624 [BZ #2547]
34625 [BZ #11365]
34626 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34627 manipulate bits before adding and subtracting TWO23[sx].
34628 * math/libm-test.inc (nearbyint_test): Add more tests.
34629
fe45ce09
JM
346302012-02-22 Joseph Myers <joseph@codesourcery.com>
34631
34632 [BZ #2548]
34633 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34634 bits before adding and subtracting TWO23[sx].
34635 * math/libm-test.inc (rint_test): Add more tests.
34636 (rint_test_tonearest): Likewise.
34637 (rint_test_towardzero): Likewise.
34638 (rint_test_downward): Likewise.
34639 (rint_test_upward: Likewise.
34640
ff3b3d82
JM
346412012-02-22 Joseph Myers <joseph@codesourcery.com>
34642
34643 [BZ #10110]
34644 * include/stdc-predef.h: New file. Extracted from features.h.
34645 * include/features.h: Include stdc-predef.h.
34646 * Makefile (headers): Add stdc-predef.h.
34647 * CONFORMANCE (Compiler limitations): Update.
34648
ef0aab35
JM
346492012-02-22 Joseph Myers <joseph@codesourcery.com>
34650
34651 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34652
58639409
DM
346532012-02-21 David S. Miller <davem@davemloft.net>
34654
34655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34656 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34657
c0e70b25
DM
346582012-02-20 David S. Miller <davem@davemloft.net>
34659
34660 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34661 using a normal save/restore sequence, rather than allocating a
34662 dummy stack frame just to store a frame pointer and restore.
34663 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34664
fb06851d
JM
346652012-02-21 Joseph Myers <joseph@codesourcery.com>
34666
34667 * manual/install.texi: Fix stray word in line-wrapped comment.
34668
7a8b71c3
DM
346692012-02-20 David S. Miller <davem@davemloft.net>
34670
d510c123
DM
34671 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34672 both binutils and gcc support GOTDATA.
34673
0722d7c2
DM
34674 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34675 "rd %pc" in the PIC register setup sequences.
34676
3d2b3019
DM
34677 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34678 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34679 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34680 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34681 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34683 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34684 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34686 (SYSCALL_ERROR_HANDLER): Likewise.
34687 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34688 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34690 (SYSCALL_ERROR_HANDLER): Likewise.
34691
c80098a9
DM
34692 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34693 (HAVE_GCC_GOTDATA): New.
34694 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34695 relocation support in both binutils and gcc.
34696 * sysdeps/sparc/elf/configure: Regenerate.
34697
3a2545a0
DM
34698 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34699 * sysdeps/sparc/sparc32/elf/configure: Delete.
34700 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34701 * sysdeps/sparc/sparc64/elf/configure: Delete.
34702 * sysdeps/sparc/elf/configure.in: New file.
34703 * sysdeps/sparc/elf/configure: Generate.
34704
7a8b71c3
DM
34705 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34706 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34707 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34708 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34709 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34710
f1e86fca
JM
347112012-02-21 Joseph Myers <joseph@codesourcery.com>
34712
34713 * manual/install.texi: Do not mention specific glibc version
34714 numbers.
34715 * manual/libc.texinfo (VERSION, UPDATED): Update.
34716 (@copying): Use @copyright{} and range of years.
34717
0e7dfaef
JM
347182012-02-21 Joseph Myers <joseph@codesourcery.com>
34719
34720 [BZ #13695]
34721 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34722 [crti.S not in sysdirs] (generated): Do not append.
34723 [crti.S not in sysdirs] (omit-deps): Likewise.
34724 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34725 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34726 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34727 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34728 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34729 Likewise.
34730 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34731 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34732 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34733 * csu/defs.awk: Remove file.
34734 * sysdeps/generic/initfini.c: Likewise.
34735 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34736 variable.
34737 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34738 Likewise.
34739
599af3ca
JM
347402012-02-20 Joseph Myers <joseph@codesourcery.com>
34741
34742 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34743 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34744 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34745 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34747 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34748 <bits/epoll.h>.
34749 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34750 (__EPOLL_PACKED): Define to empty if not defined by
34751 <bits/epoll.h>.
34752 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34754 bits/epoll.h.
34755
0e499750
JM
347562012-02-20 Joseph Myers <joseph@codesourcery.com>
34757
34758 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34759 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34760 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34761 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34762 <bits/timerfd.h>.
34763 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34765 bits/timerfd.h.
34766
5ad91f6e
JM
347672012-02-20 Joseph Myers <joseph@codesourcery.com>
34768
34769 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34770 in C locale.
34771 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34772 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34773 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34775
06b99b02
AJ
347762012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34777
34778 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34779 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34780
7638c0fd
AS
347812012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34782
34783 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34784 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34785 defined.
34786 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34787 Likewise.
34788 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34789 entry for 2.16.
34790
92221550
AJ
347912012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34792
34793 * math/w_acos.c: Use non-signaling floating-point comparisons.
34794 * math/w_acosf.c: Likewise.
34795 * math/w_acosh.c: Likewise.
34796 * math/w_acoshf.c: Likewise.
34797 * math/w_acoshl.c: Likewise.
34798 * math/w_acosl.c: Likewise.
34799 * math/w_asin.c: Likewise.
34800 * math/w_asinf.c: Likewise.
34801 * math/w_asinl.c: Likewise.
34802 * math/w_atanh.c: Likewise.
34803 * math/w_atanhf.c: Likewise.
34804 * math/w_atanhl.c: Likewise.
34805 * math/w_exp2.c: Likewise.
34806 * math/w_exp2f.c: Likewise.
34807 * math/w_exp2l.c: Likewise.
34808 * math/w_j0.c: Likewise.
34809 * math/w_j0f.c: Likewise.
34810 * math/w_j0l.c: Likewise.
34811 * math/w_j1.c: Likewise.
34812 * math/w_j1f.c: Likewise.
34813 * math/w_j1l.c: Likewise.
34814 * math/w_jn.c: Likewise.
34815 * math/w_jnf.c: Likewise.
34816 * math/w_log.c: Likewise.
34817 * math/w_log10.c: Likewise.
34818 * math/w_log10f.c: Likewise.
34819 * math/w_log10l.c: Likewise.
34820 * math/w_log2.c: Likewise.
34821 * math/w_log2f.c: Likewise.
34822 * math/w_log2l.c: Likewise.
34823 * math/w_logf.c: Likewise.
34824 * math/w_logl.c: Likewise.
34825 * math/w_sqrt.c: Likewise.
34826 * math/w_sqrtf.c: Likewise.
34827 * math/w_sqrtl.c: Likewise.
34828 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34829 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34830 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34831 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34832 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34833
ebaf36eb
JM
348342012-02-19 Joseph Myers <joseph@codesourcery.com>
34835
34836 [BZ #9739]
34837 * manual/string.texi (strnlen): Use correct parameter name in
34838 equivalent expression.
34839
71c254a6
JM
348402012-02-19 Joseph Myers <joseph@codesourcery.com>
34841
34842 [BZ #11174]
34843 * manual/users.texi (seteuid): Consistently use neweuid for
34844 argument name.
34845
16d2c631
JM
348462012-02-19 Joseph Myers <joseph@codesourcery.com>
34847
34848 [BZ #13704]
34849 * manual/nss.texi (Services in the NSS configuration): Correct
34850 list of services in example configuration file.
34851
cd837b09
NB
348522012-02-19 Nick Bowler <nbowler@draconx.ca>
34853
34854 [BZ #11322]
34855 * manual/arith.texi: Remove statements about negative zero
34856 behaving identically to zero.
34857
02c4bbad
JM
348582012-02-18 Joseph Myers <joseph@codesourcery.com>
34859
34860 [BZ #5993]
34861 * manual/install.texi: Do not document upgrading from libc5.
34862
366842e7
JM
348632012-02-18 Joseph Myers <joseph@codesourcery.com>
34864
34865 [BZ #4596]
34866 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34867
dd54084d
DM
348682012-02-18 David S. Miller <davem@davemloft.net>
34869
34870 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34871 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34872 %o7 across the call.
34873 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34874 instead.
34875 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34876 SETUP_PIC_REG_LEAF.
34877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34878 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34879 * sysdeps/sparc/crtn.S: Likewise.
34880
2bcc53a3
UD
348812012-02-17 Ulrich Drepper <drepper@gmail.com>
34882
34883 * aout/Makefile: Remove.
34884
09c093b5
RK
348852012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34886
34887 [BZ #13058]
34888 * manual/examples/argp-ex1.c (main): Format definition in GNU
34889 style.
34890 * manual/examples/argp-ex2.c (main): Likewise.
34891 * manual/examples/argp-ex3.c (main): Likewise.
34892 * manual/examples/argp-ex4.c (main): Likewise.
34893 * manual/examples/longopt.c (main): Use new-style prototype
34894 definition.
34895 * manual/examples/strncat.c (main): Specify return type and use
34896 (void) for arguments.
34897 * manual/examples/subopt.c (main): Use char **argv argument.
34898
2ee633a2
JM
348992012-02-17 Joseph Myers <joseph@codesourcery.com>
34900
34901 [BZ #5077]
34902 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34903 rounding modes.
34904
0520adde
FB
349052012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34906
34907 [BZ #6907]
34908 * manual/string.texi (strchr): Change when strchrnul is
34909 recommended.
34910
3f4081cd
DGM
349112012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34912
34913 [BZ #174]
34914 * manual/locale.texi (setlocale): Document LOCPATH.
34915
d1b10e78
JM
349162012-02-17 Joseph Myers <joseph@codesourcery.com>
34917
34918 [BZ #10210]
34919 * manual/process.texi (execle): Move @dots{} before last argument.
34920
79c6869c
PB
349212012-02-17 Paul Bolle <pebolle@tiscali.nl>
34922
34923 [BZ #12047]
34924 * manual/charset.texi (Generic Charset Conversion): Fix typo
34925 (LC_TYPE -> LC_CTYPE).
34926
cc6e48bc
NB
349272012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34928
34929 [BZ #5805]
34930 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34931 (scalbnf): Likewise.
34932 (scalbnl): Likewise.
34933 (scalbln): Likewise.
34934 (scalblnf): Likewise.
34935 (scalblnl): Likewise.
34936 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34937 (vwarnx): Likewise.
34938 (verr): Likewise.
34939 (verrx): Likewise.
34940 * manual/filesys.texi (telldir): Use braces around return type.
34941 * manual/llio.texi (mmap): Add space after comma.
34942 (mmap64): Likewise.
34943 * manual/math.texi (jn): Use @var{} on parameter names.
34944 (jnf): Likewise.
34945 (jnl): Likewise.
34946 (yn): Likewise.
34947 (ynf): Likewise.
34948 (ynl): Likewise.
34949 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34950 line.
34951 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34952 "...".
34953 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34954 (sched_get_priority_max): Likewise.
34955 * manual/signal.texi (sigvec): Add space after comma.
34956 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34957 names.
34958 (if_indextoname): Likewise.
34959 (if_freenameindex): Likewise.
34960 (sendto): Use ',' instead of '.' in prototype.
34961 * manual/startup.texi (syscall): Use @dots{} instead of literal
34962 "...".
34963 * manual/stdio.texi (__fpending): Separate initial words of
34964 paragraph from @deftypefun line.
34965 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34966 "...".
34967 (vsyslog): Use @var{} on parameter names.
34968 * manual/terminal.texi (stty): Use @var{} on parameter names.
34969 * manual/users.texi (getutmp): Use @var{} on parameter names.
34970 (getutmpx): Likewise.
34971
5b23062f
JM
349722012-02-17 Joseph Myers <joseph@codesourcery.com>
34973
34974 [BZ #6884]
34975 * manual/stdio.texi (fopen): Fix typos in description of
34976 ",ccs=STRING".
34977
8dee4833
AJ
349782012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34979
34980 [BZ #4026]
34981 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34982 get clock_id definition.
34983
9078ce93
TS
349842012-02-17 Thomas Schwinge <thomas@schwinge.name>
34985
34986 [BZ #4822]
34987 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34988 (madvise): Cast every argument to void on its own.
34989
3835c55f
JM
349902012-02-17 Joseph Myers <joseph@codesourcery.com>
34991
34992 [BZ #9902]
34993 * manual/startup.texi (Exit Status): Fix typo.
34994
35c47e37
JM
349952012-02-17 Joseph Myers <joseph@codesourcery.com>
34996
34997 [BZ #10140]
34998 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34999 * manual/examples/argp-ex2.c: Likewise.
35000 * manual/examples/argp-ex3.c: Likewise.
35001
e3b69ca7
RH
350022012-02-16 Richard Henderson <rth@redhat.com>
35003
35004 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35005 * sysdeps/s390/s390-32/initfini.c: Remove.
35006 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35007 * sysdeps/s390/s390-64/initfini.c: Remove.
35008
df83af67
KK
350092012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35010
35011 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35012 compiler output for sysdeps/generic/initfini.c.
35013 * sysdeps/sh/elf/initfini.c: Remove file.
35014
f63f3380
DM
350152012-02-16 David S. Miller <davem@davemloft.net>
35016
fb59b3a4
DM
35017 [BZ #11494]
35018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35019
f63f3380
DM
35020 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35021 * sysdeps/sparc/crti.S: New file.
35022 * sysdeps/sparc/crtn.S: New file.
35023 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35024 * sysdeps/sparc/sparc64/Makefile: Likewise.
35025
df6a4a4a
MF
350262012-02-15 Mike Frysinger <vapier@gentoo.org>
35027
6dd8f3dc 35028 [BZ #3335]
df6a4a4a
MF
35029 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35030
1cac7236
RM
350312012-02-15 Roland McGrath <roland@hack.frob.com>
35032
d2c736f8
RM
35033 [BZ #4822]
35034 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35035
1cac7236
RM
35036 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35037 (write, read, close): Likewise.
35038 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35039
8e475601
JM
350402012-02-15 Joseph Myers <joseph@codesourcery.com>
35041
35042 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35043 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35044 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35045 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35046 <bits/signalfd.h>.
35047 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35049 bits/signalfd.h.
35050
ed656b40
MP
350512012-02-14 Marek Polacek <polacek@redhat.com>
35052
35053 * sysdeps/x86_64/crti.S: New file.
35054 * sysdeps/x86_64/crtn.S: New file.
35055 * sysdeps/x86_64/elf/initfini.c: Remove file.
35056
2a979d3a
JM
350572012-02-13 Joseph Myers <joseph@codesourcery.com>
35058
35059 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35060 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35061 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35062 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35063 <bits/inotify.h>.
35064 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35066 bits/inotify.h.
35067
2a418ac3
JM
350682012-02-13 Joseph Myers <joseph@codesourcery.com>
35069
35070 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35071 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35072 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35073 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35074 <bits/eventfd.h>.
35075 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35077 bits/eventfd.h.
35078
fb779be7
TS
350792012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35080
e19e83c5
RM
35081 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35082 __feraiseexcept instead of feraiseexcept.
7c35ffed 35083
fb779be7
TS
35084 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35085 nanosleep invocations.
35086 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35087 strings, and add error checking for a nanosleep invocations.
35088
59ba27a6
PE
350892012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35090
35091 Replace FSF snail mail address with URLs, as per GNU coding standards.
35092 Most of the snail mail addresses were wrong anyway, and omitting
35093 them makes the source code easier to maintain. Almost all of the
35094 changes are to license notices and to locale LC_IDENTIFICATION
35095 addresses, except for this one:
35096 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35097 not its snail mail address.
35098
57b957eb
RH
350992012-02-09 Richard Henderson <rth@twiddle.net>
35100
af850b1c
RH
35101 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35102 of kernel-features.h.
35103
57b957eb
RH
35104 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35105
6b73181a
MP
351062012-02-08 Marek Polacek <polacek@redhat.com>
35107
35108 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35109 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35110 * sysdeps/gnu/_G_config.h: Likewise.
35111 * sysdeps/generic/_G_config.h: Likewise.
35112
26ecc33a
AS
351132012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35114
6c6dbc63
AS
35115 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35116 tests.
35117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35118
e216c012
AS
35119 * sysdeps/powerpc/powerpc32/crti.S: New file.
35120 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35121 * sysdeps/powerpc/powerpc64/crti.S: New file.
35122 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35123
26ecc33a
AS
35124 * Makeconfig (have-initfini): Don't set.
35125 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35126 * configure.in (nopic_initfini): Don't substitute.
35127 * config.h.in (HAVE_INITFINI): Don't #undef.
35128 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35129 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35130
3add8e13
JM
351312012-02-08 Joseph Myers <joseph@codesourcery.com>
35132
35133 Support crti.S and crtn.S provided directly by architectures.
35134 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35135 [crti.S in sysdirs] (omit-deps): Likewise.
35136 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35137 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35138 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35139 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35140 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35141 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35142 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35143 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35144 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35145 compiler output for sysdeps/generic/initfini.c.
35146 * sysdeps/i386/elf/Makefile: Remove file.
35147 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35148
a22f12b4
MP
351492012-02-07 Marek Polacek <polacek@redhat.com>
35150
35151 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35152 * sysdeps/gnu/_G_config.h: Likewise.
35153 * sysdeps/mach/hurd/_G_config.h: Likewise.
35154
148cf100
MP
351552012-02-07 Marek Polacek <polacek@redhat.com>
35156
35157 * math/Makefile (tests): Add tst-CMPLX2.
35158 * math/tst-CMPLX2.c: New file.
35159
cfdc0dd7
AS
351602012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35161
84ba42c4
AS
35162 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35163
cfdc0dd7
AS
35164 * math/libm-test.inc (jn_test): Add missing L suffix.
35165
622c86f4
MP
351662012-02-06 Marek Polacek <polacek@redhat.com>
35167
35168 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35169 * sysdeps/i386/fpu/e_powf.S: Likewise.
35170 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35171 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35172 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35173 * sysdeps/i386/fpu/e_pow.S: Likewise.
35174 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35175 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35176 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35177 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35178 * sysdeps/i386/fpu/e_log2.S: Likewise.
35179 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35180 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35181 * sysdeps/i386/fpu/e_powl.S: Likewise.
35182 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35183 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35184 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35185 * sysdeps/i386/fpu/e_logl.S: Likewise.
35186 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35187 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35188 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35189 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35190 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35191 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35192 * sysdeps/i386/fpu/e_log.S: Likewise.
35193 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35194 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35195 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35196 * sysdeps/i386/fpu/e_logf.S: Likewise.
35197 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35198 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35199 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35200 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35201 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35202 * sysdeps/i386/fpu/e_log10.S: Likewise.
35203 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35204 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35205 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35206 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35207 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35208 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35209 * sysdeps/i386/asm-syntax.h: Likewise.
35210 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35212 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35213 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35214 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35215 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35216 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35217 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35218 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35219 * sysdeps/powerpc/sysdep.h: Likewise.
35220 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35221 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35222
d4a54ac6
JM
352232012-02-06 Joseph Myers <joseph@codesourcery.com>
35224
35225 [BZ #411]
35226 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35227
314054ea
JM
352282012-02-06 Joseph Myers <joseph@codesourcery.com>
35229
35230 * sysdeps/i386/sysdep.h: Include <features.h>.
35231 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35232 version.
35233
d8e0ca50
JM
352342012-02-05 Joseph Myers <joseph@codesourcery.com>
35235
35236 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35237 Define.
35238 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35239 LOAD_PIC_REG_STR.
35240
b1da7dd9
JM
352412012-02-03 Joseph Myers <joseph@codesourcery.com>
35242
35243 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35244 (SETUP_PIC_REG): Use GET_PC_THUNK.
35245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35246 macro.
35247
9a1d9254
JM
352482012-02-03 Joseph Myers <joseph@codesourcery.com>
35249
35250 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35251 for non-PIC compilation.
35252 (SETUP_PIC_REG): Add .p2align directive.
35253 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35254 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35255 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35256 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35257 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35258 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35259 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35260 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35261 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35262 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35263 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35264 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35265 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35266 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35267 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35268 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35269 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35270 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35271 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35272 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35273 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35274 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35275 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35276 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35277 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35280 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35281 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35282 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35283 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35284 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35285 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35286 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35287 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35288 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35289 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35290 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35291 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35292 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35293 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35294
65dc3b75
JM
352952012-02-03 Joseph Myers <joseph@codesourcery.com>
35296
35297 * math/tst-CMPLX.c: Include <stdio.h>.
35298
d55bf177
JM
352992012-01-31 Joseph Myers <joseph@codesourcery.com>
35300
35301 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35302 float.
35303 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35304 * sysdeps/sparc/bits/mathdef.h: Likewise.
35305
69db4f8f
MP
353062012-01-31 Marek Polacek <polacek@redhat.com>
35307
35308 * libio/libio.h: Don't define _PARAMS.
35309 * locale/programs/config.h: Don't define PARAMS.
35310 * stdlib/strtol_l.c: Likewise.
35311 (__strtol_l): Remove PARAMS from the prototype.
35312
41b81892
UD
353132012-01-31 Ulrich Drepper <drepper@gmail.com>
35314
3b49edc0
UD
35315 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35316 names. Just use the correct names. Remove unnecessary wrapper
35317 functions.
35318 * malloc/arena.c: Likewise.
35319 * malloc/hooks.c: Likewise.
35320
41b81892
UD
35321 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35322 ARENA_TEST says not to. Simplify test for creation of a new arena.
35323 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35324
27a25b6e
UD
353252012-01-30 Ulrich Drepper <drepper@gmail.com>
35326
35327 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35328 into tail calls.
35329 (update_get_addr): New function.
35330 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35331 GET_ADDR_MODULE parameter.
35332
c8a89e7d
JM
353332012-01-30 Joseph Myers <joseph@codesourcery.com>
35334
35335 * crypt/cert.c: Remove __STDC__ conditionals.
35336 * crypt/crypt-entry.c: Likewise.
35337 * crypt/crypt_util.c: Likewise.
35338 * libio/filedoalloc.c: Likewise.
35339 * libio/fileops.c: Likewise.
35340 * libio/genops.c: Likewise.
35341 * libio/iofclose.c: Likewise.
35342 * libio/iofdopen.c: Likewise.
35343 * libio/iofopen.c: Likewise.
35344 * libio/iofopen64.c: Likewise.
35345 * libio/iogetdelim.c: Likewise.
35346 * libio/iopopen.c: Likewise.
35347 * libio/obprintf.c: Likewise.
35348 * libio/oldfileops.c: Likewise.
35349 * libio/oldiofclose.c: Likewise.
35350 * libio/oldiofdopen.c: Likewise.
35351 * libio/oldiofopen.c: Likewise.
35352 * libio/oldiopopen.c: Likewise.
35353 * libio/wfiledoalloc.c: Likewise.
35354 * libio/wgenops.c: Likewise.
35355 * locale/programs/xmalloc.c: Likewise.
35356 * misc/syslog.c: Likewise.
35357 * stdio-common/xbug.c: Likewise.
35358 * string/memchr.c: Likewise.
35359 * string/memcmp.c: Likewise.
35360 * string/memrchr.c: Likewise.
35361 * string/rawmemchr.c: Likewise.
35362 * sysdeps/posix/getcwd.c: Likewise.
35363 * time/strftime_l.c: Likewise.
35364
3b100462
JM
353652012-01-30 Joseph Myers <joseph@codesourcery.com>
35366
35367 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35368 * config.make.in (config-cflags-sse2avx): Define.
35369 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35370 Fix typo.
35371
607998af
CM
353722012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35373
35374 * scripts/config.guess: Update from upstream config git repository.
35375 * scripts/config.sub: Likewise.
35376
3601428f
CM
353772012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35378
3ac8b282
CM
35379 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35380 (EM_NUM): Update.
35381 (R_TILEPRO_*, R_TILEGX_*): New macros.
35382
e034841e
CM
35383 * scripts/firstversions.awk: Fix bug in version range handling.
35384
540d7568
CM
35385 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35386
3601428f
CM
35387 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35388
463de862
CM
35389 * include/sys/epoll.h: New file.
35390 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35391 libc_hidden_def.
35392
73139a76
UD
353932012-01-28 Ulrich Drepper <drepper@gmail.com>
35394
96bc5b45
UD
35395 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35396 Avoid unnecessary __WORDSIZE == 64 test.
35397 (fmaxf): Use VEX format if possible.
35398 (fmax): Likewise.
35399 (fminf): Likewise.
35400 (fmin): Likewise.
35401
56f6f6a2
UD
35402 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35403 * math/math_private.h: Remove libc_fegetround* and
35404 libc_fesetround*.
35405 * sysdeps/i386/configure.in: Check for -msse2avx.
35406 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35407 also if SSE2AVX is defined.
35408 Remove libc_fegetround* and libc_fesetround*.
35409 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35410 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35411 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35412 of HAS_YMM_USABLE.
35413 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35414 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35415 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35416 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35417 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35418
73139a76
UD
35419 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35420
d73f93a4
AZ
354212012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35422
35423 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35424 size is not set.
35425 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35426
6ee65ed6
UD
354272012-01-27 Ulrich Drepper <drepper@gmail.com>
35428
35429 [BZ #13618]
35430 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35431 relocation.
35432 * Makeconfig (libm): Define.
35433 * elf/Makefile: Add rules to build and run tst-relsort1.
35434 * elf/tst-relsort1.c: New file.
35435 * elf/tst-relsort1mod1.c: New file.
35436 * elf/tst-relsort1mod2.c: New file.
35437
8db21882
JM
354382012-01-27 Joseph Myers <joseph@codesourcery.com>
35439
35440 * math/s_ldexp.c: Remove __STDC__ conditionals.
35441 * math/s_ldexpf.c: Likewise.
35442 * math/s_ldexpl.c: Likewise.
35443 * math/s_nextafter.c: Likewise.
35444 * math/s_nexttowardf.c: Likewise.
35445 * math/s_significand.c: Likewise.
35446 * math/s_significandf.c: Likewise.
35447 * math/s_significandl.c: Likewise.
35448 * math/w_jnl.c: Likewise.
35449 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35450 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35451 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35452 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35453 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35454 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35455 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35456 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35457 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35458 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35459 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35460 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35461 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35462 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35463 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35464 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35465 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35468 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35469 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35470 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35471 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35473 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35474 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35475 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35476 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35477 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35478 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35479 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35480 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35481 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35482 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35483 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35484 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35485 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35486 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35487 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35488 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35489 * sysdeps/ieee754/k_standard.c: Likewise.
35490 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35493 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35494 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35498 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35499 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35500 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35501 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35504 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35506 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35507 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35508 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35509 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35511 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35512 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35513 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35514 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35515 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35521 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35522 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35523 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35524 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35525 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35526 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35527 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35528 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35529 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35530 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35531 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35532 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35533 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35534 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35535 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35536 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35537 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35538 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35539 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35540 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35541 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35542 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35543 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35544 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35545 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35547 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35548 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35549 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35551 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35553 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35554 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35556 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35558 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35559 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35560 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35561 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35562 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35564 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35565 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35569 * sysdeps/ieee754/s_matherr.c: Likewise.
35570 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35571 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35572 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35573 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35574
965a54a4
JM
355752012-01-26 Joseph Myers <joseph@codesourcery.com>
35576
35577 * crypt/md5.h: Remove __STDC__ conditionals.
35578 * libio/libioP.h: Likewise.
35579 * locale/programs/config.h: Likewise.
35580 * sysdeps/generic/sysdep.h: Likewise.
35581 * sysdeps/i386/asm-syntax.h: Likewise.
35582 * sysdeps/s390/asm-syntax.h: Likewise.
35583 * sysdeps/unix/sysdep.h: Likewise.
35584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35586
7071ad79
JM
355872012-01-26 Joseph Myers <joseph@codesourcery.com>
35588
35589 * libio/libio.h: Remove __STDC__ conditionals.
35590 * malloc/obstack.h: Likewise.
35591 * math/complex.h: Likewise.
35592 * math/math.h: Likewise.
35593 * sysdeps/generic/_G_config.h: Likewise.
35594 * sysdeps/gnu/_G_config.h: Likewise.
35595 * sysdeps/mach/hurd/_G_config.h: Likewise.
35596 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35597 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35598 * sysdeps/sparc/bits/mathdef.h: Likewise.
35599
afc5ed09
UD
356002012-01-26 Ulrich Drepper <drepper@gmail.com>
35601
35602 [BZ #13583]
35603 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35604 Clean up HAS_* macros.
afc5ed09 35605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35606 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35607 possible.
35608 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35609 HAS_AVX.
35610 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35611 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35612 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35613 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35614 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35615
bdb6de1d
JM
356162012-01-25 Joseph Myers <joseph@codesourcery.com>
35617
35618 * elf/tst-unique3.cc (gets): Remove declaration.
35619 * elf/tst-unique3lib.cc (gets): Likewise.
35620 * elf/tst-unique3lib2.cc (gets): Likewise.
35621 * elf/tst-unique4.cc (gets): Likewise.
35622
b15549e6
UD
356232012-01-24 Ulrich Drepper <drepper@gmail.com>
35624
35625 * include/stdio.h: Add C++ protection. Add gets declarations and
35626 definitions.
35627 * debug/tst-chk1.c: Don't declare gets here.
35628 * stdio-common/tst-gets.c: Likewise.
35629
a037381f
JM
356302012-01-24 Joseph Myers <joseph@codesourcery.com>
35631
35632 * posix/glob: Remove directory.
35633
f1d4aa75
JM
356342012-01-24 Joseph Myers <joseph@codesourcery.com>
35635
35636 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35637
81c0c964
PT
356382012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35639
35640 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35641 of the non-standard EPFNOSUPPORT.
35642
0ea698ae
ST
356432011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35644
35645 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35646 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35647 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35648
d220b117
UD
356492012-01-21 Ulrich Drepper <drepper@gmail.com>
35650
35651 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35652
3e1aa84e
UD
356532012-01-20 Ulrich Drepper <drepper@gmail.com>
35654
35655 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35656 transient errors.
35657 * nscd/grpcache.c (cache_addgr): Likewise.
35658 * nscd/hstcache.c (cache_addhst): Likewise.
35659 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35660 * nscd/pwdcache.c (cache_addpw): Likewise.
35661 * nscd/servicescache.c (cache_addserv): Likewise.
35662
400aa020
UD
356632012-01-16 Ulrich Drepper <drepper@gmail.com>
35664
d77e7869
UD
35665 * malloc/malloc.c: Various cleanups.
35666 * malloc/hooks.c: Likewise.
35667
400aa020
UD
35668 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35669 * stdlib/bug-fmtmsg1.c: New file.
35670
35671 * stdlib/fmtmsg.c (init): Add missing unlock.
35672 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35673
e0a309cf
MP
356742012-01-12 Marek Polacek <polacek@redhat.com>
35675
35676 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35677 and _GNU_SOURCE.
35678
929d11c7
WS
356792012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35680
35681 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35682 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35683 macro to ensure uniqueness of label name.
35684 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35685 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35686
41d0e869
UD
356872012-01-11 Ulrich Drepper <drepper@gmail.com>
35688
0cc5ed3b
UD
35689 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35690
41d0e869
UD
35691 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35692 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35693 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35694 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35695
a47a831a
UD
356962012-01-10 Ulrich Drepper <drepper@gmail.com>
35697
daa891c0
UD
35698 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35699
35700 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35701 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35703
e58ef0f2
UD
35704 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35705
a47a831a 35706 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35707 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35708 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35710
35711 * math/bits/math-finite.h: Add ldexp support.
35712
a0bfc9c7
MP
357132012-01-10 Marek Polacek <polacek@redhat.com>
35714
35715 * locale/programs/localedef.h (show_archive_content): Add noreturn
35716 attribute.
35717
d6e97a1d
UD
357182012-01-09 Ulrich Drepper <drepper@gmail.com>
35719
35720 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35721
d5835c26
UD
357222012-01-08 Ulrich Drepper <drepper@gmail.com>
35723
e5f484c6
UD
35724 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35725
d5835c26
UD
35726 * io/Makefile (headers): Add bits/poll2.h.
35727
d1f741e9
WS
357282011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35729
35730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35731 typo #include statement.
35732
ec09c1c4
UD
357332012-01-08 Ulrich Drepper <drepper@gmail.com>
35734
35735 * include/sys/cdefs.h: Define __attribute_alloc_size.
35736 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35737 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35738 * elf/pldd.c: Likewise.
35739 * iconv/iconv_charmap.c: Likewise.
35740 * iconv/iconvconfig.c: Likewise.
35741 * iconv/strtab.c: Likewise.
35742 * locale/programs/locale.c: Likewise.
35743 * locale/programs/localedef.h: Likewise.
35744 * locale/programs/simple-hash.c: Likewise.
35745 * nscd/nscd.h: Likewise.
35746 * nss/makedb.c: Likewise.
35747 * sysdeps/generic/ldconfig.h: Likewise.
35748 * locale/programs/localedef.c: Remove xmalloc prototype.
35749 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35750
20b38e03
PP
357512012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35752
35753 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35754 appropriate.
35755
a0da5fe1
UD
357562012-01-08 Ulrich Drepper <drepper@gmail.com>
35757
1d5a644a 35758 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35759 * math/tst-CMPLX.c: New file.
1d5a644a 35760
8784a6db
UD
35761 * math/complex.h (CMPLXL): Fix typo.
35762
d9a216c0
UD
35763 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35764 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35765 GLIBC_2.16.
35766 * debug/tst-chk1.c: Add poll and ppoll tests.
35767 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35768 * include/sys/poll.h: Add hidden proto for ppoll.
35769 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35770 * sysdeps/mach/hurd/ppoll.c: Likewise.
35771 * io/ppoll.c: Likewise.
35772 * debug/poll_chk.c: New file.
35773 * debug/ppoll_chk.c: New file.
35774 * include/bits/poll2.h: New file.
35775 * io/bits/poll2.h: New file.
35776
ac097f5c
UD
35777 [BZ #1350]
35778 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35779
2119dcfa
UD
35780 * configure.in: static is always set to yes. Remove.
35781 * config.make.in: Don't set build-static.
35782 * Makeconfig: Remove use of build-static.
35783 * dlfcn/Makefile: Likewise.
35784 * elf/Makefile: Likewise.
35785 * math/Makefile: Likewise.
35786 * misc/Makefile: Likewise.
35787 * nptl/Makefile: Likewise.
35788 * sysdeps/mach/hurd/Makefile: Likewise.
35789
121766a9
UD
35790 * configure.in: PWD_P is not used anymore.
35791 * config.make.in: Remove PWD_P entry.
35792
51a1d39c 35793 * configure.in: Remove last remnants of RANLIB.
8720d066 35794 No need to check for signed size_t anymore.
215f4bdc
UD
35795 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35796 and IA-64.
3857022a 35797 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35798 * aclocal.m4: Likewise.
35799
d3ed7225
UD
35800 * wcsmbs/mbrtoc16.c: Implement using towc function.
35801 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35802 * wcsmbs/wcsmbsload.c: Likewise.
35803 * iconv/gconv_simple.c: Likewise.
35804 * iconv/gconv_int.h: Likewise.
35805 * iconv/gconv_builtin.h: Likewise.
35806 * iconv/iconv_prog.c: Remove CHAR16 handling.
35807
35808 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35809
35810 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35811
a0da5fe1
UD
35812 * configure.in: Remove --with-elf and --enable-bounded options.
35813 Dont set base_machine for ia64. More non-ELF conditions removed.
35814 Remove testing and setting of leading underscore information.
35815 * config.make.in (build-bounded): Set to no.
35816 * config.h.in: Remove NO_UNDERSCORES entry.
35817 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35818 them.
35819 * csu/start.c: Remove !NO_UNDERSCORE code.
35820 * locale/localeinfo.h: Likewise.
35821 * sysdeps/generic/machine-gmon.h: Likewise.
35822 * sysdeps/generic/sysdep.h: Likewise.
35823 * sysdeps/i386/sysdep.h: Likewise.
35824 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35825 * sysdeps/mach/sysdep.h: Likewise.
35826 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35827 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35828 * sysdeps/sh/sysdep.h: Likewise.
35829 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35830 * sysdeps/unix/i386/sysdep.S: Likewise.
35831 * sysdeps/unix/sparc/start.c: Likewise.
35832 * sysdeps/unix/sparc/sysdep.S: Likewise.
35833 * sysdeps/unix/sparc/sysdep.h: Likewise.
35834 * sysdeps/unix/start.c: Likewise.
35835 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35836 * sysdeps/x86_64/sysdep.h: Likewise.
35837
df78418a
UD
358382012-01-07 Ulrich Drepper <drepper@gmail.com>
35839
a784e502
UD
35840 [BZ #13553]
35841 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35842 for non-gcc.
35843 * argp/argp-fmtstream.h: Use const instead __const.
35844 * argp/argp.h: Likewise.
35845 * assert/assert.h: Likewise.
35846 * bits/fenv.h: Likewise.
35847 * bits/sched.h: Likewise.
35848 * bits/sigset.h: Likewise.
35849 * bits/sigthread.h: Likewise.
35850 * catgets/nl_types.h: Likewise.
35851 * conform/data/pthread.h-data: Likewise.
35852 * crypt/crypt-private.h: Likewise.
35853 * crypt/crypt.h: Likewise.
35854 * crypt/crypt_util.c: Likewise.
35855 * ctype/ctype.h: Likewise.
35856 * debug/execinfo.h: Likewise.
35857 * debug/mbsnrtowcs_chk.c: Likewise.
35858 * debug/mbsrtowcs_chk.c: Likewise.
35859 * debug/wcsnrtombs_chk.c: Likewise.
35860 * debug/wcsrtombs_chk.c: Likewise.
35861 * debug/wcstombs_chk.c: Likewise.
35862 * dirent/dirent.h: Likewise.
35863 * dlfcn/dlfcn.h: Likewise.
35864 * elf/neededtest4.c: Likewise.
35865 * grp/grp.h: Likewise.
35866 * gshadow/gshadow.h: Likewise.
35867 * iconv/gconv.h: Likewise.
35868 * iconv/gconv_int.h: Likewise.
35869 * iconv/gconv_simple.c: Likewise.
35870 * iconv/iconv.h: Likewise.
35871 * iconv/loop.c: Likewise.
35872 * iconv/skeleton.c: Likewise.
35873 * include/aio.h: Likewise.
35874 * include/aliases.h: Likewise.
35875 * include/argz.h: Likewise.
35876 * include/arpa/inet.h: Likewise.
35877 * include/assert.h: Likewise.
35878 * include/dirent.h: Likewise.
35879 * include/dlfcn.h: Likewise.
35880 * include/execinfo.h: Likewise.
35881 * include/fcntl.h: Likewise.
35882 * include/fenv.h: Likewise.
35883 * include/glob.h: Likewise.
35884 * include/grp.h: Likewise.
35885 * include/libintl.h: Likewise.
35886 * include/mntent.h: Likewise.
35887 * include/netdb.h: Likewise.
35888 * include/pwd.h: Likewise.
35889 * include/rpc/netdb.h: Likewise.
35890 * include/sched.h: Likewise.
35891 * include/search.h: Likewise.
35892 * include/shadow.h: Likewise.
35893 * include/signal.h: Likewise.
35894 * include/stdio.h: Likewise.
35895 * include/stdlib.h: Likewise.
35896 * include/string.h: Likewise.
35897 * include/sys/socket.h: Likewise.
35898 * include/sys/stat.h: Likewise.
35899 * include/sys/statfs.h: Likewise.
35900 * include/sys/statvfs.h: Likewise.
35901 * include/sys/syslog.h: Likewise.
35902 * include/sys/time.h: Likewise.
35903 * include/sys/uio.h: Likewise.
35904 * include/time.h: Likewise.
35905 * include/unistd.h: Likewise.
35906 * include/utmp.h: Likewise.
35907 * include/wchar.h: Likewise.
35908 * include/wctype.h: Likewise.
35909 * inet/aliases.h: Likewise.
35910 * inet/arpa/inet.h: Likewise.
35911 * inet/netinet/ether.h: Likewise.
35912 * inet/netinet/in.h: Likewise.
35913 * intl/libintl.h: Likewise.
35914 * io/bits/fcntl2.h: Likewise.
35915 * io/fcntl.h: Likewise.
35916 * io/ftw.h: Likewise.
35917 * io/sys/poll.h: Likewise.
35918 * io/sys/stat.h: Likewise.
35919 * io/sys/statfs.h: Likewise.
35920 * io/sys/statvfs.h: Likewise.
35921 * io/utime.h: Likewise.
35922 * libio/bits/stdio.h: Likewise.
35923 * libio/bits/stdio2.h: Likewise.
35924 * libio/libio.h: Likewise.
35925 * libio/libioP.h: Likewise.
35926 * libio/stdio.h: Likewise.
35927 * locale/lc-ctype.c: Likewise.
35928 * locale/locale.h: Likewise.
35929 * login/utmp.h: Likewise.
35930 * malloc/arena.c: Likewise.
35931 * malloc/malloc.c: Likewise.
35932 * malloc/malloc.h: Likewise.
35933 * malloc/mcheck.c: Likewise.
35934 * malloc/mtrace.c: Likewise.
35935 * math/bits/mathcalls.h: Likewise.
35936 * math/fenv.h: Likewise.
35937 * math/math_private.h: Likewise.
35938 * misc/bits/error.h: Likewise.
35939 * misc/bits/syslog.h: Likewise.
35940 * misc/err.h: Likewise.
35941 * misc/error.h: Likewise.
35942 * misc/fstab.h: Likewise.
35943 * misc/mntent.h: Likewise.
35944 * misc/regexp.h: Likewise.
35945 * misc/search.h: Likewise.
35946 * misc/sgtty.h: Likewise.
35947 * misc/sys/mman.h: Likewise.
35948 * misc/sys/syslog.h: Likewise.
35949 * misc/sys/uio.h: Likewise.
35950 * misc/sys/xattr.h: Likewise.
35951 * misc/ttyent.h: Likewise.
35952 * nis/rpcsvc/ypclnt.h: Likewise.
35953 * nss/nss.h: Likewise.
35954 * posix/bits/unistd.h: Likewise.
35955 * posix/fnmatch.h: Likewise.
35956 * posix/glob.h: Likewise.
35957 * posix/sched.h: Likewise.
35958 * posix/spawn.h: Likewise.
35959 * posix/sys/wait.h: Likewise.
35960 * posix/unistd.h: Likewise.
35961 * posix/wordexp.h: Likewise.
35962 * pwd/pwd.h: Likewise.
35963 * resolv/netdb.h: Likewise.
35964 * resource/sys/resource.h: Likewise.
35965 * rt/aio.h: Likewise.
35966 * rt/bits/mqueue2.h: Likewise.
35967 * rt/mqueue.h: Likewise.
35968 * shadow/shadow.h: Likewise.
35969 * signal/signal.h: Likewise.
35970 * socket/send.c: Likewise.
35971 * socket/sendto.c: Likewise.
35972 * socket/sys/socket.h: Likewise.
35973 * stdio-common/printf.h: Likewise.
35974 * stdlib/bits/stdlib.h: Likewise.
35975 * stdlib/fmtmsg.h: Likewise.
35976 * stdlib/monetary.h: Likewise.
35977 * stdlib/stdlib.h: Likewise.
35978 * stdlib/ucontext.h: Likewise.
35979 * streams/stropts.h: Likewise.
35980 * string/argz.h: Likewise.
35981 * string/bits/string2.h: Likewise.
35982 * string/string.h: Likewise.
35983 * string/strings.h: Likewise.
35984 * sunrpc/rpc/auth.h: Likewise.
35985 * sunrpc/rpc/auth_des.h: Likewise.
35986 * sunrpc/rpc/clnt.h: Likewise.
35987 * sunrpc/rpc/netdb.h: Likewise.
35988 * sunrpc/rpc/pmap_clnt.h: Likewise.
35989 * sunrpc/rpc/xdr.h: Likewise.
35990 * sysdeps/generic/inttypes.h: Likewise.
35991 * sysdeps/generic/net/if.h: Likewise.
35992 * sysdeps/generic/sys/swap.h: Likewise.
35993 * sysdeps/gnu/net/if.h: Likewise.
35994 * sysdeps/gnu/utmpx.h: Likewise.
35995 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35996 * sysdeps/i386/i486/bits/string.h: Likewise.
35997 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35998 * sysdeps/s390/bits/string.h: Likewise.
35999 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36000 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36001 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36002 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36003 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36004 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36005 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36006 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36007 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36008 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36009 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36010 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36011 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36012 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36013 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36014 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36015 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36017 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36019 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36020 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36021 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36022 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36023 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36024 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36025 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36026 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36027 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36028 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36029 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36030 * sysvipc/sys/ipc.h: Likewise.
36031 * sysvipc/sys/msg.h: Likewise.
36032 * sysvipc/sys/sem.h: Likewise.
36033 * sysvipc/sys/shm.h: Likewise.
36034 * termios/termios.h: Likewise.
36035 * time/sys/time.h: Likewise.
36036 * time/time.h: Likewise.
36037 * wcsmbs/bits/wchar2.h: Likewise.
36038 * wcsmbs/uchar.h: Likewise.
36039 * wcsmbs/wchar.h: Likewise.
36040 * wctype/wctype.h: Likewise.
36041
0269750c
UD
36042 [BZ #13551]
36043 * Makeconfig: Remove all but ELF support including AIX support.
36044 * Makerules: Likewise.
36045 * config.h.in: Likewise.
36046 * config.make.in: Likewise.
36047 * configure: Likewise.
36048 * configure.in: Likewise.
36049 * csu/Makefile: Likewise.
36050 * csu/version.c: Likewise.
36051 * debug/Makefile: Likewise.
36052 * dlfcn/Makefile: Likewise.
36053 * elf/Makefile: Likewise.
36054 * extra-lib.mk: Likewise.
36055 * iconv/Makefile: Likewise.
36056 * include/libc-symbols.h: Likewise.
36057 * include/shlib-compat.h: Likewise.
36058 * resolv/Makefile: Likewise.
36059 * resolv/res_libc.c: Likewise.
36060 * rt/Makefile: Likewise.
36061 * sysdeps/i386/asm-syntax.h: Likewise.
36062 * sysdeps/i386/sysdep.h: Likewise.
36063 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36064 * sysdeps/mach/sysdep.h: Likewise.
36065 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36066 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36067 * sysdeps/s390/asm-syntax.h: Likewise.
36068 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36069 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36070 * sysdeps/sh/sysdep.h: Likewise.
36071 * sysdeps/unix/sparc/sysdep.h: Likewise.
36072 * sysdeps/wordsize-32/divdi3.c: Likewise.
36073 * sysdeps/x86_64/sysdep.h: Likewise.
36074
00bbd29b
UD
36075 * argp/Versions: Remove _argp_unlock_xxx.
36076
36077 [BZ #13559]
36078 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36079 * abilist/libBrokenLocale.abilist: Likewise.
36080 * abilist/libanl.abilist: Likewise.
36081 * abilist/libc.abilist: Likewise.
36082 * abilist/libcrypt.abilist: Likewise.
36083 * abilist/libdl.abilist: Likewise.
36084 * abilist/libm.abilist: Likewise.
36085 * abilist/libnsl.abilist: Likewise.
36086 * abilist/libpthread.abilist: Likewise.
36087 * abilist/libresolv.abilist: Likewise.
36088 * abilist/librt.abilist: Likewise.
36089 * abilist/libthread_db.abilist: Likewise.
36090 * abilist/libutil.abilist: Likewise.
36091 * abilist/libnss_db.abilist: New file.
36092
36093 * scripts/abilist.awk: Add support for indirect functions.
36094
a2693a0e
UD
36095 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36096
3f05895f
UD
36097 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36098
ecb6fb48
UD
36099 * shlib-versions: Remove entries for ports architectures.
36100
664f8cb9
UD
36101 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36102 files in ports.
36103 * elf/stackguard-macros.h: Remove support for IA-64.
36104 * elf/tst-auditmod1.c: Likewise.
36105 * sysdeps/generic/ldsodefs.h: Likewise.
36106
7ae81d88
UD
36107 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36108 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36109 configure files.
36110
bdeba135
UD
36111 [BZ #13552]
36112 * configure.in: Remove --enable-omitfp support.
36113 * FAQ.in: Adjust.
36114 * config.make.in: Likewise.
36115 * Makeconfig: Likewise.
36116 * manual/install.texi: Likewise.
36117
d75a0a62
UD
36118 In case anyone cares, the IA-64 architecture could move to ports.
36119 * sysdeps/ia64/*: Removed.
36120 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36121 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36122
dcc9756b
UD
36123 [BZ #13555]
36124 * configure.in: Remove entries for unsupported architectures.
36125
d3761ebc 36126 [BZ #13533]
9954432e
UD
36127 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36128 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36129 routines.
36130 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36131 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36132 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36133 fall back to using wcrtomb.
36134 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36135 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36136 renaming.
36137 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36138 * wcsmbs/tst-c16c32-1.c: New file.
36139
36140 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36141 local variable.
36142
c3a87236
UD
36143 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36144
28926a1b
UD
36145 * elf/tst-unique3.cc: Add explicit declaration of gets.
36146 * elf/tst-unique3lib.cc: Likewise.
36147 * elf/tst-unique3lib2.cc: Likewise.
36148 * elf/tst-unique4.cc: Likewise.
36149
df78418a
UD
36150 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36151
8ecd6b2a
JM
361522012-01-06 Joseph Myers <joseph@codesourcery.com>
36153
36154 [BZ #13566]
36155 * assert/assert.h (static_assert): Don't define for C++.
36156 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36157 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36158
9f115170
UD
361592012-01-03 Ulrich Drepper <drepper@gmail.com>
36160
5e0d0300
UD
36161 * iconv/loop.c (single loop): Fix assertion in storing of
36162 remaining bytes.
36163
9f115170
UD
36164 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36165
81fb02b0
UD
361662012-01-01 Ulrich Drepper <drepper@gmail.com>
36167
36168 * posix/getconf.c: Update copyright year.
36169 * nss/getent.c: Likewise.
a316c1f6 36170 * nss/makedb.c: Likewise.
81fb02b0
UD
36171 * iconv/iconvconfig.c: Likewise.
36172 * iconv/iconv_prog.c: Likewise.
36173 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36174 * elf/pldd.c: Likewise.
36175 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36176 * catgets/gencat.c: Likewise.
36177 * csu/version.c: Likewise.
36178 * elf/ldd.bash.in: Likewise.
36179 * elf/sprof.c (print_version): Likewise.
36180 * locale/programs/locale.c: Likewise.
36181 * locale/programs/localedef.c: Likewise.
a316c1f6 36182 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36183 * nscd/nscd.c (print_version): Likewise.
36184 * debug/xtrace.sh: Likewise.
36185 * malloc/memusage.sh: Likewise.
36186 * malloc/mtrace.pl: Likewise.
36187 * debug/catchsegv.sh: Likewise.
36188
2ba92745
JJ
361892011-12-30 Jakub Jelinek <jakub@redhat.com>
36190
36191 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36192 pure attribute.
36193
dadebdae
UD
361942011-12-24 Ulrich Drepper <drepper@gmail.com>
36195
d3761ebc 36196 [BZ #13533]
db6af3eb
UD
36197 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36198 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36199 transformations.
36200 * iconv/gconv_int.h: Likewise.
36201 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36202 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36203 from libc for GLIBC_2.16.
36204 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36205 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36206 * wcsmbs/uchar.h: Really define mbstate_t.
36207 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36208 * wcsmbs/c16rtomb.c: New file.
36209 * wcsmbs/mbrtoc16.c: New file.
36210 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36211 for C/POSIX locale.
36212 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36213 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36214
dadebdae
UD
36215 * wcsmbs/wchar.h: Add missing __restrict.
36216
67371b56
UD
362172011-12-23 Ulrich Drepper <drepper@gmail.com>
36218
74033a25
UD
36219 [BZ #13532]
36220 * time/Makefile (routines): Add timespec_get.
36221 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36222 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36223 timespec for ISO C11.
36224 * time/timespec_get.c: New file.
36225 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36226 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36227
380d7e87
UD
36228 [BZ #13531]
36229 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36230 * stdlib/stdlib.h: Declare aligned_alloc.
36231 * Versions.def: Add GLIBC_2.16 for libc.
36232 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36233
4e9e7a35
UD
36234 [BZ 13527]
36235 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36236 ISO C11.
36237
380d7e87 36238 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36239 code.
36240
03a71829
UD
36241 [BZ #13528]
36242 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36243
839e283e
UD
36244 [BZ #13529]
36245 * assert/assert.h (static_assert): Define.
36246
ce5294e2 36247 * version.h: Update for 2.16 development version.
90fa7312 36248
8d44e150 36249 [BZ #13526]
d7809905
UD
36250 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36251 _ISOC11_SOURCE.
36252
c0da14cd
UD
36253 * version.h (RELEASE): Bump for 2.15 release.
36254 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36255
530a3249
MP
36256 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36257 Patch by Marek Polacek <mpolacek@redhat.com>.
36258
67371b56
UD
36259 * bits/byteswap.h: Protect long long constants with __extension__.
36260 * sysdeps/i386/bits/byteswap.h: Likewise.
36261 * sysdeps/ia64/bits/byteswap.h: Likewise.
36262 * sysdeps/s390/bits/byteswap.h: Likewise.
36263 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36264
15db4de1
LD
362652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36266
36267 [BZ #13540]
bbe315ea
LD
36268 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36269 destination buffer.
15db4de1
LD
36270 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36271
2b2596b1
MP
362722011-12-23 Marek Polacek <polacek@redhat.com>
36273
36274 * elf/dl-addr.c (determine_info): Add inline keyword.
36275 * elf/tst-auditmod4b.c (check_avx): Likewise.
36276 * elf/tst-auditmod6b.c (check_avx): Likewise.
36277 * elf/tst-auditmod6c.c (check_avx): Likewise.
36278 * elf/tst-auditmod7b.c (check_avx): Likewise.
36279
70c6c246
UD
362802011-12-23 Ulrich Drepper <drepper@gmail.com>
36281
36282 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36283 !__SSE_MATH__.
36284
c044cf14
LD
362852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36286
15db4de1 36287 [BZ #13540]
c044cf14
LD
36288 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36289 processing for last bytes.
36290
6b13d9d9
BH
362912011-08-06 Bruno Haible <bruno@clisp.org>
36292
d455f537
BH
36293 [BZ #13061]
36294 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36295 U+0385, not to U+1FEE.
36296
6b13d9d9
BH
36297 [BZ #13062]
36298 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36299 entry for U+00A5 U+0301.
36300
db910efd
UD
363012011-12-22 Ulrich Drepper <drepper@gmail.com>
36302
27deeafc
UD
36303 [BZ #13166]
36304 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36305 buffer for the output is too small.
36306
aed9d171
UD
36307 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36308 optimization.
36309
db910efd
UD
36310 [BZ #13185]
36311 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36312 SSE flags if possible.
36313
2bd779ae
LD
363142011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36315
e7f9dac3 36316 [BZ #13540]
2bd779ae
LD
36317 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36318 processing for last bytes.
36319
154bfc16
JM
363202011-12-22 Joseph Myers <joseph@codesourcery.com>
36321
36322 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36323 (syscall-list-default-options, syscall-list-default-condition)
36324 (syscall-list-includes): Define.
36325 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36326 list of ABIs and options and #if conditions for each ABI. Do not
36327 handle common syscalls between ABIs specially.
36328 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36329 Remove.
36330 (syscall-list-variants, syscall-list-32bit-options)
36331 (syscall-list-32bit-condition, syscall-list-64bit-options)
36332 (syscall-list-64bit-condition): Define.
36333 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36334 (syscall-list-variants, syscall-list-32bit-options)
36335 (syscall-list-32bit-condition, syscall-list-64bit-options)
36336 (syscall-list-64bit-condition): Define.
36337 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36338 Remove.
36339 (syscall-list-variants, syscall-list-32bit-options)
36340 (syscall-list-32bit-condition, syscall-list-64bit-options)
36341 (syscall-list-64bit-condition): Define.
36342 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36343 Remove.
36344 (syscall-list-variants, syscall-list-32bit-options)
36345 (syscall-list-32bit-condition, syscall-list-64bit-options)
36346 (syscall-list-64bit-condition): Define.
36347
21eaf3a5
UD
363482011-12-22 Ulrich Drepper <drepper@gmail.com>
36349
16c6f992
UD
36350 * locale/iso-639.def: Add brx entry.
36351
41043168
UD
36352 [BZ #13328]
36353 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36354 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36355
21eaf3a5
UD
36356 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36357 __feraiseexcept_renamed.
36358
e3a851a2
UD
363592011-12-21 Ulrich Drepper <drepper@gmail.com>
36360
4920765e
UD
36361 [BZ #13538]
36362 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36363 EPOLLET with unsigned values.
36364 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36365 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36366
e3a851a2
UD
36367 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36368 to large cancellation.
36369 * math/s_cacoshf.c: Likewise.
36370 * math/s_cacoshl.c: Likewise.
36371
b27e24b8
RK
363722011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36373
36374 [BZ #13305]
aebefeee 36375 [BZ #12786]
b27e24b8
RK
36376 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36377 * math/s_cacoshf.c: Likewise.
36378 * math/s_cacoshl.c: Likewise.
36379
ee190f67
UD
363802011-12-21 Ulrich Drepper <drepper@gmail.com>
36381
36382 [BZ #13439]
36383 * iconv/gconv.h: Define __GCONV_SWAP.
36384 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36385 * iconvdata/utf-16.c: Likewise.
36386 * iconvdata/utf-32.c: Likewise.
36387
707f25df
AS
363882011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36389
36390 [BZ #13524]
36391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36392 numerator after shifting it by one limb.
36393
d2daaa1e
RÁE
363942011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36395
36396 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36397 under [__USE_EXTERN_INLINES].
36398
a4647e72
UD
363992011-12-17 Ulrich Drepper <drepper@gmail.com>
36400
36401 [BZ #13446]
36402 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36403
f0b264f1
AZ
364042011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36405
36406 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36407 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36408 optimized code.
36409 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36410 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36411 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36412 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36413 for strncasecmp/strncasecmp_l compilation.
36414 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36415 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36416
8ef4f244
MP
364172011-12-08 Marek Polacek <mpolacek@redhat.com>
36418
36419 [BZ #13484]
36420 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36421 of __asm__.
36422
97ac2654
UD
364232011-12-17 Ulrich Drepper <drepper@gmail.com>
36424
36425 [BZ #13506]
36426 * time/tzfile.c (__tzfile_read): Check values from file header.
36427
91d2a845
WS
364282011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36429
36430 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36431 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36432 * powerpc/powerpc32/dl-start.S: Likewise.
36433 * powerpc/powerpc32/elf/start.S: Likewise.
36434 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36435 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36436 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36437 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36438 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36439 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36440 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36441 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36442 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36443 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36444 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36445 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36446 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36447 * powerpc/powerpc32/memset.S: Likewise.
36448 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36449 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36450 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36451 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36452 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36453 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36454 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36455 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36456 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36457 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36458 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36459 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36460 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36461
a1267ba1
AZ
364622011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36463
36464 * math/libm-test.inc: Added more nearbyint tests.
36465 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36466 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36467 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36468 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36469
ad8ac1bd
RL
364702011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36471
36472 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36473 FD_CLOEXEC.
36474
1d3e4b61
UD
364752011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36476
36477 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36478 Add wcscpy-ssse3 wcscpy-c.
36479 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36480 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36481 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36482 * sysdeps/x86_64/wcschr.S: New file.
36483 * sysdeps/x86_64/wcsrchr.S: New file.
36484 * string/test-strcmp.c: Remove checking of wcscmp function for
36485 wrong alignments.
36486 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36487 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36488 wcsrchr-sse2 wcsrchr-c.
36489 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36490 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36491 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36492 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36493 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36494 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36495 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36496 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36497 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36498 * wcsmbc/wcschr.c (WCSCHR): New macro.
36499
5b330a2d
UD
365002011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36501
36502 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36503 * wcsmbs/test-wcsrchr.c: New file.
36504 * string/test-strrchr.c: Add wcsrchr support.
36505 (WIDE): New macro.
36506 * wcsmbs/test-wcscpy.c: New file.
36507 * string/test-strcpy.c: Add wcscpy support.
36508 (WIDE): New macro.
26428b7c 36509
f039c043
UD
365102011-12-10 Ulrich Drepper <drepper@gmail.com>
36511
36512 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36513 the inner loop.
36514
850fb039
AS
365152011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36516
36517 [BZ #13472]
36518 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36519
4efbd5cb
UD
365202011-12-04 Ulrich Drepper <drepper@gmail.com>
36521
52ff5dd0 36522 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36523 Minor optimizations.
52ff5dd0 36524
4efbd5cb
UD
36525 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36526 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36527 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36528
8a426e12
UD
365292011-12-03 Ulrich Drepper <drepper@gmail.com>
36530
aff2453d
UD
36531 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36532 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36533 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36534 for gcc to avoid warnings.
36535 * inet/Makefile (tests): Add tst-checks.
36536 * inet/tst-checks.c: New file.
36537
36538 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36539 warning.
36540
36541 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36542 __wmemcmp_sse2.
36543
36544 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36545 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36546
8a426e12
UD
36547 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36548
9bea3473
UD
365492011-12-02 Ulrich Drepper <drepper@gmail.com>
36550
3a965496
UD
36551 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36552 problem.
36553
9bea3473
UD
36554 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36555
f101631b
UD
365562011-11-29 Joseph Myers <joseph@codesourcery.com>
36557
36558 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36559 conditional on GCC version.
36560 (__arch_compare_and_exchange_val_8_acq)
36561 (__arch_compare_and_exchange_val_16_acq)
36562 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36563 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36564 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36565
a98275aa
UD
365662011-12-02 Joseph Myers <joseph@codesourcery.com>
36567
36568 * sysdeps/sh/backtrace.c: New file.
36569
d4cc29a2
AS
365702011-12-02 Andreas Schwab <schwab@redhat.com>
36571
36572 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36573 parenthesis.
36574
6257af2d
AS
365752011-12-01 Andreas Schwab <schwab@redhat.com>
36576
36577 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36578 falling back to utime.
36579
b5f44c1a
AS
365802011-11-30 Andreas Schwab <schwab@redhat.com>
36581
36582 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36583 expectations for float.
36584
f3a6cc0a
AS
365852011-11-29 Andreas Schwab <schwab@redhat.com>
36586
36587 * locale/weight.h (findidx): Add parameter len.
36588 * locale/weightwc.h (findidx): Likewise.
36589 * posix/fnmatch_loop.c (FCT): Adjust caller.
36590 * posix/regcomp.c (build_equiv_class): Likewise.
36591 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36592 * posix/regexec.c (check_node_accept_bytes): Likewise.
36593 * string/strcoll_l.c (STRCOLL): Likewise.
36594 * string/strxfrm_l.c (STRXFRM): Likewise.
36595
9d65ea3a
UD
365962011-11-17 Ulrich Drepper <drepper@gmail.com>
36597
36598 * Makefile.in: Remove CVSOPT handling.
36599 * configure.in: Remove use of AC_REVISION.
36600 * iconvdata/Makefile (distribute): No need to filter out CVS.
36601 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36602 handling.
36603
5583a086
AS
366042011-11-16 Andreas Schwab <schwab@redhat.com>
36605
36606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36607 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36608 [USE_AS_STRNCASECMP_L]: Likewise.
36609 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36610 NO_TLS_DIRECT_SEG_REFS.
36611 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36612 Fix argument offsets for non-PIC.
36613 [USE_AS_STRNCASECMP_L]: Likewise.
36614 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36615 NO_TLS_DIRECT_SEG_REFS.
36616
d62a8200
UD
366172011-11-15 Ulrich Drepper <drepper@gmail.com>
36618
9d65ea3a 36619 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36620 O_CLOEXEC.
36621 * locale/loadlocale.c (_nl_load_locale): Likewise.
36622
09f93bd3
AS
366232011-11-15 Andreas Schwab <schwab@redhat.com>
36624
446514f9
AS
36625 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36626 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36627 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36628 (SYSCALL_GETTIME): Set errno on error.
36629
09f93bd3
AS
36630 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36631 count references to noai6ai_cached.
36632
312be3f9
UD
366332011-11-15 Ulrich Drepper <drepper@gmail.com>
36634
36635 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36636
36637 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36638 FD_CLOEXEC for /proc/self/maps.
36639
36640 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36641 FD_CLOEXEC for /proc/meminfo.
36642
36643 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36644 gai.conf.
36645
36646 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36647 FD_CLOEXEC for given file.
36648
36649 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36650
36651 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36652 FD_CLOEXEC for /etc/hosts.
36653 (_gethtent): Likewise.
36654
36655 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36656
36657 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36658 cancellation and set FD_CLOEXEC for /etc/netgroup.
36659
36660 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36661 reading /etc/publickey.
36662
36663 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36664 allow cancellation when reading /etc/group.
36665
36666 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36667 cancellation.
36668 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36669
36670 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36671 when using data file.
36672
36673 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36674
36675 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36676 (write_nis_obj): Use "c" and "e" in fopen.
36677
36678 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36679
36680 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36681
36682 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36683
36684 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36685
36686 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36687 locale.alias.
36688
36689 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36690
36691 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36692
36693 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36694
36695 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36696 file parsing and set FD_CLOEXEC.
36697
82af0fa8
UD
366982011-11-14 Ulrich Drepper <drepper@gmail.com>
36699
36700 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36701
a5fb313c
AS
367022011-11-14 Andreas Schwab <schwab@redhat.com>
36703
36704 * malloc/arena.c (arena_get2): Don't call reused_arena when
36705 _int_new_arena failed.
36706
6abf3465
UD
367072011-11-14 Ulrich Drepper <drepper@gmail.com>
36708
36709 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36710 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36711 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36712 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36713 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36714 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36715 to compile strcasecmp and strncasecmp.
36716 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36717 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36718
36719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36720
76e3966e
UD
367212011-11-13 Ulrich Drepper <drepper@gmail.com>
36722
36723 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36724 locale-defines.sym to gen-as-const-headers.
36725 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36726 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36728 to compile strcasecmp and strncasecmp.
36729 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36730 strcasecmp_l and strncasecmp_l.
36731 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36732 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36733 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36734 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36735 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36736 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36737 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36738 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36739 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36740 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36741 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36742
ab26144e
UD
367432011-11-12 Ulrich Drepper <drepper@gmail.com>
36744
7edb22ef
UD
36745 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36746 result of SYSDEP_GETTIME_CPU to retval.
36747 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36748 parameter list to macro. Remove trailing semicolon. Adjust users.
36749
9694fc44
UD
36750 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36751 variable.
36752
8ad89ef8
UD
36753 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36754 mantissa words.
36755 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36756
0c822ef9
UD
36757 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36758 from unused variable.
36759
874e0564
UD
36760 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36761 DWARF definitions.
36762 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36763 for assembling.
36764
3a2edc79
UD
36765 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36766 over namespaces.
36767
f3c2577f
UD
36768 * sunrpc/rpc_prot.c (rejected): Fix case value.
36769
294ce126
UD
36770 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36771 unsigned long long int to avoid warnings in shift.
36772
5e2b63c6
UD
36773 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36774 of use of trans.
36775 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36776 variable tmp.
36777
e7f4b08e
UD
36778 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36779 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36780 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36781
ab26144e
UD
36782 * nis/nis_table.c (nis_list): Use variable of correct type for
36783 result of __follow_path call.
36784
8a6d5255
AZ
367852011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36786
36787 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36788 of math functions ceil, trunc, floor, round, and sqrt, when
36789 avaliable on the platform.
36790 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36791 name clash.
36792 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36793 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36794 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36795
aaddc98c
MP
367962011-10-30 Marek Polacek <mpolacek@redhat.com>
36797
36798 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36799 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36800
95b7042b
RM
368012011-11-11 Roland McGrath <roland@hack.frob.com>
36802
36803 * include/unistd.h: Fix __readlink return type.
36804 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36805
57769839
UD
368062011-11-11 Ulrich Drepper <drepper@gmail.com>
36807
36808 * stdlib/ucontext.h: Undo last change for makecontext.
36809
edc5984d
AS
368102011-11-11 Andreas Schwab <schwab@redhat.com>
36811
98591e58
AS
36812 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36813
edc5984d
AS
36814 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36815 * setjmp/setjmp.h: Mark functions as non-leaf.
36816 * setjmp/bits/setjmp2.h: Likewise.
36817 * stdlib/ucontext.h: Likewise.
36818
77cdc054
AS
368192011-11-10 Andreas Schwab <schwab@redhat.com>
36820
36821 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36822 (reused_arena): Don't check arena limit.
36823 (arena_get2): Atomically check arena limit.
36824
fe72eebd
UD
368252011-11-08 Ulrich Drepper <drepper@gmail.com>
36826
5f078c32
UD
36827 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36828 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36829
fe72eebd
UD
36830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36831 instructions.
36832
ae1bc2fa
AS
368332011-11-07 Andreas Schwab <schwab@redhat.com>
36834
7583a88d
AS
36835 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36836 handler when locking.
36837
ae1bc2fa
AS
36838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36839 Fix size of allocated buffer.
36840
10fb0bfa
AS
368412011-11-04 Andreas Schwab <schwab@redhat.com>
36842
998832a4
AS
36843 [BZ #10103]
36844 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36845 declarations for long double functions.
36846 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36847
10fb0bfa
AS
36848 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36849
3d7ba52b
AS
368502011-11-03 Andreas Schwab <schwab@redhat.com>
36851
a9ae54a1
AS
36852 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36853 installed.
36854
3d7ba52b
AS
36855 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36856 is disabled.
36857
bc8db248
ST
368582011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36859
36860 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36861
45b96dd6
AS
368622011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36863
647776f6
AS
36864 * include/alloca.h (stackinfo_alloca_round): Define.
36865 (extend_alloca): Use it.
36866 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36867 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36868 here.
36869
d91a8b93
AS
36870 * scripts/check-local-headers.sh: Ignore libaudit.h.
36871
45b96dd6
AS
36872 * nscd/Makefile (extra-objs): Make recursively expanded.
36873
432d41ce
UD
368742011-11-01 Ulrich Drepper <drepper@gmail.com>
36875
34372fc6
UD
36876 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36877 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36878
fadb59f8
UD
36879 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36880 * posix/tst-rfc3484-2.c: Likewise.
36881 * posix/tst-rfc3484-3.c: Likewise.
36882
78239589
UD
36883 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36884 process_vm_writev.
36885 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36886 process_vm_writev.
36887 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36888 process_vm_writev from libc using GLIBC_2.15 version.
36889
432d41ce
UD
36890 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36891
02f9c6cf
PP
368922011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36893
36894 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36895 stack usage.
36896
3a2c0242
UD
368972011-10-31 Ulrich Drepper <drepper@gmail.com>
36898
f4ec4833
UD
36899 [BZ #13367]
36900 * nss/getent.c (initgroups_keys): Show error message in case no group
36901 names are given.
36902
3a2c0242
UD
36903 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36904 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36905 __bump_nl_timestamp.
36906 * nscd/connections (nscd_init): When host database is served open
36907 netlink socket and request notification about configuration changes.
36908 (main_loop_poll): Track netlink file descriptor and bump timestamp
36909 in case data becomes available.
36910 (main_loop_epoll): Likewise.
36911 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36912 (database_pers_head): Add extra_data fileds.
36913 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36914 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36915 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36916 Adjust caller.
36917 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36918 in6ai data, call __free_in6ai.
36919 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36920 Add -DHAVE_NETLINK.
36921 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36922 interface information. Reuse previous data if netlink timestamp
36923 is not changed.
36924 (__bump_nl_timestamp): New function.
36925 (__free_in6ai): New function.
36926
636064eb
UD
369272011-10-30 Ulrich Drepper <drepper@gmail.com>
36928
36929 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36930 close_not_cancel_no_status here.
36931 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36932
9beb2334
UD
369332011-10-29 Ulrich Drepper <drepper@gmail.com>
36934
6ef76f3b
UD
36935 [BZ #13276]
36936 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36937 return value.
36938
0ffc4f3e 36939 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36940 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36941 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36942
cb95113e
UD
369432011-07-03 Andreas Jaeger <aj@suse.de>
36944
36945 [BZ #10709]
36946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36947 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36948 * math/libm-test.inc (sin_test): Add test case.
36949
a1b560ff
UD
369502011-10-29 Ulrich Drepper <drepper@gmail.com>
36951
c9aaface
UD
36952 [BZ #13337]
36953 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36954 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36955
d272e7f1
UD
36956 * elf/chroot_canon.c (chroot_canon): Cleanups.
36957
1bc33071
UD
36958 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36959
1760874d
TJ
36960 [BZ #13335]
36961 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36962 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36963
51d91b18
UD
36964 * string/test-strchr.c: Make usable for strchrnul testing.
36965 * string/test-strchrnul.c: New file.
36966 * string/Makefile (strop-tests): Add strchrnul.
36967
a1b560ff 36968 * po/it.po: Update from translation team.
b611fb81 36969 * po/es.po: Likewise.
a1b560ff 36970
a5b81e1f
UD
369712011-10-28 Ulrich Drepper <drepper@gmail.com>
36972
fd52bc6d
UD
36973 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36974 the three constants needed as parameters. Drop the others.
36975 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36976 __m128i_strloadu_tolower.
52e4b9eb
UD
36977 Create and initialize variable zero and use it in all the places
36978 where _mm_setzero_si128 was used.
fd52bc6d 36979
a5b81e1f
UD
36980 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36981 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36982 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36983 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36984 anymore.
36985 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36986 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36987 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36988 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36989 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36990 __mpranred, __mptan.
36991 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36992 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36993 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36994 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36995 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36996 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36997 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36998 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36999 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37000
b4343346
AS
370012011-10-28 Andreas Schwab <schwab@redhat.com>
37002
0c92d8a8
AS
37003 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37004 redefine if SHARED.
37005 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37006
b4343346
AS
37007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37008 wide char related routines to wcsmbs subdir.
37009
3871f58f
AS
370102011-10-27 Andreas Schwab <schwab@redhat.com>
37011
37012 [BZ #13344]
37013 * misc/sys/cdefs.h (__THROWNL): Define.
37014 * posix/unistd.h: Use __THREADNL instead of __THREAD
37015 for memory synchronization functions.
37016
94d44d9f
RM
370172011-10-26 Roland McGrath <roland@hack.frob.com>
37018
21b64b15 37019 [BZ #13349]
94d44d9f
RM
37020 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37021 doesn't exist.
37022 * manual/stdio.texi (Obstack Streams): Node removed.
37023
f6ce9294
AS
370242011-10-26 Andreas Schwab <schwab@redhat.com>
37025
80479147
AS
37026 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37027 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37028 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37029
f6ce9294
AS
37030 * math/math_private.h (math_force_eval): Allow non-addressable
37031 arguments.
37032 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37033
618280a1
UD
370342011-10-25 Ulrich Drepper <drepper@gmail.com>
37035
e0016b11
UD
37036 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37037 file is not needed.
37038
37039 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37040 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37041 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37042 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37043 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37044 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37045 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37046 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37047 Add AVX variants.
37048 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37049 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37050 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37051 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37052 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37053 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37054 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37055 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37056 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37057 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37058 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37059 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37060 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37061 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37062 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37063 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37064 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37065 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37066 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37067
37068 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37069 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37070
618280a1
UD
37071 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37072 place. Use VEX encoding when compiling for AVX.
37073
37822576
AS
370742011-10-25 Andreas Schwab <schwab@redhat.com>
37075
1f1e1947
AS
37076 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37077 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37078
37822576
AS
37079 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37080
31ea014d
UD
370812011-10-25 Ulrich Drepper <drepper@gmail.com>
37082
d7826aa1 37083 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37084 useless if() expression.
d7826aa1
UD
37085 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37094 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37095 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37096 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37097 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37098 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37099 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37100 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37101 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37103 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37104
31ea014d
UD
37105 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37106
16437fec
AS
371072011-10-25 Andreas Schwab <schwab@redhat.com>
37108
37109 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37110 condition.
37111 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37112
31d3cc00
UD
371132011-10-25 Ulrich Drepper <drepper@gmail.com>
37114
37115 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37116 .text section. Avoid duplicate constants.
37117 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37127 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37129 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37132 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37134 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37140 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37141 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37142 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37143 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37144 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37145 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37146 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37147 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37148 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37149 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37150 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37151 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37152 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37153 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37154 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37155 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37156 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37157 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37158 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37159 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37160 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37161 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37162
58985aa9
UD
371632011-10-24 Ulrich Drepper <drepper@gmail.com>
37164
202c9deb
UD
37165 * sysdeps/x86_64/dla.h: Move to ...
37166 * sysdeps/x86_64/fpu/dla.h: ...here.
37167 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37168 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37169
af968f62
UD
37170 * config.make.in: Add have-mfma4 entry.
37171 * configure.in: Substitute libc_cv_cc_fma4.
37172 * math/Makefile (dbl-only-routines): Add sincostab.
37173 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37174 Use __sincostab not sincos.
37175 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37176 name is a macro.
37177 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37178 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37181 using __copysign.
37182 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37183 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37184 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37185 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37186 and __inv.
37187 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37188 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37189 __copysign.
37190 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37191 define aliases when function name is a macro.
37192 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37193 sysdeps/ieee754/dbl-64/sincos.tbl.
37194 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37195 fma4-enabled routines.
37196 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37197 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37198 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37199 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37200 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37201 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37202 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37203 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37204 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37205 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37206 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37207 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37208 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37209 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37210 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37211 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37212 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37213 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37214 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37215 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37216 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37217 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37218 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37219 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37220 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37221 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37222 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37223 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37224 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37225 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37226
58985aa9
UD
37227 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37228 rename.
37229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37234 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37235 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37237
a201fbcf
AS
372382011-10-24 Andreas Schwab <schwab@redhat.com>
37239
37240 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37241
fc2ee42a
LD
372422011-10-23 Ulrich Drepper <drepper@gmail.com>
37243
bb3129bd
UD
37244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37245
0275fff8
UD
37246 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37247 prediction.
37248 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37249
2fa2ae85
UD
37250 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37251 Remove unused variable magic_bits.
37252 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37253
fc2ee42a
LD
37254 * string/strnlen.c: Define and use STRNLEN macro.
37255 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37256 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37257 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37258 * wcsmbs/wcslen.c: Define and use WCSLEN.
37259 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37260 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37261 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37262 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37263 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37264 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37265 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37266
ce7dd29f
LD
372672011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37268
37269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37270 strnlen-sse2-no-bsf.
37271 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37272 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37273 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37274 Add strnlen support.
37275 (USE_AS_STRNLEN): New macro.
37276 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37277 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37278 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37279 * sysdeps/x86_64/wcslen.S: New file.
37280
979c70a3
MZ
372812011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37282
37283 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37284 XMM-moves are used for copying on small sizes.
37285
2d09f82f
LD
372862011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37287
37288 * wcsmbs/Makefile (strop-tests): Add wcschr.
37289 * wcsmbs/test-wcschr.c: New file.
37290 * string/test-strchr.c: Update.
37291 Add wcschr support.
37292 (WIDE): New macro.
37293
619fccca
LD
372942011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37295
2d09f82f 37296 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37297 * wcsmbs/test-wcslen.c: New file.
37298 * string/test-strlen.c: Update.
37299 Add wcslen support.
37300 (WIDE): New macro.
37301
09f699ea
UD
373022011-10-23 Ulrich Drepper <drepper@gmail.com>
37303
37304 * po/it.po: Update from translation team.
37305
95584d3b
LD
373062011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37307
37308 * sysdeps/x86_64/wcscmp.S: Update.
37309 Fix wrong comparison semantics.
37310 wcscmp shall use signed comparison not unsigned.
37311 Don't use substraction to avoid overflow bug.
37312 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37313 * wcsmbc/wcscmp.c: Likewise.
37314 * string/test-strcmp.c: Likewise.
37315 Add new tests to check cases with negative values.
37316
c8b3296b
UD
373172011-10-23 Ulrich Drepper <drepper@gmail.com>
37318
37319 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37320 * sysdeps/x86_64/dla.h: ...here. New file.
37321 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37329 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37330
246ad57a
AS
373312011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37332
37333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37334 __ynl_finite aliases.
37335
a1a87169
UD
373362011-10-22 Ulrich Drepper <drepper@gmail.com>
37337
0d355eb7
UD
37338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37339
a1a87169
UD
37340 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37341 define DLA_FMA.
37342 [DLA_FMA] (EMULV): Use DLA_FMA.
37343 [DLA_FMA] (MUL12): Use EMULV.
37344 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37345 that are not needed.
37346 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37348 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37349 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37350 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37351 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37353
ee2aafe0
AS
373542011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37355
37356 * math/s_nan.c: Undef __nan.
37357 * math/s_nanf.c: Undef __nanf.
37358 * math/s_nanl.c: Undef __nanl.
37359 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37360 "math_private.h".
37361
bc62c2fb
UD
373622011-10-22 Ulrich Drepper <drepper@gmail.com>
37363
77425c63
UD
37364 * math/s_catan.c: Add branch predictions.
37365 * math/s_catanf.c: Likewise.
37366 * math/s_catanh.c: Likewise.
37367 * math/s_catanhf.c: Likewise.
37368 * math/s_catanhl.c: Likewise.
37369 * math/s_catanl.c: Likewise.
37370 * math/s_cexp.c: Likewise.
37371 * math/s_cexpf.c: Likewise.
37372 * math/s_cexpl.c: Likewise.
37373 * math/s_clog.c: Likewise.
37374 * math/s_clog10.c: Likewise.
37375 * math/s_clog10f.c: Likewise.
37376 * math/s_clog10l.c: Likewise.
37377 * math/s_clogf.c: Likewise.
37378 * math/s_clogl.c: Likewise.
37379 * math/s_csqrt.c: Likewise.
37380 * math/s_csqrtf.c: Likewise.
37381 * math/s_csqrtl.c: Likewise.
37382 * math/s_ctanf.c: Likewise.
37383 * math/s_ctanh.c: Likewise.
37384 * math/s_ctanhf.c: Likewise.
37385 * math/s_ctanhl.c: Likewise.
37386 * math/s_ctanl.c: Likewise.
37387
bc62c2fb
UD
37388 * math/math_private.h: Define __nan, __nanf, __nanl.
37389 * math/s_cacosh.c: Include <math_private.h>.
37390 * math/s_cacoshl.c: Likewise.
37391 * math/s_casinh.c: Likewise.
37392 * math/s_casinhf.c: Likewise.
37393 * math/s_casinhl.c: Likewise.
37394 * math/s_ccos.c: Rely entire on ccosh.
37395 * math/s_ccosf.c: Rely entire on ccoshf.
37396 * math/s_ccosl.c: Rely entirely on ccoshl.
37397 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37398 Remove tests for FE_INVALID.
37399 * math/s_ccoshf.c: Likewise.
37400 * math/s_ccoshl.c: Likewise.
37401 * math/s_csin.c: Likewise.
37402 * math/s_csinf.c: Likewise.
37403 * math/s_csinh.c Likewise.
37404 * math/s_csinhf.c: Likewise.
37405 * math/s_csinhl.c: Likewise.
37406 * math/s_csinl.c: Likewise.
37407 * math/s_ctan.c: Likewise.
37408 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37409 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37410 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37411
8ec250a4
UD
374122011-10-21 Ulrich Drepper <drepper@gmail.com>
37413
c196fed8
UD
37414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37415 compilation problems.
37416
8ec250a4
UD
37417 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37418 __builtin_expect.
37419
8d4f46c6
UD
374202011-10-20 Ulrich Drepper <drepper@gmail.com>
37421
ed72b654
UD
37422 * sysdeps/i386/configure.in: Test for -mfma4 option.
37423 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37424 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37425 COMMON_CPUID_INDEX_80000001.
37426 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37427 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37428 use it if FMA3 is not supported.
37429 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37430
8d4f46c6
UD
37431 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37432 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37433
d45c60c2
AS
374342011-10-20 Andreas Schwab <schwab@redhat.com>
37435
37436 [BZ #12892]
37437 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37438 it would create a cycle with a link time dependency.
37439
d9a4d2ab
UD
374402011-10-19 Ulrich Drepper <drepper@gmail.com>
37441
855d1560
UD
37442 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37443 instruction.
37444 * string/Makefile (strop-tests): Add rawmemchr.
37445 * string/test-rawmemchr.c: New file.
37446
d9a4d2ab
UD
37447 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37448 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37449 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37450 when compiling str{,n}casecmp and when AVX is available. Hook up
37451 new optimized code in initializers.
37452
8f3b1ffe
AS
374532011-10-19 Andreas Schwab <schwab@redhat.com>
37454
37455 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37456 __feraiseexcept instead of feraiseexcept.
37457
d38f1dba
UD
374582011-10-18 Ulrich Drepper <drepper@gmail.com>
37459
d9a8d0ab
UD
37460 * math/math_private.h: Define defaults for libc_fetestexcept and
37461 libc_feupdateenv.
37462 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37463 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37464 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37465 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37466 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37467 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37468 libc_fetestexcept and libc_feupdateenv.
37469
4855e3dd
UD
37470 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37471 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37472 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37473 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37474 libc_feholdexcept_setround.
37475
581d30e3
UD
37476 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37477 Add s_nearbyint-c and s_nearbyintf-c.
37478 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37479 nearbyintf inlines.
37480 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37481 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37482 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37483 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37484
d38f1dba
UD
37485 * math/math_private.h: Define defaults for libc_fegetround,
37486 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37487 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37488 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37489 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37490 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37491 standard functions.
37492 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37493 Remove comments and hacks for old compiler versions.
37494 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37495 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37496 libc_feholdexceptl.
37497
caa6c9d8
AS
374982011-10-18 Andreas Schwab <schwab@redhat.com>
37499
37500 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37501 (__feraiseexcept_renamed): Add __NTH.
37502 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37503 namespace violations.
37504
97c066e6
UD
375052011-10-17 Ulrich Drepper <drepper@gmail.com>
37506
99ce7b04
UD
37507 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37508
1004d182
UD
37509 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37510
228a984d
UD
37511 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37512 recently added interfaces.
37513 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37514
c8553a6a
UD
37515 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37516 about macro parameter expansion.
37517
ed22dcf6
UD
37518 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37519 __NO_MATH_INLINES is defined. Cleanups.
37520
37521 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37522 and __floorf is target has SSE4.1.
37523 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37524 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37525 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37526 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37527
b171c137
UD
37528 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37529 name.
37530 (floorf): Likewise.
37531
97c066e6
UD
37532 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37533
629f62ef
AS
375342011-10-17 Andreas Schwab <schwab@redhat.com>
37535
49a43d80
AS
37536 * misc/sys/cdefs.h: Fix last change.
37537
629f62ef
AS
37538 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37539 database lookup.
37540
e453f6cd
UD
375412011-10-16 Ulrich Drepper <drepper@gmail.com>
37542
aa78043a
UD
37543 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37544
ad0f5cad
UD
37545 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37546 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37551 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37552 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37553 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37554 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37555 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37556 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37557 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37558 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37559 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37560 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37561 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37562 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37563 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37564 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37565 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37566 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37567
37568 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37569 ceil, ceilf, floor, floorf.
37570
37571 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37572 Perform IRELATIVE relocations last.
37573
e453f6cd
UD
37574 * elf/do-rel.h: Add another parameter nrelative, replacing the
37575 local variable with the same name. Change name of the function
37576 to end in Rel or Rela (uppercase).
37577 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37578 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37579 elf_dynamic_do_##reloc function.
37580
fd5bdc09
UD
375812011-10-15 Ulrich Drepper <drepper@gmail.com>
37582
79b195b5
UD
37583 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37584 is sufficient, at least on modern CPUs.
37585
d4a28569
UD
37586 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37587
b61099b5
UD
37588 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37589 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37590
bcf01e6d
UD
37591 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37592 __expl_finite.
37593 * math/bits/math-finite.h: Add entries for exp.
37594 * math/e_expl.c: Add __*_finite alias.
37595 * sysdeps/i386/fpu/e_exp.S: Likewise.
37596 * sysdeps/i386/fpu/e_expf.S: Likewise.
37597 * sysdeps/i386/fpu/e_expl.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37599 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37600 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37603 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37604 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37605
ba1a0d59
UD
37606 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37607 is sufficient, at least on modern CPUs.
37608
fd5bdc09
UD
37609 * ctype/ctype-info.c (__ctype_init): Define.
37610 * include/ctype.h (__ctype_init): Declare.
37611 (__ctype_b_loc): The variable is always initialized.
37612 (__ctype_toupper_loc): Likewise.
37613 (__ctype_tolower_loc): Likewise.
37614 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37615 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37616
7872cfb0
AS
376172011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37618
b468825a
AS
37619 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37620
7872cfb0
AS
37621 * configure.in: Also look in $cxxmachine/include for C++ system
37622 headers.
37623
be13f7bf
LD
376242011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37625
37626 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37627 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37628 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37629 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37630 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37631 (USE_AS_WMEMCMP): New macro.
37632 Fixing indents.
37633 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37634 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37635 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37636 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37638 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37639 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37640 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37641 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37642 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37643 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37644 (USE_AS_WMEMCMP): New macro.
37645 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37646 * sysdeps/string/test-memcmp.c: Update.
37647 Fix simple_wmemcmp.
37648 Add new tests.
37649 * wcsmbs/wmemcmp.c: Update.
37650 (WMEMCMP): New macro.
37651 Fix overflow bug.
37652
556a2007
AJ
376532011-10-12 Andreas Jaeger <aj@suse.de>
37654
37655 [BZ #13268]
37656 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37657
538faaa7
UD
376582011-10-15 Ulrich Drepper <drepper@gmail.com>
37659
ab6737ff
UD
37660 * libio/iofwide.c (do_length): Avoid warning.
37661
538faaa7
UD
37662 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37663
396a21b1
UD
376642011-10-14 Ulrich Drepper <drepper@gmail.com>
37665
cdf2901f
UD
37666 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37667
38ad40ce
UD
37668 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37669 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37670 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37671 * sysdeps/i386/i686/fpu/e_log.S: New file.
37672 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37673 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37674
396a21b1
UD
37675 * ctype/ctype.h: Add support for inlined isXXX functions when
37676 compiling C++ code.
37677
6b1f68c9
AS
376782011-10-14 Andreas Schwab <schwab@redhat.com>
37679
349290c0
AS
37680 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37681
6b1f68c9
AS
37682 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37683
f2282d42
RM
376842011-10-13 Roland McGrath <roland@hack.frob.com>
37685
37686 [BZ #13291]
37687 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37688
5298ffa8
AS
376892011-10-13 Andreas Schwab <schwab@redhat.com>
37690
714fad23
AS
37691 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37692 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37693 feraiseexcept.
37694
81dcc7fb
AS
37695 * sysdeps/x86_64/memrchr.S: Check for zero size.
37696
5298ffa8
AS
37697 * string/stratcliff.c: Add memrchr tests.
37698
951fbcec
LD
376992011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37700
37701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37702 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37703 rawmemchr-sse2 rawmemchr-sse2-bsf.
37704 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37705 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37706 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37707 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37708 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37709 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37710 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37711 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37712 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37713 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37714 * string/memrchr.c (MEMRCHR): New macro.
37715
0ac5ae23
UD
377162011-10-12 Ulrich Drepper <drepper@gmail.com>
37717
37718 Add integration with gcc's -ffinite-math-only and optimize wrapper
37719 functions in libm.
37720 * Versions.def: Define GLIBC_2.15 version for libm.
37721 * math/Makefile (headers): Add bits/math-finite.h.
37722 * math/bits/math-finite.h: New file.
37723 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37724 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37725 * math/e_acoshl.c: Add __*_finite alias.
37726 * math/e_acosl.c: Likewise.
37727 * math/e_asinl.c: Likewise.
37728 * math/e_atan2l.c: Likewise.
37729 * math/e_atanhl.c: Likewise.
37730 * math/e_coshl.c: Likewise.
37731 * math/e_exp10.c: Likewise.
37732 * math/e_exp10f.c: Likewise.
37733 * math/e_exp10l.c: Likewise.
37734 * math/e_exp2l.c: Likewise.
37735 * math/e_fmodl.c: Likewise.
37736 * math/e_gammal_r.c: Likewise.
37737 * math/e_hypotl.c: Likewise.
37738 * math/e_j0l.c: Likewise.
37739 * math/e_j1l.c: Likewise.
37740 * math/e_jnl.c: Likewise.
37741 * math/e_lgammal_r.c: Likewise.
37742 * math/e_log10l.c: Likewise.
37743 * math/e_log2l.c: Likewise.
37744 * math/e_logl.c: Likewise.
37745 * math/e_powl.c: Likewise.
37746 * math/e_sinhl.c: Likewise.
37747 * math/e_sqrtl.c: Likewise.
37748 * math/e_scalb.c: Completely rewritten and optimized.
37749 * math/e_scalbf.c: Likewise.
37750 * math/e_scalbl.c: Likewise.
37751 * math/w_acos.c: Likewise.
37752 * math/w_acosf.c: Likewise.
37753 * math/w_acosl.c: Likewise.
37754 * math/w_acosh.c: Likewise.
37755 * math/w_acoshf.c: Likewise.
37756 * math/w_acoshl.c: Likewise.
37757 * math/w_asin.c: Likewise.
37758 * math/w_asinf.c: Likewise.
37759 * math/w_asinl.c: Likewise.
37760 * math/w_atan2.c: Likewise.
37761 * math/w_atan2f.c: Likewise.
37762 * math/w_atan2l.c: Likewise.
37763 * math/w_atanh.c: Likewise.
37764 * math/w_atanhf.c: Likewise.
37765 * math/w_atanhl.c: Likewise.
37766 * math/w_exp10.c: Likewise.
37767 * math/w_exp10f.c: Likewise.
37768 * math/w_exp10l.c: Likewise.
37769 * math/w_fmod.c: Likewise.
37770 * math/w_fmodf.c: Likewise.
37771 * math/w_fmodl.c: Likewise.
37772 * math/w_j0.c: Likewise.
37773 * math/w_j0f.c: Likewise.
37774 * math/w_j0l.c: Likewise.
37775 * math/w_j1.c: Likewise.
37776 * math/w_j1f.c: Likewise.
37777 * math/w_j1l.c: Likewise.
37778 * math/w_jn.c: Likewise.
37779 * math/w_jnf.c: Likewise.
37780 * math/w_log.c: Likewise.
37781 * math/w_logf.c: Likewise.
37782 * math/w_logl.c: Likewise.
37783 * math/w_log10.c: Likewise.
37784 * math/w_log10f.c: Likewise.
37785 * math/w_log10l.c: Likewise.
37786 * math/w_log2.c: Likewise.
37787 * math/w_log2f.c: Likewise.
37788 * math/w_log2l.c: Likewise.
37789 * math/w_pow.c: Likewise.
37790 * math/w_powf.c: Likewise.
37791 * math/w_powl.c: Likewise.
37792 * math/w_remainder.c: Likewise.
37793 * math/w_remainderf.c: Likewise.
37794 * math/w_remainderl.c: Likewise.
37795 * math/w_scalb.c: Likewise.
37796 * math/w_scalbf.c: Likewise.
37797 * math/w_scalbl.c: Likewise.
37798 * math/w_sqrt.c: Likewise.
37799 * math/w_sqrtf.c: Likewise.
37800 * math/w_sqrtl.c: Likewise.
37801 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37802 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37803 used.
37804 * math/math_private.h: Declare __kernel_standard_f.
37805 * math/w_cosh.c: Remove cruft and optimize a bit.
37806 * math/w_coshf.c: Likewise.
37807 * math/w_coshl.c: Likewise.
37808 * math/w_exp2.c: Likewise.
37809 * math/w_exp2f.c: Likewise.
37810 * math/w_exp2l.c: Likewise.
37811 * math/w_hypot.c: Likewise.
37812 * math/w_hypotf.c: Likewise.
37813 * math/w_hypotl.c: Likewise.
37814 * math/w_lgamma.c: Likewise.
37815 * math/w_lgamma_r.c: Likewise.
37816 * math/w_lgammaf.c: Likewise.
37817 * math/w_lgammaf_r.c: Likewise.
37818 * math/w_lgammal.c: Likewise.
37819 * math/w_lgammal_r.c: Likewise.
37820 * math/w_sinh.c: Likewise.
37821 * math/w_sinhf.c: Likewise.
37822 * math/w_sinhl.c: Likewise.
37823 * math/w_tgamma.c: Likewise.
37824 * math/w_tgammaf.c: Likewise.
37825 * math/w_tgammal.c: Likewise.
37826 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37827 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37828 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37829 Minor optimizations. Pretty printing. Remove cruft.
37830 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37831 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37832 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37833 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37834 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37835 * sysdeps/i386/fpu/e_asin.S: Likewise.
37836 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37837 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37838 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37839 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37840 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37841 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37842 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37843 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37844 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37845 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37846 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37847 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37848 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37849 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37850 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37851 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37852 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37853 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37854 * sysdeps/i386/fpu/e_log.S: Likewise.
37855 * sysdeps/i386/fpu/e_log10.S: Likewise.
37856 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37857 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37858 * sysdeps/i386/fpu/e_log2.S: Likewise.
37859 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37860 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37861 * sysdeps/i386/fpu/e_logf.S: Likewise.
37862 * sysdeps/i386/fpu/e_logl.S: Likewise.
37863 * sysdeps/i386/fpu/e_pow.S: Likewise.
37864 * sysdeps/i386/fpu/e_powf.S: Likewise.
37865 * sysdeps/i386/fpu/e_powl.S: Likewise.
37866 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37867 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37868 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37869 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37870 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37871 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37872 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37873 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37874 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37875 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37876 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37881 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37885 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37887 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37888 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37896 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37897 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37898 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37899 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37900 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37901 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37902 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37903 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37904 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37905 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37906 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37907 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37908 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37909 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37910 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37911 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37912 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37913 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37914 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37915 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37916 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37917 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37920 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37921 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37922 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37925 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37926 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37927 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37928 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37932 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37936 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37937 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37939 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37940 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37944 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37946 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37947 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37948 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37949 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37950 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37951 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37954 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37955 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37958 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37960 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37961 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37963 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37966 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37967 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37968 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37969 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37970 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37971 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37972 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37973 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37974 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37975 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37976 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37977 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37978 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37979 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37980 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37981 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37982 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37983 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37984 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37985 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37986 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37987 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37988 (__isnanf): Likewise.
37989 (__isinf_ns): Likewise.
37990 (__isinf_nsf): Likewise.
37991 (__finite): Likewise.
37992 (__finitef): Likewise.
37993 (__ieee754_sqrt): Define as macro.
37994 (__ieee754_sqrtf): Define as macro.
37995 (__ieee754_sqrtl): Define as macro.
37996 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37997 inlined copy.
37998 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37999 __FINITE_MATH_ONLY__ consistent.
38000 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38001
12cc2fcd
AS
380022011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38003
a843a204
AS
38004 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38005 of rawmemchr.
38006
12cc2fcd
AS
38007 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38008
c853acd5
UD
380092011-10-09 Ulrich Drepper <drepper@gmail.com>
38010
38011 * po/ja.po: Update from translation team.
38012
c658d255
RM
380132011-10-08 Roland McGrath <roland@hack.frob.com>
38014
110946e4
RM
38015 * locale/programs/locarchive.c (prepare_address_space): New function.
38016 (create_archive, enlarge_archive, open_archive): Use it.
38017
50604220
RM
38018 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38019 inside [SHARED], where it is used.
38020
c658d255
RM
38021 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38022
38023 * nss/getent.c (netgroup_keys): Remove unused variable.
38024 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38025
6a621eb7
UD
380262011-10-08 Ulrich Drepper <drepper@gmail.com>
38027
7edb55ce
UD
38028 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38029 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38030 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38031 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38032 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38033 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38034 * math/Makefile (libm-calls): Add s_isinf_ns.
38035 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38036 * math/multc3.c: Likewise.
38037 * math/s_casin.c: Likewise.
38038 * math/s_casinf.c: Likewise.
38039 * math/s_casinl.c: Likewise.
38040 * math/s_ccos.c: Likewise.
38041 * math/s_ccosf.c: Likewise.
38042 * math/s_ccosl.c: Likewise.
38043 * math/s_ctan.c: Likewise.
38044 * math/s_ctanf.c: Likewise.
38045 * math/s_ctanh.c: Likewise.
38046 * math/s_ctanhf.c: Likewise.
38047 * math/s_ctanhl.c: Likewise.
38048 * math/s_ctanl.c: Likewise.
38049 * math/w_fmod.c: Likewise.
38050 * math/w_fmodf.c: Likewise.
38051 * math/w_fmodl.c: Likewise.
38052 * math/w_remainder.c: Likewise.
38053 * math/w_remainderf.c: Likewise.
38054 * math/w_remainderl.c: Likewise.
38055 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38056 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38059 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38060 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38061 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38062 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38063
187da0ae
UD
38064 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38065 of the number.
38066 * stdio-common/printf_fphex.c: Likewise.
38067 * stdio-common/printf_size.c: Likewise.
38068
9277c064
UD
38069 * math/e_exp10.c: Include math_private.h using <...> not "...".
38070 * math/e_exp10f.c: Likewise.
38071 * math/e_exp10l.c: Likewise.
38072 * math/e_exp2l.c: Likewise.
38073 * math/e_j0l.c: Likewise.
38074 * math/e_j1l.c: Likewise.
38075 * math/e_jnl.c: Likewise.
38076 * math/e_lgammal_r.c: Likewise.
38077 * math/e_rem_pio2l.c: Likewise.
38078 * math/e_scalb.c: Likewise.
38079 * math/e_scalbf.c: Likewise.
38080 * math/e_scalbl.c: Likewise.
38081 * math/k_cosl.c: Likewise.
38082 * math/k_sinl.c: Likewise.
38083 * math/k_tanl.c: Likewise.
38084 * math/s_cacoshf.c: Likewise.
38085 * math/s_catan.c: Likewise.
38086 * math/s_catanf.c: Likewise.
38087 * math/s_catanh.c: Likewise.
38088 * math/s_catanhf.c: Likewise.
38089 * math/s_catanhl.c: Likewise.
38090 * math/s_catanl.c: Likewise.
38091 * math/s_ccosh.c: Likewise.
38092 * math/s_ccoshf.c: Likewise.
38093 * math/s_ccoshl.c: Likewise.
38094 * math/s_cexp.c: Likewise.
38095 * math/s_cexpf.c: Likewise.
38096 * math/s_cexpl.c: Likewise.
38097 * math/s_clog.c: Likewise.
38098 * math/s_clog10.c: Likewise.
38099 * math/s_clog10f.c: Likewise.
38100 * math/s_clog10l.c: Likewise.
38101 * math/s_clogf.c: Likewise.
38102 * math/s_clogl.c: Likewise.
38103 * math/s_csin.c: Likewise.
38104 * math/s_csinf.c: Likewise.
38105 * math/s_csinh.c: Likewise.
38106 * math/s_csinhf.c: Likewise.
38107 * math/s_csinhl.c: Likewise.
38108 * math/s_csinl.c: Likewise.
38109 * math/s_csqrt.c: Likewise.
38110 * math/s_csqrtf.c: Likewise.
38111 * math/s_csqrtl.c: Likewise.
38112 * math/s_ctan.c: Likewise.
38113 * math/s_ctanf.c: Likewise.
38114 * math/s_ctanh.c: Likewise.
38115 * math/s_ctanhf.c: Likewise.
38116 * math/s_ctanhl.c: Likewise.
38117 * math/s_ctanl.c: Likewise.
38118 * math/s_ldexp.c: Likewise.
38119 * math/s_ldexpf.c: Likewise.
38120 * math/s_ldexpl.c: Likewise.
38121 * math/s_significand.c: Likewise.
38122 * math/s_significandf.c: Likewise.
38123 * math/s_significandl.c: Likewise.
38124 * math/w_acos.c: Likewise.
38125 * math/w_acosf.c: Likewise.
38126 * math/w_acosh.c: Likewise.
38127 * math/w_acoshf.c: Likewise.
38128 * math/w_acoshl.c: Likewise.
38129 * math/w_acosl.c: Likewise.
38130 * math/w_asin.c: Likewise.
38131 * math/w_asinf.c: Likewise.
38132 * math/w_asinl.c: Likewise.
38133 * math/w_atan2.c: Likewise.
38134 * math/w_atan2f.c: Likewise.
38135 * math/w_atan2l.c: Likewise.
38136 * math/w_atanh.c: Likewise.
38137 * math/w_atanhf.c: Likewise.
38138 * math/w_atanhl.c: Likewise.
38139 * math/w_cosh.c: Likewise.
38140 * math/w_coshf.c: Likewise.
38141 * math/w_coshl.c: Likewise.
38142 * math/w_dremf.c: Likewise.
38143 * math/w_exp10.c: Likewise.
38144 * math/w_exp10f.c: Likewise.
38145 * math/w_exp10l.c: Likewise.
38146 * math/w_exp2.c: Likewise.
38147 * math/w_exp2f.c: Likewise.
38148 * math/w_fmod.c: Likewise.
38149 * math/w_fmodf.c: Likewise.
38150 * math/w_fmodl.c: Likewise.
38151 * math/w_hypot.c: Likewise.
38152 * math/w_hypotf.c: Likewise.
38153 * math/w_hypotl.c: Likewise.
38154 * math/w_j0.c: Likewise.
38155 * math/w_j0f.c: Likewise.
38156 * math/w_j0l.c: Likewise.
38157 * math/w_j1.c: Likewise.
38158 * math/w_j1f.c: Likewise.
38159 * math/w_j1l.c: Likewise.
38160 * math/w_jn.c: Likewise.
38161 * math/w_jnf.c: Likewise.
38162 * math/w_jnl.c: Likewise.
38163 * math/w_lgamma.c: Likewise.
38164 * math/w_lgamma_r.c: Likewise.
38165 * math/w_lgammaf.c: Likewise.
38166 * math/w_lgammaf_r.c: Likewise.
38167 * math/w_lgammal.c: Likewise.
38168 * math/w_lgammal_r.c: Likewise.
38169 * math/w_log.c: Likewise.
38170 * math/w_log10.c: Likewise.
38171 * math/w_log10f.c: Likewise.
38172 * math/w_log10l.c: Likewise.
38173 * math/w_log2.c: Likewise.
38174 * math/w_log2f.c: Likewise.
38175 * math/w_log2l.c: Likewise.
38176 * math/w_logf.c: Likewise.
38177 * math/w_logl.c: Likewise.
38178 * math/w_pow.c: Likewise.
38179 * math/w_powf.c: Likewise.
38180 * math/w_powl.c: Likewise.
38181 * math/w_remainder.c: Likewise.
38182 * math/w_remainderf.c: Likewise.
38183 * math/w_remainderl.c: Likewise.
38184 * math/w_scalb.c: Likewise.
38185 * math/w_scalbf.c: Likewise.
38186 * math/w_scalbl.c: Likewise.
38187 * math/w_sinh.c: Likewise.
38188 * math/w_sinhf.c: Likewise.
38189 * math/w_sinhl.c: Likewise.
38190 * math/w_sqrt.c: Likewise.
38191 * math/w_sqrtf.c: Likewise.
38192 * math/w_sqrtl.c: Likewise.
38193 * math/w_tgamma.c: Likewise.
38194 * math/w_tgammaf.c: Likewise.
38195 * math/w_tgammal.c: Likewise.
38196
6a621eb7
UD
38197 * po/ja.po: Update from translation team.
38198
bf582445
AJ
381992011-09-29 Andreas Jaeger <aj@suse.de>
38200
f9efbf3a
AJ
38201 [BZ #13179]
38202 * sunrpc/netname.c (netname2host): Fix logic.
38203
bf582445
AJ
38204 [BZ #6779]
38205 [BZ #6783]
38206 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38207 correctly.
38208 * math/w_remainder.c (__remainder): Likewise.
38209 * math/w_remainderf.c (__remainderf): Likewise.
38210 * math/libm-test.inc (remainder_test): Add test cases.
38211
48693bea
AK
382122011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38213
38214 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38215 sdiv_qrnnd.
38216
42622229
LD
382172011-10-07 Ulrich Drepper <drepper@gmail.com>
38218
38219 * string/test-memcmp.c: Avoid unncessary #defines.
38220 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38221
093ecf92
LD
382222011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38223
38224 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38225 Use new sse2 version for core i3 - i7 as it's faster
38226 than sse42 version.
38227 (bit_Prefer_PMINUB_for_stringop): New.
38228 * sysdeps/x86_64/rawmemchr.S: Update.
38229 Replace with faster SSE2 version.
38230 * sysdeps/x86_64/memrchr.S: New file.
38231 * sysdeps/x86_64/memchr.S: Update.
38232 Replace with faster SSE2 version.
38233
fde56e5c
MP
382342011-09-12 Marek Polacek <mpolacek@redhat.com>
38235
38236 * elf/dl-load.c (lose): Add cast to avoid warning.
38237
21fd49a9
UD
382382011-10-07 Ulrich Drepper <drepper@gmail.com>
38239
5a06e643
UD
38240 * po/ca.po: Update from translation team.
38241
684ae515
UD
38242 * inet/getnetgrent_r.c: Hook up nscd.
38243 * nscd/Makefile (routines): Add nscd_netgroup.
38244 (nscd-modules): Add netgroupcache.
38245 (CFLAGS-netgroupcache.c): Define.
38246 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38247 (cache_search): Add const to second parameter.
38248 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38249 INNETGR.
38250 (dbs): Add netgrdb entry.
38251 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38252 (verify_persistent_db): Handle netgrdb.
38253 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38254 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38255 GETFDNETGR.
38256 (netgroup_response_header): Define.
38257 (innetgroup_response_header): Define.
38258 (datahead): Add netgroup_response_header and innetgroup_response_header
38259 elements.
38260 * nscd/nscd.conf: Add entries for netgroup cache.
38261 * nscd/nscd.h (dbtype): Add netgrdb.
38262 (_PATH_NSCD_NETGROUP_DB): Define.
38263 (netgroup_iov_disabled): Declare.
38264 (xmalloc, xcalloc, xrealloc): Move declarations here.
38265 (cache_search): Adjust prototype.
38266 Add netgroup-related prototypes.
38267 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38268 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38269 (__nscd_innetgr): Declare.
38270 * nscd/selinux.c (perms): Use access_vector_t as element type and
38271 add netgroup-related initializers.
38272 * nscd/netgroupcache.c: New file.
38273 * nscd/nscd_netgroup.c: New file.
38274 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38275 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38276 For four parameters use innetgr.
38277 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38278 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38279 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38280 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38281
21fd49a9
UD
38282 * nscd/connections.c (register_traced_file): Don't register file
38283 for disabled databases.
38284
054c0457
UD
382852011-10-06 Ulrich Drepper <drepper@gmail.com>
38286
32b63198
UD
38287 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38288
054c0457
UD
38289 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38290 from tree and freeing node.
38291
64031225
JO
382922011-09-25 Jiri Olsa <jolsa@redhat.com>
38293
38294 * nss/nsswitch.c (__nss_database_lookup): Handle
38295 nss_parse_service_list out of memory case.
38296
0490345c
JO
382972011-09-15 Jiri Olsa <jolsa@redhat.com>
38298
38299 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38300 out of memory case.
38301
3a62d00d
AS
383022011-10-04 Andreas Schwab <schwab@redhat.com>
38303
38304 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38305 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38306 pass it down.
38307 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38308 elf_machine_rela, elf_machine_lazy_rel.
38309 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38310 (ELF_DYNAMIC_DO_REL): Likewise.
38311 (ELF_DYNAMIC_DO_RELA): Likewise.
38312 (ELF_DYNAMIC_RELOCATE): Likewise.
38313 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38314 to ELF_DYNAMIC_DO_REL.
38315 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38316 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38317 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38318 elf_machine_rela.
38319 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38320 skip_ifunc, don't call ifunc function if non-zero.
38321 (elf_machine_rela): Likewise.
38322 (elf_machine_lazy_rel): Likewise.
38323 (elf_machine_lazy_rela): Likewise.
38324 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38325 (elf_machine_lazy_rel): Likewise.
38326 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38327 Likewise.
38328 (elf_machine_lazy_rel): Likewise.
38329 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38330 Likewise.
38331 (elf_machine_lazy_rel): Likewise.
38332 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38333 (elf_machine_lazy_rel): Likewise.
38334 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38335 (elf_machine_lazy_rel): Likewise.
38336 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38337 (elf_machine_lazy_rel): Likewise.
38338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38339 (elf_machine_lazy_rel): Likewise.
38340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38341 (elf_machine_lazy_rel): Likewise.
38342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38343 (elf_machine_lazy_rel): Likewise.
38344
68577918
UD
383452011-09-28 Ulrich Drepper <drepper@gmail.com>
38346
38347 * nss/nss_files/files-init.c (_nss_files_init): Use static
38348 initialization for all the *_traced_file variables.
38349
68822d74
AS
383502011-09-28 Andreas Schwab <schwab@redhat.com>
38351
38352 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38353
2056100b
RM
383542011-09-27 Roland McGrath <roland@hack.frob.com>
38355
38356 [BZ #13226]
38357 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38358
32c76b63
AS
383592011-09-27 Andreas Schwab <schwab@redhat.com>
38360
38361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38362 Reread the line before reparsing it.
38363
bf972c9d
AS
383642011-09-26 Andreas Schwab <schwab@redhat.com>
38365
38366 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38367
e057a1b5
JM
383682011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38369 Maxim Kuvyrkov <maxim@codesourcery.com>
38370 Joseph Myers <joseph@codesourcery.com>
38371
38372 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38373 if needed for __stack_chk_guard.
38374
bc7e1c36
RM
383752011-09-19 Roland McGrath <roland@hack.frob.com>
38376
ecb1482f
RM
38377 * sysdeps/posix/spawni.c (script_execute): Always define it.
38378 It will be optimized away if unused.
38379 (maybe_script_execute): New function.
38380 (__spawni): Call it.
38381
bc7e1c36
RM
38382 * Makerules: Don't include tls.make.
38383 (config-tls): Always set to thread.
38384 * tls.make.c: File removed.
38385
1c3b002b
MF
383862011-09-19 Mike Frysinger <vapier@gentoo.org>
38387
38388 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38389 * config.make.in (CPPFLAGS-config): New substituted variable.
38390
2840865d
UD
383912011-09-15 Ulrich Drepper <drepper@gmail.com>
38392
88738eb6
UD
38393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38394
cbf645a6 38395 [BZ #13192]
2840865d
UD
38396 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38397 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38398
b402e91a
RM
383992011-09-15 Roland McGrath <roland@hack.frob.com>
38400
38401 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38402 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38404 (CALL_FAIL): Likewise.
38405 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38406 (CALL_FAIL): Macro removed.
38407 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38408
4c1a1f71
UD
384092011-09-15 Ulrich Drepper <drepper@gmail.com>
38410
38411 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38412 for __FINITE_MATH_ONLY__ == 1.
38413
edc121be
AS
384142011-09-15 Andreas Schwab <schwab@redhat.com>
38415
38416 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38417 __ieee754_sqrt instead of sqrt.
38418 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38419 __ieee754_sqrtf instead of sqrtf.
38420 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38421 __floorf instead of floorf.
38422 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38423 __floorf, __truncf instead of floorf, truncf.
38424
cd205654
UD
384252011-09-14 Ulrich Drepper <drepper@gmail.com>
38426
ee4d0315
UD
38427 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38428
cd205654
UD
38429 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38430 __extern_always_inline.
38431 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38432 32-bit.
38433
48b67d71
AS
384342011-09-14 Andreas Schwab <schwab@redhat.com>
38435
38436 * elf/rtld.c (dl_main): Also relocate in dependency order when
38437 doing symbol dependency testing.
38438
1ae12c75
AS
384392011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38440
38441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38442 Always define `refsym'.
38443
995a80df
AS
384442011-09-13 Andreas Schwab <schwab@redhat.com>
38445
e529793b
AS
38446 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38447 (__FD_ELT): Renamed from __FDELT.
38448 * misc/bits/select2.h (__FD_ELT): Likewise.
38449 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38450 __FD_MASK instead of __FDELT, __FDMASK.
38451 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38452 Likewise.
38453 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38454 Likewise.
38455
52d4fef8
AS
38456 * elf/Makefile (gen-ldd): Fix pattern.
38457
995a80df
AS
38458 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38459 (init_tls): Likewise.
38460
8682f8b0
UD
384612011-09-12 Ulrich Drepper <drepper@gmail.com>
38462
38463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38464
de82006d
AS
384652011-09-12 Andreas Schwab <schwab@redhat.com>
38466
a7c8e6a1
AS
38467 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38468 `struct cmsghdr *' instead of `void *'.
38469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38470 Likewise.
38471
0f31fe77
AS
384722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38473
38474 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38475 if non-absolute.
38476 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38477 ldd_rewrite_script.
0f31fe77 38478
32b4c839
UD
384792011-09-11 Ulrich Drepper <drepper@gmail.com>
38480
83cd1420
UD
38481 * configure.in: Remove --with-tls option.
38482 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38483 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38484 out in case it is missing.
38485 * sysdeps/ia64/elf/configure.in: Likewise.
38486 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38487 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38488 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38489 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38490 * sysdeps/sh/elf/configure.in: Likewise.
38491 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38492 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38493 * sysdeps/x86_64/elf/configure.in: Likewise.
38494 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38495 * sysdeps/mach/hurd/tls.h: Likewise.
38496
633f745d
UD
38497 [BZ #13067]
38498 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38499
f318beb8
UD
38500 [BZ #13090]
38501 * configure.in: Fix use of AC_INIT.
38502
32b4c839
UD
38503 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38504
3ce1f295
UD
385052011-09-10 Ulrich Drepper <drepper@gmail.com>
38506
bb016596
UD
38507 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38508 __set_errno.
8e58439c
UD
38509 * malloc/hooks.c: Likewise.
38510
aebae053 38511 [BZ #11929]
02d46fc4
UD
38512 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38513 variables statically.
38514 (narenas): Initialize.
38515 (list_lock): Initialize.
bb016596
UD
38516 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38517 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38518 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38519 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38520 Add initializers to main_arena and mp_.
38521 (malloc_state): Remove pagesize member. Change all users to use
38522 GLRO(dl_pagesize).
38523
38524 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38525 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38526 is always initialized.
38527
22a89187
UD
38528 * malloc/malloc.c: Removed unused configurations and dead code.
38529 * malloc/arena.c: Likewise.
38530 * malloc/hooks.c: Likewise.
02d46fc4 38531 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38532
d063d164
UD
38533 * include/tls.h: Removed. USE___THREAD must always be defined.
38534 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38535 * elf/dl-libc.c: Likewise.
38536 * elf/dl-tsd.c: Likewise.
38537 * include/errno.h: Likewise.
38538 * include/netdb.h: Likewise.
38539 * include/resolv.h: Likewise.
38540 * inet/herrno-loc.c: Likewise.
38541 * inet/herrno.c: Likewise.
38542 * malloc/arena.c: Likewise.
38543 * malloc/hooks.c: Likewise.
38544 * malloc/malloc.c: Likewise.
38545 * resolv/res-state.c: Likewise.
38546 * resolv/res_libc.c: Likewise.
38547 * sysdeps/i386/dl-machine.h: Likewise.
38548 * sysdeps/ia64/dl-machine.h: Likewise.
38549 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38550 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38551 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38552 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38553 * sysdeps/sh/dl-machine.h: Likewise.
38554 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38555 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38556 * sysdeps/unix/i386/sysdep.S: Likewise.
38557 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38558 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38559 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38562 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38563 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38565 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38567 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38568 * sysdeps/x86_64/dl-machine.h: Likewise.
38569 * tls.make.c: Likewise.
38570
3ce1f295
UD
38571 * configure.in: Remove --with-__thread option. Make tests for
38572 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38573 tls_model attribute fail if no support is available. Remove
38574 USE_IN_LIBIO.
38575 * Makeconfig: Adjust for dropped configure option. All features are
38576 now mandatory.
38577 * Makerules: Likewise.
38578 * Versions.def: Likewise.
38579 * argp/argp-fmtstream.c: Likewise.
38580 * argp/argp-fmtstream.h: Likewise.
38581 * argp/argp-help.c: Likewise.
38582 * assert/assert.c: Likewise.
38583 * config.h.in: Likewise.
38584 * config.make.in: Likewise.
38585 * configure: Likewise.
38586 * configure.in: Likewise.
38587 * csu/Versions: Likewise.
38588 * csu/init.c: Likewise.
38589 * elf/tst-audit2.c: Likewise.
38590 * elf/tst-tls10.c: Likewise.
38591 * elf/tst-tls10.h: Likewise.
38592 * elf/tst-tls11.c: Likewise.
38593 * elf/tst-tls12.c: Likewise.
38594 * elf/tst-tls14.c: Likewise.
38595 * elf/tst-tlsmod11.c: Likewise.
38596 * elf/tst-tlsmod12.c: Likewise.
38597 * elf/tst-tlsmod13.c: Likewise.
38598 * elf/tst-tlsmod13a.c: Likewise.
38599 * elf/tst-tlsmod14a.c: Likewise.
38600 * elf/tst-tlsmod15b.c: Likewise.
38601 * elf/tst-tlsmod16a.c: Likewise.
38602 * elf/tst-tlsmod16b.c: Likewise.
38603 * elf/tst-tlsmod7.c: Likewise.
38604 * elf/tst-tlsmod8.c: Likewise.
38605 * elf/tst-tlsmod9.c: Likewise.
38606 * gmon/gmon.c: Likewise.
38607 * grp/fgetgrent_r.c: Likewise.
38608 * grp/putgrent.c: Likewise.
38609 * hurd/fopenport.c: Likewise.
38610 * include/libc-symbols.h: Likewise.
38611 * include/tls.h: Likewise.
38612 * intl/gettextP.h: Likewise.
38613 * intl/loadinfo.h: Likewise.
38614 * locale/global-locale.c: Likewise.
38615 * locale/localeinfo.h: Likewise.
38616 * mach/devstream.c: Likewise.
38617 * malloc/arena.c: Likewise.
38618 * malloc/set-freeres.c: Likewise.
38619 * misc/err.c: Likewise.
38620 * misc/getttyent.c: Likewise.
38621 * misc/mntent_r.c: Likewise.
38622 * posix/getopt.c: Likewise.
38623 * posix/wordexp.c: Likewise.
38624 * pwd/fgetpwent_r.c: Likewise.
38625 * resolv/Versions: Likewise.
38626 * resolv/res_hconf.c: Likewise.
38627 * shadow/fgetspent_r.c: Likewise.
38628 * shadow/putspent.c: Likewise.
38629 * stdio-common/printf_fphex.c: Likewise.
38630 * stdio-common/tmpfile.c: Likewise.
38631 * stdlib/abort.c: Likewise.
38632 * stdlib/fmtmsg.c: Likewise.
38633 * sunrpc/auth_unix.c: Likewise.
38634 * sunrpc/clnt_perr.c: Likewise.
38635 * sunrpc/clnt_tcp.c: Likewise.
38636 * sunrpc/clnt_udp.c: Likewise.
38637 * sunrpc/clnt_unix.c: Likewise.
38638 * sunrpc/openchild.c: Likewise.
38639 * sunrpc/svc_simple.c: Likewise.
38640 * sunrpc/svc_tcp.c: Likewise.
38641 * sunrpc/svc_udp.c: Likewise.
38642 * sunrpc/svc_unix.c: Likewise.
38643 * sunrpc/xdr.c: Likewise.
38644 * sunrpc/xdr_array.c: Likewise.
38645 * sunrpc/xdr_rec.c: Likewise.
38646 * sunrpc/xdr_ref.c: Likewise.
38647 * sunrpc/xdr_stdio.c: Likewise.
38648
1248c1c4
PB
386492011-09-09 Ulrich Drepper <drepper@gmail.com>
38650
38651 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38652
386532011-07-03 Andreas Jaeger <aj@suse.de>
38654
38655 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38656 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38657 regenerate with gen-libm-tests.pl.
38658
386592010-05-12 Petr Baudis <pasky@suse.cz>
38660
38661 [BZ #11589]
38662 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38663 around j0() zero points by switching to j1().
38664 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38665 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38667 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38668
f22e1074
UD
386692011-09-09 Ulrich Drepper <drepper@gmail.com>
38670
f19009c1
UD
38671 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38672 instead of 0.
38673 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38674 instead of 0.
f19009c1
UD
38675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38676 Patch in part by Pavel Roskin <proski@gnu.org>.
38677
3f8cc204
UD
38678 [BZ #13138]
38679 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38680 realloc.
38681 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38682 Free memory block if necessary.
38683
f22e1074
UD
38684 [BZ #12847]
38685 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38686 be NULL. Don't lock in this case.
38687
0a2349f9
RM
386882011-09-09 Roland McGrath <roland@hack.frob.com>
38689
38690 * elf/elf.h (ELFOSABI_GNU): New macro.
38691 (ELFOSABI_LINUX): Define to that.
38692
f3cdd467
DZ
386932011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38694
38695 * string/strncat.c (strncat): Undef the symbol in case it has been
38696 defined in bits/string.h.
38697
74718d13
UD
386982011-09-09 Ulrich Drepper <drepper@gmail.com>
38699
633e9e0f
UD
38700 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38701
0a2349f9 38702 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38703 link map.
38704
f9924780
AJ
387052011-08-17 Andreas Jaeger <aj@suse.de>
38706
38707 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38708
7f5517aa
PP
387092011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38710 Ian Lance Taylor <iant@google.com>
38711
38712 * math/libm-test.inc (lround_test): New testcase.
38713 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38714
762011fe
UD
387152011-09-08 Ulrich Drepper <drepper@gmail.com>
38716
92963737
UD
38717 * Makefile: Remove support for automatic cvs check-ins.
38718 * Makerules: Likewise.
38719 * config.make.in: Likewise.
38720 * configure.in: Likewise.
38721 * intl/Makefile: Likewise.
38722 * locale/Makefile: Likewise.
38723 * po/Makefile: Likewise.
38724 * posix/Makefile: Likewise.
38725 * sysdeps/gnu/Makefile: Likewise.
38726 * sysdeps/mach/hurd/Makefile: Likewise.
38727 * sysdeps/sparc/sparc32/Makefile: Likewise.
38728
b0727fd8
JS
38729 [BZ #13118]
38730 * posix/Makefile (bug-regex32-ENV): Define.
38731 Patch by John Stanley <jpsinthemix@verizon.net>.
38732
a0f33f99
UD
38733 * misc/Makefile (headers): Add bits/select2.h.
38734 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38735 * misc/bits/select2.h: New file.
38736 * include/bits/select2.h: New file.
38737 * debug/Makefile (routines): Add fdelt_chk.
38738 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38739 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38740 FD_ISSET.
38741 * debug/fdelt_chk.c: New file.
38742
762011fe
UD
38743 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38744 * wcsmbs/test-wmemcmp.c: Likewise.
38745 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38746 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38747
387482011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38749
38750 * string/Makefile (strop-tests): Add memcmp.
38751 * string/test-wmemcmp.c: New file.
38752 * string/test-memcmp.c: Add wmemcmp support.
38753
7f513ec8
RM
387542011-09-08 Roland McGrath <roland@hack.frob.com>
38755
0442afb4
RM
38756 [BZ #13153]
38757 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38758 2011-07-19 change.
38759
7f513ec8
RM
38760 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38761 garbage value in a __mach_port_mod_refs call in the cases of the
38762 task-self and thread-self ports.
38763
a12b2239
ST
387642011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38765
38766 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38767
610f9ab4
AS
387682011-09-08 Andreas Schwab <schwab@redhat.com>
38769
7f513ec8 38770 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38771
48882a1a
LD
387722011-09-07 Ulrich Drepper <drepper@gmail.com>
38773
b49865be
UD
38774 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38775
fdc86bc9
UD
38776 * elf/dl-libc.c (dlerror_run): Pass back error code from
38777 dl_catch_error.
38778
c966526a
UD
38779 [BZ #13123]
38780 * elf/dl-load.c (lose): Free l_origin if it is valid.
38781
48882a1a
LD
38782 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38783 names.
38784 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38785 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38787 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38788 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38789 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38790
77a2a8b4
AZ
387912011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38792
38793 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38794 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38795 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38796 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38797 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38798 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38799 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38800 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38801 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38802 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38803
24f579d8
AM
388042011-08-15 Alan Modra <amodra@gmail.com>
38805
38806 [BZ #13092]
38807 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38808 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38809 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38810 ppc_mcount to static-only-routines.
38811 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38812 __mcount_internal.
38813 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38814 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38815
3d4837df
UD
388162011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38817
38818 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38819 for finite and infinity parameters.
38820
22700377
WS
388212011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38822
38823 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38824 and add nop instructions for throughput optimization.
38825 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38826
5025581e
WS
388272011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38828
38829 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38830 aligned copy for power7 with vector-scalar instructions.
38831 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38832
08a300c9
L
388332011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38834
38835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38836 AVX check.
38837
59178ef9
AS
388382011-09-07 Andreas Schwab <schwab@redhat.com>
38839
38840 [BZ #13144]
38841 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38842 last change.
38843
e38ba7ab
UD
388442011-09-07 Ulrich Drepper <drepper@gmail.com>
38845
38846 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38847 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38848 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38849 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38850 clock_gettime.
38851
d53a73ac
UD
388522011-09-06 Ulrich Drepper <drepper@gmail.com>
38853
fc8bffcc
UD
38854 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38855 Forgot to demangle the pointer.
38856
ceaa0c5d
UD
38857 * sysdeps/i386/sysdep.h: Define atom_text_section.
38858 * sysdeps/x86_64/sysdep.h: Likewise.
38859 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38860 section with atom_text_section.
38861 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38862 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38863 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38865 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38866
a77d3c17
UD
38867 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38868 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38869 already be defined. Change to take two parameters and don't assign
38870 result to variable. Adjust all users.
38871 Define INTERNAL_GETTIME if not already defined.
38872 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38873 call.
38874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38875 HAVE_CLOCK_GETTIME_VSYSCALL.
38876 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38877
d53a73ac
UD
38878 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38879 gettimeofday vsyscall, just use time.
38880
a8f84144
AS
388812011-09-06 Andreas Schwab <schwab@redhat.com>
38882
38883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38884 <errno.h>.
38885
ef606249
UD
388862011-09-06 Ulrich Drepper <drepper@gmail.com>
38887
38888 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38889 syscall on x86-64.
38890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38891 syscall.
38892 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38893 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38894 syscall if possible.
38895
6585cb60
UD
388962011-09-05 Ulrich Drepper <drepper@gmail.com>
38897
38898 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38899 e_ident. Don't pass to find_mapsXX.
38900 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38901
a5f524e4
LD
389022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38903
38904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38905 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38906 * sysdeps/x86_64/multiarch/strchr.S: Update.
38907 Check bit_slow_BSF bit.
38908 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38909 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38910 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38911
554881ef
UD
389122011-09-05 Ulrich Drepper <drepper@gmail.com>
38913
d96de963
UD
38914 [BZ #13134]
38915 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38916 before glibc 2.15.
38917 (tryshell): Define.
38918 (__spawni): Change last parameter to be flag. Test
38919 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38920 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38921 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38922 * posix/spawni.c: Likewise.
38923 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38924 * posix/spawnp.c: Likewise. Change normal version to use
38925 SPAWN_XFLAGS_USE_PATH.
38926 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38927 SPAWN_XFLAGS_TRY_SHELL.
38928
d48e5868
UD
38929 [BZ #13150]
38930 * posix/glob.h: Remove gcc 1.x support.
38931
554881ef
UD
38932 [BZ #13068]
38933 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38934
693fb948
LD
389352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38936
38937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38938 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38939 strrchr-sse2-bsf
38940 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38941 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38942 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38943 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38944 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38945 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38946
1b48c537
UD
389472011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38948
49d42c37
UD
38949 * sysdeps/x86_64/wcscmp.S: New file.
38950
1b48c537
UD
38951 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38952 wcscmp-c wcscmp-sse2
38953 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38954 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38955 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38956 * wcsmbs/wcscmp.c: Allow renaming.
38957
15c95c5d
DM
389582011-09-05 David S. Miller <davem@davemloft.net>
38959
38960 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38961 stack slot, rather than the struct return pointer slot.
38962 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38963 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38965 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38966
2f0ad8f3
UD
389672011-09-05 Ulrich Drepper <drepper@gmail.com>
38968
d88ae418
UD
38969 * po/ja.po: Update from translation team.
38970
2f0ad8f3
UD
38971 [BZ #13144]
38972 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38973 kernel in 64-bit binaries.
38974
5f4318d1
DM
389752011-09-01 David S. Miller <davem@davemloft.net>
38976
38977 * elf/elf.h (HWCAP_SPARC_*): Move to..
38978 * sysdeps/sparc/sysdep.h: this new file and add new values.
38979 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38980 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38981 _DL_HWCAP_COUNT to 24.
38982 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38983 entries.
38984 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38985 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38986 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38988 instead of magic constants.
38989 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38990
3ba57516
DM
389912011-08-31 David S. Miller <davem@davemloft.net>
38992
38993 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38995 Reimplement to do errno handling inline.
38996 (SYSCALL_ERROR_HANDLER): New macro.
38997 (__SYSCALL_STRING): Do not do errno handling in asm.
38998 (__CLONE_SYSCALL_STRING): Delete.
38999 (__INTERNAL_SYSCALL_STRING): Delete.
39000 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39001 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39002 (PSEUDO): Reimplement to do errno handling inline.
39003 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39004 (SYSCALL_ERROR_HANDLER): New macro.
39005 (__SYSCALL_STRING): Do not do errno handling in asm.
39006 (__CLONE_SYSCALL_STRING): Delete.
39007 (__INTERNAL_SYSCALL_STRING): Delete.
39008 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39009 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39010 i386.
39011 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39012 (inline_syscall*): Add 'err' argument.
39013 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39014 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39015 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39016 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39017
39018 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39019 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39020
2bc17433
AS
390212011-08-30 Andreas Schwab <schwab@redhat.com>
39022
39023 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39024
fbeb5f4d
JO
390252011-08-29 Jiri Olsa <jolsa@redhat.com>
39026
39027 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39028 directive.
39029
ad69cc26
DM
390302011-08-24 David S. Miller <davem@davemloft.net>
39031
39032 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39033
39dd69df
AS
390342011-08-24 Andreas Schwab <schwab@redhat.com>
39035
39036 * elf/Makefile: Add rules to build and run unload8 test.
39037 * elf/unload8.c: New file.
39038 * elf/unload8mod1.c: New file.
39039 * elf/unload8mod1x.c: New file.
39040 * elf/unload8mod2.c: New file.
39041 * elf/unload8mod3.c: New file.
39042
39043 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39044 it wasn't used.
39045
2c0b250a
DM
390462011-08-23 David S. Miller <davem@davemloft.net>
39047
39048 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39049 subtract stack bias.
39050 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39051 %sp not %fp in calculations.
39052 (_JMPBUF_UNWINDS_ADJ): Likewise.
39053
22044b48
DM
39054 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39055 (aio_suspend): Call it to force an exception region around the
39056 AIO_MISC_WAIT() invocation.
39057
2cae4995
AS
390582011-08-23 Andreas Schwab <schwab@redhat.com>
39059
39060 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39061 backslash.
39062
873a772e
AJ
390632011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39064
39065 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39066 protection macro.
39067 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39068 and <dl-machine.h>.
39069 (Elf64_FuncDesc): Remove.
39070
25ad0df1
DM
390712011-08-22 David S. Miller <davem@davemloft.net>
39072
39073 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39074 sigaltstack check, add missing cfi directives.
39075 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39076 missing cfi directives, and sigaltstack handling.
39077
e888bcbe
AS
390782011-08-16 Andreas Schwab <schwab@redhat.com>
39079
39080 [BZ #11724]
39081 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39082 object is seen twice.
39083 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39084
39085 * elf/Makefile (distribute): Add tst-initorder2.c.
39086 (tests): Add tst-initorder2.
39087 (modules-names): Add tst-initorder2a tst-initorder2b
39088 tst-initorder2c tst-initorder2d. Add rules to build them.
39089 ($(objpfx)tst-initorder2.out): New rule.
39090 * elf/tst-initorder2.c: New file.
39091 * elf/tst-initorder2.exp: New file.
39092
87162f46
AS
390932011-08-22 Andreas Schwab <schwab@redhat.com>
39094
70538b7f
AS
39095 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39096
f55ffe58
AS
39097 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39098 dependencies back to end of function.
39099
87162f46
AS
39100 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39101 $(elfobjdir)/ld.so.
39102
91b392a4
UD
391032011-08-21 Ulrich Drepper <drepper@gmail.com>
39104
39105 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39106 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39107 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39108 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39109 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39110 of __vdso_gettimeofday.
39111 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39112 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39113 attribute_hidden.
39114 (_libc_vdso_platform_setup): Remove initialization of
39115 __vdso_gettimeofday and __vdso_time.
39116
5c43483f
UD
391172011-08-20 Ulrich Drepper <drepper@gmail.com>
39118
775a77e7
UD
39119 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39120 and fgetc_unlocked.
39121 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39122 getc_unlocked.
89f447ed 39123
49c74ba9
UD
39124 * elf/dl-open.c (add_to_global): Report additions to the global scope
39125 for LD_DEBUG=scopes.
39126 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39127 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39128
5c43483f
UD
39129 [BZ #13114]
39130 * stdio-common/Makefile (tests): Add bug24.
39131 * stdio-common/bug24.c: New file.
39132
a101b025
AJ
391332011-08-19 Andreas Jaeger <aj@suse.de>
39134
39135 [BZ #13114]
39136 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39137 non-existant file when using close-on-exec mode.
39138
c88f1766
UD
391392011-08-20 Ulrich Drepper <drepper@gmail.com>
39140
0276a718
UD
39141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39142 the very first instruction.
39143
c88f1766
UD
39144 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39145 the CFI state in the end.
39146 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39147 inclusion of dl-trampoline.h.
39148 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39149
51ccffa0
AS
391502011-08-19 Andreas Schwab <schwab@redhat.com>
39151
94d7165f
AS
39152 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39153 expectations for long double.
39154
51ccffa0
AS
39155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39156 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39157
fd708658 391582011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39159
39160 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39161 artificual limit depends upon the system page size.
39162
44f0a71e
UD
391632011-08-17 Ulrich Drepper <drepper@gmail.com>
39164
39165 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39166 * resolv/Makefile: Define CFLAGS-libresolv.
39167
8de79a24
AS
391682011-08-17 Andreas Schwab <schwab@redhat.com>
39169
39170 * nss/makedb.c (compute_tables): Make variables used in nested
39171 function static.
39172
27724598
UD
391732011-08-17 Ulrich Drepper <drepper@gmail.com>
39174
c5305d88
UD
39175 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39176 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39177 if buffer was too small.
39178
27724598
UD
39179 * elf/pldd.c (main): Attach to all threads in the process.
39180 Rewrite /proc handling to use *at functions.
39181
076fe015
UD
391822011-08-16 Ulrich Drepper <drepper@gmail.com>
39183
174baab3
UD
39184 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39185 specifies first scope to show.
39186 (dl_open_worker): Update callers. Move printing scope of new
39187 object to before the relocation.
44f0a71e 39188 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39189 * sysdeps/generic/ldsodefs.h: Update declaration.
39190
076fe015
UD
39191 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39192 string for the scope number.
39193
a60df2c3
UD
391942011-08-14 Ulrich Drepper <drepper@gmail.com>
39195
39196 * nscd/servicescache.c (cache_addserv): Make sure written is always
39197 initialized.
39198
5e4287d1
RM
391992011-08-14 Roland McGrath <roland@hack.frob.com>
39200
85ae0589
RM
39201 * sysdeps/i386/i486/bits/atomic.h
39202 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39203 statement expression, so as to suppress "set but not used" warning.
39204 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39205
69f63097
RM
39206 * string/strncat.c (STRNCAT): Use prototype definition.
39207
675456ef
RM
39208 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39209 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39210 -Iprograms here.
39211 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39212 (localedef-modules): Add localedef.
39213 (locale-modules): Add locale.
39214
5e4287d1
RM
39215 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39216 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39217 to avoid a warning.
39218
9c96ff23
DM
392192011-08-14 David S. Miller <davem@davemloft.net>
39220
39221 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39222 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39223
f9ddf089
UD
392242011-08-13 Ulrich Drepper <drepper@gmail.com>
39225
44f0a71e 39226 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39227 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39228 * elf/rtld.c (dl_main): Set l_name of vDSO.
39229 Call _dl_show_scope when DL_DEBUG_SCOPES.
39230 (process_dl_debug): Recognize scopes flag and also set it for all.
39231 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39232 Declare _dl_show_scope.
39233
1dc27704
UD
39234 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39235 (do_dlopen): Pass caller_dlopen to dl_open.
39236 (__libc_dlopen_mode): Initialize caller_dlopen.
39237
f9ddf089
UD
39238 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39239 of libc. Make tolower call locale-independent. Optimize a bit by
39240 using isdigit instead of isalnum.
39241 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39242
9ac533d3
UD
392432011-08-12 Ulrich Drepper <drepper@gmail.com>
39244
39245 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39246 was a dependency or dynamically loaded.
39247
89edf2e9
UD
392482011-08-11 Ulrich Drepper <drepper@gmail.com>
39249
8e999d29
UD
39250 * intl/l10nflist.c: Allow architecture-specific pop function.
39251 * sysdeps/x86_64/l10nflist.c: New file.
39252
89edf2e9
UD
39253 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39254 classification.
39255
14d96785
AS
392562011-08-10 Andreas Schwab <schwab@redhat.com>
39257
39258 * include/dirent.h: Add libc_hidden_proto for scandirat and
39259 scandirat64. Don't declare __scandirat64.
39260 * dirent/scandirat.c: Add libc_hidden_def.
39261 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39262 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39263
6761ac04
DM
392642011-08-10 David S. Miller <davem@davemloft.net>
39265
39266 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39267 enum.
39268 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39269 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39270 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39271
c55fbd1e
UD
392722011-08-09 Ulrich Drepper <drepper@gmail.com>
39273
39274 * Versions.def [libc]: Add GLIBC_2.15.
39275 * dirent/Makefile (routines): Add scandirat and scandirat64.
39276 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39277 GLIBC_2.15.
39278 * dirent/dirent.h: Declare scandirat and scandirat64.
39279 * dirent/scandirat.c: New file.
39280 * dirent/scandirat64.c: New file.
39281 * sysdeps/wordsize-64/scandirat.c: New file.
39282 * sysdeps/wordsize-64/scandirat64.c: New file.
39283 * dirent/opendir.c: Define opendirat.
39284 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39285 using scandirat.
39286 * dirent/scandir64.c: Adjust for scandir.c change.
39287 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39288 __scandirat64, and __scandir_cancel_handler.
39289 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39290 additional parameter and use openat instead of open (outside of ld.so).
39291 Add new __opendir as wrapper around __opendirat.
39292 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39293 here without requiring old scandirat implementation.
39294
879165f2
UD
392952011-08-08 Ulrich Drepper <drepper@gmail.com>
39296
39297 * dirent/scandir.c (cancel_handler): Renamed to
39298 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39299 defined. Adjust users.
39300 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39301 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39302
cb7e923b
UD
393032011-08-04 Ulrich Drepper <drepper@gmail.com>
39304
16292edd
UD
39305 * string/test-string.h (IMPL): Use __STRING to expand name and then
39306 stringify it.
39307
cb7e923b
UD
39308 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39309 of cleanups.
39310
cff82933
LD
393112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39312
39313 * string/Makefile: Update.
39314 (strop-tests): Append strncat.
39315 * string/test-wcscmp.c: New file.
39316 New comprehensive test for wcscmp.
39317 * string/test-strcmp.c: Update.
39318 (WIDE): New define.
39319
9be9bfcc
AS
393202011-07-22 Andreas Schwab <schwab@redhat.com>
39321
39322 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39323 line.
39324
2e96f1c7
AS
393252011-07-26 Andreas Schwab <schwab@redhat.com>
39326
39327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39328 encoding to ACE if AI_IDN.
39329
85188888
JJ
393302011-08-01 Jakub Jelinek <jakub@redhat.com>
39331
39332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39333 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39334
5fa16e9b
LD
393352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39336
39337 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39338 Fix overflow bug in strncat.
39339 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39340
39341 * string/test-strncat.c: Update.
39342 Add new tests for checking overflow bugs.
39343
393442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39345
39346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39347 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39348 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39349 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39350 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39351 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39352 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39353 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39354 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39355
39356 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39357 (USE_AS_STRCAT): Define.
39358 Add strcat and strncat support.
39359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39360
8c1a459f
AS
393612011-07-25 Andreas Schwab <schwab@redhat.com>
39362
39363 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39364 __n bigger than INT_MAX+1.
39365 (__strncmp_g): Likewise.
39366
bba33c28
UD
393672011-07-23 Ulrich Drepper <drepper@gmail.com>
39368
798be72d
UD
39369 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39370 * libio/stido.h: Likewise.
39371
8accd4dc
UD
39372 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39373 (AF_NFC): Define.
39374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39375 (AF_NFC): Define.
39376
cbff0d96
UD
39377 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39378 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39380 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39382
9191c04a
UD
39383 [BZ #13021]
39384 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39385 installed.
39386
bba33c28
UD
39387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39388 typo.
39389 (_dl_x86_64_save_sse): Likewise.
39390
90f139dd
UD
393912011-07-22 Ulrich Drepper <drepper@gmail.com>
39392
1aae088a
UD
39393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39394 OSXSAVE.
39395 (_dl_x86_64_save_sse): Likewise.
39396
8e2045f5
UD
39397 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39398
90f139dd
UD
39399 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39400
1d002f25
AS
394012011-07-21 Andreas Schwab <schwab@redhat.com>
39402
39403 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39404 change.
39405 (_dl_x86_64_save_sse): Use correct AVX check.
39406
21137f89
UD
394072011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39408
39409 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39410 bug in strncpy/strncat.
39411 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39412
a65c0b7a
UD
394132011-07-21 Ulrich Drepper <drepper@gmail.com>
39414
39415 * string/tester.c (test_strcat): Add tests for different alignments
39416 of source and destination.
39417 (test_strncat): Likewise.
39418
6986b98a
UD
394192011-07-20 Ulrich Drepper <drepper@gmail.com>
39420
90bb2039
UD
39421 [BZ #12852]
39422 * posix/glob.c (glob): Check passed in values before using them in
39423 expressions to avoid some overflows.
39424 (glob_in_dir): Likewise.
39425
5644ef54
UD
39426 [BZ #13007]
39427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39428 check for AVX enablement so that we don't crash with old kernels and
39429 new hardware.
39430 * elf/tst-audit4.c: Add same checks here.
39431 * elf/tst-audit6.c: Likewise.
39432
39433 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39434
bfc9dc9b
AS
394352011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39436
39437 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39438
702e64bb
UD
394392011-07-20 Ulrich Drepper <drepper@gmail.com>
39440
39441 * po/cs.po: Update from translation team.
39442 * po/bg.po: Likewise.
39443
295e904f
MP
394442011-07-12 Marek Polacek <mpolacek@redhat.com>
39445
39446 * misc/sys/cdefs.h: Add support for const attribute.
39447 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39448 to gnu_dev_{major,minor,makedev} functions.
39449
3ff94596
MP
394502011-07-20 Marek Polacek <mpolacek@redhat.com>
39451
39452 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39453
28b59fca
AS
394542011-07-20 Andreas Schwab <schwab@redhat.com>
39455
39456 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39457 strlen results.
39458
19df733e
AK
394592011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39460
39461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39462 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39463 register in order to avoid conflicts with the soft frame pointer
39464 being held in r11 when necessary.
39465 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39466 (INTERNAL_VSYSCALL_NCS): Likewise.
39467
c8835729
MP
394682011-07-14 Marek Polacek <mpolacek@redhat.com>
39469
39470 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39471 * elf/dl-fini.c (_dl_fini): Adjust caller.
39472 * elf/dl-close.c (_dl_close_worker): Likewise.
39473 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39474
b902330c
MP
394752011-07-15 Marek Polacek <mpolacek@redhat.com>
39476
8991e135
MP
39477 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39478 "aux_cache->nlibs < 0".
39479
b902330c
MP
39480 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39481 in the reload-count case.
39482
99710781
LD
394832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39484
39485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39486 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39487 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39488 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39489 * sysdeps/x86_64/multiarch/strcat.S: New file.
39490 * sysdeps/x86_64/multiarch/strncat.S: New file.
39491 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39492 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39493 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39494 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39496 (USE_AS_STRCAT): Define.
39497 Add strcat and strncat support.
39498 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39499 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39500 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39501 * string/strncat.c: Update.
39502 (USE_AS_STRNCAT): Define.
39503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39504 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39505 and i7.
39506 * sysdeps/x86_64/multiarch/init-arch.h
39507 (bit_Prefer_PMINUB_for_stringop): New.
39508 (index_Prefer_PMINUB_for_stringop): Likewise.
39509 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39510 bit_Prefer_PMINUB_for_stringop.
39511
7dc6bd90
UD
395122011-07-19 Ulrich Drepper <drepper@gmail.com>
39513
39514 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39515 buffer64.
39516 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39517 of casting of buffer.
39518 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39519 buffer32 and buffer64.
39520 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39521 writes instead of casting of buffer.
39522 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39523 buffer32.
39524 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39525 casting of buffer.
39526
e0e72284
AS
395272011-07-19 Andreas Schwab <schwab@redhat.com>
39528
39529 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39530
feb1eb0b
UD
395312011-07-19 Ulrich Drepper <drepper@gmail.com>
39532
39533 * nscd/nscd.c (termination_handler): Don't do anything for a database
39534 if it has not yet been initialized.
39535
298711ff
UD
395362011-07-18 Ulrich Drepper <drepper@gmail.com>
39537
39538 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39539
395402011-07-15 Marek Polacek <mpolacek@redhat.com>
39541
39542 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39543
f9d68389
UD
395442011-07-18 Ulrich Drepper <drepper@gmail.com>
39545
39546 * po/nl.po: Update from translation team.
39547 * po/sv.po: Likewise.
39548
db290cf5
RM
395492011-07-16 Roland McGrath <roland@hack.frob.com>
39550
39551 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39552 now disallowed by GCC.
5c550700 39553
fd5e21c7
RM
39554 * configure.in (use-default-link): Default to yes if a test -shared
39555 link meets our qualifications.
39556 * configure: Regenerated.
39557
5c550700
RM
39558 * config.make.in (output-format): New variable.
39559 * configure.in: Check for ld --print-output-format support.
39560 * configure: Regenerated.
39561 * Makerules ($(common-objpfx)format.lds)
39562 [$(output-format) != unknown]: Just use $(output-format),
39563 instead of the linker-script munging.
39564
9fa2c032
RM
395652011-07-14 Roland McGrath <roland@hack.frob.com>
39566
a6928d51
RM
39567 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39568 of $(common-objpfx)shlib.lds.
39569 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39570
661607b3
RM
39571 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39572 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39573
9fa2c032
RM
39574 * configure.in (-z relro check): Adjust test code to add a large
39575 writable data section after it.
39576 * configure: Regenerated.
39577
defe9061
RM
395782011-07-11 Roland McGrath <roland@hack.frob.com>
39579
39580 * configure.in (-z relro check): Fix test code to make the variable
39581 truly const.
39582 * configure: Regenerated.
39583
319b9ad4
UD
395842011-07-11 Ulrich Drepper <drepper@gmail.com>
39585
39586 * nscd/nscd.h (struct traced_file): Define.
39587 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39588 elements. Add traced_files.
39589 (inotify_fd): Declare.
39590 (register_traced_file): Declare.
39591 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39592 (inotify_fd): Export.
39593 (resolv_conf_descr): Remove.
39594 (nscd_init): Move inotify descriptor creation to main.
39595 Don't register files for notification here.
39596 (register_traced_file): New function.
39597 (invalidate_cache): Don't use reset_res to determine whether to call
39598 res_init, go through the list of registered files.
39599 (main_loop_poll): The inotify descriptors are now stored in the
39600 structures for the traced files.
39601 (main_loop_epoll): Likewise
39602 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39603 to __nss_disable_nscd.
39604 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39605 for a database anymore. Check the records for all the registered
39606 files instead.
39607 * nss/Makefile (libnss_files-routines): Add files-init.
39608 (libnss_db-routines): Add db-init.
39609 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39610 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39611 * nss/nss_db/db-init.c: New file.
39612 * nss/nss_files/files-init.c: New file.
39613 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39614 __nss_lookup_function.
39615 (__nss_lookup_function): Call nss_load_library.
39616 (nss_load_all_libraries): New function.
39617 (__nss_disable_nscd): Take parameter with callback function for files
39618 to register. Set is_nscd. Load all the DSOs for the NSS modules
39619 used for the cached services.
39620 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39621 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39622 options for features to all the files in nscd.
39623
39624 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39625
23bee3e8
RM
396262011-07-10 Roland McGrath <roland@hack.frob.com>
39627
39628 * csu/elf-init.c (__libc_csu_init): Comment typo.
39629
46a5b7f0
UD
396302011-07-09 Ulrich Drepper <drepper@gmail.com>
39631
39632 * po/pl.po: Update from translation team.
39633 * po/ja.po: Likewise.
39634 * po/ru.po: Likewise.
39635 * po/ko.po: Likewise.
39636 * po/fr.po: Likewise.
39637
d30cf5bb
RM
396382011-07-09 Roland McGrath <roland@hack.frob.com>
39639
113ddea4
RM
39640 * configure.in (.ctors/.dtors header and trailer check):
39641 Use an empirical test on a built program.
39642 * configure: Regenerated.
39643
574920b4
RM
39644 * configure.in (-z relro check): Use an empirical test on a built DSO.
39645 Detect, but do not require, on ia64.
39646 * configure: Regenerated.
39647
d30cf5bb
RM
39648 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39649 Update tests that use readelf to use $READELF instead.
39650 * configure: Regenerated.
39651
8538fdb3
UD
396522011-07-08 Ulrich Drepper <drepper@gmail.com>
39653
39654 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39655 if the result is not used.
39656
04d08991
AJ
396572011-07-05 Andreas Jaeger <aj@suse.de>
39658
39659 [BZ#9696]
39660 * stdlib/tst-strtod.c: Add testcase.
39661
de283087
AD
396622011-07-07 Ulrich Drepper <drepper@gmail.com>
39663
4e5f31c8 39664 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39665 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39666 The latter has a higher limit. Take additional parameter to pass to
39667 the new function.
39668 (__pathconf): Pass file to __statfs_link_max.
39669 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39670 __statfs_link_max.
39671 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39672 __statfs_link_max.
39673
de283087
AD
39674 [BZ #12868]
39675 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39676 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39677 Handle Lustre.
39678 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39679 (__statfs_filesize_max): Likewise.
39680 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39681
c75fa153
AJ
396822011-07-05 Andreas Jaeger <aj@suse.de>
39683
39684 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39685
1a544854
UD
396862011-07-06 Marek Polacek <mpolacek@redhat.com>
39687
39688 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39689 `status' variable.
39690 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39691 Likewise.
39692
6f0eec67
UD
396932011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39694
39695 * Makefile (strop-tests): Add strncat.
39696 * string/test-strncat.c: New file.
39697
aae30307
UD
396982011-06-30 Marek Polacek <mpolacek@redhat.com>
39699
39700 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39701
c0cfb5eb
UD
397022011-06-21 Andreas Jaeger <aj@suse.de>
39703
39704 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39705 Copy rule from iconvdata/Makefile.
39706
01636b21
UD
397072011-07-06 Ulrich Drepper <drepper@gmail.com>
39708
39709 [BZ #12922]
39710 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39711 but no long options are defined, just return 'W'.
39712
9895c8bc
UD
397132011-06-22 Marek Polacek <mpolacek@redhat.com>
39714
39715 [BZ #9696]
39716 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39717
5d4cf042
UD
397182011-07-06 Ulrich Drepper <drepper@gmail.com>
39719
39720 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39721 netgroups to read.
960e5535 39722 (innetgr): Likewise.
5d4cf042 39723
751eb97e
RM
397242011-07-05 Roland McGrath <roland@hack.frob.com>
39725
39726 * config.make.in (install_root): Default to $(DESTDIR).
39727
f15f1e45
UD
397282011-07-05 Ulrich Drepper <drepper@gmail.com>
39729
39730 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39731
4e34ac6a
RM
397322011-07-02 Roland McGrath <roland@hack.frob.com>
39733
5e9b6af4
RM
39734 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39735
84f9ea0f
RM
39736 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39737 containing directory rather than embedding absolute directory names.
39738
ea5ee9f7
RM
39739 * scripts/check-local-headers.sh: Rewritten using awk.
39740 Match by word, not by line. Print error messages for matches.
39741 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39742
1b74661a
RM
39743 * Makerules [shlib-lds-flags empty]:
39744 ($(common-objpfx)libc_pic.opts): New target.
39745 ($(common-objpfx)libc_pic.os.clean): New target.
39746 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39747
39748 * config.make.in (OBJCOPY): New variable.
39749 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39750 * configure: Regenerated.
39751
f781ef40
RM
39752 * config.make.in (use-default-link): New variable.
39753 * configure.in (use_default_link): Grok --with-default-link to set it.
39754 * configure: Regenerated.
39755 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39756 (shlib-lds, shlib-lds-flags): Define to empty.
39757
2d4fa81e
RM
39758 * Makerules (shlib-lds): New variable.
39759 (shlib-lds-flags): New variable.
39760 (build-shlib, build-moduile, build-module-asneeded): Use it.
39761 ($(common-objpfx)libc.so): Use $(shlib-lds).
39762 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39763 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39764
31fffa6b
RM
39765 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39766 DT_FLAGS/DT_FLAGS_1 with zero flags.
39767
4e34ac6a
RM
39768 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39769 linker script munging.
39770
fcfc776b
UD
397712011-07-02 Ulrich Drepper <drepper@gmail.com>
39772
39773 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39774 as 128-bit value.
39775 * crypt/sha512.c (sha512_process_block): Perform total addition using
39776 128-bit if possible.
39777 (__sha512_finish_ctx): Likewise.
39778 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39779 as 64-bit value.
39780 * crypt/sha256.c (SWAP64): Define.
39781 (sha256_process_block): Perform total addition using 64-bit if
39782 possible.
39783 (__sha256_finish_ctx): Likewise.
39784
99231d9a
UD
397852011-07-01 Ulrich Drepper <drepper@gmail.com>
39786
39787 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39789 * nscd/hstcache.c (cache_addhst): Likewise.
39790 * nscd/grpcache.c (cache_addgr): Likewise.
39791 * nscd/aicache.c (addhstaiX): Likewise
39792 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39793
445b4a53
TK
397942011-07-01 Thorsten Kukuk <kukuk@suse.de>
39795
39796 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39797 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39798 * nscd/hstcache.c (cache_addhst): Likewise.
39799 * nscd/grpcache.c (cache_addgr): Likewise.
39800 * nscd/aicache.c (addhstaiX): Likewise
39801
6d4d8e8e
AS
398022011-07-01 Andreas Schwab <schwab@redhat.com>
39803
39804 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39805 domain only when needed.
39806
89f654c5
AS
398072011-06-30 Andreas Schwab <schwab@redhat.com>
39808
39809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39810 is always restored.
39811
cf3b23ff
UD
398122011-06-29 Ulrich Drepper <drepper@gmail.com>
39813
39814 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39815 are re-adding the entry.
39816 * nscd/servicescache.c (cache_addserv): Likewise.
39817
751626f9
AJ
398182011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39819
39820 * sysdeps/generic/dl-irel.h: fix protection against multiple
39821 inclusions.
39822 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39823
9113ea1f
UD
398242011-06-28 Ulrich Drepper <drepper@gmail.com>
39825
5c0b8d90
UD
39826 [BZ #12935]
39827 * malloc/memusage.sh: Fix quoting in message.
39828 * debug/xtrace.sh: Likewise.
39829
9113ea1f
UD
39830 * configure.in: Remove support for --experimental-malloc option, make
39831 it the default.
39832 * config.make.in: Likewise.
39833 * malloc/Makefile: Likewise.
39834
a4172181
AS
398352011-06-27 Andreas Schwab <schwab@redhat.com>
39836
39837 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39838 two-byte characters.
39839
78a7eee7
RM
398402011-06-27 Roland McGrath <roland@hack.frob.com>
39841
62bede13
RM
39842 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39843 AC_CACHE_CHECK invocation.
39844 * configure: Regenerated.
39845
78a7eee7
RM
39846 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39847
5ce33a62
UD
398482011-06-27 Ulrich Drepper <drepper@gmail.com>
39849
034807a9
UD
39850 [BZ #12350]
39851 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39852 bit from old_res_options.
39853
4902da17
UD
39854 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39855
5ce33a62
UD
39856 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39857 value type for setfct.
39858
c2344f56
L
398592011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39860
39861 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39862 __gettimeofday instead of gettimeofday.
39863
68468076
UD
398642011-06-26 Ulrich Drepper <drepper@gmail.com>
39865
39866 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39867
acb0d739
L
398682011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39869
39870 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39871
39872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39873 info.
39874
8912479f
L
398752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39876
39877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39878 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39879 strcpy-sse2-unaligned strncpy-sse2-unaligned
39880 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39881 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39882 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39883 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39884 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39885 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39886 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39887 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39888 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39889 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39890 (STRCPY): Support SSE2 and SSSE3 versions.
39891
d5495a11
UD
398922011-06-24 Ulrich Drepper <drepper@gmail.com>
39893
39894 [BZ #12874]
39895 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39896 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39897 kernels which artificially limit size of requests.
39898
0b1cbaae
L
398992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39900
39901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39902 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39903 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39904 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39905 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39906 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39907 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39908 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39911 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39912 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39913 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39914 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39915 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39917 Enable unaligned load optimization for Intel Core i3, i5 and i7
39918 processors.
39919 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39920 Define.
39921 (index_Fast_Unaligned_Load): Define.
39922 (HAS_FAST_UNALIGNED_LOAD): Define.
39923
07f494a0
MP
399242011-06-23 Marek Polacek <mpolacek@redhat.com>
39925
39926 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39927
fa3fc0fe
UD
399282011-06-22 Ulrich Drepper <drepper@gmail.com>
39929
39930 [BZ #12907]
39931 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39932 until it is clear that the information is realy needed.
39933 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39934
e12df166
AS
399352011-06-22 Andreas Schwab <schwab@redhat.com>
39936
39937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39938
852eb34d
UD
399392011-06-22 Ulrich Drepper <drepper@gmail.com>
39940
84e2a551
UD
39941 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39942 /sys/devices/system/cpu/online if it is usable.
39943
852eb34d
UD
39944 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39945 reading the information from the /proc filesystem to once a second.
39946
6e502e19
UD
399472011-06-21 Andreas Jaeger <aj@suse.de>
39948
39949 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39950 NULL after inclusion of kernel headers.
39951
75d39ff2
UD
399522011-06-21 Ulrich Drepper <drepper@gmail.com>
39953
51f9aa6a
UD
39954 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39955 calls to internal_setent.
39956
c0244a9d
UD
39957 [BZ #12885]
39958 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39959 addresses using gethostbyname4_r ignore IPv4 addresses.
39960
c5e3c2ae
UD
39961 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39962 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39963
75d39ff2
UD
39964 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39965
42675c6f
DM
399662011-06-20 David S. Miller <davem@davemloft.net>
39967
39968 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39969 inclusions.
39970 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39971
39972 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39973 (elf_irel): Use it.
39974 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39975 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39976 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39977 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39978 * sysdeps/x86_64/dl-irel.h: Likewise.
39979
39980 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39981 * elf/dl-sym.c: Likewise.
39982
57912a71
UD
399832011-06-15 Ulrich Drepper <drepper@gmail.com>
39984
39985 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39986 need to dereference resplen2.
39987
ee22793d
AS
399882011-06-14 Andreas Schwab <schwab@redhat.com>
39989
39990 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39991
a9e836b0
UD
399922011-06-15 Ulrich Drepper <drepper@gmail.com>
39993
77fb9117
UD
39994 * Makeconfig: Define vardbdir and inst_vardbdir.
39995 * nss/Makefile: Add rules to install db-Makefile.
39996
40c1b22c
UD
39997 * nss/nss_db/db-XXX.c: Cleanup.
39998
9f2da732
UD
39999 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40000 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40001 GLIBC_PRIVATE.
40002 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40003 * nss/makedb.c: Implement -g option to specify that value strings
40004 are generated and should not be added to table iterated over for
40005 get*ent calls.
40006 * nss/nss_db/db-initgroups.c: New file.
40007
82e9a1f7
UD
40008 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40009 interface.
40010
c41af17e
UD
40011 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40012 (internal_getgrouplist): Adjust to name change.
40013 Update use_initgroups_entry if this is not the first call.
40014 * nss/databases.def: Add initgroups entry.
40015
a9e836b0
UD
40016 * nss/makedb.c (compute_tables): Check result of multiple hash table
40017 sizes to minimize maximum chain length.
40018
2666d441
UD
400192011-06-14 Ulrich Drepper <drepper@gmail.com>
40020
40021 * Versions.def: Add entry for libnss_db.
40022 * shlib-versions: Likewise.
40023 * nss/Makefile: Add rules to build libnss_db.
40024 * nss/Versions: Add libnss_db information. Organize libnss_files
40025 entries better.
40026 * nss/db-Makefile: Add gshadow support. Change rules for the new
40027 makedb progra. Some minor improvements to generate smaller files.
40028 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40029 here from...
40030 * nss/makedb.c: ...here.
40031 Improve database format to be smaller and require less memory at
40032 runtime.
40033 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40034 db anymore.
40035 * nss/nss_db/db-netgrp.c: Likewise.
40036 * nss/nss_db/db-open.c: Likewise.
40037 * nss/nss_files/flies-XXX.x: Adjust comments.
40038 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40039 * nss/nss_files/files-grp.c: Likewise.
40040 * nss/nss_files/files-hosts.c: Likewise.
40041 * nss/nss_files/files-network.c: Likewise.
40042 * nss/nss_files/files-proto.c: Likewise.
40043 * nss/nss_files/files-pwd.c: Likewise.
40044 * nss/nss_files/files-rpc.c: Likewise.
40045 * nss/nss_files/files-service.c: Likewise.
40046 * nss/nss_files/files-sgrp.c: Likewise.
40047 * nss/nss_files/files-spwd.c: Likewise.
40048 * nss/nss_db/db-alias.c: Removed.
40049 * nss/nss_db/dummy-db.h: Removed.
40050
9ee76b5a
UD
400512011-06-02 Ulrich Drepper <drepper@gmail.com>
40052
40053 * nss/makedb.c: Rewritten to not use database library.
40054 * nss/Makefile: Update to build new makedb program.
40055
c71ca1f8
AJ
400562011-06-14 Andreas Jaeger <aj@suse.de>
40057
40058 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40059 memset declaration.
40060
3154bfb8
UD
400612011-06-10 Andreas Schwab <schwab@redhat.com>
40062
40063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40064 tmpbuf.
40065
b350afab
RM
400662011-06-10 Roland McGrath <roland@hack.frob.com>
40067
decd4e50
RM
40068 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40069 * elf/Makefile ($(objpfx)ld.so): Likewise.
40070
5615eaf2
RM
40071 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40072 Don't list ld.so twice in dependencies.
40073
40074 * posix/bug-regex31.c: Include <stdlib.h>.
40075
40076 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40077
40078 * nis/nss_compat/compat-spwd.c
40079 (getspent_next_nss_netgr): Remove unused variable.
40080 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40081
40082 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40083 nonmembers" output to use the right array.
40084
40085 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40086
40087 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40088
40089 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40090 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40091 * catgets/gencat.c (read_input_file): Likewise.
40092 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40093
40094 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40095 variable definition inside #if's controlling its use.
40096
40097 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40098
40099 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40100
40101 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40102
40103 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40104 unreachable code.
40105
40106 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40107
b68e08db
RM
40108 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40109 * configure: Regenerated.
40110
b350afab
RM
40111 * Makerules: Revert last change.
40112 * elf/Makefile: Likewise.
40113
28368601
RM
401142011-06-09 Roland McGrath <roland@hack.frob.com>
40115
40116 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40117 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40118 (reloc-link): Likewise.
40119
11988f8f
UD
401202011-06-09 Ulrich Drepper <drepper@gmail.com>
40121
40122 * elf/Makefile: Add rules to build pldd.
40123 * elf/pldd.c: New file.
40124 * elf/pldd-xx.c: New file.
40125
e80fab37
UD
401262011-06-07 Ulrich Drepper <drepper@gmail.com>
40127
40128 * version.h: Update for 2.15 development version.
40129
9b849836
DM
401302011-06-07 David S. Miller <davem@davemloft.net>
40131
40132 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40133 ifuncs.
40134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40135 elf_machine_lazy_rel): Likewise.
40136 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40138 elf_machine_lazy_rel): Likewise.
40139 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40140 dl_hwcap via passed in argument.
40141 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40142 Likewise.
40143
5a31b283
AK
401442011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40145
40146 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40147
069e52f8
RM
401482011-06-06 Roland McGrath <roland@hack.frob.com>
40149
40150 [BZ #12849]
40151 * manual/fdl-1.1.texi: New file, verbatim from:
40152 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40153 * manual/lgpl-2.1.texi: New file, verbatim from:
40154 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40155 * manual/Makefile (licenses): New variable, list those new file names.
40156 (texis): Use it.
40157 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40158
40159 * manual/fdl.texi: File removed.
40160 * manual/lesser.texi: File removed.
40161 * manual/libc.texinfo (Copying, Documentation License):
40162 Use new @include file names, put @appendix directive before @include.
40163
f16846a5
JJ
401642011-06-04 Jakub Jelinek <jakub@redhat.com>
40165
40166 [BZ #12841]
40167 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40168 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40169 (mq_open): Add __NTH.
40170
3d29045b
L
401712011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40172
40173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40174 Assume Intel Core i3/i5/i7 processor if AVX is available.
40175
8c297311
UD
401762011-05-31 Ulrich Drepper <drepper@gmail.com>
40177
40178 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40179 typo.
40180
c8fc0c91
UD
401812011-05-31 Andreas Schwab <schwab@redhat.com>
40182
40183 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40184 memory. Use alloca_account. Fix memory leak when retrying.
40185
5b27a807
UD
401862011-05-31 Ulrich Drepper <drepper@gmail.com>
40187
356f8bc6
UD
40188 * version.h (RELEASE): Bump for 2.14 release.
40189 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40190
5b27a807
UD
40191 * config.make.in (RANLIB): Remove entry.
40192
01f16ab0
UD
401932011-05-30 Ulrich Drepper <drepper@gmail.com>
40194
41fce8bd
UD
40195 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40196 (libc.pot): Work around missing support for .ksh extension in xgettext.
40197
4769ae77
UD
40198 [BZ #12684]
40199 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40200 if both request failed.
40201 (send_dg): In case of server errors clear resplen or *resplen2.
40202
6b1e7d19
UD
40203 [BZ #12454]
40204 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40205 when there are multiple maps.
40206 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40207 (_dl_fini): Remove test here.
40208
01f16ab0
UD
40209 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40210
b1ebd700
UD
402112011-05-29 Ulrich Drepper <drepper@gmail.com>
40212
7ae22829
UD
40213 [BZ #12350]
40214 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40215 bit from old_res_options.
40216 (gaih_inet): Likewise.
40217
553149f6 40218 [BZ #11099]
18a84741 40219 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40220 as signed.
40221
652ffab1
UD
40222 * resolv/res_init.c (res_setoptions): Make the code more compact.
40223
16985fd0
UD
40224 [BZ #11558]
40225 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40226 set RES_USEVC.
40227
0464f746
UD
40228 [BZ #11634]
40229 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40230
7d17596c
UD
40231 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40232
cf6bbbd7
UD
40233 [BZ #11781]
40234 * malloc/malloc.h: Declare malloc hook variables as volatile.
40235
13f1ab36
UD
40236 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40237 in last patch.
40238
b1ebd700
UD
40239 [BZ #11799]
40240 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40241 raise in the comment.
80e2212d
UD
40242 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40243 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40244 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40245
ce67228d
UD
402462011-05-28 Ulrich Drepper <drepper@gmail.com>
40247
8887a920
UD
40248 [BZ #12811]
40249 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40250 grow the buffers more if it already has to be sufficient.
40251 (build_wcs_upper_buffer): Likewise.
40252 * posix/regexec.c (check_matching): Likewise.
40253 (clean_state_log_if_needed): Likewise.
40254 (extend_buffers): Don't enlarge buffers beyond size of the input
40255 buffer.
40256 Patches mostly by Emil Wojak <emil@wojak.eu>.
40257 * posix/bug-regex32.c: New file.
40258 * posix/Makefile (tests): Add bug-regex32.
40259
4f031072
UD
40260 * locale/findlocale.c (_nl_find_locale): Return right away if
40261 _nl_explode_name failed.
40262 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40263
d0478f0c
UD
40264 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40265
de81b246
UD
40266 * debug/xtrace.sh: Unify messages.
40267 * malloc/memusage.sh: Likewise.
40268
c738465a
UD
40269 [BZ #12813]
40270 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40271 time symbol from vDSO. Substitute with vsyscall if not available.
40272 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40273 __vdso_time.
40274
f1f929d7
UD
40275 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40276 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40277 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40278 Add sendmmsg and internal_sendmmsg.
40279 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40280 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40281 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40282
ce67228d
UD
40283 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40284 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40285 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40286
e57420c6
UD
402872011-05-27 Ulrich Drepper <drepper@gmail.com>
40288
a8509ca5
UD
40289 [BZ #12813]
40290 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40291 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40292 available.
40293 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40294 __vdso_getcpu.
40295
e57420c6
UD
40296 [BZ #12814]
40297 * iconvdata/Makefile (tests): Add bug-iconv9.
40298 * iconvdata/bug-iconv9.c: New file.
40299
4d07db15
AS
403002011-05-27 Andreas Schwab <schwab@redhat.com>
40301
40302 [BZ #12814]
40303 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40304
ea486f69
JJ
403052011-05-25 Jakub Jelinek <jakub@redhat.com>
40306
40307 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40308 (struct user_regs_struct): Change intcs field back to cs.
40309
6f038433
UD
403102011-05-25 Ulrich Drepper <drepper@gmail.com>
40311
40312 * po/ja.po: Update from translation team.
40313
67f86a25
UD
403142011-05-23 Ulrich Drepper <drepper@gmail.com>
40315
40316 [BZ #12795]
40317 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40318 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40319
def7fbd6
AS
403202011-05-20 Andreas Schwab <schwab@redhat.com>
40321
40322 * stdlib/longlong.h: Update from GCC.
40323
f50ef8f1
AS
403242011-05-23 Andreas Schwab <schwab@redhat.com>
40325
40326 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40327 parameter name.
40328 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40329 Add parameter name.
40330 (__sysconf): Pass it down.
40331
de7ce8f1
UD
403322011-05-22 Ulrich Drepper <drepper@gmail.com>
40333
f2962a71
UD
40334 [BZ #12671]
40335 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40336 some situations.
40337 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40338 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40339 add in in __libc_use_alloca calls. Adjust callers.
40340 (glob): Use malloc in some situations.
40341
de7ce8f1
UD
40342 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40343 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40344 pltexit.
40345
aec84f53
UD
403462011-05-21 Ulrich Drepper <drepper@gmail.com>
40347
05bb4a68
UD
40348 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40349 and CLOCK_BOOTTIME_ALARM.
40350
7ea72f99
UD
40351 [BZ #12782]
40352 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40353 is returned.
40354
7e4afad5
UD
40355 * string/_strerror.c (__strerror_r): Print negative errors as signed
40356 numbers.
40357
8e211fec
UD
40358 [BZ #12777]
40359 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40360 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40361 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40362
f7d82dc9
UD
40363 * configure.in: Fix typo in redirection and correct removal of test
40364 files in two cases.
40365
cc9e536d
UD
40366 [BZ #12788]
40367 * locale/setlocale.c (new_composite_name): Fix test to check for
40368 identical name of all categories.
40369
aec84f53
UD
40370 [BZ #12792]
40371 * libio/filedoalloc.c (local_isatty): New function.
40372 (_IO_file_doallocate): Use local_isatty.
40373 * stdio-common/perror.c (perror): In case a new stream is used
40374 forward the stream error.
40375 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40376 error flag.
40377
78e64fdc
RT
403782011-05-20 Ulrich Drepper <drepper@gmail.com>
40379
34a9094f
UD
40380 [BZ #11869]
40381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40382 alloca.
40383 * include/alloca.h (extend_alloca_account): Define.
40384
78e64fdc
RT
40385 [BZ #11857]
40386 * posix/regex.h: Fix comments with documentation of user-accessible
40387 fields after compilation and describe correct free'ing of pattern
40388 after re_compile_pattern.
40389 Patch by Reuben Thomas <rrt@sc3d.org>.
40390
457bddfc
RA
403912011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40392
40393 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40394 and -mno-altivec to prevent the compiler from using Altivec and/or
40395 VSX instructions when the corresponding registers are not available.
40396
a4527b51
AS
403972011-05-19 Andreas Schwab <schwab@redhat.com>
40398
40399 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40400
ed690b2f
UD
404012011-05-19 Ulrich Drepper <drepper@gmail.com>
40402
40403 * libio/freopen.c (freopen): Use __dup2, not dup2.
40404 * libio/freopen64.c (freopen64): Likewise.
40405
8db73634
L
404062011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40407
40408 [BZ #12775]
40409 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40410 * math/Makefile (tests): Add test-powl.
40411 (CFLAGS-test-powl.c): Define.
40412 * math/test-powl.c: New file.
40413
0a197a9d
L
404142011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40415
40416 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40417
ee30c380
UD
404182011-05-17 Ulrich Drepper <drepper@gmail.com>
40419
40420 [BZ #11837]
40421 * iconvdata/gb18030.c: Update to GB18020-2005.
40422
6ce75379
UD
404232011-05-16 Ulrich Drepper <drepper@gmail.com>
40424
a4b89fd8
AR
40425 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40426 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40427 Patch by Aharon Robbins <arnold@skeeve.com>.
40428
ea389b12
UD
40429 [BZ #11892]
40430 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40431 on the stack.
40432
68a3f91f
UD
40433 [BZ #11895]
40434 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40435 through underflows.
40436
15cc7dd1
UD
40437 [BZ #12766]
40438 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40439 point to strings before performing equality test for error_one_per_line
40440 mode.
40441
f3799213
UD
40442 [BZ #11697]
40443 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40444
d79a9c94
UD
40445 [BZ #11820]
40446 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40447 (struct user_fpregs_struct): Avoid __uint*_t types.
40448
56e5eb46
UD
40449 [BZ #6420]
40450 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40451 symbol info. Use it instead of calling _dl_addr locally.
40452 (lock_and_info): New function.
40453 (tr_freehook): Call lock_and_info and pass symbol info as additional
40454 parameter to tr_where.
40455 (tr_mallochook): Likewise.
40456 (tr_reallochook): Likewise.
40457 (tr_memalignhook): Likewise.
40458
6ce75379
UD
40459 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40460 used and couldn't be at all thread-safe.
40461
f8a3b5bf
UD
404622011-05-15 Ulrich Drepper <drepper@gmail.com>
40463
94b7cc37
UD
40464 * libio/freopen.c (freopen): Don't close old file descriptor
40465 before the new one is opened. Instead dup the new file descriptor
40466 to the old one after the new stream is created.
40467 * libio/freopen64.c (freopen64): Likewise.
40468 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40469 * libio/fileops.c (_IO_new_file_close_it): Handle new
40470 _IO_FLAGS2_NOCLOSE flag.
40471 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40472 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40473 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40474 _IO_FLAGS2_NOCLOSE flag.
40475 * include/unistd.h: Add hidden_proto for dup3.
40476 Define __have_dup3.
40477 * io/dup3.c: Define hidden symbol.
40478 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40479
bd25564e
UD
40480 [BZ #7101]
40481 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40482 when an incomplete long option is used.
40483 * posix/tst-getopt_long1.c: New file.
40484 * posix/Makefile (tests): Add tst-getopt_long1.
40485
c84cfef4
UD
40486 [BZ #10138]
40487 * scripts/config.guess: Update from autoconf-2.68.
40488 * scripts/config.sub: Likewise.
40489
3b85df27
UD
40490 [BZ #10157]
40491 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40492 tests into ...
40493 (has_cpuclock): ...this. New function.
40494 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40495 macro here based on has_cpuclock code.
40496
15a856b1
UD
40497 [BZ #10149]
40498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40499 First byte (not low byte) is now always NUL.
40500 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40501
05f399e6
UD
40502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40503 Use non-cancelable interfaces.
40504
10a52685 40505 [BZ #9809]
94ecc67d
UD
40506 * locale/iso-639.def: Add entry for Sorani.
40507
f8a3b5bf
UD
40508 [BZ #11901]
40509 * include/stdlib.h: Move include protection to the right place.
40510 Define abort_msg_s. Declare __abort_msg with it.
40511 * stdlib/abort.c (__abort_msg): Adjust type.
40512 * assert/assert.c (__assert_fail_base): New function. Majority
40513 of code from __assert_fail. Allocate memory for __abort_msg with
40514 mmap.
40515 (__assert_fail): Now call __assert_fail_base.
40516 * assert/assert-perr.c: Remove bulk of implementation. Use
40517 __assert_fail_base.
40518 * include/assert.hL Declare __assert_fail_base.
40519 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40520 mmap.
40521 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40522
1af4e298
UD
405232011-05-14 Ulrich Drepper <drepper@gmail.com>
40524
f8a3b5bf 40525 [BZ #11952]
d26dfc60
MG
40526 [BZ #12453]
40527 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40528 until all modules are registered in the DTV.
40529 * elf/Makefile: Add rules to build and run tst-tls19.
40530 * elf/tst-tls19.c: New file.
40531 * elf/tst-tls19mod1.c: New file.
40532 * elf/tst-tls19mod2.c: New file.
40533 * elf/tst-tls19mod3.c: New file.
40534 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40535
2fc54d6f
UD
40536 [BZ #12083]
40537 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40538 correctly.
40539
98d76b46
UD
40540 [BZ #12601]
40541 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40542 two-byte sequence errors.
40543 * iconvdata/Makefile (tests): Add bug-iconv8.
40544 * iconvdata/bug-iconv8.c: New file.
40545
da3c19ef
UD
40546 [BZ #12626]
40547 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40548 buf2 definition.
40549
ca408c15
UD
40550 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40551
d6f67f7d
UD
40552 [BZ #12432]
40553 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40554 (dummy_getcfa): New function.
40555 (init): Get _Unwind_GetCFA address, use dummy if not found.
40556 (backtrace_helper): In recursion check, also check whether CFA changes.
40557 (__backtrace): Completely initialize arg.
40558
1af4e298 40559 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40560 storing incomplete byte sequence in state object. Avoid testing for
40561 guaranteed too small input if we know there is enough data available.
1af4e298 40562
da62f81b
AS
405632011-05-11 Andreas Schwab <schwab@redhat.com>
40564
40565 * Makeconfig (+link-pie): Indent.
40566 * Rules (binaries-pie): Define if $(have-fpie) and
40567 $(build-shared).
40568 (binaries-shared): Also filter out $(binaries-pie).
40569 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40570 * nscd/Makefile (others-pie): Add nscd.
40571 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40572 ($(objpfx)nscd): Remove command override.
40573 * login/Makefile (others-pie): Add pt_chown.
40574 ($(objpfx)pt_chown): Remove command override.
40575 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40576 remove command overrides.
40577
fcabc0f8
UD
405782011-05-13 Ulrich Drepper <drepper@gmail.com>
40579
20030ae6
UD
40580 * libio/tst_putwc.c: Fix error messages.
40581
fcabc0f8
UD
40582 [BZ #12724]
40583 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40584 currently writing and seek to current position when not.
40585 * libio/Makefile (tests): Add bug-fclose1.
40586 * libio/bug-fclose1.c: New file.
40587
320a5dc0
PB
405882011-05-12 Ulrich Drepper <drepper@gmail.com>
40589
40590 [BZ #12511]
40591 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40592 don't set DF_1_NODELETE here.
40593 (do_lookup_x): When entering new entry test for copy relocation
40594 and if necessary set DF_1_NODELETE flag.
40595 * elf/tst-unique4.cc: New file.
40596 * elf/tst-unique4.h: New file.
40597 * elf/tst-unique4lib.cc: New file.
40598 * elf/Makefile: Add rules to build and run tst-unique4.
40599 Patch by Piotr Bury <pbury@goahead.com>.
40600
22836f52
UD
406012011-05-11 Ulrich Drepper <drepper@gmail.com>
40602
f574184a
UD
40603 [BZ #12052]
40604 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40605
e1fb097f
UD
40606 [BZ #12625]
40607 * misc/mntent_r.c (addmntent): Flush the stream after the output
40608
22836f52
UD
40609 [BZ #12393]
40610 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40611 (is_trusted_path_normalize): Skip initial colon. Append slash
40612 to empty buffer. Duplicate is_trusted_path code but allow
40613 constructed patch to be prefix.
40614 (is_dst): Allow $ORIGIN followed by /.
40615 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40616 Correct testing of result of is_trusted_path_normalize
40617 (decompose_rpath): Fix warning.
40618
7b3b0b2a
UD
406192011-05-10 Ulrich Drepper <drepper@gmail.com>
40620
40621 [BZ #11257]
40622 * grp/initgroups.c (internal_getgrouplist): When we found the service
40623 list through the initgroups entry in nsswitch.conf do not always
40624 continue on a successful lookup. Don't always use the
eac80ce2 40625 __nss_group_database value if it is set.
7b3b0b2a
UD
40626 * nss/nsswitch.conf (initgroups): Change action for successful db
40627 lookup to continue for compatibility.
40628
2a81eaa5
UD
406292011-05-09 Ulrich Drepper <drepper@gmail.com>
40630
be97a69e
UD
40631 [BZ #11532]
40632 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40633 and CP774 modules.
40634 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40635 and CP774 modules.
40636 * iconvdata/tst-tables.sh: Likewise.
40637 * iconvdata/cp770.c: New file.
40638 * iconvdata/cp771.c: New file.
40639 * iconvdata/cp772.c: New file.
40640 * iconvdata/cp773.c: New file.
40641 * iconvdata/cp774.c: New file.
40642 * iconvdata/testdata/CP770: New file.
40643 * iconvdata/testdata/CP770..UTF8: New file.
40644 * iconvdata/testdata/CP771: New file.
40645 * iconvdata/testdata/CP771..UTF8: New file.
40646 * iconvdata/testdata/CP772: New file.
40647 * iconvdata/testdata/CP772..UTF8: New file.
40648 * iconvdata/testdata/CP773: New file.
40649 * iconvdata/testdata/CP773..UTF8: New file.
40650 * iconvdata/testdata/CP774: New file.
40651 * iconvdata/testdata/CP774..UTF8: New file.
40652
40653 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40654 END CHARMAP line.
40655 * iconvdata/gen-8bit-gap.sh: Likewise.
40656 * iconvdata/gen-8bit.sh: Likewise.
40657
c1e9e399
UD
40658 * locale/iso-639.def: Add ary entry.
40659
24c55fb3 40660 [BZ #11258]
96b4b1b0
UD
40661 * locale/C-translit.h.in: Add U20A1 transliteration.
40662
bdc2f971
KB
40663 [BZ #12178]
40664 * locale/iso-639.def: Add wae entry.
40665 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40666
2952b117
UD
40667 [BZ #12545]
40668 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40669 for n.
40670
2a81eaa5
UD
40671 [BZ #12711]
40672 * locale/C-translit.h.in: Add entry for U20B9.
40673 Patch by pravin.d.s@gmail.com.
40674
28377d1b
UD
406752011-05-08 Ulrich Drepper <drepper@gmail.com>
40676
7fb90fb8
UD
40677 [BZ #12713]
40678 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40679 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40680 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40681 in rtld. Use *stat64.
7fb90fb8 40682 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40683 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40684 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40685 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40686 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40687 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40688 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40689 __fstatat64 macros.
7fb90fb8
UD
40690 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40691 * dirent/rewinddir.c: Add libc_hidden_def.
40692 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40693 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40694
28377d1b
UD
40695 * include/dirent.h (__alloc_dir): Add flags parameter.
40696 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40697 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40698 __alloc_dir.
40699 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40700 from fdopendir if O_CLOEXEC is already set.
40701
66bdbaa4
AM
407022011-03-15 Alan Modra <amodra@gmail.com>
40703
40704 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40705 l_tls_firstbyte_offset non-zero. Save padding offset in
40706 l_tls_firstbyte_offset for later use.
40707 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40708 freeing static tls block.
40709
95721191
JN
407102011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40711
40712 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40713 where #ifdef was intended. The intent is to prevent ARG_MAX from
40714 being defined by the kernel headers.
40715
f87dfb1f
UD
407162011-05-07 Ulrich Drepper <drepper@gmail.com>
40717
40718 [BZ #12734]
40719 * resolv/resolv.h: Define RES_NOTLDQUERY.
40720 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40721 no-tld-query and set RES_NOTLDQUERY.
40722 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40723 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40724 modern BIND to search name as TLD unless forbidden.
40725
47c3cd7a
UD
407262011-05-07 Petr Baudis <pasky@suse.cz>
40727 Ulrich Drepper <drepper@gmail.com>
40728
40729 [BZ #12393]
40730 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40731 (is_trusted_path): ...to here.
c1e9ea35 40732 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40733 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40734 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40735
8a35c912
PP
407362011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40737
40738 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40739 __BEGIN/__END_DECLS.
40740
acd41f47
UD
407412011-05-06 Ulrich Drepper <drepper@gmail.com>
40742
40743 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40744 NSS_STATUS_NOTFOUND if no record was found.
40745
597df647
AS
407462011-05-05 Andreas Schwab <schwab@redhat.com>
40747
40748 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40749 (headers-not-in-tirpc): Remove rpc/netdb.h
40750 * resolv/netdb.h: Revert last change.
40751
b9af1301
PP
407522011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40753
40754 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40755 circular dependency between libgcc.a and libc.a.
40756
4e34d5f5
AS
407572011-05-05 Andreas Schwab <schwab@redhat.com>
40758
40759 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40760 * nis/Makefile: Don't install rpcsvc/*.
40761 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40762 instead of <rpc/types.h>.
40763 (MAXHOSTNAMELEN): Define.
40764
00ee369c
AS
407652011-05-03 Andreas Schwab <schwab@redhat.com>
40766
40767 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40768
0b592a30
MB
407692011-04-28 Maciej Babinski <mbabinski@google.com>
40770
40771 [BZ #12714]
40772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40773 gethostbyname4_r when IPv6 results are possible.
40774
6e04cbbe
UD
407752011-05-02 Ulrich Drepper <drepper@gmail.com>
40776
40777 [BZ #12723]
40778 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40779 _PC_PIPE_BUF handling.
40780
e4ecafe0
BH
407812011-04-30 Bruno Haible <bruno@clisp.org>
40782
40783 [BZ #12717]
40784 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40785 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40786 to 'int'.
40787 * inet/getnameinfo.c (getnameinfo): Likewise.
40788
125ee683
UD
407892011-04-29 Ulrich Drepper <drepper@gmail.com>
40790
40791 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40792 to groups setting in database lookup.
40793 * nss/nsswitch.conf: Add initgroups entry.
40794
b722481a
EB
407952011-04-22 Ulrich Drepper <drepper@gmail.com>
40796
40797 [BZ #12685]
40798 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40799 mode string.
40800 Patch by Eric Blake <eblake@redhat.com>.
40801
4df46dbd
L
408022011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40803
40804 * sunrpc/Makefile (need-export-routines): Add svc_run.
40805 (routines): Remove svc_run.
40806 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40807 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40808 * sunrpc/svc_run.c (svc_run): Likewise.
40809 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40810
e84142d2
UD
408112011-04-21 Ulrich Drepper <drepper@gmail.com>
40812
40813 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40814 problem in reallocation in last patch.
40815
877175d8
UD
408162011-04-20 Ulrich Drepper <drepper@gmail.com>
40817
40818 * sunrpc/Makefile: Move inclusion of Rules.
40819
ab8eed78
UD
408202011-04-19 Ulrich Drepper <drepper@gmail.com>
40821
40822 * nss/nss_files/files-initgroups.c: New file.
40823 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40824 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40825 _nss_files_initgroups_dyn.
40826
e3d8f584
RS
408272011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40828
40829 * elf/elf.h (R_ARM_IRELATIVE): Define.
40830
af190f45
UD
408312011-04-19 Ulrich Drepper <drepper@gmail.com>
40832
40833 * po/ru.po: Update from translation team.
40834
53cf59ef
UD
408352011-04-17 Ulrich Drepper <drepper@gmail.com>
40836
40837 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40838 dependencies.
40839
4c559bcd
MF
408402011-02-06 Mike Frysinger <vapier@gentoo.org>
40841
40842 [BZ #12653]
40843 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40844 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40845 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40846 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40847 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40848
4420675c
AS
408492011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40850
40851 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40852 differing bytes.
40853 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40854 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40855 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40856
75ea32ab
UD
408572011-04-17 Ulrich Drepper <drepper@gmail.com>
40858
40859 [BZ #12420]
40860 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40861 storing it.
40862 * stdlib/bug-getcontext.c: New file.
40863 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40864
27390476
AK
408652011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40866
40867 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40868 instructions into .machine "z9-109".
40869 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40870 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40871
10442705
AK
408722011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40873
40874 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40875 between environment variables and auxiliary vector.
40876
7b57bfe5
UD
408772011-04-16 Ulrich Drepper <drepper@gmail.com>
40878
40879 * Makefile: Add rules to build linkobj/libc.so.
40880 * include/libc-symbols.h: Define libc_hidden_nolink.
40881 * include/rpc/auth.h: Mark functions which are to be hidden.
40882 * include/rpc/auth_des.h: Likewise.
40883 * include/rpc/auth_unix.h: Likewise.
40884 * include/rpc/clnt.h: Likewise.
40885 * include/rpc/des_crypt.h: Likewise.
40886 * include/rpc/key_prot.h: Likewise.
40887 * include/rpc/pmap_clnt.h: Likewise.
40888 * include/rpc/pmap_prot.h: Likewise.
40889 * include/rpc/pmap_rmt.h: Likewise.
40890 * include/rpc/rpc_msg.h: Likewise.
40891 * include/rpc/svc.h: Likewise.
40892 * include/rpc/svc_auth.h: Likewise.
40893 * include/rpc/xdr.h: Likewise.
40894 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40895 * nss/Makefile: Likewise.
40896 * sunrpc/Makefile: Don't install headers. Build library with normal
40897 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40898 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40899 for the compat linking library. Remove use of INTDEF/INTUSE.
40900 * sunrpc/auth_none.c: Likewise.
40901 * sunrpc/auth_unix.c: Likewise.
40902 * sunrpc/authdes_prot.c: Likewise.
40903 * sunrpc/authuxprot.c: Likewise.
40904 * sunrpc/clnt_gen.c: Likewise.
40905 * sunrpc/clnt_perr.c: Likewise.
40906 * sunrpc/clnt_raw.c: Likewise.
40907 * sunrpc/clnt_simp.c: Likewise.
40908 * sunrpc/clnt_tcp.c: Likewise.
40909 * sunrpc/clnt_udp.c: Likewise.
40910 * sunrpc/clnt_unix.c: Likewise.
40911 * sunrpc/des_crypt.c: Likewise.
40912 * sunrpc/des_soft.c: Likewise.
40913 * sunrpc/get_myaddr.c: Likewise.
40914 * sunrpc/key_call.c: Likewise.
40915 * sunrpc/key_prot.c: Likewise.
40916 * sunrpc/netname.c: Likewise.
40917 * sunrpc/pm_getmaps.c: Likewise.
40918 * sunrpc/pm_getport.c: Likewise.
40919 * sunrpc/pmap_clnt.c: Likewise.
40920 * sunrpc/pmap_prot.c: Likewise.
40921 * sunrpc/pmap_prot2.c: Likewise.
40922 * sunrpc/pmap_rmt.c: Likewise.
40923 * sunrpc/publickey.c: Likewise.
40924 * sunrpc/rpc_cmsg.c: Likewise.
40925 * sunrpc/rpc_common.c: Likewise.
40926 * sunrpc/rpc_dtable.c: Likewise.
40927 * sunrpc/rpc_prot.c: Likewise.
40928 * sunrpc/rpc_thread.c: Likewise.
40929 * sunrpc/rtime.c: Likewise.
40930 * sunrpc/svc.c: Likewise.
40931 * sunrpc/svc_auth.c: Likewise.
40932 * sunrpc/svc_authux.c: Likewise.
40933 * sunrpc/svc_raw.c: Likewise.
40934 * sunrpc/svc_run.c: Likewise.
40935 * sunrpc/svc_simple.c: Likewise.
40936 * sunrpc/svc_tcp.c: Likewise.
40937 * sunrpc/svc_udp.c: Likewise.
40938 * sunrpc/svc_unix.c: Likewise.
40939 * sunrpc/svcauth_des.c: Likewise.
40940 * sunrpc/xcrypt.c: Likewise.
40941 * sunrpc/xdr.c: Likewise.
40942 * sunrpc/xdr_array.c: Likewise.
40943 * sunrpc/xdr_float.c: Likewise.
40944 * sunrpc/xdr_intXX_t.c: Likewise.
40945 * sunrpc/xdr_mem.c: Likewise.
40946 * sunrpc/xdr_rec.c: Likewise.
40947 * sunrpc/xdr_ref.c: Likewise.
40948 * sunrpc/xdr_sizeof.c: Likewise.
40949 * sunrpc/xdr_stdio.c: Likewise.
40950
e6c61494
UD
409512011-04-10 Ulrich Drepper <drepper@gmail.com>
40952
40953 [BZ #12650]
40954 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40955 * sysdeps/ia64/dl-tls.h: Likewise.
40956 * sysdeps/powerpc/dl-tls.h: Likewise.
40957 * sysdeps/s390/dl-tls.h: Likewise.
40958 * sysdeps/sh/dl-tls.h: Likewise.
40959 * sysdeps/sparc/dl-tls.h: Likewise.
40960 * sysdeps/x86_64/dl-tls.h: Likewise.
40961 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40962
34fe483e
AS
409632011-03-14 Andreas Schwab <schwab@redhat.com>
40964
40965 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40966 rpath element also skip the following colon.
40967 (expand_dynamic_string_token): Add is_path parameter and pass
40968 down to DL_DST_REQUIRED and _dl_dst_substitute.
40969 (decompose_rpath): Call expand_dynamic_string_token with
40970 non-zero is_path. Ignore empty rpaths.
40971 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40972 with zero is_path.
40973
f12a32e6
AS
409742011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40975
40976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40977 Make cancelable.
40978
38a7d692
UD
409792011-04-09 Ulrich Drepper <drepper@gmail.com>
40980
40981 [BZ #12655]
40982 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40983 Patch by Filipe David Manana <fdmanana@apache.org>.
40984
e451d22b
AS
409852011-04-07 Andreas Schwab <schwab@redhat.com>
40986
40987 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40988 Maintain aligned stack.
40989 (CHECK_RSP): Remove unused macro.
40990
dedc7c7b
UD
409912011-04-03 Ulrich Drepper <drepper@gmail.com>
40992
40993 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40994 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40995
94521213
UD
409962011-04-02 Ulrich Drepper <drepper@gmail.com>
40997
40998 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40999
8cb700c0 41000 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41001
0354e355
L
410022011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41003
41004 [BZ #12518]
41005 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41006 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41007 * sysdeps/x86_64/memmove.c: New file.
41008 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41009 (memcpy): Renamed to ...
41010 (__new_memcpy): This.
41011 (memcpy): Provide GLIBC_2_14 memcpy.
41012 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41013 (memcpy): Provide GLIBC_2_2_5 memcpy.
41014
8593482f
UD
410152011-04-01 Ulrich Drepper <drepper@gmail.com>
41016
41017 [BZ #12631]
41018 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41019
81a5726b
AS
410202011-03-30 Andreas Schwab <schwab@redhat.com>
41021
41022 * misc/syncfs.c: New file.
41023 * misc/Makefile (routines): Add syncfs.
41024 * posix/unistd.h: Declare syncfs.
41025 * sysdeps/unix/syscalls.list: Add syncfs.
41026
00e5419f
AS
410272011-04-01 Andreas Schwab <schwab@redhat.com>
41028
41029 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41030 open_by_handle_at.
41031 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41032 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41034 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41035 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41036 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41037 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41038
748876bf
UD
410392011-04-01 Ulrich Drepper <drepper@gmail.com>
41040
658e451d
UD
41041 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41042 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41043 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41045 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41047 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41048
748876bf
UD
41049 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41050 sync_file_range.c with -fexceptions.
41051 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41052 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41053 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41054 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41055 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41056 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41058 sync_file_range as cancellation point
41059 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41060 now a wrapper around __call_sync_file_range with cancellation handling.
41061 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41062 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41063 function name to __call_sync_file_range.
41064 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41065 Add call_sync_file_range.
748876bf 41066
6e63d5e1
AS
410672011-04-01 Andreas Schwab <schwab@redhat.com>
41068
41069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41070 bits/timex.h.
6e63d5e1 41071
46998f74
UD
410722011-04-01 Ulrich Drepper <drepper@gmail.com>
41073
4c1423ed
UD
41074 * iconv/iconv.h: Fix typo in comment.
41075 * io/fcntl.h: Likewise.
41076 * libio/stdio.h: Likewise.
41077 * posix/spawn.h: Likewise.
41078 * posix/unistd.h: Likewise.
41079 * stdlib/stdlib.h: Likewise.
41080 * time/time.h: Likewise.
41081 * wcsmbs/wchar.h: Likewise.
41082
158648c0
UD
41083 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41084 open_by_handle): Add.
41085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41086 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41087 Augment a few comments.
41088 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41089 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41090 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41092 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41093 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41094 open_by_handle.
41095
46998f74
UD
41096 * io/fcntl.h (AT_EMPTY_PATH): Define.
41097
83fe108b
UD
410982011-03-30 Ulrich Drepper <drepper@gmail.com>
41099
41100 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41101 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41102 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41103 to...
41104 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41105 * Versions.def: Add GLIBC_2.14.
41106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41107 Export.
83fe108b 41108
bb242059
UD
411092011-03-22 Ulrich Drepper <drepper@gmail.com>
41110
41111 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41112 round counter.
41113 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41114
c97a1282
L
411152011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41116
41117 [BZ #12597]
41118 * string/test-strncmp.c (do_page_test): New function.
41119 (check2): Likewise.
41120 (test_main): Call check2.
41121 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41122
2a115601
UD
411232011-03-20 Ulrich Drepper <drepper@gmail.com>
41124
41125 [BZ #12587]
41126 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41127 Handle cache information in CPU leaf 4.
41128 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41129
8126d904
UD
411302011-03-18 Ulrich Drepper <drepper@gmail.com>
41131
042c49c6 41132 [BZ #12583]
8126d904
UD
41133 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41134 character representation.
41135 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41136
ccfe366e
RA
411372011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41138
41139 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41140 END(__isnan) to END(__isnanf) to match function entry point/label
41141 EALIGN(__isnanf,...).
41142
c6e13027
JJ
411432011-03-10 Jakub Jelinek <jakub@redhat.com>
41144
41145 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41146
33f85a3f
UD
411472011-03-10 Ulrich Drepper <drepper@gmail.com>
41148
028478fa
UD
41149 [BZ #12510]
41150 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41151 copy from the symbol referenced in the relocation to initialize the
41152 used variable.
41153 Patch by Piotr Bury <pbury@goahead.com>.
41154 * elf/Makefile: Add rules to build and tst-unique3.
41155 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41156 * elf/tst-unique3.cc: New file.
41157 * elf/tst-unique3.h: New file.
41158 * elf/tst-unique3lib.cc: New file.
41159 * elf/tst-unique3lib2.cc: New file.
41160
33f85a3f
UD
41161 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41162
03592fc7
MF
411632011-03-10 Mike Frysinger <vapier@gentoo.org>
41164
41165 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41166 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41167 to _start.
03592fc7 41168
6a5ee102
UD
411692011-03-06 Ulrich Drepper <drepper@gmail.com>
41170
41171 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41172 to-be-loaded object along a path to loader is ld.so.
41173
7e4ba49c
HJ
411742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41175 Ulrich Drepper <drepper@gmail.com>
41176
41177 * sysdeps/x86_64/memset.S: After aligning destination, code
41178 branches to different locations depending on the value of
41179 misalignment, when multiarch is enabled. Fix this.
41180
411812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41182
41183 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41184 Set _x86_64_preferred_memory_instruction for AMD processsors.
41185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41186 Set bit_Prefer_SSE_for_memop for AMD processors.
41187
13a804de
UD
411882011-03-04 Ulrich Drepper <drepper@gmail.com>
41189
41190 * libio/fmemopen.c (fmemopen): Optimize a bit.
41191
9d25c392
AS
411922011-03-03 Andreas Schwab <schwab@redhat.com>
41193
41194 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41195
a5543c6a
RM
411962011-03-03 Roland McGrath <roland@redhat.com>
41197
41198 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41199
012d35f7
DM
412002011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41201
7e4ba49c 41202 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41203 __bzero_ultra1 instead of __memset_ultra1.
41204
4bff6e01
AS
412052011-02-23 Andreas Schwab <schwab@redhat.com>
41206 Ulrich Drepper <drepper@gmail.com>
41207
41208 [BZ #12509]
41209 * include/link.h (struct link_map): Add l_orig_initfini.
41210 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41211 returning unsuccessfully.
41212 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41213 close of a file loaded at startup, restore the original l_initfini
41214 list.
41215 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41216 list, store the pointer.
41217 * elf/Makefile ($(objpfx)noload-mem): New rule.
41218 (noload-ENV): Define.
41219 (tests): Add $(objpfx)noload-mem.
41220 * elf/noload.c: Include <memcheck.h>.
41221 (main): Call mtrace. Close all opened handles.
41222
f2092faf
AS
412232011-02-17 Andreas Schwab <schwab@redhat.com>
41224
41225 [BZ #12454]
41226 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41227 dependencies are missing.
41228
6c8a2e88
ST
412292011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41230
f2092faf 41231 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41232 Hurd needs munmap.
41233 * sysdeps/mach/hurd/ifreq.h: New file.
41234
84a42118
PB
412352011-01-27 Petr Baudis <pasky@suse.cz>
41236 Ulrich Drepper <drepper@gmail.com>
41237
071f805e 41238 [BZ 12445]#
84a42118
PB
41239 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41240 to extend_alloca().
41241 * stdio-common/bug23.c: New file.
41242 * stdio-common/Makefile (tests): Add bug23.
41243
e23fe25b
AS
412442010-09-28 Andreas Schwab <schwab@redhat.com>
41245 Ulrich Drepper <drepper@gmail.com>
41246
41247 [BZ #12489]
41248 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41249 before performing relro protection. At old place add assertion
41250 to make sure nothing changed.
41251
d3f02e10
NS
412522011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41253 Glauber de Oliveira Costa <glommer@gmail.com>
41254
41255 * elf/elf.h: Add new ARM TLS relocs.
41256
d55fd7a5
RA
412572011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41258
41259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41260 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41261 cast from r3.
41262 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41263 'tests' variable.
41264 * sysdeps/wordsize-64/tst-writev.c: New file.
41265
2206397e
RA
412662011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41267
41268 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41269 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41270 insns in _dl_start to prevent a TOC reference before relocs are
41271 resolved.
41272
e9433893
UD
412732011-02-15 Ulrich Drepper <drepper@gmail.com>
41274
41275 [BZ #12469]
41276 * Makeconfig: Remove RANLIB definition.
41277 * Makerules: Don't use RANLIB.
41278 * aclocal.m4: Remove ranlib test.
41279 * configure.in: No need to check for ranlib.
41280 * elf/rtld-Rules: Don't use RANLIB.
41281
f75286c6
ST
412822011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41283
8e31c82d
ST
41284 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41285 protection macro.
41286 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41287 inclusion protection macro.
41288
f75286c6
ST
41289 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41290 SIGRTMIN and SIGRTMAX and print information in that case only when
41291 SIGRTMIN is defined.
41292
c1d0e639
JJ
412932011-02-11 Jakub Jelinek <jakub@redhat.com>
41294
41295 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41296 arginfo fn returning -1.
41297
41298 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41299 and thousands string is zero terminated.
41300
edf9294e
AS
413012011-02-03 Andreas Schwab <schwab@redhat.com>
41302
41303 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41304 sysdeps/unix/sysv/linux/bits/socket.h.
41305
2b7e92df
ST
413062011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41307
edf9294e
AS
41308 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41309 (__CPU_COUNT): Remove old macros.
41310 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41311 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41312 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41313 (__sched_cpualloc, __sched_cpufree): Add declarations.
41314
a4c7ea7b
UD
413152011-02-05 Ulrich Drepper <drepper@gmail.com>
41316
41317 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41318 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41319 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41320 (readdhstai): Return value of addhstaiX call.
41321 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41322 (addgrbyX): Return value returned by cache_addgr.
41323 (readdgrbyname): Return value returned by addgrbyX.
41324 (readdgrbygid): Likewise.
41325 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41326 (addpwbyX): Return value returned by cache_addpw.
41327 (readdpwbyname): Return value returned by addhstbyX.
41328 (readdpwbyuid): Likewise.
41329 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41330 (addservbyX): Return value returned by cache_addserv.
41331 (readdservbyname): Return value returned by addservbyX:
41332 (readdservbyport): Likewise.
41333 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41334 (addhstbyX): Return value returned by cache_addhst.
41335 (readdhstbyname): Return value returned by addhstbyX.
41336 (readdhstbyaddr): Likewise.
41337 (readdhstbynamev6): Likewise.
41338 (readdhstbyaddrv6): Likewise.
41339 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41340 (readdinitgroups): Return value returned by addinitgroupsX.
41341 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41342 (prune_cache): Keep track of timeout value of re-added entries.
41343 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41344 * nscd/nscd.h: Adjust prototypes of readd* functions.
41345
a0bf67cc
RM
413462011-02-04 Roland McGrath <roland@redhat.com>
41347
41348 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41349 (nis_stats): Likewise.
41350 * nis/nis_modify.c (nis_modify): Likewise.
41351 * nis/nis_remove.c (nis_remove): Likewise.
41352 * nis/nis_add.c (nis_add): Likewise.
41353
41354 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41355
41356 * posix/fnmatch_loop.c: Add some consts.
41357
41358 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41359
435b95eb
L
413602011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41361
41362 [BZ #12460]
41363 * config.make.in (config-cflags-novzeroupper): Define.
41364 * configure.in: Substitute libc_cv_cc_novzeroupper.
41365 * elf/Makefile (AVX-CFLAGS): Define.
41366 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41367 (CFLAGS-tst-auditmod4a.c): Likewise.
41368 (CFLAGS-tst-auditmod4b.c): Likewise.
41369 (CFLAGS-tst-auditmod6b.c): Likewise.
41370 (CFLAGS-tst-auditmod6c.c): Likewise.
41371 (CFLAGS-tst-auditmod7b.c): Likewise.
41372 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41373
8517b15e
UD
413742011-02-02 Ulrich Drepper <drepper@gmail.com>
41375
41376 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41377 function to the callback.
41378 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41379
10a656fe
AS
413802011-02-02 Andreas Schwab <schwab@redhat.com>
41381
41382 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41383 of errno.
41384
968dad0a
UD
413852011-01-19 Ulrich Drepper <drepper@gmail.com>
41386
9f94d2ea 41387 [BZ #11724]
968dad0a
UD
41388 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41389 of constructors.
41390 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41391 of destructors.
41392 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41393
41394 [BZ #11724]
41395 * elf/Makefile: Add rules to build and run new test.
41396 * elf/tst-initorder.c: New file.
41397 * elf/tst-initorder.exp: New file.
41398 * elf/tst-initordera1.c: New file.
41399 * elf/tst-initordera2.c: New file.
41400 * elf/tst-initordera3.c: New file.
41401 * elf/tst-initordera4.c: New file.
41402 * elf/tst-initorderb1.c: New file.
41403 * elf/tst-initorderb2.c: New file.
41404 * elf/tst-order-a1.c: New file.
41405 * elf/tst-order-a2.c: New file.
41406 * elf/tst-order-a3.c: New file.
41407 * elf/tst-order-a4.c: New file.
41408 * elf/tst-order-b1.c: New file.
41409 * elf/tst-order-b2.c: New file.
41410 * elf/tst-order-main.c: New file.
41411 New test case by George Gensure <werkt0@gmail.com>.
41412
86e92359
UD
414132010-10-01 Andreas Schwab <schwab@redhat.com>
41414
41415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41416 decoding ACE if AI_CANONIDN.
41417
5d5732b0
UD
414182011-01-18 Ulrich Drepper <drepper@gmail.com>
41419
41420 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41421
a77e8cbc
UD
414222011-01-17 Ulrich Drepper <drepper@gmail.com>
41423
6392473f
UD
41424 * version.h (RELEASE): Bump for 2.13 release.
41425 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41426
620a0529
UD
41427 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41428
18ba70a5
UD
41429 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41430 MADV_NOHUGEPAGE.
32465c3e
UD
41431 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41433 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41434 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41435 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41436 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41437
c0dafcf1
UD
41438 * posix/getconf.c: Update copyright year.
41439 * catgets/gencat.c: Likewise.
41440 * csu/version.c: Likewise.
41441 * debug/catchsegv.sh: Likewise.
41442 * debug/xtrace.sh: Likewise.
41443 * elf/ldconfig.c: Likewise.
41444 * elf/ldd.bash.in: Likewise.
41445 * elf/sprof.c (print_version): Likewise.
41446 * iconv/iconv_prog.c: Likewise.
41447 * iconv/iconvconfig.c: Likewise.
41448 * locale/programs/locale.c: Likewise.
41449 * locale/programs/localedef.c: Likewise.
41450 * malloc/memusage.sh: Likewise.
41451 * malloc/mtrace.pl: Likewise.
41452 * nscd/nscd.c (print_version): Likewise.
41453 * nss/getent.c: Likewise.
41454
a77e8cbc
UD
41455 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41456 PF_CAIF, and PF_ALG.
41457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41458
77e8bddf
AS
414592011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41460
1f20b93a
AS
41461 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41462 (modules-names): Use them.
41463 (ifunc-test-modules, ifunc-pie-tests): Define.
41464 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41465 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41466 (test-extras): Likewise.
41467 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41468 $(compile-command.c).
41469 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41470 (all-built-dso): Define.
41471 (check-textrel.out, check-execstack.out): Depend on it.
41472
77e8bddf
AS
41473 * configure.in: Don't override --enable-multi-arch.
41474
bc425b33
UD
414752011-01-15 Ulrich Drepper <drepper@gmail.com>
41476
41477 [BZ #6812]
41478 * nscd/hstcache.c (tryagain): Define.
41479 (cache_addhst): Return tryagain not notfound for temporary errors.
41480 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41481 failed.
41482
794c3ad3
UD
414832011-01-14 Ulrich Drepper <drepper@gmail.com>
41484
70181fdd
UD
41485 [BZ #10563]
41486 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41487 to make the syscall.
41488 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41489
794c3ad3
UD
41490 [BZ #12378]
41491 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41492 and fall back to matching as normal character if the string ends before
41493 the matching ']' is found. This is what POSIX requires.
41494 * posix/testfnm.c: Adjust test result.
41495 * posix/globtest.sh: Adjust test result. Add new test.
41496 * posix/tst-fnmatch.input: Likewise.
41497 * posix/tst-fnmatch2.c: Add new test.
41498
68dc9497
AS
414992010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41500
41501 * elf/Makefile (check-execstack): Revert last change. Depend on
41502 check-execstack.h.
41503 (check-execstack.h): New target.
41504 (generated): Add check-execstack.h.
41505 * elf/check-execstack.c: Include "check-execstack.h".
41506 (main): Revert last change.
41507 (handle_file): Return zero if GNU_STACK is absent and
41508 DEFAULT_STACK_PERMS doesn't include PF_X.
41509
451f001b
UD
415102011-01-13 Ulrich Drepper <drepper@gmail.com>
41511
cfa28e56
UD
41512 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41513 in child fails because the descriptor is already closed.
8cf8ce17
UD
41514 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41515 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41516 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41517
1086d70d
UD
41518 [BZ #12397]
41519 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41520 syscall.
41521
451f001b
UD
41522 [BZ #10484]
41523 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41524 temporary buffer used to handle multi lookups locally.
a85b5cb4 41525 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41526
08769175
UD
415272011-01-12 Ulrich Drepper <drepper@gmail.com>
41528
41529 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41530 loader is ld.so.
41531
5e49c52e
UD
415322011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41533
41534 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41535 alignment for SSE2.
41536
60522a5f
UD
415372011-01-12 Ulrich Drepper <drepper@gmail.com>
41538
41539 [BZ #12394]
41540 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41541 characters. When rounding increased number of integer digits recompute
41542 number of groups.
41543 * stdio-common/tst-grouping.c: New file.
41544 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41545
f257bbd7
UD
415462011-01-09 Ulrich Drepper <drepper@gmail.com>
41547
41548 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41549 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41550
41551 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41552 void.
41553 * bits/select.h: Likewise.
41554
fa9c15cb
UD
415552011-01-08 Ulrich Drepper <drepper@gmail.com>
41556
41557 * po/ja.po: Update from translation team.
41558
16c2895f
DM
415592011-01-04 David S. Miller <davem@sunset.davemloft.net>
41560
41561 [BZ #11155]
41562 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41563 implementation just like for lxstat, fxstatat, et al.
41564
2543fef2
JM
415652010-12-27 Jim Meyering <meyering@redhat.com>
41566
41567 [BZ #12348]
41568 * posix/regexec.c (build_trtable): Return failure indication upon
41569 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41570
98727dbe
UD
415712010-12-25 Ulrich Drepper <drepper@gmail.com>
41572
5bd6dc5c
UD
41573 [BZ #12201]
41574 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41575 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41576 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41577 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41578
97983464
UD
41579 [BZ #12207]
41580 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41581
98727dbe
UD
41582 [BZ #12204]
41583 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41584 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41585
4a531bb0
L
415862010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41587
41588 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41589 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41590 script has SORT_BY_INIT_PRIORITY.
41591 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41592 NO_CTORS_DTORS_SECTIONS is defined.
41593 * elf/soinit.c: Likewise.
41594 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41595 NO_CTORS_DTORS_SECTIONS is defined.
41596 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41597 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41598 * sysdeps/sh/init-first.c: Likewise.
41599 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41600
07eb4b71
UD
416012010-12-24 Ulrich Drepper <drepper@gmail.com>
41602
41603 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41604 always use the slow path.
41605
30950a5f
RA
416062010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41607
41608 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41609 similar rule which adds the sysdep directories to the header search in
41610 order to pick up the correct platform stackinfo.h.
41611 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41612 perform test if it is, otherwise return successfully without testing.
41613 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41614 DEFAULT_STACK_PERMS define in stackinfo.h.
41615 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41616 defined in stackinfo.h.
41617 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41618 DEFAULT_STACK_PERMS defined in stackinfo.h.
41619 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41620 * sysdeps/ia64/stackinfo.h: Likewise.
41621 * sysdeps/s390/stackinfo.h: Likewise.
41622 * sysdeps/sh/stackinfo.h: Likewise.
41623 * sysdeps/sparc/stackinfo.h: Likewise.
41624 * sysdeps/x86_64/stackinfo.h: Likewise.
41625 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41626 PF_X for powerpc64. Retain PF_X for powerpc32.
41627
db753e2c
UD
416282010-12-19 Ulrich Drepper <drepper@gmail.com>
41629
14b697f7
UD
41630 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41631 accurately.
db753e2c
UD
41632 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41633 GETDENTS_64BIT_ALIGNED.
41634
28300719
UD
416352010-12-14 Ulrich Drepper <dreper@gmail.com>
41636
14b697f7 41637 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41638
4f197237
AS
416392010-12-10 Andreas Schwab <schwab@redhat.com>
41640
dbb0472f
AS
41641 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41642 _GNU_SOURCE.
41643
4f197237
AS
41644 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41645 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41646 Remove __restrict.
41647 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41648 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41649
fb88ac72
UD
416502010-12-09 Ulrich Drepper <drepper@gmail.com>
41651
41652 [BZ #11655]
41653 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41654 are initialized.
41655
42acbb92
JJ
416562010-12-09 Jakub Jelinek <jakub@redhat.com>
41657
41658 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41659
c038d98d
UD
416602010-12-03 Ulrich Drepper <drepper@gmail.com>
41661
41662 * po/it.po: Update from translation team.
41663
3a4a2499
L
416642010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41665
41666 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41667 unused codes.
41668
1e24cf6e
UD
416692010-11-30 Ulrich Drepper <drepper@gmail.com>
41670
41671 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41672
a7690819
AS
416732010-11-24 Andreas Schwab <schwab@redhat.com>
41674
41675 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41676 specially.
41677 (gaih_getanswer_slice): Likewise.
41678
3bf8d1b1
JJ
416792010-10-20 Jakub Jelinek <jakub@redhat.com>
41680
41681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41682
6db52fbb
PB
416832010-05-31 Petr Baudis <pasky@suse.cz>
41684
41685 [BZ #11149]
41686 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41687 silently even in the chroot mode.
41688
eaca7569
UD
416892010-11-22 Ulrich Drepper <drepper@gmail.com>
41690
41691 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41692 last patch a bit. Pretty printing
41693
3056dcdb
UD
416942010-05-31 Petr Baudis <pasky@suse.cz>
41695
41696 [BZ #10085]
41697 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41698 initialization of skip_initgroups_dyn.
41699
cf7c9078
UD
417002010-11-19 Ulrich Drepper <drepper@gmail.com>
41701
41702 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41703 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41704
a1fb5e3e
UD
417052010-11-16 Ulrich Drepper <drepper@gmail.com>
41706
41707 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41708
3540d66b
AS
417092010-11-11 Andreas Schwab <schwab@redhat.com>
41710
41711 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41712 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41713 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41714 ($(objpfx)tst-fnmatch-mem): New rule.
41715 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41716 * posix/tst-fnmatch.c (main): Call mtrace.
41717
13b69574
L
417182010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41719
41720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41721 Support Intel processor model 6 and model 0x2c.
41722
da93d214
LM
417232010-11-10 Luis Machado <luisgpm@br.ibm.com>
41724
41725 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41726 signed comparison.
41727
8ca52c6e
L
417282010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41729
41730 [BZ #12205]
41731 * string/test-strncasecmp.c (check_result): New function.
41732 (do_one_test): Use it.
41733 (check1): New function.
41734 (test_main): Use it.
41735 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41736 Support strcasecmp and strncasecmp.
41737
69da074d
UD
417382010-11-08 Ulrich Drepper <drepper@gmail.com>
41739
41740 [BZ #12194]
41741 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41742 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41743
ff02d528
L
417442010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41745
41746 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41747 IFUNC support.
41748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41749 memset-x86-64.
41750 * sysdeps/x86_64/multiarch/bzero.S: New file.
41751 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41752 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41753 * sysdeps/x86_64/multiarch/memset.S: New file.
41754 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41756 Set bit_Prefer_SSE_for_memop for Intel processors.
41757 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41758 Define.
41759 (index_Prefer_SSE_for_memop): Define.
41760 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41761
344d0b54
LM
417622010-11-04 Luis Machado <luisgpm@br.ibm.com>
41763
41764 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41765 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41766
c0dde15b
UD
417672010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41768
41769 [BZ #12191]
41770 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41771 (__x86_64_raw_data_cache_size_half): Likewise.
41772 (__x86_64_raw_shared_cache_size): Likewise.
41773 (__x86_64_raw_shared_cache_size_half): Likewise.
41774
41775 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41776 (__x86_64_raw_data_cache_size_half): Likewise.
41777 (__x86_64_raw_shared_cache_size): Likewise.
41778 (__x86_64_raw_shared_cache_size_half): Likewise.
41779 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41780 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41781 and __x86_64_raw_shared_cache_size_half. Round
41782 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41783 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41784 to multiple of 256 bytes.
41785
0e516e0e
MS
417862010-11-03 Ulrich Drepper <drepper@gmail.com>
41787
41788 [BZ #12167]
41789 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41790 of inacessible symlinks. Verify result of symlink before returning it.
41791 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41792 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41793
0e012e87
ER
417942010-10-28 Erich Ritz <erichritz@gmail.com>
41795
41796 * math/math.h (isinf): Fix typo in comment.
41797
de0ff7bc
UD
417982010-11-01 Ulrich Drepper <drepper@gmail.com>
41799
41800 * po/da.po: Update from translation team.
41801
fa41c84d
UD
418022010-10-26 Ulrich Drepper <drepper@gmail.com>
41803
41804 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41805 is added to the list.
41806
f0967738
AK
418072010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41808 Ulrich Drepper <drepper@gmail.com>
41809
41810 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41811 the global list here. Move code to...
41812 (_dl_add_to_namespace_list): ...here. New function.
41813 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41814 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41815 * elf/dl-load.c (lose): Don't remove the element from the list.
41816 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41817 (_dl_map_object): Likewise.
41818
418192010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41820
41821 [BZ #12159]
41822 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41823 into all bytes of SSE register.
41824 Patch by Richard Li <richardpku@gmail.com>.
41825
f0967738 418262010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41827
41828 [BZ #12140]
41829 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41830 perturbing.
41831
d0b9e94f
MB
418322010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41833
41834 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41835 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41836 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41837 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41839 submachine.
41840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41841
8e9f92e9
AS
418422010-10-22 Andreas Schwab <schwab@redhat.com>
41843
41844 * include/dlfcn.h (__RTLD_SECURE): Define.
41845 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41846 mode & __RTLD_SECURE instead.
41847 (open_path): Rename preloaded parameter to secure.
41848 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41849 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41850 * elf/dl-deps.c (openaux): Likewise.
41851 * elf/rtld.c (struct map_args): Remove is_preloaded.
41852 (map_doit): Don't use it.
41853 (dl_main): Likewise.
41854 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41855 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41856
bc96fbda
AS
418572010-09-09 Andreas Schwab <schwab@redhat.com>
41858
41859 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41860 (sysd-rules-targets): Remove duplicates.
41861 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41862 rtld-%.$o dependency.
41863
22cd1c9b
AS
418642010-10-18 Andreas Schwab <schwab@redhat.com>
41865
41866 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41867 _dl_map_object do it.
41868
18edac48
UD
418692010-10-19 Ulrich Drepper <drepper@gmail.com>
41870
41871 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41872 fast fma builtins, define the macros in the C99 standard.
41873 (FP_FAST_FMAF): Likewise.
41874 (FP_FAST_FMAL): Likewise.
41875 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41876
41877 * bits/mathdef.h: Update copyright year.
41878 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41879
d2050124
MM
418802010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41881
41882 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41883 builtins, define the macros in the C99 standard.
41884 (FP_FAST_FMAF): Likewise.
41885 (FP_FAST_FMAL): Likewise.
41886 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41887 multiply/add.
41888 (FP_FAST_FMAF): Likewise.
41889
475facd1
JJ
418902010-10-15 Jakub Jelinek <jakub@redhat.com>
41891
41892 [BZ #3268]
41893 * math/libm-test.inc (fma_test): Some new testcases.
41894 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41895 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41896 y and infinite z. Do multiplication by C already in long double.
41897 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41899 y and infinite z. Do bitwise or of inexact bit into u.d.
41900 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41901 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41902 * sysdeps/i386/fpu/s_fma.S: Removed.
41903 * sysdeps/i386/fpu/s_fmal.S: Removed.
41904
7c08a05c
JJ
419052010-10-16 Jakub Jelinek <jakub@redhat.com>
41906
41907 [BZ #3268]
41908 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41910 computation is not scheduled after fetestexcept. Fix value
41911 of minimum denormal long double.
41912
f3f7372d
JJ
419132010-10-14 Jakub Jelinek <jakub@redhat.com>
41914
41915 [BZ #3268]
41916 * math/libm-test.inc (fma_test): Add some more tests.
41917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41918 correctly.
41919
14d43591
AS
419202010-10-15 Andreas Schwab <schwab@redhat.com>
41921
41922 * scripts/data/localplt-s390-linux-gnu.data: New file.
41923 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41924
5e908464
JJ
419252010-10-13 Jakub Jelinek <jakub@redhat.com>
41926
41927 [BZ #3268]
41928 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41929 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41930 instead of dbl-64.
41931 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41932 inlines.
41933 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41935 if one of x and y is very large and the other is subnormal.
41936 * sysdeps/s390/fpu/s_fmaf.c: New file.
41937 * sysdeps/s390/fpu/s_fma.c: New file.
41938 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41939 * sysdeps/powerpc/fpu/s_fma.S: New file.
41940 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41941 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41942 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41943
419442010-10-12 Jakub Jelinek <jakub@redhat.com>
41945
41946 [BZ #3268]
41947 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41948 fma tests.
41949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41950 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41951 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41952 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41953 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41954 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41955 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41956
b833d51f
UD
419572010-10-12 Ulrich Drepper <drepper@redhat.com>
41958
41959 [BZ #12078]
41960 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41961 * posix/bug-regex31.input: Add test case.
41962
1751705d
UD
419632010-10-11 Ulrich Drepper <drepper@gmail.com>
41964
e9b9cbf5
UD
41965 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41966 * posix/bug-regex31.input: New file.
41967
41968 [BZ #12078]
41969 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41970 (parse_sub_exp): Fix last change, use postorder.
41971
ef06edbe
UD
41972 * posix/bug-regex31.c: New file.
41973 * posix/Makefile: Add rules to build and run bug-regex31.
41974
a129c80d
UD
41975 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41976
41977 [BZ #12078]
41978 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41979
b76b818e
UD
41980 [BZ #12108]
41981 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41982 to have entries in sys_siglist.
41983
1751705d
UD
41984 [BZ #12093]
41985 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41986 be NULL.
41987
9ff8d36f
JJ
419882010-10-07 Jakub Jelinek <jakub@redhat.com>
41989
41990 [BZ #3268]
41991 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41992 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41993 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41994 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41995 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41996 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41997 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41998 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41999 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42000 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42001 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42002 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42003 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42004 * math/ftestexcept.c (fetestexcept): Likewise.
42005 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42006 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42007 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42008 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42009 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42010 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42011 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42012
af325969
UD
420132010-10-11 Ulrich Drepper <drepper@gmail.com>
42014
c579b202 42015 [BZ #12107]
af325969
UD
42016 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42017 newline.
42018
67a67b95
UD
420192010-10-06 Ulrich Drepper <drepper@gmail.com>
42020
42021 * string/bug-strstr1.c: New file.
42022 * string/Makefile: Add rules to build and run bug-strstr1.
42023
5fb308bc
EB
420242010-10-05 Eric Blake <eblake@redhat.com>
42025
42026 [BZ #12092]
42027 * string/str-two-way.h (two_way_long_needle): Always clear memory
42028 when skipping input due to the shift table.
42029
45db99c7
UD
420302010-10-03 Ulrich Drepper <drepper@gmail.com>
42031
3b111893
UD
42032 [BZ #12005]
42033 * malloc/mcheck.c: Handle large requests.
42034
45db99c7
UD
42035 [BZ #12077]
42036 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42037 for strncmp and strncasecmp.
42038 * string/stratcliff.c: Add tests for strcmp and strncmp.
42039 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42040
cf7a1eb8
NI
420412010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42042
42043 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42044 __set_fpscr.
42045
6484ba5e
AJ
420462010-09-30 Andreas Jaeger <aj@suse.de>
42047
42048 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42049 (CGROUP_SUPER_MAGIC): Define.
42050 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42051 Handle btrfs and cgroup file systems.
42052 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42053 Likewise.
42054
91c42559
LM
420552010-09-27 Luis Machado <luisgpm@br.ibm.com>
42056
42057 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42058 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42059
87a97932
AK
420602010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42061
42062 [BZ #12067]
42063 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42064 trying to locate the ELF header.
42065
c21cc9bc
AS
420662010-09-27 Andreas Schwab <schwab@redhat.com>
42067
42068 [BZ #11611]
42069 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42070 Mask out sign-bit copies when constructing f_fsid.
42071
315970f6
PB
420722010-09-24 Petr Baudis <pasky@suse.cz>
42073
42074 * debug/stack_chk_fail_local.c: Add missing licence exception.
42075 * debug/warning-nop.c: Likewise.
42076
1ac7a2c7
JM
420772010-09-15 Joseph Myers <joseph@codesourcery.com>
42078
42079 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42080 implementing getdents64 using getdents syscall, set d_type if
42081 __ASSUME_GETDENTS32_D_TYPE.
42082
56801c50
AS
420832010-09-16 Andreas Schwab <schwab@redhat.com>
42084
42085 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42086 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42087
dda51327
UD
420882010-09-21 Ulrich Drepper <drepper@redhat.com>
42089
42090 [BZ #12037]
42091 * posix/unistd.h: Undo change of feature selection for ftruncate from
42092 2010-01-11.
42093
8ffcee4a
UD
420942010-09-20 Ulrich Drepper <drepper@redhat.com>
42095
a545ecd9 42096 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42097 detection.
42098
e24f0a8b
AS
420992010-09-20 Andreas Schwab <schwab@redhat.com>
42100
42101 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42102 fanotify_mark.
42103 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42104
7291c56f
AS
421052010-09-14 Andreas Schwab <schwab@redhat.com>
42106
42107 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42108 variables after CHECK_SP call.
42109 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42110
bc5fb037
AS
421112010-09-13 Andreas Schwab <schwab@redhat.com>
42112 Ulrich Drepper <drepper@redhat.com>
42113
42114 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42115 re-relocationg ld.so.
42116 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42117 _dl_init_paths call.
42118 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42119 here anymore.
42120
e66e7419
UD
421212010-09-14 Ulrich Drepper <drepper@redhat.com>
42122
42123 * resolv/res_init.c (__res_vinit): Count the default server we added.
42124
c044aa75
CLT
421252010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42126 Ulrich Drepper <drepper@redhat.com>
42127
42128 [BZ #11968]
42129 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42130 (____longjmp_chk): Use %ebx for saving value across system call.
42131 Add unwind info.
42132
32cf4069
AS
421332010-09-06 Andreas Schwab <schwab@redhat.com>
42134
42135 * manual/Makefile: Don't mix pattern rules with normal rules.
42136
817328ee
AS
421372010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42138
42139 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42140 operation.
42141 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42142 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42143 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42144 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42146 Likewise.
42147
29fddf61
UD
421482010-09-04 Ulrich Drepper <drepper@redhat.com>
42149
42150 [BZ #11979]
42151 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42152 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42153
0959ffc9
UD
421542010-09-02 Ulrich Drepper <drepper@redhat.com>
42155
42156 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42157 * sysdeps/x86_64/addmul_1.S: Likewise.
42158 * sysdeps/x86_64/lshift.S: Likewise.
42159 * sysdeps/x86_64/mul_1.S: Likewise.
42160 * sysdeps/x86_64/rshift.S: Likewise.
42161 * sysdeps/x86_64/sub_n.S: Likewise.
42162 * sysdeps/x86_64/submul_1.S: Likewise.
42163
ece29840
ST
421642010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42165
0959ffc9
UD
42166 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42167 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42168 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42169 * bits/sched.h [__need_schedparam]
ece29840 42170 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42171 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42172 (__defined_schedparam): Define to 1.
ece29840
ST
42173 (__sched_param): New structure, identical to sched_param.
42174 (__need_schedparam): Undefine.
42175
e53a31fe
MF
421762010-08-31 Mike Frysinger <vapier@gentoo.org>
42177
fdc0c10d
MF
42178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42179 (epoll_create1): Declare.
42180
e53a31fe
MF
42181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42182
a726d796
AS
421832010-08-31 Andreas Schwab <schwab@redhat.com>
42184
42185 [BZ #7066]
42186 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42187 shifting retval into place.
42188
2f3e3dc7
UD
421892010-09-01 Ulrich Drepper <drepper@redhat.com>
42190
f2933da9
UD
42191 * nis/rpcsvc/nis.h: Update copyright notice.
42192 * nis/rpcsvc/nis.x: Likewise.
42193 * nis/rpcsvc/nis_callback.h: Likewise.
42194 * nis/rpcsvc/nis_callback.x: Likewise.
42195 * nis/rpcsvc/nis_object.x: Likewise.
42196 * nis/rpcsvc/nis_tags.h: Likewise.
42197 * nis/rpcsvc/yp.h: Likewise.
42198 * nis/rpcsvc/yp.x: Likewise.
42199 * nis/rpcsvc/ypupd.h: Likewise.
42200 * nis/yp_xdr.c: Likewise.
42201 * nis/ypupdate_xdr.c: Likewise.
42202
2f3e3dc7
UD
42203 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42204 mainly the body of pmap_getport. Add parameters to specify timeouts.
42205 (pmap_getport): Use __libc_rpc_getport.
42206 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42207 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42208 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42209
f3dcc2f9
AS
422102010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42211
42212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42213 fanotify_mark.
42214
6d34eb5b
RM
422152010-08-27 Roland McGrath <roland@redhat.com>
42216
42217 * sysdeps/i386/i686/multiarch/Makefile
42218 (CFLAGS-varshift.c): New variable.
42219
9ea3de11
UD
422202010-08-27 Ulrich Drepper <drepper@redhat.com>
42221
c96d23fc
UD
42222 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42223 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42224
9ea3de11
UD
42225 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42226
42227 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42228
623aac7f
L
422292010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42230
42231 * sysdeps/x86_64/strlen.S: Unroll the loop.
42232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42233 strlen-sse2 strlen-sse2-bsf.
42234 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42235 __strlen_no_bsf if bit_Slow_BSF is set.
42236 (__strlen_sse42): Removed.
42237 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42238 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42239
8b2b7715
RM
422402010-08-25 Roland McGrath <roland@redhat.com>
42241
42242 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42243 * sysdeps/x86_64/multiarch/varshift.c: New file.
42244 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42245 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42246 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42247 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42248
e73015f2
L
422492010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42250
42251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42252 strlen-sse2 strlen-sse2-bsf.
42253 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42254 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42255 (__strlen_sse2): Removed.
42256 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42257 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42259 bit_Slow_BSF for Atom.
42260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42261 (index_Slow_BSF): Define.
42262 (HAS_SLOW_BSF): Define.
42263
df24a73e
UD
422642010-08-25 Ulrich Drepper <drepper@redhat.com>
42265
42266 [BZ #10851]
42267 * resolv/res_init.c (__res_vinit): When no server address at all
42268 is given default to loopback.
42269
f2ac4868
RM
422702010-08-24 Roland McGrath <roland@redhat.com>
42271
09055553
RM
42272 * configure.in: Remove config-name.h generation.
42273 * configure: Regenerated.
42274 * config-name.in: File removed.
42275 * scripts/config-uname.sh: New file.
42276 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42277 ($(objdir)config-name.h): New target.
42278
f2ac4868
RM
42279 * sunrpc/rpc_parse.h: Avoid nested comment.
42280
73f27d5e
RH
422812010-08-24 Richard Henderson <rth@redhat.com>
42282 Ulrich Drepper <drepper@redhat.com>
42283 H.J. Lu <hongjiu.lu@intel.com>
42284
42285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42287 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42288 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42289 _mm_alignr_epi8 with _mm_loadu_si128.
42290 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42291 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42292 (__m128i_shift_right): Removed.
42293 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42294 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42295 * sysdeps/x86_64/multiarch/varshift.h: New file.
42296 * sysdeps/x86_64/multiarch/varshift.S: New file.
42297
84b9230c
MF
422982010-08-21 Mike Frysinger <vapier@gentoo.org>
42299
42300 * configure.in: Move assembler checks to before sysdep dir checking.
42301
9bbd0ddc
PB
423022010-08-20 Petr Baudis <pasky@suse.cz>
42303
42304 * LICENSES: Sync the sunrpc license.
42305
9da4bb31
UD
423062010-08-19 Ulrich Drepper <drepper@redhat.com>
42307
a7ab6ec8
UD
42308 * sunrpc/auth_des.c: Update copyright notice once again.
42309 * sunrpc/auth_none.c: Likewise.
42310 * sunrpc/auth_unix.c: Likewise.
42311 * sunrpc/authdes_prot.c: Likewise.
42312 * sunrpc/authuxprot.c: Likewise.
42313 * sunrpc/bindrsvprt.c: Likewise.
42314 * sunrpc/clnt_gen.c: Likewise.
42315 * sunrpc/clnt_perr.c: Likewise.
42316 * sunrpc/clnt_raw.c: Likewise.
42317 * sunrpc/clnt_simp.c: Likewise.
42318 * sunrpc/clnt_tcp.c: Likewise.
42319 * sunrpc/clnt_udp.c: Likewise.
42320 * sunrpc/clnt_unix.c: Likewise.
42321 * sunrpc/des_crypt.c: Likewise.
42322 * sunrpc/des_soft.c: Likewise.
42323 * sunrpc/get_myaddr.c: Likewise.
42324 * sunrpc/getrpcport.c: Likewise.
42325 * sunrpc/key_call.c: Likewise.
42326 * sunrpc/key_prot.c: Likewise.
42327 * sunrpc/openchild.c: Likewise.
42328 * sunrpc/pm_getmaps.c: Likewise.
42329 * sunrpc/pm_getport.c: Likewise.
42330 * sunrpc/pmap_clnt.c: Likewise.
42331 * sunrpc/pmap_prot.c: Likewise.
42332 * sunrpc/pmap_prot2.c: Likewise.
42333 * sunrpc/pmap_rmt.c: Likewise.
42334 * sunrpc/rpc/auth.h: Likewise.
42335 * sunrpc/rpc/auth_unix.h: Likewise.
42336 * sunrpc/rpc/clnt.h: Likewise.
42337 * sunrpc/rpc/des_crypt.h: Likewise.
42338 * sunrpc/rpc/key_prot.h: Likewise.
42339 * sunrpc/rpc/netdb.h: Likewise.
42340 * sunrpc/rpc/pmap_clnt.h: Likewise.
42341 * sunrpc/rpc/pmap_prot.h: Likewise.
42342 * sunrpc/rpc/pmap_rmt.h: Likewise.
42343 * sunrpc/rpc/rpc.h: Likewise.
42344 * sunrpc/rpc/rpc_des.h: Likewise.
42345 * sunrpc/rpc/rpc_msg.h: Likewise.
42346 * sunrpc/rpc/svc.h: Likewise.
42347 * sunrpc/rpc/svc_auth.h: Likewise.
42348 * sunrpc/rpc/types.h: Likewise.
42349 * sunrpc/rpc/xdr.h: Likewise.
42350 * sunrpc/rpc_clntout.c: Likewise.
42351 * sunrpc/rpc_cmsg.c: Likewise.
42352 * sunrpc/rpc_common.c: Likewise.
42353 * sunrpc/rpc_cout.c: Likewise.
42354 * sunrpc/rpc_dtable.c: Likewise.
42355 * sunrpc/rpc_hout.c: Likewise.
42356 * sunrpc/rpc_main.c: Likewise.
42357 * sunrpc/rpc_parse.c: Likewise.
42358 * sunrpc/rpc_parse.h: Likewise.
42359 * sunrpc/rpc_prot.c: Likewise.
42360 * sunrpc/rpc_sample.c: Likewise.
42361 * sunrpc/rpc_scan.c: Likewise.
42362 * sunrpc/rpc_scan.h: Likewise.
42363 * sunrpc/rpc_svcout.c: Likewise.
42364 * sunrpc/rpc_tblout.c: Likewise.
42365 * sunrpc/rpc_util.c: Likewise.
42366 * sunrpc/rpc_util.h: Likewise.
42367 * sunrpc/rpcinfo.c: Likewise.
42368 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42369 * sunrpc/rpcsvc/key_prot.x: Likewise.
42370 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42371 * sunrpc/rpcsvc/mount.x: Likewise.
42372 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42373 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42374 * sunrpc/rpcsvc/rex.x: Likewise.
42375 * sunrpc/rpcsvc/rstat.x: Likewise.
42376 * sunrpc/rpcsvc/rusers.x: Likewise.
42377 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42378 * sunrpc/rpcsvc/spray.x: Likewise.
42379 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42380 * sunrpc/rtime.c: Likewise.
42381 * sunrpc/svc.c: Likewise.
42382 * sunrpc/svc_auth.c: Likewise.
42383 * sunrpc/svc_authux.c: Likewise.
42384 * sunrpc/svc_raw.c: Likewise.
42385 * sunrpc/svc_run.c: Likewise.
42386 * sunrpc/svc_simple.c: Likewise.
42387 * sunrpc/svc_tcp.c: Likewise.
42388 * sunrpc/svc_udp.c: Likewise.
42389 * sunrpc/svc_unix.c: Likewise.
42390 * sunrpc/svcauth_des.c: Likewise.
42391 * sunrpc/xcrypt.c: Likewise.
42392 * sunrpc/xdr.c: Likewise.
42393 * sunrpc/xdr_array.c: Likewise.
42394 * sunrpc/xdr_float.c: Likewise.
42395 * sunrpc/xdr_mem.c: Likewise.
42396 * sunrpc/xdr_rec.c: Likewise.
42397 * sunrpc/xdr_ref.c: Likewise.
42398 * sunrpc/xdr_sizeof.c: Likewise.
42399 * sunrpc/xdr_stdio.c: Likewise.
42400
9da4bb31
UD
42401 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42402 handling.
42403
bdaa77bc
AS
424042010-08-19 Andreas Schwab <schwab@redhat.com>
42405
42406 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42407
fe2f79db
LM
424082010-08-19 Luis Machado <luisgpm@br.ibm.com>
42409
42410 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42411 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42412 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42413 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42414 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42415 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42416 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42417 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42418 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42419 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42420 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42421 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42422 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42423 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42424
b9b42ee0
AB
424252010-07-26 Anton Blanchard <anton@samba.org>
42426
42427 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42428 * malloc/arena.c (heap_trim): Likewise.
42429
1c06ba31
UD
424302010-08-16 Ulrich Drepper <drepper@redhat.com>
42431
42432 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42433 here. Not...
42434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42435 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42436
f8392f40
L
424372010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42438
42439 * sysdeps/i386/elf/Makefile: New file.
42440
3162f12e
AS
424412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42442
42443 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42444 from fanotify_init.
42445 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42447
28c90b2c
UD
424482010-08-15 Ulrich Drepper <drepper@redhat.com>
42449
42450 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42451 of strncasecmp_l.
1feccb6c 42452 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42453
ca6bb004
UD
424542010-08-14 Ulrich Drepper <drepper@redhat.com>
42455
e9f82e0d
UD
42456 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42457 strncase_l-nonascii.
42458 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42459 Add strncase_l-ssse3.
42460 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42461 * sysdeps/x86_64/strcmp.S: Likewise.
42462 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42463 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42464 * sysdeps/x86_64/strncase.S: New file.
42465 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42466 * sysdeps/x86_64/strncase_l.S: New file.
42467 * string/Makefile (strop-tests): Add strncasecmp.
42468 * string/test-strncasecmp.c: New file.
42469
42470 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42471 warning.
42472
ca6bb004
UD
42473 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42474 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42475
052fa7b3
AS
424762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42477
42478 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42479
962dba78
UD
424802010-08-12 Ulrich Drepper <drepper@redhat.com>
42481
42482 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42483 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42484 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42485
bebff237
AM
424862010-05-01 Alan Modra <amodra@gmail.com>
42487
42488 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42489 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42490 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42491 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42492 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42493 tidying. Don't tail-call __sigjmp_save for static lib.
42494 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42495 save location.
42496 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42497 (CALL_MCOUNT): Add eh info, and nop after bl.
42498 (TAIL_CALL_SYSCALL_ERROR): New macro.
42499 (PSEUDO_RET): Use it.
42500 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42501 Correct save location of integer regs and cr.
42502 (_dl_profile_resolve): Correct cr save location. Delete nops
42503 after bl when SHARED. Reduce cfi size a little by better
42504 placement of cfi directives.
42505 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42506 make a stack frame. Instead use parm save area as a temp.
42507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42508 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42510 Don't make a stack frame for parent, use parm save area.
42511 Increase child stack frame to 112 bytes. Don't save unused reg,
42512 and adjust reg usage. Set up cfi on error recovery and
42513 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42515 (__makecontext): Add dummy nop after jump to exit.
42516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42517 Use correct parm save area and cr save, reduce stack frame.
42518 Correct cfi for possible PSEUDO_RET frame setup.
42519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42520 Branch to local label emitted by PSEUDO_RET rather than
42521 __syscall_error.
42522
02637374
AS
425232010-08-12 Andreas Schwab <schwab@redhat.com>
42524
42525 [BZ #11904]
42526 * locale/programs/locale.c (print_assignment): New function.
42527 (show_locale_vars): Use it.
42528
c3e2f19b
UD
425292010-08-11 Ulrich Drepper <drepper@redhat.com>
42530
3cdaa6ad
UD
42531 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42532 field.
42533 (struct statfs64): Likewise.
42534 (_STATFS_F_FLAGS): Define.
42535 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42536 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42537 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42538 (ST_VALID): Define locally.
42539 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42540 __statvfs_getflags, use the provided value.
42541 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42542 __ASSUME_STATFS_F_FLAGS.
42543
754f7da3
UD
42544 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42545
10b3bedc
UD
42546 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42547 Add sys/fanotify.h.
42548 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42549 fanotify_mask for GLIBC_2.13.
42550 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42551 fanotify_init and fanotify_mark.
42552 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42553 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42554
c08fb0d7
UD
42555 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42556 Add prlimit.
42557 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42558 prlimit64 for GLIBC_2.13.
42559 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42560 prlimit64.
42561 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42562 syscall.
42563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42564 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42565 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42566 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42568 add prlimit alias.
42569 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42570
15bac72b
UD
42571 [BZ #11903]
42572 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42573 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42574
c3e2f19b
UD
42575 * nss/Makefile: Add rules to build and run tst-nss-test1.
42576 * shlib-versions: Add entry for libnss_test1.
42577 * nss/nss_test1.c: New file.
42578 * nss/tst-nss-test1.c: New file.
42579
42580 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42581 (__nss_configure_lookup): Set appropriate entry in
42582 __nss_configure_lookup to true.
42583 * nss/nsswitch.h: Define enum with indeces of databases in
42584 databases and __nss_database_custom arrays. Declare
42585 __nss_database_custom.
42586 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42587 to avoid using nscd when custom rules are installed.
42588 * nss/getXXbyYY_r.c: Likewise.
42589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42590
42591 * nss/nss_files/files-parse.c: Whitespace fixes.
42592
f15ce4d8
UD
425932010-08-09 Ulrich Drepper <drepper@redhat.com>
42594
42595 [BZ #11883]
42596 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42597 * posix/fnmatch_loop.c: Likewise.
42598
d22e4cc9
AK
425992010-07-17 Andi Kleen <ak@linux.intel.com>
42600
42601 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42602 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42603 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42604 * Versions.def [GLIBC_2.13]: Add.
42605
805bc17d
UD
426062010-08-06 Ulrich Drepper <drepper@redhat.com>
42607
42608 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42609 Also fail if tpwd after pwuid call is NULL.
42610
5a42321d
ST
426112010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42612
42613 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42614 when converting to ms.
42615
fd3ebeda
ST
426162010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42617
42618 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42619 EOPNOTSUPP errors with ENOTTY.
42620 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42621 EOPNOTSUPP errors with ENOTTY.
42622
73507d3a
UD
426232010-07-31 Ulrich Drepper <drepper@redhat.com>
42624
42625 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42626 Add strcasecmp_l-ssse3.
42627 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42628 strcasecmp.
42629 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42630 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42631 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42632
fe36dd02
UD
426332010-07-30 Ulrich Drepper <drepper@redhat.com>
42634
66f6765a
UD
42635 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42636
42e08a54
UD
42637 * string/Makefile (strop-tests): Add strcasecmp.
42638 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42639 strcasecmp_l-nonascii.
42640 (gen-as-const-headers): Add locale-defines.sym.
42641 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42642 * sysdeps/x86_64/strcasecmp.S: New file.
42643 * sysdeps/x86_64/strcasecmp_l.S: New file.
42644 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42645 * sysdeps/x86_64/locale-defines.sym: New file.
42646 * string/test-strcasecmp.c: New file.
42647
fe36dd02
UD
42648 * string/test-strcasestr.c: Test both ends of the range of characters.
42649 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42650
48cbc0d6
RM
426512010-07-29 Roland McGrath <roland@redhat.com>
42652
76e6d6bc 42653 [BZ #11856]
48cbc0d6
RM
42654 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42655
880113d9
UD
426562010-07-27 Ulrich Drepper <drepper@redhat.com>
42657
42658 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42659 for ld.so.
42660
deb9cabb
AS
426612010-07-27 Andreas Schwab <schwab@redhat.com>
42662
42663 * manual/memory.texi (Malloc Tunable Parameters): Document
42664 M_PERTURB.
42665
1c7570ff
RM
426662010-07-26 Roland McGrath <roland@redhat.com>
42667
42668 [BZ #11840]
42669 * configure.in (-fgnu89-inline check): Set and substitute
42670 gnu89_inline, not libc_cv_gnu89_inline.
42671 * configure: Regenerated.
42672 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42673
24fb0f88
UD
426742010-07-26 Ulrich Drepper <drepper@redhat.com>
42675
42676 * string/test-strnlen.c: New file.
42677 * string/Makefile (strop-tests): Add strnlen.
42678 * string/tester.c (test_strnlen): Add a few more test cases.
42679 * string/tst-strlen.c: Better error reporting.
42680
42681 * sysdeps/x86_64/strnlen.S: New file.
42682
8e96b93a
UD
426832010-07-24 Ulrich Drepper <drepper@redhat.com>
42684
42685 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42686 lower-latency instructions.
42687
dbc676d4
UD
426882010-07-23 Ulrich Drepper <drepper@redhat.com>
42689
42690 * string/test-strcasestr.c: New file.
42691 * string/test-strstr.c: New file.
42692 * string/Makefile (strop-tests): Add strstr and strcasestr.
42693 * string/str-two-way.h: Don't undefine MAX.
42694 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42695
f6a31e0e
AS
426962010-07-21 Andreas Schwab <schwab@redhat.com>
42697
42698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42699 strcasestr-nonascii.
42700 (CFLAGS-strcasestr-nonascii.c): Define.
42701 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42702 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42703 Remove unused attribute.
42704
5dbc3b6c
RM
427052010-07-20 Roland McGrath <roland@redhat.com>
42706
42707 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42708 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42709 ld.so.cache was broken. With it, there is no way to disable dsocaps
42710 like LD_HWCAP_MASK can disable hwcaps.
42711
23d101d8
EPM
427122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42713
42714 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42715
cc9f2e47
UD
427162010-07-16 Ulrich Drepper <drepper@redhat.com>
42717
42718 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42719 call in strcasestr.
42720 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42721 __strcasestr_sse42_nonascii.
42722 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42723 strcasestr-nonascii.c.
42724 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42725
77c1b069
LM
427262010-06-15 Luis Machado <luisgpm@br.ibm.com>
42727
42728 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42729 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42731 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42732
440566c3
UD
427332010-07-09 Ulrich Drepper <drepper@redhat.com>
42734
42735 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42736 fcntl.
42737
5be9d05d
AS
427382010-07-06 Andreas Schwab <schwab@redhat.com>
42739
c30b7ee2 42740 [BZ #11577]
5be9d05d
AS
42741 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42742 dl_signal_cerror.
42743
8a492a67
UD
427442010-07-06 Ulrich Drepper <drepper@redhat.com>
42745
42746 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42747 _PC_PIPE_BUF using F_GETPIPE_SZ.
42748
713df3d5
RM
427492010-07-05 Roland McGrath <roland@redhat.com>
42750
42751 * manual/arith.texi (Rounding Functions): Fix rint description
42752 implicit in round description.
42753
702e8f14
UD
427542010-07-02 Ulrich Drepper <drepper@redhat.com>
42755
42756 * elf/Makefile: Fix linking for a few tests to make recent linker
42757 happy.
42758
52ed8be9
AS
427592010-06-30 Andreas Schwab <schwab@redhat.com>
42760
42761 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42762 $(common-objpfx)libc_nonshared.a.
42763
f47c9a11
LM
427642010-06-21 Luis Machado <luisgpm@br.ibm.com>
42765
42766 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42767 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42768 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42769 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42770 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42771 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42772 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42773 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42788 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42789 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42790 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42791 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42792 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42793 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42794 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42795 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42796 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42797 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42798 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42799 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42814
6fb8cbcb
L
428152010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42816
42817 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42818 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42819 * string/memmove.c (memmove): Renamed to ...
42820 (MEMMOVE): ...this. Default to memmove.
42821 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42822 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42823 (END_CHK): Define.
42824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42825 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42826 mempcpy-ssse3-back memmove-ssse3-back.
42827 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42828 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42830 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42831 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42832 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42833 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42834 * sysdeps/x86_64/multiarch/memmove.c: New file.
42835 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42836 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42837 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42838 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42839 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42840 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42841 Define.
42842 (index_Fast_Copy_Backward): Define.
42843 (HAS_ARCH_FEATURE): Define.
42844 (HAS_FAST_REP_STRING): Define.
42845 (HAS_FAST_COPY_BACKWARD): Define.
42846
4e733bac 428472010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42848
42849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42850 Restore proper fallback handling.
42851
63c4ed22
UD
428522010-06-19 Ulrich Drepper <drepper@redhat.com>
42853
ac2b484c
UD
42854 [BZ #11701]
42855 * posix/group_member.c (__group_member): Correct checking loop.
42856
63c4ed22
UD
42857 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42858 OOM in getpwuid_r correctly. Return error number when the caller
42859 should return, otherwise -1.
42860 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42861 call returning > 0 value.
42862 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42863
765ade4b
AS
428642010-06-07 Andreas Schwab <schwab@redhat.com>
42865
42866 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42867 libc_nonshared.a from targets in modules-names.
42868
80da2e09
KS
428692010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42870
42871 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42872 requires it.
42873
158db122
LM
428742010-06-10 Luis Machado <luisgpm@br.ibm.com>
42875
42876 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42877 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42878 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42880
caa78cf8
AS
428812010-06-02 Andreas Schwab <schwab@redhat.com>
42882
42883 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42884
b2ef2c01
UD
428852010-06-14 Ulrich Drepper <drepper@redhat.com>
42886
42887 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42888 and F_GETPIPE_SZ.
42889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42890 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42893 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42894 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42895
fbd643b6
RM
428962010-06-14 Roland McGrath <roland@redhat.com>
42897
42898 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42899
f32f2869
JJ
429002010-06-07 Jakub Jelinek <jakub@redhat.com>
42901
42902 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42903 __REDIRECT followed by __THROW.
42904 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42905 * posix/getopt.h (getopt): Likewise.
42906
2a50c078
EPM
429072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42908
42909 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42910 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42911 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42912 in AT_FLAGS.
42913 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42914 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42915
eb5ad2eb
LM
429162010-05-28 Luis Machado <luisgpm@br.ibm.com>
42917
42918 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42919
3c88fe1e
L
429202010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42921
42922 [BZ #11640]
42923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42924 Properly check family and model.
42925
d2f73151
TY
429262010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42927
42928 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42929
ebd2e13d
LM
429302010-05-24 Luis Machado <luisgpm@br.ibm.com>
42931
42932 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42933
b32b8b45
UD
429342010-05-21 Ulrich Drepper <drepper@redhat.com>
42935
42936 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42937 symbol reference.
42938
9acbe24d
AS
429392010-05-19 Andreas Schwab <schwab@redhat.com>
42940
42941 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42942 symbol reference.
42943
f0ccf6ea
AS
429442010-05-21 Andreas Schwab <schwab@redhat.com>
42945
3d04ff3a
AS
42946 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42947 and internal_recvmmsg.
42948 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42949 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42950 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42951 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42952
f0ccf6ea
AS
42953 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42954 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42955 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42956
5b08ac57
AS
429572010-05-20 Andreas Schwab <schwab@redhat.com>
42958
42959 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42960
4828935d
LM
429612010-05-17 Luis Machado <luisgpm@br.ibm.com>
42962
42963 POWER7 optimizations.
42964 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42965 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42966
373d545e
UD
429672010-05-19 Ulrich Drepper <drepper@redhat.com>
42968
42969 * version.h: Update for 2.13 development version.
42970
21a2b1ae
AS
429712010-05-12 Andrew Stubbs <ams@codesourcery.com>
42972
42973 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42974 exceptions. Return 0.
42975
3f7dcb2b
RM
429762010-05-07 Roland McGrath <roland@redhat.com>
42977
42978 * elf/ldconfig.c (main): Add a const.
42979
5f24d53a 429802010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42981
a160f8d8
UD
42982 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42983 (args_options): Add no-idn option.
42984 (ahosts_keys_int): Add idn_flags to ai_flags.
42985 (parse_option): Handle 'i' option to clear idn_flags.
42986
5f24d53a
UD
42987 * malloc/malloc.c (_int_free): Possible race in the most recently
42988 added check. Only act on the data if no current modification
42989 happened.
265bb1ce
UD
42990
42991See ChangeLog.17 for earlier changes.