]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: define _CALL_ELF if compiler does not
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7ffa9423
AZ
12014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4 * config.make.in (config-extra-cppflags): Set it from
5 libc_extra_cppflags.
6 * configure.ac (libc_extra_cflags): Make it accumulate over
7 configure fragments.
8 (libc_extra_cppflags): New flag.
9 * configure. Regenerate.
10 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
12 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14
8bd70862
AZ
152014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16
17 [BZ #16815]
18 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19 result for FE_DOWNWARD rounding mode.
20 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21 Likewise.
22 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23
d42f3448
CM
242014-04-04 Chris Metcalf <cmetcalf@tilera.com>
25
26 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27 in function argument name.
28
1c21d115
DS
292014-04-03 David Svoboda <svoboda@cert.org>
30
31 [BZ #5666]
32 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33 explicitly.
34
fcccd512
RM
352014-04-03 Roland McGrath <roland@hack.frob.com>
36
37 * elf/dl-unmap-segments.h: New file.
38 * sysdeps/generic/ldsodefs.h
39 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40 * elf/dl-close.c: Include <dl-unmap-segments.h>.
41 * elf/dl-fptr.c: Likewise.
42 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43 * sysdeps/aarch64/tlsdesc.c: Likewise.
44 * sysdeps/arm/tlsdesc.c: Likewise.
45 * sysdeps/i386/tlsdesc.c: Likewise.
46 * sysdeps/tile/dl-runtime.c: Likewise.
47 * sysdeps/x86_64/tlsdesc.c: Likewise.
48 * elf/dl-load.h: New file.
49 * elf/dl-load.c: Include it.
50 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
51 Macros moved to dl-load.h.
52 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
54 Use _dl_unmap_segments in place of __munmap.
55 Break out segment-mapping loop into ...
56 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
57
f6488e2b
WN
582014-04-03 Will Newton <will.newton@linaro.org>
59
60 * elf/dl-lookup.c (do_lookup_x): Remove comment
61 referring to nested function and move variable
62 declarations down to before first use.
63
6f05bafe
JM
642014-04-02 Joseph Myers <joseph@codesourcery.com>
65
a84e78c8
JM
66 [BZ #16799]
67 [BZ #16800]
68 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
69 with 0 numerator.
70 * math/s_catanf.c (__catanf): Likewise.
71 * math/s_catanh.c (__catanh): Likewise.
72 * math/s_catanhf.c (__catanhf): Likewise.
73 * math/s_catanhl.c (__catanhl): Likewise.
74 * math/s_catanl.c (__catanl): Likewise.
75 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
76 by positive zero when computing -Inf result.
77 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
78 (catanh_test): Likewise.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81
6f05bafe
JM
82 [BZ #16789]
83 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
84 instead of using underflowing value in computing result.
85 * math/s_clog10.c (__clog10): Likewise.
86 * math/s_clog10f.c (__clog10f): Likewise.
87 * math/s_clog10l.c (__clog10l): Likewise.
88 * math/s_clogf.c (__clogf): Likewise.
89 * math/s_clogl.c (__clogl): Likewise.
90 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
91 (clog10_test): Likewise.
92 * sysdeps/i386/fpu/libm-test-ulps: Update.
93 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
94
b0abbc21
AM
952014-04-02 Alan Modra <amodra@gmail.com>
96
97 [BZ #16739]
98 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
99 output when value is near a power of two. Use int64_t for lx and
100 remove casts. Use decimal rather than hex exponent constants.
101 Don't use long double multiplication when double will suffice.
102 * math/libm-test.inc (nextafter_test_data): Add tests.
103 * NEWS: Add 16739 and 16786 to bug list.
104
af6b1797
AM
1052014-04-02 Alan Modra <amodra@gmail.com>
106
107 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
108
483818d7
AM
1092014-04-02 Alan Modra <amodra@gmail.com>
110
111 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
112
f6c55796
WN
1132014-04-01 Will Newton <will.newton@linaro.org>
114
115 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
116 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
117
13f7fe35
FW
1182014-04-01 Florian Weimer <fweimer@redhat.com>
119
120 [BZ #13347]
121 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
122 * nptl/tst-setuid2.c: New file.
123 * nptl/Makefile (xtests): Add tst-setuid2.
124
c859b32e
AM
1252014-04-01 Alan Modra <amodra@gmail.com>
126
127 [BZ #16786]
128 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
129
54fa2475
JM
1302014-03-31 Joseph Myers <joseph@codesourcery.com>
131
8795b4a4
JM
132 [BZ #6803]
133 [BZ #6804]
134 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
135 set errno as appropriate.
136 * math/w_scalbf.c (__scalbf): Likewise.
137 * math/w_scalbl.c (__scalbl): Likewise.
138 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
139 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
140 * math/libm-test.inc (scalb_test_data): Add errno expectations.
141 Add more NaN tests.
142
54fa2475
JM
143 [BZ #16349]
144 * math/w_atan2.c: Include <errno.h>.
145 (__atan2): Set errno for result underflowing to zero.
146 * math/w_atan2f.c: Include <errno.h>.
147 (__atan2f): Set errno for result underflowing to zero.
148 * math/w_atan2l.c: Include <errno.h>.
149 (__atan2l): Set errno for result underflowing to zero.
150 * math/auto-libm-test-in: Don't allow missing errno for some atan2
151 tests.
152 * math/auto-libm-test-out: Regenerated.
153
757d9dd5
AZ
1542014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155
156 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
157 Encode instruction correctly in little endian.
158 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
159 Likewise.
160 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
161 Likewise.
162 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
163 Likewise.
164 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
165 Likewise.
166
d7a68734
JM
1672014-03-31 Joseph Myers <joseph@codesourcery.com>
168
47c5adeb
JM
169 [BZ #9894]
170 * sysdeps/unix/sysv/linux/kernel-features.h
171 [__sparc__ && !__arch64__ && !__sparc_v9__]
172 (__ASSUME_SET_ROBUST_LIST): Do not define.
173 [__sparc__ && !__arch64__ && !__sparc_v9__]
174 (__ASSUME_FUTEX_LOCK_PI): Likewise.
175 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
176 Likewise.
177 * sysdeps/unix/sysv/linux/arm/kernel-features.h
178 (__ASSUME_FUTEX_LOCK_PI): Undefine.
179 (__ASSUME_REQUEUE_PI): Likewise.
180 (__ASSUME_SET_ROBUST_LIST): Likewise.
181 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
182 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
183 Undefine.
184 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
185 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
186 Likewise.
187 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
188 Likewise.
189 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
190 Likewise.
191 * sysdeps/unix/sysv/linux/mips/kernel-features.h
192 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
193 Undefine.
194 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
195 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
196 Likewise.
197
d7a68734
JM
198 [BZ #16648]
199 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
200 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
201 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
202
c760f5c2
WN
2032014-03-31 Will Newton <will.newton@linaro.org>
204
205 * benchtests/Makefile (bench): Add ffs and ffsll to list
206 of tests.
207 * benchtests/ffs-inputs: New file.
208 * benchtests/ffsll-inputs: Likewise.
209
ea6029b1
JM
2102014-03-29 Joseph Myers <joseph@codesourcery.com>
211
212 [BZ #16770]
213 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
214 too large before casting to int.
215 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
216 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
217 * math/libm-test.inc (scalb_test_data): Add more tests.
218
cf806aff
SP
2192014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
220
56737508
SP
221 * benchtests/Makefile (DETAILED_OPT): New make option.
222 (bench-func): Run benchmark program with -d if DETAILED_OPT is
223 set.
224 * benchtests/bench-skeleton.c: Include stdbool.h.
225 (main): Store and print timings per input.
226 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
227 member to each argument value.
228 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
229 (_print_arg_data): Initialize per-input timing to 0.
230
cb5e4aad
SP
231 * benchtests/Makefile (timing-type): New binary.
232 (bench-clean): Also remove bench-timing-type.
233 (bench): New target for timing-type.
234 (bench-func): Print output in JSON format.
235 * benchtests/bench-skeleton.c (main): Print output in JSON
236 format.
237 * benchtests/bench-timing-type.c: New file.
238 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
239 (TIMING_PRINT_STATS): Remove.
240 * benchtests/scripts/bench.py (_print_arg_data): Store variant
241 name separately.
242
cf806aff
SP
243 * benchtests/bench-modf.c: Remove.
244 * benchtests/modf-inputs: New inputs file.
245
289e0779
JM
2462014-03-28 Joseph Myers <joseph@codesourcery.com>
247
248 [BZ #16362]
249 * math/s_clog10.c (M_PI_LOG10E): New macro.
250 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
251 imaginary parts are 0.
252 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
253 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
254 imaginary parts are 0.
255 * math/s_clog10l.c (M_PI_LOG10El): New macro.
256 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
257 imaginary parts are 0.
258 * math/libm-test.inc (clog10_test_data): Update expected results
259 for when real and imaginary parts are 0.
260
277ae3f1
PP
2612014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
262
263 * elf/dl-load.c: Finish conversion of __builtin_expect into
264 __glibc_{un}likely.
265
03a7091f
JM
2662014-03-27 Joseph Myers <joseph@codesourcery.com>
267
268 [BZ #16348]
269 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
270 1+x for argument with exponent below -67.
271 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
272 Likewise.
273 * math/auto-libm-test-in: Add more tests of exp.
274 * math/auto-libm-test-out: Regenerated.
275
ea7d8b95
SP
2762014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
277
dd3022d7
SP
278 [BZ #16759]
279 * inet/getnetgrent_r.c (get_nonempty_val): New function.
280 (nscd_getnetgrent): Use it.
281
ea7d8b95
SP
282 [BZ #16760]
283 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
284 of stpcpy.
285
df5b85da
AK
2862014-03-27 Andi Kleen <ak@linux.intel.com>
287
288 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
289 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
290 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
291 Remove out of line section. Use cfi intrinsics.
292 (LLL_STUB_UNWIND_INFO*): Remove.
293 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
294 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
295 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
296 Remove out of line section. Use cfi intrinsics.
297 (LLL_STUB_UNWIND_INFO*): Remove.
298
fbd6b5a4
SP
2992014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
300
301 [BZ #16758]
302 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
303 blank values.
304
1b26b855
PP
3052014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
306
307 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
308
9be36fb8
JM
3092014-03-26 Joseph Myers <joseph@codesourcery.com>
310
311 [BZ #16198]
312 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
313 fnstenv.
314 * math/test-fenv-preserve.c: New file.
315 * math/Makefile (tests): Add test-fenv-preserve.
316
60a2f3c1
WN
3172014-03-26 Will Newton <will.newton@linaro.org>
318
319 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
320
a5e5f1e2
RM
3212014-03-25 Roland McGrath <roland@hack.frob.com>
322
323 * scripts/versionlist.awk: Partition the version sets and emit all
324 GLIBC_* (sorted) before all others (sorted).
325
00f4012a
JM
3262014-03-25 Joseph Myers <joseph@codesourcery.com>
327
328 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
329 GLIBC_2.2.5 version.
330
7bc5a741
AZ
3312014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
332
333 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
334 calls.
335
7578473b
AZ
3362014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
337
338 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
339 previous change.
340
f3f1dab3
AZ
3412014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342
343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
344
6da36183
AS
3452014-03-25 Andreas Schwab <schwab@suse.de>
346
347 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
348 label to be used after in6ailist is initialized.
349
f3f1dab3 3502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 351
7578473b 352 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
353 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
354
046651c1
JM
3552014-03-25 Joseph Myers <joseph@codesourcery.com>
356
357 [BZ #16357]
358 [BZ #16599]
359 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
360 min_plus_half.
361 (fp_formats): Update initializers.
362 (init_fp_formats): Initialize new field.
363 (output_for_one_input_case): Allow underflow for results up to
364 min_plus_half.
365 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
366 * math/auto-libm-test-in: Don't mark some underflows from asin and
367 atanh as spurious.
368 * math/auto-libm-test-out: Regenerated.
369 * sysdeps/i386/fpu/libm-test-ulps: Update.
370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371
003e49ed
AS
3722014-03-25 Andreas Schwab <schwab@suse.de>
373
374 * libio/Makefile (tst-ftell-partial-wide-ENV)
375 (tst-ftell-active-handler-ENV): Define.
376
de031874
SL
3772014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
378
379 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
380
55a81e3b
PP
3812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
382
383 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
384
f3426898
JM
3852014-03-24 Joseph Myers <joseph@codesourcery.com>
386
387 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
388 * sysdeps/x86_64/fpu/multiarch/e_exp.c
389 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
390
a42faf59
PP
3912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
392
393 [BZ #16634]
a42faf59 394 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
395 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
396 (open_path): Change from boolean 'secure' to complete flag 'mode'
397 (_dl_map_object): Adjust.
a42faf59
PP
398 * elf/Makefile (tests): Add tst-dlopen-aout.
399 * elf/tst-dlopen-aout.c: New test.
400
50936127
SL
4012014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
402
403 [BZ #16714]
404 * sysdeps/unix/sysv/linux/s390/bits/stat.h
405 (struct stat): Rename member pad0 to __glibc_reserved0.
406
26011b5c
SL
4072014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
408
409 [BZ #16712]
410 * sysdeps/s390/s390-32/bits/wordsize.h
411 (__WORDSIZE32_SIZE_ULONG): New define.
412 * sysdeps/s390/s390-64/bits/wordsize.h
413 (__WORDSIZE32_SIZE_ULONG): Likewise.
414 * sysdeps/generic/stdint.h (SIZE_MAX):
415 Define as UL if __WORDSIZE32_SIZE_ULONG.
416
a2d86bf1
SL
4172014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
418
419 [BZ #16713]
420 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
421 (__glibc_reserved0): New variable.
422 (sa_flags): Change type to int.
423
78b6eebc
SL
4242014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
425
426 * posix/Makefile (before-compile): Use += before-compile instead
427 of a :=.
428
f1399b5a
SL
4292014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
430
431 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
432 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
433
a071766e
AS
4342014-03-20 Andreas Schwab <schwab@suse.de>
435
436 [BZ #16743]
437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
438 non-matching result from nscd.
439
27c673b8
SP
4402014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
441
442 * scripts/bench.py: Moved to ...
443 * benchtests/scripts/bench.py: ... here.
444 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
445
44152e4b
AS
4462014-03-24 Andreas Schwab <schwab@suse.de>
447
448 [BZ #16002]
449 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
450 alloca_account and account alloca use for struct in6ailist.
451
b376a11a
JM
4522014-03-24 Joseph Myers <joseph@codesourcery.com>
453
454 [BZ #16284]
455 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
456 rounding mode to recompute results that overflow to infinity or
457 underflow to zero.
458 * math/auto-libm-test-in: Don't mark tests as expected to fail for
459 bug 16284.
460 * math/auto-libm-test-out: Regenerated.
461 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
462 (ccosh_test): Likewise.
463 (csin_test_data): Use plus_oflow.
464 (csin_test): Use ALL_RM_TEST.
465 (csinh_test_data): Use plus_oflow.
466 (csinh_test): Use ALL_RM_TEST.
467 * sysdeps/i386/fpu/libm-test-ulps: Update.
468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
469
f7be7376
JM
4702014-03-21 Joseph Myers <joseph@codesourcery.com>
471
1ca2d03e
JM
472 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
473 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
474 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
475
f7be7376
JM
476 [BZ #16731]
477 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
478 when x - 1 is zero.
479 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
480 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
481 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
482 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
483 argument is 1.
484 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
485 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
486 zero.
487 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
488 * sysdeps/i386/fpu/libm-test-ulps: Update.
489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
490
fdf4534d
SP
4912014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
492
df26ea53
SP
493 * scripts/bench.pl: Remove file.
494 * scripts/bench.py: New benchmark script.
495 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
496 * benchtests/README: Mention python dependency.
497 * scripts/pylintrc: New file.
498 * scripts/pylint: New file.
499
fdf4534d
SP
500 * bits/mathdef.h: Use #ifdef instead of #if.
501 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
502 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
503 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
504 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
505 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
506 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
507
6f23d093
AZ
5082014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
509 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
510
511 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
513 and strpbrk-ppc64 objects.
514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
515 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
516 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
517 multiarch strpbrk for POWER7.
518 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
519 multiarch strpbrk for PPC64.
520 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
521 ifunc selector.
522 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
523 strpbrk for POWER7.
524
8c92dfff
JM
5252014-03-20 Joseph Myers <joseph@codesourcery.com>
526
527 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
528 (atan_test): Likewise.
529 (atanh_test_data): Use NO_TEST_INLINE for two tests.
530 (atanh_test): Use ALL_RM_TEST.
531 (atan2_test_data): Likewise.
532 (cabs_test): Likewise.
533 (cacosh_test): Likewise.
534 (carg_test): Likewise.
535 (casin_test): Likewise.
536 (casinh_test): Likewise.
537 (cbrt_test): Likewise.
538 (csqrt_test): Likewise.
539 (erf_test): Likewise.
540 (erfc_test): Likewise.
541 (pow10_test): Likewise.
542 (exp2_test): Likewise.
543 (hypot_test): Likewise.
544 (j0_test): Likewise.
545 (j1_test): Likewise.
546 (lgamma_test): Likewise.
547 (gamma_test): Likewise.
548 (sincos_test): Likewise.
549 (tanh_test): Likewise.
550 (y0_test): Likewise.
551 (y1_test): Likewise.
552 * sysdeps/i386/fpu/libm-test-ulps: Update.
553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
554
6eaf95cb
AZ
5552014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556
a387428c
SP
557 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
559 and strcspn-ppc64 objects.
560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
561 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
562 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
563 multiarch strcspn for POWER7.
564 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
565 multiarch strcspn for PPC64.
566 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
567 ifunc selector.
568 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
569 strcspn for POWER7.
570
ae3a5dff
JM
5712014-03-20 Joseph Myers <joseph@codesourcery.com>
572
573 * math/gen-libm-test.pl (generate_testfile): Expect only function
574 name as argument to AUTO_TESTS_* and pass results for all rounding
575 modes to parse_args.
576 (parse_auto_input): Separate inputs of automatic tests from
577 outputs before storing in %auto_tests.
578 * math/libm-test.inc (acos_test_data): Update call to
579 AUTO_TESTS_f_f.
580 (acos_test): Use ALL_RM_TEST.
581 (acos_tonearest_test_data): Remove.
582 (acos_test_tonearest): Likewise.
583 (acos_towardzero_test_data): Likewise.
584 (acos_test_towardzero): Likewise.
585 (acos_downward_test_data): Likewise.
586 (acos_test_downward): Likewise.
587 (acos_upward_test_data): Likewise.
588 (acos_test_upward): Likewise.
589 (acosh_test_data): Update call to AUTO_TESTS_f_f.
590 (asin_test_data): Likewise.
591 (asin_test): Use ALL_RM_TEST.
592 (asin_tonearest_test_data): Remove.
593 (asin_test_tonearest): Likewise.
594 (asin_towardzero_test_data): Likewise.
595 (asin_test_towardzero): Likewise.
596 (asin_downward_test_data): Likewise.
597 (asin_test_downward): Likewise.
598 (asin_upward_test_data): Likewise.
599 (asin_test_upward): Likewise.
600 (asinh_test_data): Update call to AUTO_TESTS_f_f.
601 (atan_test_data): Likewise.
602 (atanh_test_data): Likewise.
603 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
604 (cabs_test_data): Update call to AUTO_TESTS_c_f.
605 (carg_test_data): Likewise.
606 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
607 (ccos_test_data): Update call to AUTO_TESTS_c_c.
608 (ccosh_test_data): Likewise.
609 (cexp_test_data): Likewise.
610 (clog_test_data): Likewise.
611 (clog10_test_data): Likewise.
612 (cos_test_data): Update call to AUTO_TESTS_f_f.
613 (cos_test): Use ALL_RM_TEST.
614 (cos_tonearest_test_data): Remove.
615 (cos_test_tonearest): Likewise.
616 (cos_towardzero_test_data): Likewise.
617 (cos_test_towardzero): Likewise.
618 (cos_downward_test_data): Likewise.
619 (cos_test_downward): Likewise.
620 (cos_upward_test_data): Likewise.
621 (cos_test_upward): Likewise.
622 (cosh_test_data): Update call to AUTO_TESTS_f_f.
623 (cosh_test): Use ALL_RM_TEST.
624 (cosh_tonearest_test_data): Remove.
625 (cosh_test_tonearest): Likewise.
626 (cosh_towardzero_test_data): Likewise.
627 (cosh_test_towardzero): Likewise.
628 (cosh_downward_test_data): Likewise.
629 (cosh_test_downward): Likewise.
630 (cosh_upward_test_data): Likewise.
631 (cosh_test_upward): Likewise.
632 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
633 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
634 (ctan_test_data): Likewise.
635 (ctan_test): Use ALL_RM_TEST.
636 (ctan_tonearest_test_data): Remove.
637 (ctan_test_tonearest): Likewise.
638 (ctan_towardzero_test_data): Likewise.
639 (ctan_test_towardzero): Likewise.
640 (ctan_downward_test_data): Likewise.
641 (ctan_test_downward): Likewise.
642 (ctan_upward_test_data): Likewise.
643 (ctan_test_upward): Likewise.
644 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
645 (ctanh_test): Use ALL_RM_TEST.
646 (ctanh_tonearest_test_data): Remove.
647 (ctanh_test_tonearest): Likewise.
648 (ctanh_towardzero_test_data): Likewise.
649 (ctanh_test_towardzero): Likewise.
650 (ctanh_downward_test_data): Likewise.
651 (ctanh_test_downward): Likewise.
652 (ctanh_upward_test_data): Likewise.
653 (ctanh_test_upward): Likewise.
654 (erf_test_data): Update call to AUTO_TESTS_f_f.
655 (erfc_test_data): Likewise.
656 (exp_test_data): Likewise.
657 (exp_test): Use ALL_RM_TEST.
658 (exp_tonearest_test_data): Remove.
659 (exp_test_tonearest): Likewise.
660 (exp_towardzero_test_data): Likewise.
661 (exp_test_towardzero): Likewise.
662 (exp_downward_test_data): Likewise.
663 (exp_test_downward): Likewise.
664 (exp_upward_test_data): Likewise.
665 (exp_test_upward): Likewise.
666 (exp10_test_data): Update call to AUTO_TESTS_f_f.
667 (exp10_test): Use ALL_RM_TEST.
668 (exp10_tonearest_test_data): Remove.
669 (exp10_test_tonearest): Likewise.
670 (exp10_towardzero_test_data): Likewise.
671 (exp10_test_towardzero): Likewise.
672 (exp10_downward_test_data): Likewise.
673 (exp10_test_downward): Likewise.
674 (exp10_upward_test_data): Likewise.
675 (exp10_test_upward): Likewise.
676 (exp2_test_data): Update call to AUTO_TESTS_f_f.
677 (expm1_test_data): Likewise.
678 (expm1_test): Use ALL_RM_TEST.
679 (expm1_tonearest_test_data): Remove.
680 (expm1_test_tonearest): Likewise.
681 (expm1_towardzero_test_data): Likewise.
682 (expm1_test_towardzero): Likewise.
683 (expm1_downward_test_data): Likewise.
684 (expm1_test_downward): Likewise.
685 (expm1_upward_test_data): Likewise.
686 (expm1_test_upward): Likewise.
687 (fma_test_data): Update call to AUTO_TESTS_fff_f.
688 (fma_test): Use ALL_RM_TEST.
689 (fma_towardzero_test_data): Remove.
690 (fma_test_towardzero): Likewise.
691 (fma_downward_test_data): Likewise.
692 (fma_test_downward): Likewise.
693 (fma_upward_test_data): Likewise.
694 (fma_test_upward): Likewise.
695 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
696 (j0_test_data): Update call to AUTO_TESTS_f_f.
697 (j1_test_data): Likewise.
698 (jn_test_data): Update call to AUTO_TESTS_if_f.
699 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
700 (log_test_data): Update call to AUTO_TESTS_f_f.
701 (log10_test_data): Likewise.
702 (log1p_test_data): Likewise.
703 (log2_test_data): Likewise.
704 (pow_test_data): Update call to AUTO_TESTS_ff_f.
705 (pow_tonearest_test_data): Likewise.
706 (sin_test_data): Update call to AUTO_TESTS_f_f.
707 (sin_test): Use ALL_RM_TEST.
708 (sin_tonearest_test_data): Remove.
709 (sin_test_tonearest): Likewise.
710 (sin_towardzero_test_data): Likewise.
711 (sin_test_towardzero): Likewise.
712 (sin_downward_test_data): Likewise.
713 (sin_test_downward): Likewise.
714 (sin_upward_test_data): Likewise.
715 (sin_test_upward): Likewise.
716 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
717 (sinh_test_data): Update call to AUTO_TESTS_f_f.
718 (sinh_test): Use ALL_RM_TEST.
719 (sinh_tonearest_test_data): Remove.
720 (sinh_test_tonearest): Likewise.
721 (sinh_towardzero_test_data): Likewise.
722 (sinh_test_towardzero): Likewise.
723 (sinh_downward_test_data): Likewise.
724 (sinh_test_downward): Likewise.
725 (sinh_upward_test_data): Likewise.
726 (sinh_test_upward): Likewise.
727 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
728 (sqrt_test): Use ALL_RM_TEST.
729 (sqrt_tonearest_test_data): Remove.
730 (sqrt_test_tonearest): Likewise.
731 (sqrt_towardzero_test_data): Likewise.
732 (sqrt_test_towardzero): Likewise.
733 (sqrt_downward_test_data): Likewise.
734 (sqrt_test_downward): Likewise.
735 (sqrt_upward_test_data): Likewise.
736 (sqrt_test_upward): Likewise.
737 (tan_test_data): Update call to AUTO_TESTS_f_f.
738 (tan_test): Use ALL_RM_TEST.
739 (tan_tonearest_test_data): Remove.
740 (tan_test_tonearest): Likewise.
741 (tan_towardzero_test_data): Likewise.
742 (tan_test_towardzero): Likewise.
743 (tan_downward_test_data): Likewise.
744 (tan_test_downward): Likewise.
745 (tan_upward_test_data): Likewise.
746 (tan_test_upward): Likewise.
747 (tanh_test_data): Update call to AUTO_TESTS_f_f.
748 (tgamma_test_data): Likewise.
749 (y0_test_data): Likewise.
750 (y1_test_data): Likewise.
751 (yn_test_data): Update call to AUTO_TESTS_if_f.
752 (main): Do not call removed functions.
753
d71aeee8
JM
7542014-03-19 Joseph Myers <joseph@codesourcery.com>
755
756 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
757 (ldexp_test_data): Remove.
758 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
759 scalbn_test_data.
760 (scalb_test): Use ALL_RM_TEST.
761
baaf1ded
AS
7622014-03-19 Andreas Schwab <schwab@suse.de>
763
764 * nscd/nscd.service: Also invalidate netgroup cache on reload.
765
b1115e91
JM
7662014-03-19 Joseph Myers <joseph@codesourcery.com>
767
768 [BZ #16649]
769 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
770 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
771 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
772 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
773 (__ASSUME_PREADV): Undefine.
774 (__ASSUME_PWRITEV): Likewise.
775
0283ecca
RM
7762014-03-18 Roland McGrath <roland@hack.frob.com>
777
7d375303
RM
778 * bits/mman-linux.h: Add comment about non-Linux use.
779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
780 bits/mman-linux.h resting place.
781
0283ecca
RM
782 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
783 * bits/mman-linux.h: ... here.
784
aebe1003
AZ
7852014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
786
787 * conform/conformtest.pl: Add standard definition when calling C
788 preprocessor on data files.
789 (checknamespace): Remove unused variable.
790
b29b6bb8
JM
7912014-03-18 Joseph Myers <joseph@codesourcery.com>
792
793 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
794 minus_oflow, plus_uflow and minus_uflow in expected results.
795 * math/libm-test.inc (scalbn_test_data): Add more tests of
796 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
797 minus_uflow.
798 (scalbn_test): Use ALL_RM_TEST.
799 (scalbln_test_data): Add more tests of negative arguments. Use
800 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
801 (scalbln_test): Use ALL_RM_TEST.
802
c8f8fa15
RM
8032014-03-18 Roland McGrath <roland@hack.frob.com>
804
805 * scripts/abilist.awk: Ignore symbols marked with .hidden.
806
fede7a5f
WN
8072014-03-18 Will Newton <will.newton@linaro.org>
808
809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
810 inaccurate comment.
811
80cf0a58
JM
8122014-03-18 Joseph Myers <joseph@codesourcery.com>
813
814 * Makerules [!subdir] (check-abi): Exit with error status if a
815 test failed.
816
b3620862
JM
8172014-03-17 Joseph Myers <joseph@codesourcery.com>
818
819 * math/libm-test.inc (nearbyint_test_data): Include all tests used
820 for rint. Include results for all rounding modes.
821 (nearbyint_test): Use ALL_RM_TEST.
822 (rint_test_data): Include all tests used for nearbyint.
823
788bba36
WN
8242014-03-17 Will Newton <will.newton@linaro.org>
825
04ec140a
WN
826 * nptl/sysdeps/pthread/pthread.h: Revert previous
827 change.
828
7579d8d5
WN
829 * sysdeps/generic/ldsodefs.h: Revert previous
830 change.
831
c15cf13a
WN
832 * libio/genops.c: Revert previous change.
833 * libio/libioP.h: Likewise.
834 * stdio-common/vfprintf.c: Likewise.
835
d0ac1324
WN
836 * sysdeps/generic/math_private.h: Revert previous
837 change.
838
9290130a
WN
839 * sysdeps/generic/math_private.h: Check whether
840 HAVE_RM_CTX is defined with #ifdef rather
841 than #if.
842
afb466fc
WN
843 * argp/argp-fmtstream.h: Check whether
844 __STRICT_ANSI__ is defined with #ifdef rather
845 than #if.
846 * argp/argp.h: Likewise.
847
f7efd7c3
WN
848 * libio/genops.c: Check whether
849 _IO_JUMPS_OFFSET is defined with #ifdef rather
850 than #if.
851 * libio/libioP.h: Likewise.
852 * stdio-common/vfprintf.c: Likewise.
853
53f1bed3
WN
854 * sysdeps/generic/ldsodefs.h: Check whether
855 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
856 than #if.
857
788bba36
WN
858 * nptl/sysdeps/pthread/pthread.h: Check
859 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
860 its value.
861
fcd89ebe
SP
8622014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
863
ae42bbc5
SP
864 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
865 setting O_APPEND.
866 * libio/tst-ftell-active-handler.c (do_append_test): Add a
867 test case.
868
ea33158c
SP
869 [BZ #16680]
870 * libio/fileops.c (_IO_file_open): Seek to end of file but
871 don't cache the offset.
872 (get_file_offset): Remove function.
873 (do_ftell): Use cached offset when available.
874 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
875 don't cache the offset.
876 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
877 case.
878 (do_one_test): Call it.
879 (do_ftell_test): Fix up expected old offset for a+ mode.
880 * libio/wfileops.c (do_ftell_wide): Used cached offset when
881 available.
882
b1dbb426
SP
883 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
884 up test status with function return status.
885 (do_write_test): Likewise.
886 (do_append_test): Likewise.
887
fcd89ebe
SP
888 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
889 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
890 Remove.
891
9962a2d3
JM
8922014-03-17 Joseph Myers <joseph@codesourcery.com>
893
894 * math/gen-libm-test.pl (parse_args): Handle results specified for
895 each rounding mode separately.
896 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
897 tests and results from lrint_tonearest_test_data,
898 lrint_towardzero_test_data, lrint_downward_test_data and
899 lrint_upward_test_data.
900 (lrint_test): Use ALL_RM_TEST.
901 (lrint_tonearest_test_data): Remove.
902 (lrint_test_tonearest): Likewise.
903 (lrint_towardzero_test_data): Likewise.
904 (lrint_test_towardzero): Likewise.
905 (lrint_downward_test_data): Likewise.
906 (lrint_test_downward): Likewise.
907 (lrint_upward_test_data): Likewise.
908 (lrint_test_upward): Likewise.
909 (llrint_test_data): Merge in per-rounding-mode tests and results
910 from llrint_tonearest_test_data, llrint_towardzero_test_data,
911 llrint_downward_test_data and llrint_upward_test_data.
912 (llrint_test): Use ALL_RM_TEST.
913 (llrint_tonearest_test_data): Remove.
914 (llrint_test_tonearest): Likewise.
915 (llrint_towardzero_test_data): Likewise.
916 (llrint_test_towardzero): Likewise.
917 (llrint_downward_test_data): Likewise.
918 (llrint_test_downward): Likewise.
919 (llrint_upward_test_data): Likewise.
920 (llrint_test_upward): Likewise.
921 (rint_test_data): Merge in per-rounding-mode tests and results
922 from rint_tonearest_test_data, rint_towardzero_test_data,
923 rint_downward_test_data and rint_upward_test_data. Add
924 per-rounding-mode results for tests not in those arrays.
925 (rint_test): Use ALL_RM_TEST.
926 (rint_tonearest_test_data): Remove.
927 (rint_test_tonearest): Likewise.
928 (rint_towardzero_test_data): Likewise.
929 (rint_test_towardzero): Likewise.
930 (rint_downward_test_data): Likewise.
931 (rint_test_downward): Likewise.
932 (rint_upward_test_data): Likewise.
933 (rint_test_upward): Likewise.
934 (main): Don't call removed functions.
935
5006148e
RM
9362014-03-14 Roland McGrath <roland@hack.frob.com>
937
938 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
939 "Compiled on ..." crapola. It is anti-useful.
940
d6fe5e58
JM
9412014-03-14 Joseph Myers <joseph@codesourcery.com>
942
943 * scripts/evaluate-test.sh: Handle fourth argument to determine
944 whether test run should stop on failure.
945 * Makeconfig (stop-on-test-failure): New variable.
946 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
947 $(stop-on-test-failure).
948 * Makefile (tests): Give a summary of results from testing and
949 exit with failure status if they include an ERROR or FAIL.
950 (xtests): Likewise.
951 * manual/install.texi (Configuring and compiling): Mention
952 stop-on-test-failure=y.
953 * INSTALL: Regenerated.
954
498a2233
RM
9552014-03-14 Roland McGrath <roland@hack.frob.com>
956
22dbc19d
RM
957 * scripts/versionlist.awk: New file.
958 * Makerules [$(build-shared) = yes]
959 (postclean-generated): Add Versions.def, not Versions.def.v and
960 Versions.def.v.i.
961 ($(common-objpfx)Versions.def.v.i): Target removed.
962 ($(common-objpfx)Versions.def): New target.
963 ($(common-objpfx)Versions.all): Depend on that rather that
964 $(common-objpfx)Versions.def.v.
965 * Versions.def: File removed.
966
498a2233
RM
967 * Makeconfig (+gccwarn): Add -Wundef.
968 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
969 a dl-sysdep.h breaking its contract.
970 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
971 * include/stackinfo.h: New file.
972 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
973 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
974 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
975 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
976 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
977 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
978 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
979 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
980 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
981 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
982 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
983 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
984 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
985 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
986 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
987
c7de5025
AZ
9882014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989
990 [BZ #16707]
991 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
992 implementation.
993 * math/libm-test.inc (round_test_data): Add more tests.
994
98fb27a3
AZ
9952014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
997 [BZ #16706]
998 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
999 implementation.
1000 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1001
374f7f61
AZ
10022014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003
1004 [BZ #16701]
1005 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1006 implementation.
1007 * math/libm-test.inc (ceil_test_data): Add more tests.
1008
4655c291
AZ
10092014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010
1011 * math/libm-test.inc (trunc_test_data): Add more tests related to
1012 BZ#16414.
1013
d7329d4b
RM
10142014-03-14 Roland McGrath <roland@hack.frob.com>
1015
1016 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1017 with #if rather than #ifdef.
1018 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1019
aa4de9ce
L
10202014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1023 first. Disable AVX-512 GCC support if assembler doesn't support
1024 it.
1025 * sysdeps/x86_64/configure: Regenerated.
1026
2e03fae7
CD
10272014-03-13 Carlos O'Donell <carlos@redhat.com>
1028
1029 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1030 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1031 (__old_pthread_attr_setstack): Likewise.
1032 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1033 [!_STACK_GROWS_DOWN]: Likewise.
1034
43ca83ec
MF
10352014-03-13 Mike Frysinger <vapier@gentoo.org>
1036
1037 * config.make.in (have-bash2): Delete.
1038 * configure.ac (libc_cv_have_bash2): Delete.
1039 * configure: Regenerate.
1040 * elf/Makefile (common-ldd-rewrite): Rename to ...
1041 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1042 (sh-ldd-rewrite): Delete.
1043 (bash-ldd-rewrite): Delete.
1044 (have-bash2): Delete checks.
1045 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1046
c66e48b4
MF
10472014-03-13 Mike Frysinger <vapier@gentoo.org>
1048
1049 * config.make.in (have-ksh): Delete.
1050 (KSH): Delete.
1051 * configure.ac (libc_cv_have_ksh): Delete.
1052 * configure: Regenerate.
1053
b93834ef
MF
10542014-03-13 Mike Frysinger <vapier@gentoo.org>
1055
1056 * elf/Makefile: Delete $(have-ksh) check.
1057 ($(objpfx)sotruss): Change KSH to BASH.
1058 * elf/sotruss.ksh: Rename to ...
1059 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1060 function style to match POSIX. Drop ksh vim mode setting.
1061
f3a4632a
MF
10622014-03-13 Mike Frysinger <vapier@gentoo.org>
1063
1064 * manual/time.texi (Specifying the Time Zone with TZ): Change
1065 Tuesday to Thursday.
1066
5896c8bd
MF
10672014-03-13 Mike Frysinger <vapier@gentoo.org>
1068
1069 * debug/tst-longjmp_chk2.c: Update header comment.
1070 (stackoverflow_handler): Add comment. Call assert on pass value.
1071
2d63a517
IZ
10722014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1073
1074 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1075 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1076 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1077 (La_x86_64_vector): Add zmm.
1078 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1079 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1080 ($(objpfx)tst-audit10): New target.
1081 ($(objpfx)tst-audit10.out): Likewise.
1082 (tst-audit10-ENV): New.
1083 (AVX512-CFLAGS): Likewise.
1084 (CFLAGS-tst-audit10.c): Likewise.
1085 (CFLAGS-tst-auditmod10a.c): Likewise.
1086 (CFLAGS-tst-auditmod10b.c): Likewise.
1087 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1088 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1089 * sysdeps/x86_64/configure: Regenerated.
1090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1091 AVX-512 zmm register support.
1092 (_dl_x86_64_save_sse): Likewise.
1093 (_dl_x86_64_restore_sse): Likewise.
1094 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1095 size vector registers.
1096 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1097 (ZMM_SIZE): Likewise.
1098 * sysdeps/x86_64/tst-audit10.c: New file.
1099 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1100 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1101
44c4e5d5
RM
11022014-03-13 Roland McGrath <roland@hack.frob.com>
1103
1104 * configure.ac (HAVE_EHDR_START): New check.
1105 * configure: Regenerated.
1106 * config.h.in (HAVE_EHDR_START): New #undef.
1107 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1108 assuming the lowest-addressed segment maps the start of the file.
1109
acd6e389
JM
11102014-03-13 Joseph Myers <joseph@codesourcery.com>
1111
1112 * INSTALL: Regenerated.
1113
6f918f36
WN
11142014-03-13 Will Newton <will.newton@linaro.org>
1115
1116 * manual/setjmp.texi (System V contexts): Improve
1117 clarity and grammar of documentation.
1118
798212a0
PP
11192014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1120
1121 [BZ #16381]
798212a0 1122 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1123 (tests-pie): Add tst-pie2.
798212a0
PP
1124 * elf/tst-pie2.c: New file.
1125 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1126 for ET_EXEC.
1127 * elf/rtld.c (map_doit): Load executable as lt_executable.
1128 (dl_main): Likewise.
1129
abe6d90c
JM
11302014-03-12 Joseph Myers <joseph@codesourcery.com>
1131
1132 [BZ #16642]
1133 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1134 (__ASSUME_PSELECT): Undefine.
1135
dd3946c6
AZ
11362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1137
1138 [BZ #16689]
1139 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1140 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1141 static build.
1142 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1143 selector for static builds.
1144
c44496df
SP
11452014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1146
1147 [BZ #16695]
1148 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1149 key in the buffer.
1150
27c7220a
AZ
11512014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1152
1153 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1154 selector for static builds.
1155
600fa361
JM
11562014-03-11 Joseph Myers <joseph@codesourcery.com>
1157
76c96cf7
JM
1158 * sysdeps/mips/math_private.h [__mips_hard_float]
1159 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1160 libc_feresetround_mips_ctx.
1161 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1162 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1163 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1164
600fa361
JM
1165 [BZ #16677]
1166 * math/s_nextafter.c (__nextafter): Do not return value from
1167 overflowing computation.
1168 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1169 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1171 Likewise.
1172 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1173 Likewise.
1174 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1175 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1176
d7706c32
RM
11772014-03-11 Roland McGrath <roland@hack.frob.com>
1178
1179 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1180 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1181 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1182 the new mov targetting sp.
1183
4facea47
AZ
11842014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185
1186 [BZ #16683]
1187 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1188 Define it for static builds as well.
1189 (NO_BZERO_IMPL): Likewise.
1190
e65caf1f
VR
11912014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1192
1193 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1194 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1195 multiarch strspn for PPC64.
1196 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1197 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1199 (__libc_ifunc_impl_list): Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1201 multiarch optimizations
1202 * string/strspn.c (strspn): Using macro to redefine symbol name.
1203
ba9cc071
AZ
12042014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1205 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1206
1207 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1208 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1209 multiarch strncat for PPC64.
1210 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1211 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1213 (__libc_ifunc_impl_list): Likewise.
1214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1215 multiarch optimizations
1216
8b4ff974
SP
12172014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1218
1219 [BZ #16639]
1220 * nscd/nscd.service: Make service type forking.
1221
54b46a4b
AZ
12222014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223
1224 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1225 sign in non default rounding modes.
1226 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1227
e9996ef7
JM
12282014-03-08 Joseph Myers <joseph@codesourcery.com>
1229
1230 * math/libm-test.inc (ALL_RM_TEST): New macro.
1231 (ceil_test): Use ALL_RM_TEST.
1232 (cimag_test): Likewise.
1233 (conj_test): Likewise.
1234 (copysign_test): Likewise.
1235 (cproj_test): Likewise.
1236 (creal_test): Likewise.
1237 (fabs_test): Likewise.
1238 (floor_test): Likewise.
1239 (fmax_test): Likewise.
1240 (fmin_test): Likewise.
1241 (fmod_test): Likewise.
1242 (fpclassify_test): Likewise.
1243 (frexp_test): Likewise.
1244 (ilogb_test): Likewise.
1245 (isfinite_test): Likewise.
1246 (finite_test): Likewise.
1247 (isgreater_test): Likewise.
1248 (isgreaterequal_test): Likewise.
1249 (isinf_test): Likewise.
1250 (isless_test): Likewise.
1251 (islessequal_test): Likewise.
1252 (islessgreater_test): Likewise.
1253 (isnan_test): Likewise.
1254 (isnormal_test): Likewise.
1255 (issignaling_test): Likewise.
1256 (isunordered_test): Likewise.
1257 (logb_test): Likewise.
1258 (logb_downward_test_data): Remove.
1259 (logb_test_downward): Likewise.
1260 (lround_test): Use ALL_RM_TEST.
1261 (llround_test): Likewise.
1262 (modf_test): Likewise.
1263 (nexttoward_test): Likewise.
1264 (remainder_test): Likewise.
1265 (drem_test): Likewise.
1266 (remainder_tonearest_test_data): Likewise.
1267 (remainder_test_tonearest): Likewise.
1268 (drem_test_tonearest): Likewise.
1269 (remainder_towardzero_test_data): Likewise.
1270 (remainder_test_towardzero): Likewise.
1271 (drem_test_towardzero): Likewise.
1272 (remainder_downward_test_data): Likewise.
1273 (remainder_test_downward): Likewise.
1274 (drem_test_downward): Likewise.
1275 (remainder_upward_test_data): Likewise.
1276 (remainder_test_upward): Likewise.
1277 (drem_test_upward): Likewise.
1278 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1279 (round_test): Use ALL_RM_TEST.
1280 (signbit_test): Likewise.
1281 (trunc_test): Likewise.
1282 (significand_test): Likewise.
1283 (main): Don't call removed functions.
1284
bc61d27c
JM
12852014-03-07 Joseph Myers <joseph@codesourcery.com>
1286
5c780849
JM
1287 [BZ #16674]
1288 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1289 || __USE_XOPEN2K8].
1290 (ILL_ILLOPN): Likewise.
1291 (ILL_ILLADR): Likewise.
1292 (ILL_ILLTRP): Likewise.
1293 (ILL_PRVOPC): Likewise.
1294 (ILL_PRVREG): Likewise.
1295 (ILL_COPROC): Likewise.
1296 (ILL_BADSTK): Likewise.
1297 (FPE_INTDIV): Likewise.
1298 (FPE_INTOVF): Likewise.
1299 (FPE_FLTDIV): Likewise.
1300 (FPE_FLTOVF): Likewise.
1301 (FPE_FLTUND): Likewise.
1302 (FPE_FLTRES): Likewise.
1303 (FPE_FLTINV): Likewise.
1304 (FPE_FLTSUB): Likewise.
1305 (SEGV_MAPERR): Likewise.
1306 (SEGV_ACCERR): Likewise.
1307 (BUS_ADRALN): Likewise.
1308 (BUS_ADRERR): Likewise.
1309 (BUS_OBJERR): Likewise.
1310 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1311 (TRAP_TRACE): Likewise.
1312 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1313 __USE_XOPEN2K8].
1314 (CLD_KILLED): Likewise.
1315 (CLD_DUMPED): Likewise.
1316 (CLD_TRAPPED): Likewise.
1317 (CLD_STOPPED): Likewise.
1318 (CLD_CONTINUED): Likewise.
1319 (POLL_IN): Likewise.
1320 (POLL_OUT): Likewise.
1321 (POLL_MSG): Likewise.
1322 (POLL_ERR): Likewise.
1323 (POLL_PRI): Likewise.
1324 (POLL_HUP): Likewise.
1325 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1326 Likewise.
1327 (ILL_ILLOPN): Likewise.
1328 (ILL_ILLADR): Likewise.
1329 (ILL_ILLTRP): Likewise.
1330 (ILL_PRVOPC): Likewise.
1331 (ILL_PRVREG): Likewise.
1332 (ILL_COPROC): Likewise.
1333 (ILL_BADSTK): Likewise.
1334 (FPE_INTDIV): Likewise.
1335 (FPE_INTOVF): Likewise.
1336 (FPE_FLTDIV): Likewise.
1337 (FPE_FLTOVF): Likewise.
1338 (FPE_FLTUND): Likewise.
1339 (FPE_FLTRES): Likewise.
1340 (FPE_FLTINV): Likewise.
1341 (FPE_FLTSUB): Likewise.
1342 (SEGV_MAPERR): Likewise.
1343 (SEGV_ACCERR): Likewise.
1344 (BUS_ADRALN): Likewise.
1345 (BUS_ADRERR): Likewise.
1346 (BUS_OBJERR): Likewise.
1347 (BUS_MCEERR_AR): Likewise.
1348 (BUS_MCEERR_AO): Likewise.
1349 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1350 (TRAP_TRACE): Likewise.
1351 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1352 __USE_XOPEN2K8].
1353 (CLD_KILLED): Likewise.
1354 (CLD_DUMPED): Likewise.
1355 (CLD_TRAPPED): Likewise.
1356 (CLD_STOPPED): Likewise.
1357 (CLD_CONTINUED): Likewise.
1358 (POLL_IN): Likewise.
1359 (POLL_OUT): Likewise.
1360 (POLL_MSG): Likewise.
1361 (POLL_ERR): Likewise.
1362 (POLL_PRI): Likewise.
1363 (POLL_HUP): Likewise.
1364 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1365 (ILL_ILLOPN): Likewise.
1366 (ILL_ILLADR): Likewise.
1367 (ILL_ILLTRP): Likewise.
1368 (ILL_PRVOPC): Likewise.
1369 (ILL_PRVREG): Likewise.
1370 (ILL_COPROC): Likewise.
1371 (ILL_BADSTK): Likewise.
1372 (FPE_INTDIV): Likewise.
1373 (FPE_INTOVF): Likewise.
1374 (FPE_FLTDIV): Likewise.
1375 (FPE_FLTOVF): Likewise.
1376 (FPE_FLTUND): Likewise.
1377 (FPE_FLTRES): Likewise.
1378 (FPE_FLTINV): Likewise.
1379 (FPE_FLTSUB): Likewise.
1380 (SEGV_MAPERR): Likewise.
1381 (SEGV_ACCERR): Likewise.
1382 (BUS_ADRALN): Likewise.
1383 (BUS_ADRERR): Likewise.
1384 (BUS_OBJERR): Likewise.
1385 (BUS_MCEERR_AR): Likewise.
1386 (BUS_MCEERR_AO): Likewise.
1387 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1388 (TRAP_TRACE): Likewise.
1389 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1390 __USE_XOPEN2K8].
1391 (CLD_KILLED): Likewise.
1392 (CLD_DUMPED): Likewise.
1393 (CLD_TRAPPED): Likewise.
1394 (CLD_STOPPED): Likewise.
1395 (CLD_CONTINUED): Likewise.
1396 (POLL_IN): Likewise.
1397 (POLL_OUT): Likewise.
1398 (POLL_MSG): Likewise.
1399 (POLL_ERR): Likewise.
1400 (POLL_PRI): Likewise.
1401 (POLL_HUP): Likewise.
1402 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1403 Likewise.
1404 (ILL_ILLOPN): Likewise.
1405 (ILL_ILLADR): Likewise.
1406 (ILL_ILLTRP): Likewise.
1407 (ILL_PRVOPC): Likewise.
1408 (ILL_PRVREG): Likewise.
1409 (ILL_COPROC): Likewise.
1410 (ILL_BADSTK): Likewise.
1411 (ILL_BADIADDR): Likewise.
1412 (ILL_BREAK): Likewise.
1413 (FPE_INTDIV): Likewise.
1414 (FPE_INTOVF): Likewise.
1415 (FPE_FLTDIV): Likewise.
1416 (FPE_FLTOVF): Likewise.
1417 (FPE_FLTUND): Likewise.
1418 (FPE_FLTRES): Likewise.
1419 (FPE_FLTINV): Likewise.
1420 (FPE_FLTSUB): Likewise.
1421 (FPE_DECOVF): Likewise.
1422 (FPE_DECDIV): Likewise.
1423 (FPE_DECERR): Likewise.
1424 (FPE_INVASC): Likewise.
1425 (FPE_INVDEC): Likewise.
1426 (SEGV_MAPERR): Likewise.
1427 (SEGV_ACCERR): Likewise.
1428 (SEGV_PSTKOVF): Likewise.
1429 (BUS_ADRALN): Likewise.
1430 (BUS_ADRERR): Likewise.
1431 (BUS_OBJERR): Likewise.
1432 (BUS_MCEERR_AR): Likewise.
1433 (BUS_MCEERR_AO): Likewise.
1434 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1435 (TRAP_TRACE): Likewise.
1436 (TRAP_BRANCH): Likewise.
1437 (TRAP_HWBKPT): Likewise.
1438 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1439 __USE_XOPEN2K8].
1440 (CLD_KILLED): Likewise.
1441 (CLD_DUMPED): Likewise.
1442 (CLD_TRAPPED): Likewise.
1443 (CLD_STOPPED): Likewise.
1444 (CLD_CONTINUED): Likewise.
1445 (POLL_IN): Likewise.
1446 (POLL_OUT): Likewise.
1447 (POLL_MSG): Likewise.
1448 (POLL_ERR): Likewise.
1449 (POLL_PRI): Likewise.
1450 (POLL_HUP): Likewise.
1451 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1452 (ILL_ILLOPN): Likewise.
1453 (ILL_ILLADR): Likewise.
1454 (ILL_ILLTRP): Likewise.
1455 (ILL_PRVOPC): Likewise.
1456 (ILL_PRVREG): Likewise.
1457 (ILL_COPROC): Likewise.
1458 (ILL_BADSTK): Likewise.
1459 (FPE_INTDIV): Likewise.
1460 (FPE_INTOVF): Likewise.
1461 (FPE_FLTDIV): Likewise.
1462 (FPE_FLTOVF): Likewise.
1463 (FPE_FLTUND): Likewise.
1464 (FPE_FLTRES): Likewise.
1465 (FPE_FLTINV): Likewise.
1466 (FPE_FLTSUB): Likewise.
1467 (SEGV_MAPERR): Likewise.
1468 (SEGV_ACCERR): Likewise.
1469 (BUS_ADRALN): Likewise.
1470 (BUS_ADRERR): Likewise.
1471 (BUS_OBJERR): Likewise.
1472 (BUS_MCEERR_AR): Likewise.
1473 (BUS_MCEERR_AO): Likewise.
1474 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1475 (TRAP_TRACE): Likewise.
1476 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1477 __USE_XOPEN2K8].
1478 (CLD_KILLED): Likewise.
1479 (CLD_DUMPED): Likewise.
1480 (CLD_TRAPPED): Likewise.
1481 (CLD_STOPPED): Likewise.
1482 (CLD_CONTINUED): Likewise.
1483 (POLL_IN): Likewise.
1484 (POLL_OUT): Likewise.
1485 (POLL_MSG): Likewise.
1486 (POLL_ERR): Likewise.
1487 (POLL_PRI): Likewise.
1488 (POLL_HUP): Likewise.
1489 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1490 (ILL_ILLOPN): Likewise.
1491 (ILL_ILLADR): Likewise.
1492 (ILL_ILLTRP): Likewise.
1493 (ILL_PRVOPC): Likewise.
1494 (ILL_PRVREG): Likewise.
1495 (ILL_COPROC): Likewise.
1496 (ILL_BADSTK): Likewise.
1497 (FPE_INTDIV): Likewise.
1498 (FPE_INTOVF): Likewise.
1499 (FPE_FLTDIV): Likewise.
1500 (FPE_FLTOVF): Likewise.
1501 (FPE_FLTUND): Likewise.
1502 (FPE_FLTRES): Likewise.
1503 (FPE_FLTINV): Likewise.
1504 (FPE_FLTSUB): Likewise.
1505 (SEGV_MAPERR): Likewise.
1506 (SEGV_ACCERR): Likewise.
1507 (BUS_ADRALN): Likewise.
1508 (BUS_ADRERR): Likewise.
1509 (BUS_OBJERR): Likewise.
1510 (BUS_MCEERR_AR): Likewise.
1511 (BUS_MCEERR_AO): Likewise.
1512 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1513 (TRAP_TRACE): Likewise.
1514 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1515 __USE_XOPEN2K8].
1516 (CLD_KILLED): Likewise.
1517 (CLD_DUMPED): Likewise.
1518 (CLD_TRAPPED): Likewise.
1519 (CLD_STOPPED): Likewise.
1520 (CLD_CONTINUED): Likewise.
1521 (POLL_IN): Likewise.
1522 (POLL_OUT): Likewise.
1523 (POLL_MSG): Likewise.
1524 (POLL_ERR): Likewise.
1525 (POLL_PRI): Likewise.
1526 (POLL_HUP): Likewise.
1527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1528 (ILL_ILLOPN): Likewise.
1529 (ILL_ILLADR): Likewise.
1530 (ILL_ILLTRP): Likewise.
1531 (ILL_PRVOPC): Likewise.
1532 (ILL_PRVREG): Likewise.
1533 (ILL_COPROC): Likewise.
1534 (ILL_BADSTK): Likewise.
1535 (FPE_INTDIV): Likewise.
1536 (FPE_INTOVF): Likewise.
1537 (FPE_FLTDIV): Likewise.
1538 (FPE_FLTOVF): Likewise.
1539 (FPE_FLTUND): Likewise.
1540 (FPE_FLTRES): Likewise.
1541 (FPE_FLTINV): Likewise.
1542 (FPE_FLTSUB): Likewise.
1543 (SEGV_MAPERR): Likewise.
1544 (SEGV_ACCERR): Likewise.
1545 (BUS_ADRALN): Likewise.
1546 (BUS_ADRERR): Likewise.
1547 (BUS_OBJERR): Likewise.
1548 (BUS_MCEERR_AR): Likewise.
1549 (BUS_MCEERR_AO): Likewise.
1550 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1551 (TRAP_TRACE): Likewise.
1552 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1553 __USE_XOPEN2K8].
1554 (CLD_KILLED): Likewise.
1555 (CLD_DUMPED): Likewise.
1556 (CLD_TRAPPED): Likewise.
1557 (CLD_STOPPED): Likewise.
1558 (CLD_CONTINUED): Likewise.
1559 (POLL_IN): Likewise.
1560 (POLL_OUT): Likewise.
1561 (POLL_MSG): Likewise.
1562 (POLL_ERR): Likewise.
1563 (POLL_PRI): Likewise.
1564 (POLL_HUP): Likewise.
1565 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1566 (ILL_ILLOPN): Likewise.
1567 (ILL_ILLADR): Likewise.
1568 (ILL_ILLTRP): Likewise.
1569 (ILL_PRVOPC): Likewise.
1570 (ILL_PRVREG): Likewise.
1571 (ILL_COPROC): Likewise.
1572 (ILL_BADSTK): Likewise.
1573 (ILL_DBLFLT): Likewise.
1574 (ILL_HARDWALL): Likewise.
1575 (FPE_INTDIV): Likewise.
1576 (FPE_INTOVF): Likewise.
1577 (FPE_FLTDIV): Likewise.
1578 (FPE_FLTOVF): Likewise.
1579 (FPE_FLTUND): Likewise.
1580 (FPE_FLTRES): Likewise.
1581 (FPE_FLTINV): Likewise.
1582 (FPE_FLTSUB): Likewise.
1583 (SEGV_MAPERR): Likewise.
1584 (SEGV_ACCERR): Likewise.
1585 (BUS_ADRALN): Likewise.
1586 (BUS_ADRERR): Likewise.
1587 (BUS_OBJERR): Likewise.
1588 (BUS_MCEERR_AR): Likewise.
1589 (BUS_MCEERR_AO): Likewise.
1590 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1591 (TRAP_TRACE): Likewise.
1592 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1593 __USE_XOPEN2K8].
1594 (CLD_KILLED): Likewise.
1595 (CLD_DUMPED): Likewise.
1596 (CLD_TRAPPED): Likewise.
1597 (CLD_STOPPED): Likewise.
1598 (CLD_CONTINUED): Likewise.
1599 (POLL_IN): Likewise.
1600 (POLL_OUT): Likewise.
1601 (POLL_MSG): Likewise.
1602 (POLL_ERR): Likewise.
1603 (POLL_PRI): Likewise.
1604 (POLL_HUP): Likewise.
1605 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1606 (ILL_ILLOPN): Likewise.
1607 (ILL_ILLADR): Likewise.
1608 (ILL_ILLTRP): Likewise.
1609 (ILL_PRVOPC): Likewise.
1610 (ILL_PRVREG): Likewise.
1611 (ILL_COPROC): Likewise.
1612 (ILL_BADSTK): Likewise.
1613 (FPE_INTDIV): Likewise.
1614 (FPE_INTOVF): Likewise.
1615 (FPE_FLTDIV): Likewise.
1616 (FPE_FLTOVF): Likewise.
1617 (FPE_FLTUND): Likewise.
1618 (FPE_FLTRES): Likewise.
1619 (FPE_FLTINV): Likewise.
1620 (FPE_FLTSUB): Likewise.
1621 (SEGV_MAPERR): Likewise.
1622 (SEGV_ACCERR): Likewise.
1623 (BUS_ADRALN): Likewise.
1624 (BUS_ADRERR): Likewise.
1625 (BUS_OBJERR): Likewise.
1626 (BUS_MCEERR_AR): Likewise.
1627 (BUS_MCEERR_AO): Likewise.
1628 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1629 (TRAP_TRACE): Likewise.
1630 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1631 __USE_XOPEN2K8].
1632 (CLD_KILLED): Likewise.
1633 (CLD_DUMPED): Likewise.
1634 (CLD_TRAPPED): Likewise.
1635 (CLD_STOPPED): Likewise.
1636 (CLD_CONTINUED): Likewise.
1637 (POLL_IN): Likewise.
1638 (POLL_OUT): Likewise.
1639 (POLL_MSG): Likewise.
1640 (POLL_ERR): Likewise.
1641 (POLL_PRI): Likewise.
1642 (POLL_HUP): Likewise.
1643 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1644 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1645
bc61d27c
JM
1646 [BZ #16670]
1647 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1648 before #include of <time.h>.
1649 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1650 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1651 (test-xfail-UNIX98/sched.h/conform): Likewise.
1652
302949e2
MS
16532014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1654
1655 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1656 error absence of trapping exception support.
1657 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1658
a00f522a
JM
16592014-03-07 Joseph Myers <joseph@codesourcery.com>
1660
6f99f280
JM
1661 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1662 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1663 * timezone/Makefile (testdata): Move definition above include of
1664 Rules.
1665 (test-zones): New variable.
1666 (tests-special): Add zone files.
1667 (build-testdata): Use $(evaluate-test).
1668
0b20a9e8
JM
1669 * elf/Makefile (tests-special): Rename tests to end with .out.
1670 ($(objpfx)noload-mem): Likewise.
1671 ($(objpfx)tst-leaks1-mem): Likewise.
1672 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1673 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1674 $(objpfx)test-iconvconfig.out.
1675 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1676 set -e inside subshell and redirect output to file.
1677 * iconvdata/Makefile (generated): Rename tests to end with .out.
1678 Correct type.
1679 (tests-special): Rename tests to end with .out.
1680 ($(objpfx)mtrace-tst-loading): Likewise.
1681 * intl/Makefile (generated): Likewise.
1682 (tests-special): Likewise.
1683 ($(objpfx)mtrace-tst-gettext): Likewise.
1684 * misc/Makefile (generated): Likewise.
1685 (tests-special): Likewise.
1686 ($(objpfx)tst-error1-mem): Likewise.
1687 * nptl/Makefile (tests-special): Likewise.
1688 ($(objpfx)tst-stack3-mem): Likewise.
1689 (generated): Likewise.
1690 * posix/Makefile (generated): Likewise.
1691 (tests-special): Likewise.
1692 (xtests-special): Likewise.
1693 ($(objpfx)tst-fnmatch-mem): Likewise.
1694 ($(objpfx)bug-regex2-mem): Likewise.
1695 ($(objpfx)bug-regex14-mem): Likewise.
1696 ($(objpfx)bug-regex21-mem): Likewise.
1697 ($(objpfx)bug-regex31-mem): Likewise.
1698 ($(objpfx)tst-vfork3-mem): Likewise.
1699 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1700 ($(objpfx)tst-pcre-mem): Likewise.
1701 ($(objpfx)tst-boost-mem): Likewise.
1702 ($(objpfx)bug-ga2-mem): Likewise.
1703 ($(objpfx)bug-glob2-mem): Likewise.
1704 * resolv/Makefile (generate): Likewise.
1705 (tests-special): Likewise.
1706 (xtests-special): Likewise.
1707 (generated): Likewise.
1708 ($(objpfx)mtrace-tst-leaks): Likewise.
1709 ($(objpfx)mtrace-tst-leaks2): Likewise.
1710
265d52ab
JM
1711 * scripts/merge-test-results.sh: New file.
1712 * Makefile (tests-special-notdir): New variable.
1713 (tests): Run merge-test-results.sh.
1714 (xtests): Likewise.
1715 * Rules (tests-special-notdir): New variable.
1716 (xtests-special-notdir): Likewise.
1717 (tests): Run merge-test-results.sh
1718 (xtests): Likewise.
1719
54ee292d
JM
1720 * Makeconfig (test-xfail-name): New variable.
1721 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1722 compute variable name for expected failures.
1723 * conform/Makefile (conformtest-headers-data): New variable.
1724 (conformtest-standards): Likewise.
1725 (conformtest-headers-ISO): Likewise.
1726 (conformtest-headers-ISO99): Likewise.
1727 (conformtest-headers-ISO11): Likewise.
1728 (conformtest-headers-POSIX): Likewise.
1729 (conformtest-headers-XPG3): Likewise.
1730 (conformtest-headers-XPG4): Likewise.
1731 (conformtest-headers-UNIX98): Likewise.
1732 (conformtest-headers-XOPEN2K): Likewise.
1733 (conformtest-headers-POSIX2008): Likewise.
1734 (conformtest-headers-XOPEN2K8): Likewise.
1735 (conformtest-header-list-base): Likewise.
1736 (conformtest-header-list-tests): Likewise.
1737 (conformtest-header-base): Likewise.
1738 (conformtest-header-tests): Likewise.
1739 (tests-special): Add $(conformtest-header-list-tests). If
1740 [$(fast-check) && !$(cross-compiling)], add
1741 $(conformtest-header-tests) instead of
1742 $(objpfx)run-conformtest.out.
1743 (generated): Add $(conformtest-header-list-base). If
1744 [$(fast-check) && !$(cross-compiling)], add
1745 $(conformtest-header-base). Remove previous setting.
1746 ($(conformtest-header-list-tests)): New target.
1747 (test-xfail-run-conformtest): Remove variable.
1748 ($(objpfx)run-conformtest.out): Remove target.
1749 (test-xfail-ISO11/complex.h/conform): New variable.
1750 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1751 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1752 (test-xfail-XPG3/varargs.h/conform): Likewise.
1753 (test-xfail-XPG4/varargs.h/conform): Likewise.
1754 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1755 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1756 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1757 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1758 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1759 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1760 (test-xfail-XPG3/ftw.h/conform): Likewise.
1761 (test-xfail-XPG3/grp.h/conform): Likewise.
1762 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1763 (test-xfail-XPG3/limits.h/conform): Likewise.
1764 (test-xfail-XPG3/pwd.h/conform): Likewise.
1765 (test-xfail-XPG3/search.h/conform): Likewise.
1766 (test-xfail-XPG3/signal.h/conform): Likewise.
1767 (test-xfail-XPG3/stdio.h/conform): Likewise.
1768 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1769 (test-xfail-XPG3/string.h/conform): Likewise.
1770 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1771 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1772 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1773 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1774 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1775 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1776 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1777 (test-xfail-XPG3/termios.h/conform): Likewise.
1778 (test-xfail-XPG3/time.h/conform): Likewise.
1779 (test-xfail-XPG3/unistd.h/conform): Likewise.
1780 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1781 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1782 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1783 (test-xfail-XPG4/netdb.h/conform): Likewise.
1784 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1785 (test-xfail-XPG4/signal.h/conform): Likewise.
1786 (test-xfail-XPG4/stdio.h/conform): Likewise.
1787 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1788 (test-xfail-XPG4/stropts.h/conform): Likewise.
1789 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1790 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1791 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1792 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1793 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1794 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1795 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1796 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1797 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1798 (test-xfail-XPG4/termios.h/conform): Likewise.
1799 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1800 (test-xfail-XPG4/unistd.h/conform): Likewise.
1801 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1802 (test-xfail-POSIX/sched.h/conform): Likewise.
1803 (test-xfail-POSIX/signal.h/conform): Likewise.
1804 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1805 (test-xfail-POSIX/tar.h/conform): Likewise.
1806 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1807 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1808 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1809 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1810 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1811 (test-xfail-UNIX98/sched.h/conform): Likewise.
1812 (test-xfail-UNIX98/signal.h/conform): Likewise.
1813 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1814 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1815 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1816 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1817 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1818 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1819 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1820 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1821 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1822 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1823 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1824 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1825 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1826 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1827 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1828 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1829 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1830 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1831 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1832 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1833 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1834 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1835 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1836 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1837 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1838 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1839 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1840 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1841 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1842 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1843 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1844 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1845 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1846 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1847 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1848 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1849 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1850 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1851 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1852 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1853 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1854 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1855 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1856 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1857 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1858 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1859 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1860 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1861 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1862 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1863 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1864 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1865 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1866 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1867 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1868 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1869 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1870 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1871 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1872 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1873 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1874 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1875 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1876 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1877 (conformtest-cc-flags): Likewise.
1878 ($(conformtest-header-tests): New target.
1879 * conform/check-header-lists.sh: New file.
1880 * conform/run-conformtest.sh: Remove.
1881
a00f522a
JM
1882 * conform/conformtest.pl: Allow ' and \ in values given for
1883 constants.
1884 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1885 inclusion.
1886 [POSIX] (sys/types.h): Likewise.
1887 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1888 inclusion.
1889 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1890 inclusion.
1891 * conform/data/signal.h-data (SIGIO): Remove expectation.
1892 [XPG3] (SIGBUS): Do not expect.
1893 [POSIX || XPG3] (SIGPOLL): Likewise.
1894 [POSIX || XPG3] (SIGPROF): Likewise.
1895 [POSIX || XPG3] (SIGSYS): Likewise.
1896 [XPG3] (SIGTRAP): Likewise.
1897 [POSIX || XPG3] (SIGURG): Likewise.
1898 [POSIX || XPG3] (SIGVTALRM): Likewise.
1899 [POSIX || XPG3] (SIGXCPU): Likewise.
1900 [POSIX || XPG3] (SIGXFSZ): Likewise.
1901 [POSIX] (SA_SIGINFO): Expect.
1902 [XPG3] (siginfo_t): Do not expect type or contents.
1903 [POSIX] (si_pid): Do not expect element.
1904 [POSIX] (si_uid): Likewise.
1905 [POSIX] (si_addr): Likewise.
1906 [POSIX] (si_status): Likewise.
1907 [POSIX] (si_band): Likewise.
1908 [XPG4] (si_value): Likewise.
1909 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1910 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1911 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1912 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1913 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1914 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1915 [POSIX || XPG3] (ILL_COPROC): Likewise.
1916 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1917 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1918 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1919 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1920 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1921 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1922 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1923 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1924 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1925 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1926 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1927 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1928 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1929 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1930 [POSIX || XPG3] (CLD_EXITED): Likewise.
1931 [POSIX || XPG3] (CLD_KILLED): Likewise.
1932 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1933 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1934 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1935 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1936 [POSIX || XPG3] (POLL_IN): Likewise.
1937 [POSIX || XPG3] (POLL_OUT): Likewise.
1938 [POSIX || XPG3] (POLL_MSG): Likewise.
1939 [POSIX || XPG3] (POLL_ERR): Likewise.
1940 [POSIX || XPG3] (POLL_PRI): Likewise.
1941 [POSIX || XPG3] (POLL_HUP): Likewise.
1942 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1943 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1944 (SIG*): Do not allow.
1945 [XPG3] (si_*): Likewise.
1946 [XPG3] (SI_*): Likewise.
1947 [XPG3 || XPG4] (sigev_*): Likewise.
1948 [XPG3 || XPG4] (SIGEV_*): Likewise.
1949 [XPG3 || XPG4] (sival_*): Likewise.
1950 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1951 [POSIX || XPG3] (BUS_*): Likewise.
1952 [POSIX || XPG3] (CLD_*): Likewise.
1953 [POSIX || XPG3] (FPE_*): Likewise.
1954 [POSIX || XPG3] (ILL_*): Likewise.
1955 [POSIX || XPG3] (POLL_*): Likewise.
1956 [POSIX || XPG3] (SEGV_*): Likewise.
1957 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1958 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1959 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1960 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1961 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1962 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1963 Specify type and value.
1964 (TVERSLEN): Likewise.
1965 (REGTYPE): Likewise.
1966 (AREGTYPE): Likewise.
1967 (LNKTYPE): Likewise.
1968 (SYMTYPE): Likewise.
1969 (CHRTYPE): Likewise.
1970 (BLKTYPE): Likewise.
1971 (DIRTYPE): Likewise.
1972 (FIFOTYPE): Likewise.
1973 (CONTTYPE): Likewise.
1974 (TSUID): Likewise.
1975 (TSGID): Likewise.
1976 (TSVTX): Likewise.
1977 (TUREAD): Likewise.
1978 (TUWRITE): Likewise.
1979 (TUEXEC): Likewise.
1980 (TGREAD): Likewise.
1981 (TGWRITE): Likewise.
1982 (TGEXEC): Likewise.
1983 (TOREAD): Likewise.
1984 (TOWRITE): Likewise.
1985 (TOEXEC): Likewise.
1986 [POSIX] (TSVTX): Expect constant.
1987
aa97dee1
JM
19882014-03-06 Joseph Myers <joseph@codesourcery.com>
1989
f214606a
JM
1990 * Makefile (tests): Change dependencies to ....
1991 (tests-special): ... additions to this variable.
1992 (tests): Depend on $(tests-special).
1993 * Makerules (check-abi-list): New variable.
1994 (check-abi): Depend on $(check-abi-list).
1995 [$(subdir) = elf] (tests-special): Add
1996 $(objpfx)check-abi-libc.out.
1997 [$(build-shared) = yes && subdir] (tests-special): Add
1998 $(check-abi-list).
1999 [$(build-shared) = yes && subdir] (tests): Do not depend on
2000 check-abi.
2001 * Rules (tests): Depend on $(tests-special).
2002 (xtests): Depend on $(xtests-special).
2003 * catgets/Makefile (tests): Change dependencies to ....
2004 (tests-special): ... additions to this variable.
2005 * conform/Makefile (tests): Change dependencies to ....
2006 (tests-special): ... additions to this variable.
2007 * elf/Makefile (tests): Change dependencies to ....
2008 (tests-special): ... additions to this variable.
2009 * grp/Makefile (tests): Change dependencies to ....
2010 (tests-special): ... additions to this variable.
2011 * iconv/Makefile (xtests): Change dependencies to ....
2012 (xtests-special): ... additions to this variable.
2013 * iconvdata/Makefile (tests): Change dependencies to ....
2014 (tests-special): ... additions to this variable.
2015 * intl/Makefile (tests): Change dependencies to ....
2016 (tests-special): ... additions to this variable. Also add
2017 $(objpfx)tst-gettext.out.
2018 * io/Makefile (tests): Change dependencies to ....
2019 (tests-special): ... additions to this variable.
2020 * libio/Makefile (tests): Change dependencies to ....
2021 (tests-special): ... additions to this variable.
2022 * malloc/Makefile (tests): Change dependencies to ....
2023 (tests-special): ... additions to this variable.
2024 * misc/Makefile (tests): Change dependencies to ....
2025 (tests-special): ... additions to this variable.
2026 * nptl/Makefile (tests): Change dependencies to ....
2027 (tests-special): ... additions to this variable.
2028 * nptl_db/Makefile (tests): Change dependencies to ....
2029 (tests-special): ... additions to this variable.
2030 * posix/Makefile (tests): Change dependencies to ....
2031 (tests-special): ... additions to this variable.
2032 (xtests): Change dependencies to ....
2033 (xtests-special): ... additions to this variable.
2034 * resolv/Makefile (tests): Change dependencies to ....
2035 (tests-special): ... additions to this variable.
2036 (xtests): Change dependencies to ....
2037 (xtests-special): ... additions to this variable.
2038 * stdio-common/Makefile (tests): Change dependencies to ....
2039 (tests-special): ... additions to this variable.
2040 (do-tst-unbputc): Remove target.
2041 (do-tst-printf): Likewise.
2042 * stdlib/Makefile (tests): Change dependencies to ....
2043 (tests-special): ... additions to this variable.
2044 * string/Makefile (tests): Change dependencies to ....
2045 (tests-special): ... additions to this variable.
2046 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2047 (tests-special): ... additions to this variable.
2048
81700b53
JM
2049 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2050 whole file.
2051 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2052 whole file.
2053 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2054 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2055
2ea18461
JM
2056 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2057 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2058 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2059 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2060 * conform/data/libgen.h-data [XPG3]: Likewise.
2061 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2062 * conform/data/ndbm.h-data [XPG3]: Likewise.
2063 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2064 * conform/data/netdb.h-data [XPG3]: Likewise.
2065 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2066 * conform/data/poll.h-data [XPG3]: Likewise.
2067 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2068 * conform/data/strings.h-data [XPG3]: Likewise.
2069 * conform/data/stropts.h-data [XPG3]: Likewise.
2070 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2071 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2072 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2073 Likewise.
2074 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2075 * conform/data/sys/time.h-data [XPG3]: Likewise.
2076 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2077 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2078 * conform/data/sys/un.h-data [XPG3]: Likewise.
2079 * conform/data/syslog.h-data [XPG3]: Likewise.
2080 * conform/data/ucontext.h-data [XPG3]: Likewise.
2081 * conform/data/utmpx.h-data [XPG3]: Likewise.
2082 * conform/data/varargs.h-data [UNIX98]: Enable file.
2083
355bc986
JM
2084 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2085
215db402
JM
2086 * math/libm-test.inc (struct test_f_f_data): Move expected results
2087 into structure for each rounding mode.
2088 (struct test_ff_f_data): Likewise.
2089 (struct test_ff_f_data_nexttoward): Likewise.
2090 (struct test_fi_f_data): Likewise.
2091 (struct test_fl_f_data): Likewise.
2092 (struct test_if_f_data): Likewise.
2093 (struct test_fff_f_data): Likewise.
2094 (struct test_c_f_data): Likewise.
2095 (struct test_f_f1_data): Likewise.
2096 (struct test_fF_f1_data): Likewise.
2097 (struct test_ffI_f1_data): Likewise.
2098 (struct test_c_c_data): Likewise.
2099 (struct test_cc_c_data): Likewise.
2100 (struct test_f_i_data): Likewise.
2101 (struct test_ff_i_data): Likewise.
2102 (struct test_f_l_data): Likewise.
2103 (struct test_f_L_data): Likewise.
2104 (struct test_fFF_11_data): Likewise.
2105 (RM_): New macro.
2106 (RM_FE_DOWNWARD): Likewise.
2107 (RM_FE_TONEAREST): Likewise.
2108 (RM_FE_TOWARDZERO): Likewise.
2109 (RM_FE_UPWARD): Likewise.
2110 (RUN_TEST_LOOP_f_f): Update references to expected results.
2111 (RUN_TEST_LOOP_2_f): Likewise.
2112 (RUN_TEST_LOOP_fff_f): Likewise.
2113 (RUN_TEST_LOOP_c_f): Likewise.
2114 (RUN_TEST_LOOP_f_f1): Likewise.
2115 (RUN_TEST_LOOP_fF_f1): Likewise.
2116 (RUN_TEST_LOOP_fI_f1): Likewise.
2117 (RUN_TEST_LOOP_ffI_f1): Likewise.
2118 (RUN_TEST_LOOP_c_c): Likewise.
2119 (RUN_TEST_LOOP_cc_c): Likewise.
2120 (RUN_TEST_LOOP_f_i): Likewise.
2121 (RUN_TEST_LOOP_f_i_tg): Likewise.
2122 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2123 (RUN_TEST_LOOP_f_b): Likewise.
2124 (RUN_TEST_LOOP_f_b_tg): Likewise.
2125 (RUN_TEST_LOOP_f_l): Likewise.
2126 (RUN_TEST_LOOP_f_L): Likewise.
2127 (RUN_TEST_LOOP_fFF_11): Likewise.
2128 * math/gen-libm-test.pl (parse_args): Output four copies of
2129 expected results for each test.
2130
67737b8f
JM
2131 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2132 (__ASSUME_UTIMES): Remove.
2133 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2134 (__ASSUME_UTIMES): Likewise.
2135
aa97dee1
JM
2136 * math/gen-auto-libm-tests.c: Update comment on output format.
2137 (output_for_one_input_case): Generate before-rounding and
2138 after-rounding information as conditions on output flags not
2139 floating-point format.
2140 * math/auto-libm-test-out: Regenerated.
2141 * math/gen-libm-test.pl (cond_value): New function.
2142 (or_cond_value): Use cond_value.
2143 (generate_testfile): Handle conditional exceptions.
2144
e6b6a857
JM
21452014-03-05 Joseph Myers <joseph@codesourcery.com>
2146
2f0a0f44
JM
2147 * math/libm-test.inc (max_valid_error): New variable.
2148 (init_max_error): Take new argument specifying whether function
2149 results are exactly determined. Set max_valid_error and bound
2150 other variables for errors based on this argument.
2151 (set_max_error): Do not record results above max_valid_error.
2152 (check_float_internal): Only accept errors of up to 0.5ulps if
2153 also at most max_valid_error.
2154 (START): Take new argument EXACT and pass it to init_max_error.
2155 (acos_test): Update call to START.
2156 (acos_test_tonearest): Likewise.
2157 (acos_test_towardzero): Likewise.
2158 (acos_test_downward): Likewise.
2159 (acos_test_upward): Likewise.
2160 (acosh_test): Likewise.
2161 (asin_test): Likewise.
2162 (asin_test_tonearest): Likewise.
2163 (asin_test_towardzero): Likewise.
2164 (asin_test_downward): Likewise.
2165 (asin_test_upward): Likewise.
2166 (asinh_test): Likewise.
2167 (atan_test): Likewise.
2168 (atanh_test): Likewise.
2169 (atan2_test): Likewise.
2170 (cabs_test): Likewise.
2171 (cacos_test): Likewise.
2172 (cacosh_test): Likewise.
2173 (carg_test): Likewise.
2174 (casin_test): Likewise.
2175 (casinh_test): Likewise.
2176 (catan_test): Likewise.
2177 (catanh_test): Likewise.
2178 (cbrt_test): Likewise.
2179 (ccos_test): Likewise.
2180 (ccosh_test): Likewise.
2181 (ceil_test): Likewise.
2182 (cexp_test): Likewise.
2183 (cimag_test): Likewise.
2184 (clog_test): Likewise.
2185 (clog10_test): Likewise.
2186 (conj_test): Likewise.
2187 (copysign_test): Likewise.
2188 (cos_test): Likewise.
2189 (cos_test_tonearest): Likewise.
2190 (cos_test_towardzero): Likewise.
2191 (cos_test_downward): Likewise.
2192 (cos_test_upward): Likewise.
2193 (cosh_test): Likewise.
2194 (cosh_test_tonearest): Likewise.
2195 (cosh_test_towardzero): Likewise.
2196 (cosh_test_downward): Likewise.
2197 (cosh_test_upward): Likewise.
2198 (cpow_test): Likewise.
2199 (cproj_test): Likewise.
2200 (creal_test): Likewise.
2201 (csin_test): Likewise.
2202 (csinh_test): Likewise.
2203 (csqrt_test): Likewise.
2204 (ctan_test): Likewise.
2205 (ctan_test_tonearest): Likewise.
2206 (ctan_test_towardzero): Likewise.
2207 (ctan_test_downward): Likewise.
2208 (ctan_test_upward): Likewise.
2209 (ctanh_test): Likewise.
2210 (ctanh_test_tonearest): Likewise.
2211 (ctanh_test_towardzero): Likewise.
2212 (ctanh_test_downward): Likewise.
2213 (ctanh_test_upward): Likewise.
2214 (erf_test): Likewise.
2215 (erfc_test): Likewise.
2216 (exp_test): Likewise.
2217 (exp_test_tonearest): Likewise.
2218 (exp_test_towardzero): Likewise.
2219 (exp_test_downward): Likewise.
2220 (exp_test_upward): Likewise.
2221 (exp10_test): Likewise.
2222 (exp10_test_tonearest): Likewise.
2223 (exp10_test_towardzero): Likewise.
2224 (exp10_test_downward): Likewise.
2225 (exp10_test_upward): Likewise.
2226 (pow10_test): Likewise.
2227 (exp2_test): Likewise.
2228 (expm1_test): Likewise.
2229 (expm1_test_tonearest): Likewise.
2230 (expm1_test_towardzero): Likewise.
2231 (expm1_test_downward): Likewise.
2232 (expm1_test_upward): Likewise.
2233 (fabs_test): Likewise.
2234 (fdim_test): Likewise.
2235 (floor_test): Likewise.
2236 (fma_test): Likewise.
2237 (fma_test_towardzero): Likewise.
2238 (fma_test_downward): Likewise.
2239 (fma_test_upward): Likewise.
2240 (fmax_test): Likewise.
2241 (fmin_test): Likewise.
2242 (fmod_test): Likewise.
2243 (fpclassify_test): Likewise.
2244 (frexp_test): Likewise.
2245 (hypot_test): Likewise.
2246 (ilogb_test): Likewise.
2247 (isfinite_test): Likewise.
2248 (finite_test): Likewise.
2249 (isgreater_test): Likewise.
2250 (isgreaterequal_test): Likewise.
2251 (isinf_test): Likewise.
2252 (isless_test): Likewise.
2253 (islessequal_test): Likewise.
2254 (islessgreater_test): Likewise.
2255 (isnan_test): Likewise.
2256 (isnormal_test): Likewise.
2257 (issignaling_test): Likewise.
2258 (isunordered_test): Likewise.
2259 (j0_test): Likewise.
2260 (j1_test): Likewise.
2261 (jn_test): Likewise.
2262 (ldexp_test): Likewise.
2263 (lgamma_test): Likewise.
2264 (gamma_test): Likewise.
2265 (lrint_test): Likewise.
2266 (lrint_test_tonearest): Likewise.
2267 (lrint_test_towardzero): Likewise.
2268 (lrint_test_downward): Likewise.
2269 (lrint_test_upward): Likewise.
2270 (llrint_test): Likewise.
2271 (llrint_test_tonearest): Likewise.
2272 (llrint_test_towardzero): Likewise.
2273 (llrint_test_downward): Likewise.
2274 (llrint_test_upward): Likewise.
2275 (log_test): Likewise.
2276 (log10_test): Likewise.
2277 (log1p_test): Likewise.
2278 (log2_test): Likewise.
2279 (logb_test): Likewise.
2280 (logb_test_downward): Likewise.
2281 (lround_test): Likewise.
2282 (llround_test): Likewise.
2283 (modf_test): Likewise.
2284 (nearbyint_test): Likewise.
2285 (nextafter_test): Likewise.
2286 (nexttoward_test): Likewise.
2287 (pow_test): Likewise.
2288 (pow_test_tonearest): Likewise.
2289 (pow_test_towardzero): Likewise.
2290 (pow_test_downward): Likewise.
2291 (pow_test_upward): Likewise.
2292 (remainder_test): Likewise.
2293 (drem_test): Likewise.
2294 (remainder_test_tonearest): Likewise.
2295 (drem_test_tonearest): Likewise.
2296 (remainder_test_towardzero): Likewise.
2297 (drem_test_towardzero): Likewise.
2298 (remainder_test_downward): Likewise.
2299 (drem_test_downward): Likewise.
2300 (remainder_test_upward): Likewise.
2301 (drem_test_upward): Likewise.
2302 (remquo_test): Likewise.
2303 (rint_test): Likewise.
2304 (rint_test_tonearest): Likewise.
2305 (rint_test_towardzero): Likewise.
2306 (rint_test_downward): Likewise.
2307 (rint_test_upward): Likewise.
2308 (round_test): Likewise.
2309 (scalb_test): Likewise.
2310 (scalbn_test): Likewise.
2311 (scalbln_test): Likewise.
2312 (signbit_test): Likewise.
2313 (sin_test): Likewise.
2314 (sin_test_tonearest): Likewise.
2315 (sin_test_towardzero): Likewise.
2316 (sin_test_downward): Likewise.
2317 (sin_test_upward): Likewise.
2318 (sincos_test): Likewise.
2319 (sinh_test): Likewise.
2320 (sinh_test_tonearest): Likewise.
2321 (sinh_test_towardzero): Likewise.
2322 (sinh_test_downward): Likewise.
2323 (sinh_test_upward): Likewise.
2324 (sqrt_test): Likewise.
2325 (sqrt_test_tonearest): Likewise.
2326 (sqrt_test_towardzero): Likewise.
2327 (sqrt_test_downward): Likewise.
2328 (sqrt_test_upward): Likewise.
2329 (tan_test): Likewise.
2330 (tan_test_tonearest): Likewise.
2331 (tan_test_towardzero): Likewise.
2332 (tan_test_downward): Likewise.
2333 (tan_test_upward): Likewise.
2334 (tanh_test): Likewise.
2335 (tgamma_test): Likewise.
2336 (trunc_test): Likewise.
2337 (y0_test): Likewise.
2338 (y1_test): Likewise.
2339 (yn_test): Likewise.
2340 (significand_test): Likewise.
2341
e6b6a857
JM
2342 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2343 individual tests in comment.
2344 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2345 (prev_max_error): New variable.
2346 (prev_real_max_error): Likewise.
2347 (prev_imag_max_error): Likewise.
2348 (compare_ulp_data): Don't refer to test names in comment.
2349 (find_test_ulps): Remove function.
2350 (find_function_ulps): Likewise.
2351 (find_complex_function_ulps): Likewise.
2352 (init_max_error): Take function name as argument. Look up ulps
2353 for that function.
2354 (print_ulps): Remove function.
2355 (print_max_error): Use prev_max_error instead of calling
2356 find_function_ulps.
2357 (print_complex_max_error): Use prev_real_max_error and
2358 prev_imag_max_error instead of calling find_complex_function_ulps.
2359 (check_float_internal): Take max_ulp parameter instead of calling
2360 find_test_ulps. Don't call print_ulps.
2361 (check_float): Update call to check_float_internal.
2362 (check_complex): Update calls to check_float_internal.
2363 (START): Pass argument to init_max_error.
2364 * math/gen-libm-test.pl (%results): Don't include "kind"
2365 information.
2366 (parse_ulps): Don't handle ulps of individual tests.
2367 (print_ulps_file): Likewise.
2368 (output_ulps): Likewise.
2369 * math/README.libm-test: Update.
2370 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2371 individual tests.
2372 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2373 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2374 * sysdeps/arm/libm-test-ulps: Likewise.
2375 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2376 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2377 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2378 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2379 * sysdeps/microblaze/libm-test-ulps: Likewise.
2380 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2381 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2382 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2383 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2384 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2385 * sysdeps/sh/libm-test-ulps: Likewise.
2386 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2387 * sysdeps/tile/libm-test-ulps: Likewise.
2388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2389
45adef3c
JM
23902014-03-04 Joseph Myers <joseph@codesourcery.com>
2391
2392 * math/libm-test.inc (print_complex_max_error): Check separately
2393 whether real and imaginary errors are within allowed range and
2394 pass 0 to print_complex_function_ulps instead of value within
2395 allowed range.
2396
000232b9
SP
23972014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2398
d4b17258
SP
2399 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2400 formatting.
2401 (get_handles_fopen): Likewise.
2402 (do_write_test): Likewise.
2403
091eff71
SP
2404 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2405
fa3cd248
SP
2406 * libio/fileops.c (do_ftell): Use cached offset when
2407 available.
2408 * libio/iofwide.c (do_ftell_wide): Likewise.
2409 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2410 _IO_file_attach.
2411 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2412
000232b9
SP
2413 [BZ #16532]
2414 * libio/libioP.h (get_file_offset): New function.
2415 * libio/fileops.c (get_file_offset): Likewise.
2416 (do_ftell): Likewise.
2417 (_IO_new_file_seekoff): Split out ftell logic.
2418 * libio/wfileops.c (do_ftell_wide): Likewise.
2419 (_IO_wfile_seekoff): Split out ftell logic.
2420 * libio/tst-ftell-active-handler.c: New test case.
2421 * libio/Makefile (tests): Add it.
2422
116f4d1a
RM
24232014-03-03 Roland McGrath <roland@hack.frob.com>
2424
2425 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2426 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2427
532a6035
SP
24282014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2429
2430 [BZ #16639]
2431 * nscd/connections.c (nscd_init): Call do_exit.
2432 (start_threads): Call do_exit and notify_parent.
2433 (begin_drop_privileges): Call do_exit.
2434 (finish_drop_privileges): Likewise.
2435 * nscd/selinux.c (preserve_capabilities): Likewise.
2436 (install_real_capabilities): Likewise.
2437 (nscd_selinux_enabled): Likewise.
2438 (avc_create_thread): Likewise.
2439 (avc_alloc_lock): Likewise.
2440 (nscd_avc_init): Likewise.
2441 * nscd/nscd.c (parent_fd): New static variable.
2442 (main): Create a pipe between parent and child processes.
2443 Skip closing parent_fd.
2444 (monitor_child): New function.
2445 (do_exit): Likewise.
2446 (notify_parent): Likewise.
2447 * nscd/nscd.h (notify_parent): Likewise.
2448 (do_exit): Likewise.
2449
d6285c9f
CD
24502014-03-03 Carlos O'Donell <carlos@redhat.com>
2451
2452 * malloc/malloc.c (__libc_calloc): Revert last change.
2453
2b85d2a0
AZ
24542014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2455
2456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2457
c7debbdf
RS
24582014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2459
2460 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2462 implementation.
2463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2464 (__libc_ifunc_impl_list): Likewise.
2465 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2466 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2467 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2468 * string/strrchr.c: Define STRRCHR.
2469
235eed86
OB
24702014-02-28 Ondřej Bílka <neleai@seznam.cz>
2471
2472 * benchtest/bench-strtok.c (simple_strtok): Delete.
2473 (strtok_string): Use as benchmark.
2474 * string/strtok (STRTOK): New macro.
2475
8e25d1e7
CD
24762014-02-28 Carlos O'Donell <carlos@redhat.com>
2477
ef563f92
CD
2478 * manual/threads.texi: Add header and standard comments to all
2479 functions.
2480
8e25d1e7
CD
2481 * elf/dl-lookup.c (check_match): New function.
2482 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2483 (do_lookup_x): Remove nested function check_match. Use non-nested
2484 function check_match.
2485
ff71cc37
RM
24862014-02-28 Roland McGrath <roland@hack.frob.com>
2487
f08e9a26
RM
2488 * csu/Makefile (generated, before-compile): Use += rather than =.
2489 * catgets/Makefile (generated, generated-dirs): Likewise.
2490 * debug/Makefile (generated): Likewise.
2491 * dlfcn/Makefile (generated): Likewise.
2492 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2493 * iconvdata/Makefile (before-compile, generated): Likewise.
2494 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2495 * libio/Makefile (generated): Likewise.
2496 * malloc/Makefile (generated): Likewise.
2497 * manual/Makefile (generated, generated-dirs): Likewise.
2498 * misc/Makefile (generated): Likewise.
2499 * posix/Makefile (generated): Likewise.
2500 * resolv/Makefile (generated): Likewise.
2501 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2502 * timezone/Makefile (generated, generated-dirs): Likewise.
2503
ff71cc37
RM
2504 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2505
fe13a20c
AZ
25062014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2507
2508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2509 implementation.
2510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2511 POWER8 llround ifunc implementation.
2512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2513 POWER8 implementation.
2514 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2515 POWER8 llround implementation.
2516
1ad8950a
AZ
25172014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2518
2519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2520 implementation.
2521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2522 POWER8 llrint ifunc implementation.
2523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2524 POWER8 implementation.
2525 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2526 POWER8 llrint implementation.
2527
cac626d6
AZ
25282014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2529
2530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2531 implementation.
2532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2533 POWER8 finite ifunc implementation.
2534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2535 POWER8 implementation.
2536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2537 Likewise.
2538 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2539 POWER8 finite implementation.
2540 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2541
4393fc11
AZ
25422014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2543
2544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2545 implementation.
2546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2547 POWER8 isinf ifunc implementation.
2548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2549 POWER8 implementation.
2550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2551 Likewise.
2552 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2553 POWER8 isinf implementation.
2554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2555
487972ae
AZ
25562014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2557
2558 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2559 Add hwcap2 initialization.
2560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2561 implementation.
2562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2563 POWER8 isnan ifunc implementation.
2564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2565 POWER8 implementation.
2566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2567 Likewise.
2568 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2569 POWER8 isnan implementation.
2570 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2571
7d92b787
JY
25722014-02-27 Joey Ye <joey.ye@arm.com>
2573
2574 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2575 (_FP_NANFRAC_Q): Set to zero.
2576
1cadc858
SP
25772014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2578
2579 [BZ #16623]
2580 * math/auto-libm-test-in: New test inputs.
2581 * math/auto-libm-test-out: Regenerate.
2582 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2583 and DA.
2584 (__cos): Likewise.
2585 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2586
f8c17e79
JM
25872014-02-27 Joseph Myers <joseph@codesourcery.com>
2588
2589 * scripts/evaluate-test.sh: Take new argument indicating whether
2590 failure is expected.
2591 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2592 indicating whether failure is expected.
2593 * conform/Makefile (test-xfail-run-conformtest): New variable.
2594 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2595 level.
2596 * posix/Makefile (test-xfail-annexc): New variable.
2597 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2598
a5f891ac
JM
25992014-02-26 Joseph Myers <joseph@codesourcery.com>
2600
2601 * argp/Makefile: Include Makeconfig immediately after defining
2602 subdir.
2603 * assert/Makefile: Likewise.
2604 * benchtests/Makefile: Likewise.
2605 * catgets/Makefile: Likewise.
2606 * conform/Makefile: Likewise.
2607 * crypt/Makefile: Likewise.
2608 * csu/Makefile: Likewise.
2609 (all): Remove target.
2610 * ctype/Makefile: Include Makeconfig immediately after defining
2611 subdir.
2612 * debug/Makefile: Likewise.
2613 * dirent/Makefile: Likewise.
2614 * dlfcn/Makefile: Likewise.
2615 * gmon/Makefile: Likewise.
2616 * gnulib/Makefile: Likewise.
2617 * grp/Makefile: Likewise.
2618 * gshadow/Makefile: Likewise.
2619 * hesiod/Makefile: Likewise.
2620 * hurd/Makefile: Likewise.
2621 (all): Remove target.
2622 * iconvdata/Makefile: Include Makeconfig immediately after
2623 defining subdir.
2624 * inet/Makefile: Likewise.
2625 * intl/Makefile: Likewise.
2626 * io/Makefile: Likewise.
2627 * libio/Makefile: Likewise.
2628 (all): Remove target.
2629 * locale/Makefile: Include Makeconfig immediately after defining
2630 subdir.
2631 * login/Makefile: Likewise.
2632 * mach/Makefile: Likewise.
2633 (all): Remove target.
2634 * malloc/Makefile: Include Makeconfig immediately after defining
2635 subdir.
2636 (all): Remove target.
2637 * manual/Makefile: Include Makeconfig immediately after defining
2638 subdir.
2639 * math/Makefile: Likewise.
2640 * misc/Makefile: Likewise.
2641 * nis/Makefile: Likewise.
2642 * nss/Makefile: Likewise.
2643 * po/Makefile: Likewise.
2644 (all): Remove target.
2645 * posix/Makefile: Include Makeconfig immediately after defining
2646 subdir.
2647 * pwd/Makefile: Likewise.
2648 * resolv/Makefile: Likewise.
2649 * resource/Makefile: Likewise.
2650 * rt/Makefile: Likewise.
2651 * setjmp/Makefile: Likewise.
2652 * shadow/Makefile: Likewise.
2653 * signal/Makefile: Likewise.
2654 * socket/Makefile: Likewise.
2655 * soft-fp/Makefile: Likewise.
2656 * stdio-common/Makefile: Likewise.
2657 * stdlib/Makefile: Likewise.
2658 * streams/Makefile: Likewise.
2659 * string/Makefile: Likewise.
2660 * sunrpc/Makefile: Likewise.
2661 (all): Remove target.
2662 * sysvipc/Makefile: Include Makeconfig immediately after defining
2663 subdir.
2664 * termios/Makefile: Likewise.
2665 * time/Makefile: Likewise.
2666 * timezone/Makefile: Likewise.
2667 (all): Remove target.
2668 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2669 subdir.
2670 * wctype/Makefile: Likewise.
2671
5b456e9d
SE
26722014-02-26 Steve Ellcey <sellcey@mips.com>
2673
2674 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2675 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2676 (libc_feholdexcept_setround_mips): Ditto.
2677 (libc_feholdsetround): New.
2678 (libc_feholdsetroundf): New.
2679 (libc_feholdsetroundl): New.
2680 (libc_feupdateenv_test_mips): New.
2681 (libc_feupdateenv_test): New.
2682 (libc_feupdateenv_testf): New.
2683 (libc_feupdateenv_testl): New.
2684 (libc_feresetround): New.
2685 (libc_feresetroundf): New.
2686 (libc_feresetroundl): New.
2687 (libc_fetestexcept_mips): New.
2688 (libc_fetestexcept): New.
2689 (libc_fetestexceptf): New.
2690 (libc_fetestexceptl): New.
2691 (HAVE_RM_CTX): New.
2692 (libc_feholdexcept_setround_mips_ctx): New.
2693 (libc_feholdexcept_setround_ctx): New.
2694 (libc_feholdexcept_setroundf_ctx): New.
2695 (libc_feholdexcept_setroundl_ctx): New.
2696 (libc_fesetenv_mips_ctx): New.
2697 (libc_fesetenv_ctx): New.
2698 (libc_fesetenv_ctxf): New.
2699 (libc_fesetenv_ctxl): New.
2700 (libc_feupdateenv_mips_ctx): New.
2701 (libc_feupdateenv_ctx): New.
2702 (libc_feupdateenvf_ctx): New.
2703 (libc_feupdateenvl_ctx): New.
2704 (libc_feholdsetround_mips_ctx): New.
2705 (libc_feholdsetround_ctx): New.
2706 (libc_feholdsetroundf_ctx): New.
2707 (libc_feholdsetroundl_ctx): New.
2708 (libc_feresetround_mips_ctx): New.
2709 (libc_feresetround_ctx): New.
2710 (libc_feresetroundf_ctx): New.
2711 (libc_feresetroundl_ctx): New.
2712
085d0e35
CD
27132014-02-26 Carlos O'Donell <carlos@redhat.com>
2714
f067bf1f
CD
2715 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2716
085d0e35
CD
2717 * manual/ipc.texi: New file.
2718 * manual/Makefile (chapters): Add ipc.
2719 * manual/job.texi: Add "Inter-Process Communication" to next.
2720 * manual/process.texi: Add "Inter-Process Communication" to prev.
2721
86e58c08
AZ
27222014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2723
2724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2725
4248f0da
OB
27262014-02-26 Ondřej Bílka <neleai@seznam.cz>
2727
2728 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2729
cf822e3c
OB
2730 * manual/arith.texi: Fix spaces after sentences.
2731 * manual/charset.texi: Likewise.
2732 * manual/errno.texi: Likewise.
2733 * manual/install.texi: Likewise.
2734 * manual/llio.texi: Likewise.
2735 * manual/locale.texi: Likewise.
2736 * manual/maint.texi: Likewise.
2737 * manual/math.texi: Likewise.
2738 * manual/memory.texi: Likewise.
2739 * manual/message.texi: Likewise.
2740 * manual/probes.texi: Likewise.
2741 * manual/resource.texi: Likewise.
2742 * manual/signal.texi: Likewise.
2743 * manual/socket.texi: Likewise.
2744 * manual/stdio.texi: Likewise.
2745 * manual/string.texi: Likewise.
2746 * manual/time.texi: Likewise.
2747 * manual/users.texi: Likewise.
2748
ade40b10
CD
27492014-02-25 Carlos O'Donell <carlos@redhat.com>
2750
2751 [BZ #16632]
2752 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2753 _DEFAULT_SOURCE is defined.
2754
d0503676
CD
27552014-02-25 Ulrich Drepper <drepper@gmail.com>
2756 Carlos O'Donell <carlos@redhat.com>
2757
2758 [BZ #16613]
2759 * elf/dl-tls.c (_dl_count_modids): New function.
2760 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2761 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2762 audit library and increment generation counter.
2763 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2764 * elf/tst-audit9.c: New file.
2765 * elf/tst-auditmod9a.c: New file.
2766 * elf/tst-auditmod9b.c: New file.
2767 * elf/Makefile: Add rules to build and run tst-audit9.
2768
4cbf380c
FW
27692014-02-25 Florian Weimer <fweimer@redhat.com>
2770
2771 [BZ #15347]
2772 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2773
80a56cc3
WN
27742014-02-25 Will Newton <will.newton@linaro.org>
2775
2776 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2777 (__longjmp): Restore sp and lr before restoring callee
2778 saved registers. Add longjmp and longjmp_target
2779 SystemTap probe point.
2780 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2781 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2782 Define to zero to match jmpbuf layout.
2783 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2784 (__sigsetjmp): Save sp and lr before saving callee
2785 saved registers. Add setjmp SystemTap probe point.
2786
3ea0f74e
SL
27872014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2788
2789 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2790
b04acb26
AS
27912014-02-24 Andreas Schwab <schwab@suse.de>
2792
2793 [BZ #15804]
2794 * elf/pldd.c (wait_for_ptrace_stop): New function.
2795 (main): Call it after attaching.
2796
098ad55c
RM
27972014-02-22 Roland McGrath <roland@hack.frob.com>
2798
d4ec6ae1
RM
2799 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2800 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2801 Versions files is now verboten.
2802 * hurd/Versions (libc: GLIBC_2.0):
2803 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2804 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2805 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2806 * mach/Versions: Likewise.
2807
098ad55c
RM
2808 * csu/Versions: Remove unused %include.
2809 * resolv/Versions: Likewise.
2810
acd7f096
JM
28112014-02-21 Joseph Myers <joseph@codesourcery.com>
2812
f0881698
JM
2813 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2814 ($(objpfx)check-local-headers.out): Likewise.
2815 ($(objpfx)begin-end-check.out): Likewise.
2816 * Makerules (check-abi-%.out): Likewise.
2817 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2818 ($(objpfx)test2.cat): Likewise.
2819 ($(objpfx)de/libc.cat): Likewise.
2820 ($(objpfx)test-gencat.out): Likewise.
2821 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2822 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2823 ($(objpfx)noload-mem): Likewise.
2824 ($(objpfx)tst-pathopt.out): Likewise.
2825 ($(objpfx)tst-rtld-load-self.out): Likewise.
2826 ($(objpfx)tst-array1-cmp.out): Likewise.
2827 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2828 ($(objpfx)tst-array2-cmp.out): Likewise.
2829 ($(objpfx)tst-array3-cmp.out): Likewise.
2830 ($(objpfx)tst-array4-cmp.out): Likewise.
2831 ($(objpfx)tst-array5-cmp.out): Likewise.
2832 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2833 ($(objpfx)check-textrel.out): Likewise.
2834 ($(objpfx)check-execstack.out): Likewise.
2835 ($(objpfx)check-localplt.out): Likewise.
2836 ($(objpfx)order2-cmp.out): Likewise.
2837 ($(objpfx)tst-leaks1-mem): Likewise.
2838 ($(objpfx)tst-leaks1-static-mem): Likewise.
2839 ($(objpfx)tst-initorder-cmp.out): Likewise.
2840 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2841 ($(objpfx)tst-unused-dep.out): Likewise.
2842 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2843 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2844 * iconv/Makefile (test-iconvconfig): Likewise.
2845 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2846 ($(objpfx)iconv-test.out): Likewise.
2847 ($(objpfx)tst-tables.out): Likewise.
2848 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2849 ($(objpfx)tst-gettext.out): Likewise.
2850 ($(objpfx)tst-translit.out): Likewise.
2851 ($(objpfx)tst-gettext2.out): Likewise.
2852 ($(objpfx)tst-gettext4.out): Likewise.
2853 ($(objpfx)tst-gettext6.out): Likewise.
2854 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2855 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2856 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2857 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2858 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2859 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2860 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2861 ($(objpfx)wordexp-tst.out): Likewise.
2862 ($(objpfx)annexc.out): Likewise.
2863 ($(objpfx)tst-fnmatch-mem): Likewise.
2864 ($(objpfx)bug-regex2-mem): Likewise.
2865 ($(objpfx)bug-regex14-mem): Likewise.
2866 ($(objpfx)bug-regex21-mem): Likewise.
2867 ($(objpfx)bug-regex31-mem): Likewise.
2868 ($(objpfx)tst-vfork3-mem): Likewise.
2869 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2870 ($(objpfx)tst-pcre-mem): Likewise.
2871 ($(objpfx)tst-boost-mem): Likewise.
2872 ($(objpfx)tst-getconf.out): Likewise.
2873 ($(objpfx)bug-ga2-mem): Likewise.
2874 ($(objpfx)bug-glob2-mem): Likewise.
2875 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2876 ($(objpfx)mtrace-tst-leaks2): Likewise.
2877 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2878 ($(objpfx)tst-printf.out): Likewise.
2879 ($(objpfx)tst-setvbuf1.out): Likewise.
2880 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2881 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2882 ($(objpfx)tst-fmtmsg.out): Likewise.
2883 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2884 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2885
acd7f096
JM
2886 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2887 * bits/sigaction.h [__USE_MISC]: Likewise.
2888 * bits/waitstatus.h: Update #endif comments.
2889 * ctype/ctype.h: Likewise.
2890 * dirent/dirent.h: Likewise.
2891 [__USE_MISC]: Remove redundant conditionals.
2892 * grp/grp.h: Update #endif comments.
2893 [__USE_GNU]: Remove redundant conditionals.
2894 [__USE_MISC]: Likewise.
2895 * inet/netinet/in.h [__USE_GNU]: Likewise.
2896 * io/sys/stat.h [__USE_MISC]: Likewise.
2897 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2898 * libio/bits/stdio.h: Update #endif comments.
2899 [__USE_MISC]: Remove redundant conditionals.
2900 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2901 * libio/stdio.h: Update #endif comments.
2902 [__USE_MISC]: Remove redundant conditionals.
2903 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2904 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2905 * math/math.h: Update #else and #endif comments.
2906 [__USE_MISC]: Remove redundant conditionals.
2907 * misc/sys/uio.h: Update #endif comments.
2908 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2909 * posix/glob.h [__USE_MISC]: Likewise.
2910 * posix/sys/types.h: Update #endif comments.
2911 [__USE_MISC]: Remove redundant conditionals.
2912 * posix/sys/wait.h: Update #endif comments.
2913 [__USE_MISC]: Remove redundant conditionals.
2914 * posix/unistd.h: Update #endif comments.
2915 [__USE_MISC]: Remove redundant conditionals.
2916 * pwd/pwd.h [__USE_GNU]: Likewise.
2917 [__USE_MISC]: Likewise.
2918 * resolv/netdb.h [__USE_GNU]: Likewise.
2919 * signal/signal.h: Update #endif comments.
2920 [__USE_MISC]: Remove redundant conditionals.
2921 * stdlib/stdlib.h: Update #else and #endif comments.
2922 [__USE_MISC]: Remove redundant conditionals.
2923 [__USE_GNU]: Likewise.
2924 * string/bits/string2.h [__USE_MISC]: Likewise.
2925 * string/string.h: Update #endif comments.
2926 [__USE_MISC]: Remove redundant conditionals.
2927 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2928 Likewise.
2929 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2930 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2931 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2932 Likewise.
2933 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2934 Likewise.
2935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2936 comments.
2937 [__USE_MISC]: Remove redundant conditionals.
2938 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2939 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2940 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2941 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2942 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2943 Likewise.
2944 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2945 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2946 Likewise.
2947 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2948 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2949 Likewise.
2950 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2951 Likewise.
2952 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2953 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2954 Likewise.
2955 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2956 Likewise.
2957 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2958 * sysdeps/x86/bits/string.h: Update #endif comments.
2959 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2960 conditionals.
2961 * time/sys/time.h: Update #endif comments.
2962 * time/time.h: Likewise.
2963 [__USE_MISC]: Remove redundant conditionals.
2964
a5d82e4e
YG
29652014-02-21 Yury Gribov <y.gribov@samsung.com>
2966
2967 [BZ #16600]
2968 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2969
9a80491d
AS
29702014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2971
2972 * Versions.def (librt): Add GLIBC_2.17.
2973
105fa381
AC
29742014-02-21 Adam Conrad <adconrad@0c3.net>
2975
2976 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2977 synonym for _SYS_AUXV_H to allow direct inclusion.
2978 * sysdeps/sparc/bits/hwcap.h: Likewise.
2979 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2980 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2981 * sysdeps/sparc/sysdep.h: Likewise.
2982
b8cd1c4e
SP
29832014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2984
2985 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2986
bd939d23
RS
29872014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2988
2989 * benchtests/bench-strrchr.c: Print length instead of position.
2990
5d7b57ca
JM
29912014-02-20 Joseph Myers <joseph@codesourcery.com>
2992
bc688c10
JM
2993 [BZ #16611]
2994 * sysdeps/unix/sysv/linux/kernel-features.h
2995 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2996 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2997 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2998 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2999 Likewise.
3000 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3001 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3002 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3003 (__ASSUME_SENDMMSG): Define instead of using previous
3004 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3005 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3006 (__ASSUME_SENDMMSG_SYSCALL): Define.
3007 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3008 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3011 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3012 Likewise.
3013 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3014 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3015 Likewise.
3016 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3017 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3018 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3019 [__ASSUME_SENDMMSG]: Change conditionals to
3020 [__ASSUME_SENDMMSG_SOCKETCALL].
3021 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3022 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3023 Define.
3024 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3025 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3026 Likewise.
3027 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3028 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3029 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3030 [!__ASSUME_SENDMMSG]: Change conditional to
3031 [!__ASSUME_SENDMMSG_SOCKETCALL].
3032 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3033 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3034 Define.
3035
0e31b18c
JM
3036 [BZ #16610]
3037 * sysdeps/unix/sysv/linux/kernel-features.h
3038 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3039 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3040 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3041 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3042 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3043 [__i386__ || __sparc__]
3044 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3045 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3046 (__ASSUME_RECVMMSG): Define instead of using previous
3047 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3048 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3049 (__ASSUME_RECVMMSG_SYSCALL): Define.
3050 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3051 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3052 Likewise.
3053 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3054 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3055 Likewise.
3056 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3057 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3058 Likewise.
3059 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3060 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3061 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3062 [__ASSUME_RECVMMSG]: Change condition to
3063 [__ASSUME_RECVMMSG_SOCKETCALL].
3064 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3065 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3066 Define.
3067 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3068 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3069 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3070 Likewise.
3071 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3072 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3073 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3074 [!__ASSUME_RECVMMSG]: Change condition to
3075 [!__ASSUME_RECVMMSG_SOCKETCALL].
3076 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3077 (__ASSUME_RECVMMSG_SYSCALL): Define.
3078
dd481ccf
JM
3079 [BZ #16609]
3080 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3081 __powerpc__ || __s390__ || __sh__ || __sparc__]
3082 (__ASSUME_SOCKETCALL): Define.
3083 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3084 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3085 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3086 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3087 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3088 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3089 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3090 (__ASSUME_ACCEPT4): Define instead of using previous
3091 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3092 __powerpc__ || __sparc__ || __s390__)] condition.
3093 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3094 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3095 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3096 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3097 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3098 [!__ASSUME_ACCEPT4]: Change condition to
3099 [!__ASSUME_ACCEPT4_SOCKETCALL].
3100 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3101 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3102 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3103 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3104 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3105 __ASSUME_ACCEPT4_SYSCALL.
3106 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3107 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3108 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3109 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3110 __ASSUME_ACCEPT4_SYSCALL.
3111 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3112 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3113 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3114 [__ASSUME_ACCEPT4]: Change condition to
3115 [__ASSUME_ACCEPT4_SOCKETCALL].
3116 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3117 (__ASSUME_SOCKETCALL): Define.
3118 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3120 (__ASSUME_SOCKETCALL): Define.
3121 (__ASSUME_ACCEPT4): Remove.
3122 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3123 Define.
3124 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3125 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3126 Likewise.
3127 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3128 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3129
5d7b57ca
JM
3130 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3131 macro.
3132 (HWCAP_ARM_LPAE): Likewise.
3133 (HWCAP_ARM_EVTSTRM): Likewise.
3134 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3135 Add vpfd32, lpae and evtstrm.
3136 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3137 Increase to 22.
3138
63689d61
JM
31392014-02-19 Joseph Myers <joseph@codesourcery.com>
3140
3141 * math/auto-libm-test-in: Add tests of clog10.
3142 * math/auto-libm-test-out: Regenerated.
3143 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3144 * sysdeps/i386/fpu/libm-test-ulps: Update.
3145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3146
ab09bf61
AS
31472014-02-18 Andreas Schwab <schwab@suse.de>
3148
3149 [BZ #16574]
3150 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3151 Store non-zero if the second buffer was newly allocated.
3152 (send_dg): Likewise.
3153 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3154 to send_vc and send_dg.
3155 (res_nsend): Pass NULL for ansp2_malloced.
3156 * resolv/res_query.c (__libc_res_nquery): Add parameter
3157 answerp2_malloced and pass it down to __libc_res_nsend.
3158 (res_nquery): Pass additional NULL to __libc_res_nquery.
3159 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3160 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3161 second answer buffer if answerp2_malloced was set.
3162 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3163 (__libc_res_nquerydomain): Add parameter
3164 answerp2_malloced and pass it down to __libc_res_nquery.
3165 (res_nquerydomain): Pass additional NULL to
3166 __libc_res_nquerydomain.
3167 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3168 additional NULL to __libc_res_nsend and __libc_res_nquery.
3169 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3170 additional NULL to __libc_res_nsearch.
3171 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3172 parameter of __libc_res_nsearch to check for separately allocated
3173 second buffer.
3174 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3175 __libc_res_nquery.
3176 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3177 additional NULL to __libc_res_nquery.
3178 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3179 __libc_res_nsearch.
3180 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3181 * include/resolv.h: Update prototypes of __libc_res_nquery,
3182 __libc_res_nsearch, __libc_res_nsend.
3183
a4fb7861
JM
31842014-02-18 Joseph Myers <joseph@codesourcery.com>
3185
c6af2d89
JM
3186 * math/auto-libm-test-in: Add tests of fma.
3187 * math/auto-libm-test-out: Regenerated.
3188 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3189 (fma_towardzero_test_data): Likewise.
3190 (fma_downward_test_data): Likewise.
3191 (fma_upward_test_data): Likewise.
3192 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3193 mpc_mode.
3194 (rounding_modes): Add values for new field.
3195 (func_calc_method): Add value mpfr_fff_f.
3196 (func_calc_desc): Add mpfr_fff_f union field.
3197 (test_function): Add field exact_args.
3198 (FUNC): Add macro argument EXACT_ARGS.
3199 (FUNC_mpfr_f_f): Update call to FUNC.
3200 (FUNC_mpfr_f_f): Likewise.
3201 (FUNC_mpfr_ff_f): Likewise.
3202 (FUNC_mpfr_if_f): Likewise.
3203 (FUNC_mpc_c_f): Likewise.
3204 (FUNC_mpc_c_c): Likewise.
3205 (test_functions): Add fma. Update calls to FUNC.
3206 (handle_input_arg): Add argument exact_args.
3207 (add_test): Update call to handle_input_arg.
3208 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3209 (output_for_one_input_case): Update call to calc_generic_results.
3210 Recalculate exact zero results in each rounding mode.
3211
a4fb7861
JM
3212 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3213 non-negative before setting low bit.
3214 * math/auto-libm-test-in: Mark one asin test possibly having
3215 spurious underflow.
3216 * math/auto-libm-test-out: Regenerated.
3217 * sysdeps/i386/fpu/libm-test-ulps: Update.
3218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3219
ef114eaf
DH
32202014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3221
2b7f4f2c
SP
3222 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3223 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3224 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3225 * README: Add missing listing for microblaze*-*-linux-gnu.
3226
c70a4b1d
MF
32272014-02-16 Mike Frysinger <vapier@gentoo.org>
3228
3229 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3230 * sysdeps/unix/sysv/linux/ia64: Move directory from
3231 ports/sysdeps/unix/sysv/linux/ia64.
3232 * README: Update listing for ia64-*-linux-gnu.
3233
591aeaf7
TD
32342014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3235 Joseph Myers <joseph@codesourcery.com>
3236
3237 * Makeconfig (test-name): New variable.
3238 (evaluate-test): Likewise.
3239 * Makerules (do-test-clean): Remove .test-result files.
3240 (common-mostlyclean): Likewise.
3241 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3242 * scripts/evaluate-test.sh: New file.
3243
6e89caf1
JM
32442014-02-14 Joseph Myers <joseph@codesourcery.com>
3245
7f98f180
JM
3246 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3247 separate $(objpfx)tst-fopenloc-cmp.out and
3248 $(objpfx)tst-fopenloc-mem.out targets.
3249 (tests): Update dependencies.
3250 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3251 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3252 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3253 (tst-rxspencer-no-utf8-ARGS): New variable.
3254 (tst-rxspencer-no-utf8-ENV): Likewise.
3255 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3256 instead of $(objpfx)tst-rxspencer-mem.
3257 ($(objpfx)tst-rxspencer-mem): Change target to
3258 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3259 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3260 * posix/tst-rxspencer-no-utf8.c: New file.
3261
6e89caf1
JM
3262 * elf/Makefile ($(objpfx)order.out): Remove rule.
3263 [$(run-built-tests) = yes] (tests): Depend on
3264 $(objpfx)order-cmp.out.
3265 ($(objpfx)order-cmp.out): New rule.
3266 [$(run-built-tests) = yes] (tests): Depend on
3267 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3268 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3269 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3270 $(objpfx)tst-array5-static-cmp.out.
3271 ($(objpfx)tst-array1.out): Remove rule.
3272 ($(objpfx)tst-array1-cmp.out): New rule.
3273 ($(objpfx)tst-array1-static.out): Remove rule.
3274 ($(objpfx)tst-array1-static-cmp.out): New rule.
3275 ($(objpfx)tst-array2.out): Remove rule.
3276 ($(objpfx)tst-array2-cmp.out): New rule.
3277 ($(objpfx)tst-array3.out): Remove rule.
3278 ($(objpfx)tst-array3-cmp.out): New rule.
3279 ($(objpfx)tst-array4.out): Remove rule.
3280 ($(objpfx)tst-array4-cmp.out): New rule.
3281 ($(objpfx)tst-array5.out): Remove rule.
3282 ($(objpfx)tst-array5-cmp.out): New rule.
3283 ($(objpfx)tst-array5-static.out): Remove rule.
3284 ($(objpfx)tst-array5-static-cmp.out): New rule.
3285 [$(run-built-tests) = yes] (tests): Depend on
3286 $(objpfx)order2-cmp.out.
3287 ($(objpfx)order2.out): Remove rule.
3288 ($(objpfx)order2-cmp.out): New rule.
3289 ($(objpfx)tst-initorder.out): Remove rule.
3290 [$(run-built-tests) = yes] (tests): Depend on
3291 $(objpfx)tst-initorder-cmp.out.
3292 ($(objpfx)tst-initorder-cmp.out): New rule.
3293 ($(objpfx)tst-initorder2.out): Remove rule.
3294 [$(run-built-tests) = yes] (tests): Depend on
3295 $(objpfx)tst-initorder2-cmp.out.
3296 ($(objpfx)tst-initorder2-cmp.out): New rule.
3297 [$(run-built-tests) = yes] (tests): Depend on
3298 $(objpfx)tst-unused-dep-cmp.out.
3299 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3300 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3301 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3302 on $(objpfx)tst-setvbuf1-cmp.out.
3303 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3304 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3305 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3306 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3307 ($(objpfx)tst-svc.out): Remove rule.
3308 ($(objpfx)tst-svc-cmp.out): New rule.
3309
ed9a38e2
JM
33102014-02-13 Joseph Myers <joseph@codesourcery.com>
3311
3312 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3313 * ctype/ctype.h [__USE_MISC]: Likewise.
3314 * dirent/dirent.h [__USE_MISC]: Likewise.
3315 * grp/grp.h [__USE_MISC]: Likewise.
3316 * io/fcntl.h [__USE_MISC]: Likewise.
3317 * io/sys/stat.h [__USE_MISC]: Likewise.
3318 * libio/stdio.h [__USE_MISC]: Likewise.
3319 * posix/unistd.h [__USE_MISC]: Likewise.
3320 * pwd/pwd.h [__USE_MISC]: Likewise.
3321 * stdlib.h [__USE_MISC]: Likewise.
3322 * string/bits/string2.h [__USE_MISC]: Likewise.
3323 * string/string.h [__USE_MISC]: Likewise.
3324 * time/time.h [__USE_MISC]: Likewise.
3325
d6680619
AS
33262014-02-13 Andreas Schwab <schwab@suse.de>
3327
3328 [BZ #16574]
3329 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3330 second answer buffer if it was separately allocated.
3331
ace614b8
JM
33322014-02-12 Joseph Myers <joseph@codesourcery.com>
3333
743151ae
JM
3334 * sysdeps/mips/math-tests.h: Include <features.h>.
3335 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3336 (ROUNDING_TESTS_long_double): Do not define.
3337 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3338 (EXCEPTION_TESTS_long_double): Likewise.
3339 * sysdeps/mips/mips64/libm-test-ulps: Update.
3340
498afc54
JM
3341 * include/features.h (__USE_BSD): Remove macro definitions.
3342 (__USE_SVID): Likewise.
3343 (_BSD_SOURCE): Likewise.
3344 (_SVID_SOURCE): Likewise.
3345 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3346 from definition of _DEFAULT_SOURCE.
3347 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3348 [_DEFAULT_SOURCE].
3349 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3350 * bits/mman.h [__USE_BSD]: Likewise.
3351 * bits/termios.h [__USE_BSD]: Likewise.
3352 * bits/waitstatus.h [__USE_BSD]: Likewise.
3353 * ctype/ctype.h [__USE_SVID]: Likewise.
3354 * dirent/dirent.h [__USE_BSD]: Likewise.
3355 * grp/grp.h [__USE_SVID]: Likewise.
3356 [__USE_BSD]: Likewise.
3357 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3358 * io/fcntl.h [__USE_BSD]: Likewise.
3359 * io/ftw.h [__USE_BSD]: Likewise.
3360 * io/sys/stat.h [__USE_BSD]: Likewise.
3361 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3362 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3363 * libio/stdio.h [__USE_SVID]: Likewise.
3364 [__USE_BSD]: Likewise.
3365 * math/math.h [__USE_SVID]: Likewise.
3366 [__USE_BSD]: Likewise.
3367 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3368 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3369 * misc/search.h [__USE_SVID]: Likewise.
3370 * misc/sys/mman.h [__USE_BSD]: Likewise.
3371 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3372 * misc/sys/uio.h [__USE_BSD]: Likewise.
3373 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3374 * posix/glob.h [__USE_BSD]: Likewise.
3375 * posix/regex.h [__USE_BSD]: Likewise.
3376 * posix/sys/types.h [__USE_BSD]: Likewise.
3377 [__USE_SVID]: Likewise.
3378 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3379 * posix/sys/wait.h [__USE_BSD]: Likewise.
3380 [__USE_SVID]: Likewise.
3381 * posix/unistd.h [__USE_BSD]: Likewise.
3382 [__USE_SVID]: Likewise.
3383 * pwd/pwd.h [__USE_SVID]: Likewise.
3384 * resolv/netdb.h [__USE_BSD]: Likewise.
3385 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3386 * signal/signal.h [__USE_BSD]: Likewise.
3387 [__USE_SVID]: Likewise.
3388 * socket/sys/socket.h [__USE_BSD]: Likewise.
3389 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3390 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3391 [__USE_SVID]: Likewise.
3392 * string/bits/string2.h [__USE_BSD]: Likewise.
3393 [__USE_SVID]: Likewise.
3394 * string/bits/string3.h [__USE_BSD]: Likewise.
3395 * string/endian.h [__USE_BSD]: Likewise.
3396 * string/string.h [__USE_SVID]: Likewise.
3397 [__USE_BSD]: Likewise.
3398 * string/strings.h [__USE_BSD]: Likewise.
3399 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3400 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3401 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3402 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3403 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3404 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3405 Likewise.
3406 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3407 Likewise.
3408 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3409 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3410 Likewise.
3411 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3412 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3413 Likewise.
3414 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3415 Likewise.
3416 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3417 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3418 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3419 Likewise.
3420 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3421 Likewise.
3422 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3423 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3424 * termios/termios.h [__USE_BSD]: Likewise.
3425 * time/sys/time.h [__USE_BSD]: Likewise.
3426 * time/time.h [__USE_BSD]: Likewise.
3427 [__USE_SVID]: Likewise.
3428
dd7b064c
JM
3429 * Makefile (subdir_targets): Remove subdir_lint.out.
3430
a2c4c199
JM
3431 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3432 (do-tst-printf): Likewise.
3433 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3434 $(objpfx)tst-printf.out.
3435
8756f740
JM
3436 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3437
1b6dd3f1
JM
3438 * Makerules (check-abi-%): Change target to
3439 $(objpfx)check-abi-%.out.
3440 (check-abi target): Update dependencies.
3441 (check-abi-pattern variable): Redirect output of diff to $@.
3442 (check-abi variable): Likewise.
3443 * elf/Makefile (check-abi): Update dependencies.
3444
ace614b8
JM
3445 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3446 unused.
3447 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3448 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3449 subnormal range.
3450 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3451 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3452 value has largest subnormal exponent.
3453 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3454 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3455 * sysdeps/aarch64/soft-fp/sfp-machine.h
3456 (_FP_TININESS_AFTER_ROUNDING): New macro.
3457 * sysdeps/alpha/soft-fp/sfp-machine.h
3458 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3459 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3460 Likewise.
3461 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3462 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3463 * sysdeps/mips/soft-fp/sfp-machine.h
3464 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3465 * sysdeps/powerpc/soft-fp/sfp-machine.h
3466 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3467 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3468 Likewise.
3469 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3470 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3471 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3472 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3473 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3474 Likewise.
3475
fbfdf9cb
DAS
34762014-02-12 Dylan Alex Simon <dylan@dylex.net>
3477
3478 [BZ #16545]
3479 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3480 model 1.
3481
68b7efaa
RH
34822014-02-12 Richard Henderson <rth@redhat.com>
3483
c70a4b1d 3484 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3485 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3486 * sysdeps/unix/sysv/linux/alpha: Move directory from
3487 ports/sysdeps/unix/sysv/linux/alpha.
3488 * README: Update listing for alpha-*-linux-gnu.
3489
cb4a2928
JM
34902014-02-11 Joseph Myers <joseph@codesourcery.com>
3491
c941736c
JM
3492 * include/features.h: Update comment documenting feature test
3493 macros.
3494 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3495 _DEFAULT_SOURCE.
3496 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3497 (_SVID_SOURCE): Likewise.
3498 (_DEFAULT_SOURCE): Update description of default features.
3499 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3500 with _GNU_SOURCE.
3501 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3502 (S_ISVTX): Likewise.
3503 * manual/math.texi (Mathematical Constants): Likewise.
3504 * manual/signal.texi (Interrupted Primitives): Likewise.
3505 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3506 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3507 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3508 Don't refer to _SVID_SOURCE in warning text.
3509
e8d8d7ec
JM
3510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3511
cb4a2928
JM
3512 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3513 already defined.
3514 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3515 * sysdeps/mips/dl-lookup.c: Remove.
3516 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3517
7e6424e3
AK
35182014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3519
3520 [BZ #16447]
3521 * math/auto-libm-test-in: Add testcase for expl.
3522 * math/auto-libm-test-out: Regenerate.
3523 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3524 calculation of unsafe.
3525 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3526
75eff3fe
MS
35272014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3528
3529 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3530 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3531 ports/sysdeps/unix/sysv/linux/aarch64.
3532 * README: Update listing for aarch64*-*-linux-gnu.
3533
d35f1e80
WN
35342014-02-11 Will Newton <will.newton@linaro.org>
3535
3536 * manual/probes.texi (Mathematical Function Probes): Use
3537 "triggered" instead of "hit".
3538
7b3436d4
WN
35392014-02-11 Will Newton <will.newton@linaro.org>
3540
3541 * manual/probes.texi (Internal Probes): Add documentation
3542 of setjmp, longjmp and longjmp_target probes.
3543
b4f12ca3
WN
35442014-02-11 Will Newton <will.newton@linaro.org>
3545
3546 * include/stap-probe.h: Add comment about probe argument
3547 format.
3548
c13a72b7
WN
35492014-02-11 Will Newton <will.newton@linaro.org>
3550
3551 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3552 definition. (tr_where, tr_freehook, tr_mallochook,
3553 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3554
195b8165
DM
35552014-02-11 David S. Miller <davem@davemloft.net>
3556
3557 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3558 processing int_tests.
3559
2ad7600b
JM
35602014-02-10 Joseph Myers <joseph@codesourcery.com>
3561
3562 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3563 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3564 * sysdeps/unix/sysv/linux/mips: Move directory from
3565 ports/sysdeps/unix/sysv/linux/mips.
3566 * README: Update listing for mips-*-linux-gnu and
3567 mips64-*-linux-gnu.
3568
73588a72
AS
35692014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3570
3571 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3572 * sysdeps/unix/sysv/linux/m68k: Move directory from
3573 ports/sysdeps/unix/sysv/linux/m68k.
3574 * README: Update listing for m68k-*-linux-gnu.
3575
4372980f
CM
35762014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3577
3578 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3579 * sysdeps/unix/sysv/linux/generic: Move directory from
3580 ports/sysdeps/unix/sysv/linux/generic.
3581 * sysdeps/unix/sysv/linux/tile: Move directory from
3582 ports/sysdeps/unix/sysv/linux/tile.
3583 * README: Update listing for tile*-*-linux-gnu.
3584
a1ffb40e
OB
35852014-02-10 Ondřej Bílka <neleai@seznam.cz>
3586
3587 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3588 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3589 * catgets/open_catalog.c (__open_catalog): Likewise.
3590 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3591 * debug/confstr_chk.c: Likewise.
3592 * debug/fread_chk.c (__fread_chk): Likewise.
3593 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3594 * debug/getgroups_chk.c: Likewise.
3595 * debug/mbsnrtowcs_chk.c: Likewise.
3596 * debug/mbsrtowcs_chk.c: Likewise.
3597 * debug/mbstowcs_chk.c: Likewise.
3598 * debug/memcpy_chk.c: Likewise.
3599 * debug/memmove_chk.c: Likewise.
3600 * debug/mempcpy_chk.c: Likewise.
3601 * debug/memset_chk.c: Likewise.
3602 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3603 * debug/strcat_chk.c (__strcat_chk): Likewise.
3604 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3605 * debug/strncat_chk.c (__strncat_chk): Likewise.
3606 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3607 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3608 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3609 * debug/wcpncpy_chk.c: Likewise.
3610 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3611 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3612 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3613 * debug/wcsncpy_chk.c: Likewise.
3614 * debug/wcsnrtombs_chk.c: Likewise.
3615 * debug/wcsrtombs_chk.c: Likewise.
3616 * debug/wcstombs_chk.c: Likewise.
3617 * debug/wmemcpy_chk.c: Likewise.
3618 * debug/wmemmove_chk.c: Likewise.
3619 * debug/wmempcpy_chk.c: Likewise.
3620 * debug/wmemset_chk.c: Likewise.
3621 * dirent/scandirat.c (SCANDIRAT): Likewise.
3622 * dlfcn/dladdr1.c (dladdr1): Likewise.
3623 * dlfcn/dladdr.c (dladdr): Likewise.
3624 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3625 * dlfcn/dlerror.c (__dlerror): Likewise.
3626 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3627 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3628 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3629 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3630 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3631 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3632 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3633 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3634 Likewise.
3635 * elf/dl-conflict.c: Likewise.
3636 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3637 * elf/dl-dst.h: Likewise.
3638 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3639 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3640 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3641 * elf/dl-init.c (call_init, _dl_init): Likewise.
3642 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3643 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3644 _dl_map_object_from_fd, open_verify, open_path,
3645 _dl_map_object): Likewise.
3646 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3647 Likewise.
3648 * elf/dl-minimal.c (__libc_memalign): Likewise.
3649 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3650 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3651 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3652 * elf/dl-sym.c (do_sym): Likewise.
3653 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3654 _dl_tls_get_addr_soft): Likewise.
3655 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3656 * elf/dl-writev.h (_dl_writev): Likewise.
3657 * elf/ldconfig.c (search_dir): Likewise.
3658 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3659 dl_main): Likewise.
3660 * elf/setup-vdso.h (setup_vdso): Likewise.
3661 * grp/compat-initgroups.c (compat_call): Likewise.
3662 * grp/fgetgrent.c (fgetgrent): Likewise.
3663 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3664 * grp/putgrent.c (putgrent): Likewise.
3665 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3666 Likewise.
3667 * hurd/hurdinit.c: Likewise.
3668 * iconvdata/8bit-gap.c (struct): Likewise.
3669 * iconvdata/ansi_x3.110.c : Likewise.
3670 * iconvdata/big5.c : Likewise.
3671 * iconvdata/big5hkscs.c : Likewise.
3672 * iconvdata/cp1255.c: Likewise.
3673 * iconvdata/cp1258.c : Likewise.
3674 * iconvdata/cp932.c : Likewise.
3675 * iconvdata/euc-cn.c: Likewise.
3676 * iconvdata/euc-jisx0213.c : Likewise.
3677 * iconvdata/euc-jp.c: Likewise.
3678 * iconvdata/euc-jp-ms.c : Likewise.
3679 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3680 * iconvdata/gb18030.c : Likewise.
3681 * iconvdata/gbbig5.c (const): Likewise.
3682 * iconvdata/gbgbk.c: Likewise.
3683 * iconvdata/gbk.c : Likewise.
3684 * iconvdata/ibm1364.c : Likewise.
3685 * iconvdata/ibm930.c : Likewise.
3686 * iconvdata/ibm932.c: Likewise.
3687 * iconvdata/ibm933.c : Likewise.
3688 * iconvdata/ibm935.c : Likewise.
3689 * iconvdata/ibm937.c : Likewise.
3690 * iconvdata/ibm939.c : Likewise.
3691 * iconvdata/ibm943.c: Likewise.
3692 * iconvdata/iso_11548-1.c: Likewise.
3693 * iconvdata/iso-2022-cn.c : Likewise.
3694 * iconvdata/iso-2022-cn-ext.c : Likewise.
3695 * iconvdata/iso-2022-jp-3.c: Likewise.
3696 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3697 * iconvdata/iso-2022-kr.c : Likewise.
3698 * iconvdata/iso646.c (gconv_end): Likewise.
3699 * iconvdata/iso_6937-2.c : Likewise.
3700 * iconvdata/iso_6937.c : Likewise.
3701 * iconvdata/iso8859-1.c: Likewise.
3702 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3703 * iconvdata/shift_jisx0213.c : Likewise.
3704 * iconvdata/sjis.c : Likewise.
3705 * iconvdata/t.61.c : Likewise.
3706 * iconvdata/tcvn5712-1.c : Likewise.
3707 * iconvdata/tscii.c: Likewise.
3708 * iconvdata/uhc.c : Likewise.
3709 * iconvdata/unicode.c (gconv_end): Likewise.
3710 * iconvdata/utf-16.c (gconv_end): Likewise.
3711 * iconvdata/utf-32.c (gconv_end): Likewise.
3712 * iconvdata/utf-7.c (base64): Likewise.
3713 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3714 * iconv/gconv_close.c (__gconv_close): Likewise.
3715 * iconv/gconv_open.c (__gconv_open): Likewise.
3716 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3717 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3718 internal_ucs4le_loop_single, ucs4le_internal_loop,
3719 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3720 * iconv/iconv.c (iconv): Likewise.
3721 * iconv/iconv_close.c: Likewise.
3722 * iconv/loop.c (SINGLE): Likewise.
3723 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3724 * include/atomic.h: Likewise.
3725 * inet/inet6_option.c (option_alloc): Likewise.
3726 * intl/bindtextdom.c (set_binding_values): Likewise.
3727 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3728 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3729 * intl/localealias.c (read_alias_file): Likewise.
3730 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3731 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3732 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3733 * libio/fmemopen.c (fmemopen): Likewise.
3734 * libio/iofgets.c (_IO_fgets): Likewise.
3735 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3736 * libio/iofgetws.c (fgetws): Likewise.
3737 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3738 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3739 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3740 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3741 * locale/findlocale.c (_nl_find_locale): Likewise.
3742 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3743 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3744 Likewise.
3745 * locale/setlocale.c (setlocale): Likewise.
3746 * login/programs/pt_chown.c (main): Likewise.
3747 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3748 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3749 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3750 mmap, mmap64, mremap, munmap): Likewise.
3751 * math/e_exp2l.c: Likewise.
3752 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3753 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3754 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3755 * math/s_catan.c (__catan): Likewise.
3756 * math/s_catanf.c (__catanf): Likewise.
3757 * math/s_catanh.c (__catanh): Likewise.
3758 * math/s_catanhf.c (__catanhf): Likewise.
3759 * math/s_catanhl.c (__catanhl): Likewise.
3760 * math/s_catanl.c (__catanl): Likewise.
3761 * math/s_ccosh.c (__ccosh): Likewise.
3762 * math/s_ccoshf.c (__ccoshf): Likewise.
3763 * math/s_ccoshl.c (__ccoshl): Likewise.
3764 * math/s_cexp.c (__cexp): Likewise.
3765 * math/s_cexpf.c (__cexpf): Likewise.
3766 * math/s_cexpl.c (__cexpl): Likewise.
3767 * math/s_clog10.c (__clog10): Likewise.
3768 * math/s_clog10f.c (__clog10f): Likewise.
3769 * math/s_clog10l.c (__clog10l): Likewise.
3770 * math/s_clog.c (__clog): Likewise.
3771 * math/s_clogf.c (__clogf): Likewise.
3772 * math/s_clogl.c (__clogl): Likewise.
3773 * math/s_csin.c (__csin): Likewise.
3774 * math/s_csinf.c (__csinf): Likewise.
3775 * math/s_csinh.c (__csinh): Likewise.
3776 * math/s_csinhf.c (__csinhf): Likewise.
3777 * math/s_csinhl.c (__csinhl): Likewise.
3778 * math/s_csinl.c (__csinl): Likewise.
3779 * math/s_csqrt.c (__csqrt): Likewise.
3780 * math/s_csqrtf.c (__csqrtf): Likewise.
3781 * math/s_csqrtl.c (__csqrtl): Likewise.
3782 * math/s_ctan.c (__ctan): Likewise.
3783 * math/s_ctanf.c (__ctanf): Likewise.
3784 * math/s_ctanh.c (__ctanh): Likewise.
3785 * math/s_ctanhf.c (__ctanhf): Likewise.
3786 * math/s_ctanhl.c (__ctanhl): Likewise.
3787 * math/s_ctanl.c (__ctanl): Likewise.
3788 * math/w_pow.c: Likewise.
3789 * math/w_powf.c: Likewise.
3790 * math/w_powl.c: Likewise.
3791 * math/w_scalb.c (sysv_scalb): Likewise.
3792 * math/w_scalbf.c (sysv_scalbf): Likewise.
3793 * math/w_scalbl.c (sysv_scalbl): Likewise.
3794 * misc/error.c (error_tail): Likewise.
3795 * misc/pselect.c (__pselect): Likewise.
3796 * nis/nis_callback.c (__nis_create_callback): Likewise.
3797 * nis/nis_call.c (__nisfind_server): Likewise.
3798 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3799 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3800 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3801 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3802 * nis/nis_lookup.c (nis_lookup): Likewise.
3803 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3804 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3805 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3806 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3807 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3808 internal_getgrgid_r): Likewise.
3809 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3810 Likewise.
3811 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3812 internal_getpwuid_r): Likewise.
3813 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3814 internal_getspnam_r): Likewise.
3815 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3816 _nss_nis_getaliasbyname_r): Likewise.
3817 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3818 _nss_nis_getntohost_r): Likewise.
3819 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3820 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3821 Likewise.
3822 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3823 internal_nis_gethostent_r, internal_gethostbyname2_r,
3824 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3825 _nss_nis_gethostbyname4_r): Likewise.
3826 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3827 initgroups_netid): Likewise.
3828 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3829 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3830 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3831 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3832 _nss_nis_getprotobynumber_r): Likewise.
3833 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3834 _nss_nis_getsecretkey): Likewise.
3835 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3836 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3837 Likewise.
3838 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3839 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3840 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3841 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3842 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3843 _nss_nis_getspnam_r): Likewise.
3844 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3845 Likewise.
3846 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3847 _nss_nisplus_getntohost_r): Likewise.
3848 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3849 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3850 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3851 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3852 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3853 Likewise.
3854 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3855 _nss_nisplus_getnetbyaddr_r): Likewise.
3856 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3857 _nss_nisplus_getprotobynumber_r): Likewise.
3858 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3859 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3860 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3861 Likewise.
3862 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3863 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3864 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3865 _nss_nisplus_getspnam_r): Likewise.
3866 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3867 * nscd/aicache.c (addhstaiX): Likewise.
3868 * nscd/cache.c (cache_search, prune_cache): Likewise.
3869 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3870 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3871 * nscd/grpcache.c (addgrbyX): Likewise.
3872 * nscd/hstcache.c (addhstbyX): Likewise.
3873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3874 * nscd/mem.c (gc, mempool_alloc): Likewise.
3875 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3876 Likewise.
3877 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3878 Likewise.
3879 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3880 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3881 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3882 Likewise.
3883 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3884 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3885 * nscd/nscd_helper.c (__readvall, open_socket,
3886 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3887 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3888 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3889 * nscd/pwdcache.c (addpwbyX): Likewise.
3890 * nscd/selinux.c (preserve_capabilities): Likewise.
3891 * nscd/servicescache.c (addservbyX): Likewise.
3892 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3893 * posix/fnmatch.c (fnmatch): Likewise.
3894 * posix/getopt.c (_getopt_internal_r): Likewise.
3895 * posix/glob.c (glob, glob_in_dir): Likewise.
3896 * posix/wordexp.c (exec_comm_child): Likewise.
3897 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3898 gaih_getanswer_slice): Likewise.
3899 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3900 * resolv/res_init.c: Likewise.
3901 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3902 * resolv/res_query.c (__libc_res_nquery): Likewise.
3903 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3904 Likewise.
3905 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3906 * stdio-common/perror.c (perror): Likewise.
3907 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3908 * stdio-common/tmpnam.c (tmpnam): Likewise.
3909 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3910 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3911 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3912 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3913 * stdlib/putenv.c (putenv): Likewise.
3914 * stdlib/setenv.c (__add_to_environ): Likewise.
3915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3916 * stdlib/strtol_l.c (INTERNAL): Likewise.
3917 * string/memmem.c (memmem): Likewise.
3918 * string/strerror.c (strerror): Likewise.
3919 * string/strnlen.c (__strnlen): Likewise.
3920 * string/test-memmem.c (simple_memmem): Likewise.
3921 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3922 * sunrpc/pm_getport.c (__get_socket): Likewise.
3923 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3924 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3925 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3926 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3927 Likewise.
3928 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3929 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3930 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3931 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3932 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3933 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3934 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3935 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3936 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3937 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3938 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3939 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3941 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3942 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3943 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3944 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3945 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3946 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3947 Likewise.
3948 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3949 Likewise.
3950 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3951 Likewise.
3952 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3954 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3955 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3956 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3957 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3958 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3959 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3960 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3961 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3962 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3963 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3964 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3965 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3966 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3967 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3968 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3969 Likewise.
3970 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3971 Likewise.
3972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3973 Likewise.
3974 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3976 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3977 Likewise.
3978 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3979 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3980 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3981 * sysdeps/posix/sleep.c: Likewise.
3982 * sysdeps/posix/tempname.c: Likewise.
3983 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3984 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3985 Likewise.
3986 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3987 elf_machine_rela): Likewise.
3988 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3990 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3991 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3992 Likewise.
3993 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3994 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3995 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3996 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3997 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3998 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3999 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4000 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4001 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4002 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4004 elf_machine_lazy_rel): Likewise.
4005 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4007 elf_machine_lazy_rel): Likewise.
4008 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4009 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4010 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4011 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4012 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4013 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4014 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4016 Likewise.
4017 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4018 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4019 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4020 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4021 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4022 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4023 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4024 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4025 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4026 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4027 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4028 Likewise.
4029 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4030 (__posix_fallocate64_l64): Likewise.
4031 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4032 (posix_fallocate): Likewise.
4033 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4034 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4035 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4036 getifaddrs_internal): Likewise.
4037 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4038 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4039 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4040 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4041 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4042 (__posix_fallocate64_l64): Likewise.
4043 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4044 Likewise.
4045 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4046 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4047 Likewise.
4048 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4049 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4050 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4052 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4053 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4054 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4055 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4056 Likewise.
4057 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4058 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4059 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4060 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4062 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4063 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4064 Likewise.
4065 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4066 (posix_fallocate): Likewise.
4067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4068 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4069 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4070 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4071 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4072 Likewise.
4073 * time/asctime.c (asctime_internal): Likewise.
4074 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4075 * time/tzset.c (__tzset_parse_tz): Likewise.
4076 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4077 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4078 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4079 * wcsmbs/wcsmbsload.h: Likewise.
4080
f3d338c9
OB
40812014-02-10 Ondřej Bílka <neleai@seznam.cz>
4082
4083 [BZ #15894]
4084 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4085
bdfe308a
OB
40862014-02-10 Ondřej Bílka <neleai@seznam.cz>
4087
4088 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4089 arena_get2): Remove THREAD_STATS conditionals.
4090 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4091 __malloc_stats, int): Likewise.
4092
d674667c
MF
40932014-02-08 Mike Frysinger <vapier@gentoo.org>
4094
4095 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4096 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4097
6349768c
MF
40982014-02-08 Mike Frysinger <vapier@gentoo.org>
4099
4100 * manual/setjmp.texi: Fix typos/grammar errors.
4101
0b7c7473
MF
41022014-02-08 Mike Frysinger <vapier@gentoo.org>
4103
4104 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4105 Only return early when n is <= 0. Delete unused return statement.
4106
ac8cc9e3
MF
41072014-02-08 Mike Frysinger <vapier@gentoo.org>
4108
4109 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4110 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4111 * debug/tst-longjmp_chk3.c: New file.
4112
c5bb8e23
MF
41132014-02-08 Mike Frysinger <vapier@gentoo.org>
4114
4115 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4116 (test_main): Replace code with set_fortify_handler call.
4117 * debug/test-strcpy_chk.c: Likewise.
4118 * debug/tst-chk1.c: Likewise.
4119 * debug/tst-longjmp_chk.c: Likewise.
4120 * test-skeleton.c: Include fcntl.h & paths.h
4121 (set_fortify_handler): Define.
4122
10444e42
MF
41232014-02-08 Mike Frysinger <vapier@gentoo.org>
4124
4125 * debug/tst-longjmp_chk.c: Add header comment and include
4126 ../test-skeleton.c.
4127 (do_test): Mark static.
4128 (TEST_FUNCTION): Define.
4129
1e805e8d
MF
41302014-02-08 Mike Frysinger <vapier@gentoo.org>
4131
4132 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4133 (IP_PMTUDISC_INTERFACE): Likewise.
4134 (IP_MULTICAST_IF): Likewise.
4135 (IP_MULTICAST_TTL): Likewise.
4136 (IP_MULTICAST_LOOP): Likewise.
4137 (IP_ADD_MEMBERSHIP): Likewise.
4138 (IP_DROP_MEMBERSHIP): Likewise.
4139 (IP_UNBLOCK_SOURCE): Likewise.
4140 (IP_BLOCK_SOURCE): Likewise.
4141 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4142 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4143 (IP_MSFILTER): Likewise.
4144 (MCAST_JOIN_GROUP): Likewise.
4145 (MCAST_BLOCK_SOURCE): Likewise.
4146 (MCAST_UNBLOCK_SOURCE): Likewise.
4147 (MCAST_LEAVE_GROUP): Likewise.
4148 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4149 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4150 (MCAST_MSFILTER): Likewise.
4151 (IP_MULTICAST_ALL): Likewise.
4152 (IP_UNICAST_IF): Likewise.
4153
73f79bb7
MF
41542014-02-08 Mike Frysinger <vapier@gentoo.org>
4155
4156 * timezone/Makefile: Delete $(have-ksh) check.
4157 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4158 * timezone/tzselect.ksh: Add +x mode bits.
4159
8da79b60
MF
41602014-02-08 Mike Frysinger <vapier@gentoo.org>
4161
4162 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4163 (ANON_INODE_FS_MAGIC): Likewise.
4164 (BDEVFS_MAGIC): Likewise.
4165 (BINFMTFS_MAGIC): Likewise.
4166 (BTRFS_TEST_MAGIC): Likewise.
4167 (CRAMFS_MAGIC_WEND): Likewise.
4168 (DEBUGFS_MAGIC): Likewise.
4169 (ECRYPTFS_SUPER_MAGIC): Likewise.
4170 (EXT3_SUPER_MAGIC): Likewise.
4171 (EXT4_SUPER_MAGIC): Likewise.
4172 (FUTEXFS_SUPER_MAGIC): Likewise.
4173 (HOSTFS_SUPER_MAGIC): Likewise.
4174 (HUGETLBFS_MAGIC): Likewise.
4175 (MINIX3_SUPER_MAGIC): Likewise.
4176 (MTD_INODE_FS_MAGIC): Likewise.
4177 (NILFS_SUPER_MAGIC): Likewise.
4178 (OPENPROM_SUPER_MAGIC): Likewise.
4179 (PIPEFS_MAGIC): Likewise.
4180 (PSTOREFS_MAGIC): Likewise.
4181 (QNX6_SUPER_MAGIC): Likewise.
4182 (RAMFS_MAGIC): Likewise.
4183 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4184 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4185 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4186 (SECURITYFS_MAGIC): Likewise.
4187 (SELINUX_MAGIC): Likewise.
4188 (SMACK_MAGIC): Likewise.
4189 (SOCKFS_MAGIC): Likewise.
4190 (SQUASHFS_MAGIC): Likewise.
4191 (STACK_END_MAGIC): Likewise.
4192 (TMPFS_MAGIC): Likewise.
4193 (USBDEVICE_SUPER_MAGIC): Likewise.
4194 (V9FS_MAGIC): Likewise.
4195 (XENFS_SUPER_MAGIC): Likewise.
4196 (CRAMFS_MAGIC): Fix typo in comment.
4197 (EXT2_SUPER_MAGIC): Update comment.
4198 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4199
464263cc
JM
42002014-02-08 Joseph Myers <joseph@codesourcery.com>
4201
c6bfe5c4
JM
4202 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4203 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4204 * sysdeps/unix/sysv/linux/arm: Move directory from
4205 ports/sysdeps/unix/sysv/linux/arm.
4206 * README: Update listing for arm-*-linux-gnueabi.
4207
464263cc
JM
4208 * README: Remove mention of am33.
4209
32749f6c
RM
42102014-02-07 Roland McGrath <roland@hack.frob.com>
4211
4212 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4213 than the comma operator, to avoid "rhs of comma has no effect"
4214 compiler warnings.
4215 (__sigfillset, __sigandset, __sigorset): Likewise.
4216 * include/signal.h (__sigemptyset): Likewise.
4217 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4218
d5b396c1
AM
42192014-02-07 Allan McRae <allan@archlinux.org>
4220
4221 * version.h (RELEASE): Set to "development".
4222 (VERSION): Set to "2.19.90"
4223 * NEWS: Add 2.20 section.
4224
3bfff2ed
CD
42252014-02-06 Carlos O'Donell <carlos@redhat.com>
4226
4227 [BZ #16529]
4228 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4229
ee7cc385
SP
42302014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4231
4232 * manual/contrib.texi: Update entry for Carlos O'Donell,
4233 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4234
f877c4f2
CD
42352014-02-05 Carlos O'Donell <carlos@rehdat.com>
4236
27e839f6
CD
4237 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4238
f877c4f2
CD
4239 * sysdeps/unix/sysv/linux/kernel-features.h
4240 [__LINUX_KERNEL_VERSION >= 0x020621]
4241 (__ASSUME_PROC_PID_TASK_COMM): Define.
4242
68159946
SP
42432014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4244
ba17cdbd
SP
4245 [BZ #16398]
4246 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4247 conversion when destination buffer does not have enough space.
4248 * libio/tst-ftell-partial-wide.c: New test case.
4249 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4250
68159946
SP
4251 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4252 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4253 Leonard and Allan McRae.
4254
2b528732
DM
42552014-02-04 David S. Miller <davem@davemloft.net>
4256
4257 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4258 32-bit.
4259
0ff82463
AZ
42602014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4261
c01603f7
AZ
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4263 file
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4265 New file
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4267 file.
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4269 file.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4271 New file.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4273 file.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4275 file.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4277 New file.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4279 New file.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4281 New file.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4283 New file.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4285 New file.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4287 New file.
4288
42892014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4290
0ff82463
AZ
4291 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4292 * shlib-versions: Likewise.
4293
1695c773
AZ
42942014-02-04 Roland McGrath <roland@hack.frob.com>
4295 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4296
4297 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4298 (abilist-pattern): New variable, set to %-le.abilist.
4299
4300 * Makerules (abilist-pattern): New variable.
4301 (vpath): Use $(abilist-pattern) in place of %.abilist.
4302 (check-abi-% pattern rule): Likewise.
4303 (check-abi, update-abi): Likewise.
4304
6c0ce4b4
EW
43052014-02-04 Eric Wong <normalperson@yhbt.net>
4306
4307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4308
dc98b8f5
EW
43092014-02-04 Eric Wong <normalperson@yhbt.net>
4310
4311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4312
481e3524
CD
43132014-02-03 Carlos O'Donell <carlos@redhat.com>
4314
4315 * manual/startup.texi: Add next, previous, and top entries for
4316 the `Program Arguments' and `Environment Variables' nodes.
4317
375592d3
AO
43182014-02-03 Alexandre Oliva <aoliva@redhat.com>
4319
4320 * manual/macros.texi: Add comments before MTASC-safety macros.
4321
f54838ba
AO
4322 * manual/users.texi: Document MTASC-safety properties.
4323
909e12ad
AO
4324 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4325 pthread_getspecific, pthread_setspecific): Format with
4326 @deftypefun, and add @safety note.
4327 * manual/signal.texi: Move comments that analyze the above
4328 functions to their home place.
4329
fd3daba4
AM
43302014-02-03 Allan McRae <allan@archlinux.org>
4331
4332 * po/sl.po: Update Slovenian translation from translation project.
4333
597636d7
AO
43342014-02-02 Alexandre Oliva <aoliva@redhat.com>
4335
4336 * manual/time.texi (timegm): Add missing blank after @c.
4337 Reported by Joseph Myers <joseph@codesourcery.com>.
4338
ee196e3c
AO
43392014-02-01 Alexandre Oliva <aoliva@redhat.com>
4340
4341 * manual/check-safety.sh: New.
4342 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4343
f8d529d5
AO
4344 * manual/terminal.texi: Document MTASC-safety properties.
4345
de55fdf4
AO
4346 * manual/filesys.texi: Document MTASC-safety properties.
4347
c3299c08
AO
4348 * manual/errno.texi: Document MTASC-safety properties.
4349
06e90b14
AO
4350 * manual/intro.texi: Document safety identifiers and
4351 conditionals.
4352
1acd4371
AO
4353 * manual/string.texi (wcstok): Fix prototype.
4354 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4355
23e5b8cb
AO
4356 * manual/time.texi: Document MTASC-safety properties.
4357
11087373
AO
4358 * manual/string.texi: Document MTASC-safety properties.
4359
5da2c93d
AO
4360 * manual/threads.texi: Document MTASC-safety properties.
4361
171e9210
AO
4362 * manual/stdio.texi: Document MTASC-safety properties.
4363
d9e02532
AO
4364 * manual/syslog.texi: Document MTASC-safety properties.
4365
6af8bab7
AO
4366 * manual/sysinfo.texi: Document MTASC-safety properties.
4367
663b02d7
AO
4368 * manual/startup.texi: Document MTASC-safety properties.
4369
973f180b
AO
4370 * manual/socket.texi: Document MTASC-safety properties.
4371
8f3c25c8
AO
4372 * manual/signal.texi: Document MTASC-safety properties.
4373
542210fb
AO
43742014-01-31 Alexandre Oliva <aoliva@redhat.com>
4375
4376 * manual/setjmp.texi: Document MTASC-safety properties.
4377
433c45a2
AO
4378 * manual/search.texi: Document MTASC-safety properties.
4379
c8ce789c
AO
4380 * manual/resource.texi: Document MTASC-safety properties.
4381
19f5d29c
AO
4382 * manual/process.texi: Document MTASC-safety properties.
4383
e2dfb7f4
AO
4384 * manual/platform.texi: Document MTASC-safety properties.
4385
8c1413f5
AO
4386 * manual/pipe.texi: Document MTASC-safety properties.
4387
03483ada
AO
4388 * manual/pattern.texi: Document MTASC-safety properties.
4389
29e7e2df
AO
4390 * manual/message.texi: Document MTASC-safety properties.
4391
9f529d7c
AO
4392 [BZ #12751]
4393 * manual/memory.texi: Document MTASC-safety properties.
4394
27aaa791
AO
4395 * manual/math.texi: Document MTASC-safety properties.
4396
f2d58726
AO
4397 * manual/locale.texi: Document MTASC-safety properties.
4398
2cc3615c
AO
4399 * manual/llio.texi: Document MTASC-safety properties.
4400
d9f0ec97
AO
4401 * manual/libdl.texi: New.
4402
e7c4409a
AO
4403 * manual/lang.texi: Document MTASC-safety properties.
4404
27bdc63c
AO
4405 * manual/job.texi: Document MTASC-safety properties.
4406
a7b90ea9
AO
4407 * manual/getopt.texi: Document MTASC-safety properties.
4408
c49130e3
AO
4409 * manual/ctype.texi: Document MTASC-safety properties.
4410
0d23a5c1
MR
44112014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4412
4413 [BZ #16046]
4414 * csu/libc-tls.c (static_map): Remove variable.
4415 (__libc_setup_tls): Use main executable's link map for TLS data.
4416 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4417 casing for LM_ID_BASE and GL(dl_nns).
4418 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4419 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4420 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4421 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4422 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4423 member.
4424 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4425 l_phnum members.
4426
0037bb60
AO
44272014-01-30 Alexandre Oliva <aoliva@redhat.com>
4428
4429 * manual/debug.texi: Document MTASC-safety properties.
4430
409e00bd
L
44312014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4432
4433 [BZ #16510]
4434 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4435 of __x86_64__ when disabling x87 inline functions.
4436
86e60666
AO
44372014-01-29 Alexandre Oliva <aoliva@redhat.com>
4438
4439 * manual/charset.texi: Document MTASC-safety properties.
4440
76167637
AO
4441 * manual/crypt.texi: Document MTASC-safety properties.
4442
e567f2a0
AO
4443 * manual/conf.texi: Document MTASC-safety properties.
4444
b719dafd
AO
4445 * manual/arith.texi: Document MTASC-safety properties.
4446
4a16c662
AO
4447 * manual/argp.texi: Document MTASC-safety properties.
4448
0a57b83e
AO
4449 * manual/macros.texi: Introduce macros to document multi
4450 thread, asynchronous signal and asynchronous cancellation
4451 safety properties.
4452 * manual/intro.texi: Introduce the properties themselves.
4453
feab2397
KK
44542014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4455
4456 * sysdeps/sh/sh4/Makefile: New file.
4457
1c0d11bc
AS
44582014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4459
4460 * math/gen-libm-test.pl ($srcdir): New variable.
4461 ($auto_input): Use it.
4462
af37a8a3
SP
44632014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4464
d7b00f98
SP
4465 [BZ #16506]
4466 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4467 access beyond array bounds when parsing netgroups file.
4468
af37a8a3
SP
4469 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4470 the old buffer before realloc.
4471
0c00f062
AM
44722014-01-27 Allan McRae <allan@archlinux.org>
4473
4474 * po/fr.po: Update French translation from translation project.
4475
7d69a1b0
KK
44762014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4477
4478 * sysdeps/sh/libm-test-ulps: Regenerate.
4479
6e697ff7
DM
44802014-01-24 David S. Miller <davem@davemloft.net>
4481
4482 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4483
9cadb35c
KK
44842014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4485
4486 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4487 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4488
5d41dadf
SP
44892013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4490
4491 [BZ #16474]
4492 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4493 string pointers after reallocation.
4494
0bad441c
KK
44952014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4496
4497 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4498 __SH4A__ instead of __SH_FPU_ANY__.
4499
7007c661
KK
45002014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4501
4502 * sysdeps/sh/fpu_control.h: New file.
4503 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4504 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4505 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4506 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4507 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4508 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4509 * sysdeps/sh/sys/ucontext.h: Remove.
4510 * sysdeps/sh/sys: Remove directory.
4511
0f0c35e4
AK
45122014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4513
4514 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4515 s390/sys/ucontext.h.
4516 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4517 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4518
4959e284
L
45192014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4520
4521 [BZ #15605]
4522 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4523
d98720e0
AZ
45242014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4525
4526 [BZ#16431]
4527 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4528 Adjust the vDSO correctly for internal calls.
4529 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4530
91cbd0bc
AM
45312014-01-20 Allan McRae <allan@archlinux.org>
4532
4533 * po/ca.po: Update Catalan translation from translation project.
4534
7a02cfad
MF
45352014-01-16 Mike Frysinger <vapier@gentoo.org>
4536
4537 * sysdeps/s390/sotruss-lib.c: New file.
4538
736c304a
AZ
45392014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4540
4541 [BZ#16430]
6e077ee5 4542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4543 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4544 local calls issues by not having a PLT stub required for IFUNC calls.
4545 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4546
94d0cea0
JM
45472014-01-16 Joseph Myers <joseph@codesourcery.com>
4548
4549 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4550 * math/test-fpucw-static.c: Likewise.
4551
980cb518
SP
45522013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4553
4554 [BZ #16453]
4555 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4556
2393fc01
AZ
45572014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558
4559 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4560 implementation for powerpc.
4561
d359bcc2
OB
45622014-01-15 Ondřej Bílka <neleai@seznam.cz>
4563
4564 [BZ #14782]
4565 * sysdeps/posix/system.c (__libc_system): Do not enable
4566 asynchronous cancellation.
4567
7beb48cb
AK
45682014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4569
4570 [BZ #16427]
4571 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4572 handling only for numbers special also in the IEEE case.
4573
c20d5bf5
AK
45742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4575
4576 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4577
e83bd4ee
AM
45782014-01-11 Allan McRae <allan@archlinux.org>
4579
76d0ea69
AM
4580 * po/bg.po: Update Bulgarian translation from translation project.
4581
e83bd4ee
AM
4582 * po/de.po: Update German translation from translation project.
4583
bc2ba20a
RM
45842014-01-10 Roland McGrath <roland@hack.frob.com>
4585
4586 * sysdeps/generic/gcc-compat.h: New file.
4587
649ecea2
SP
45882014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4589
4590 * benchtests/asin-inputs: Correct slow inputs.
4591 * benchtests/acos-inputs: Likewise.
4592
1b19c006
AM
45932014-01-10 Allan McRae <allan@archlinux.org>
4594
a46dab08
AM
4595 * po:sv.po: Update Swedish translation from translation project.
4596
421df74a
AM
4597 * po/vi.po: Update Vietnamese translation from translation project.
4598
d61c51a7
AM
4599 * po/eo.po: Update Esperanto translation from translation project.
4600
0339a319
AM
4601 * po/cs.po: Update Czech translation from translation project.
4602
94ad3e99
AM
4603 * po/nl.po: Update Dutch translation from translation project.
4604
e349ca71
AM
4605 * po/pl.po: Update Polish translation from translation project.
4606
ddf930c1
AM
4607 * po/ru.po: Update Russian translation from translation project.
4608
1b19c006
AM
4609 * po/uk.po: Update Ukrainian translation from translation project.
4610
9f236c49
BM
46112014-01-08 Brooks Moses <bmoses@google.com>
4612
4613 * elf/dl-load.c: Fix comment typo.
4614
cd6701cf
CD
46152014-01-08 Carlos O'Donell <carlos@redhat.com>
4616
4617 * po/header.pot: Rename to...
4618 * po/pot.header: ... this.
4619 * po/Makefile: Use pot.header.
4620
66671c84
YK
46212014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4622 Maxim Kuvyrkov <maxim@kugelworks.com>
4623
4624 [BZ #16394]
cd6701cf
CD
4625 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4626 SRC and DEST against LEN.
66671c84 4627
38f34581
AZ
46282014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4629
4630 [BZ #16414]
4631 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4632 implementation.
4633 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4634
46352014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4636
4637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4638
4c327f2a
JM
46392014-01-08 Joseph Myers <joseph@codesourcery.com>
4640
4641 [BZ #16408]
4642 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4643 for large positive arguments.
4644
b821f414
JM
46452014-01-07 Joseph Myers <joseph@codesourcery.com>
4646
1f0f2067
JM
4647 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4648
a5a326f6
JM
4649 * math/auto-libm-test-in: Mark various tests with
4650 xfail-rounding:ldbl-128ibm.
4651 * math/auto-libm-test-out: Regenerated.
4652
b821f414
JM
4653 [BZ #16407]
4654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4655 Increase overflow threshold.
4656
94c8a4bc
OB
46572014-01-07 Ondřej Bílka <neleai@seznam.cz>
4658
4659 [BZ #14286]
4660 * stdio-common/vfprintf.c: Check for integer overflow.
4661
87ded0c3
AK
46622014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4663
4664 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4665 the first argument and return value of __tls_get_addr_internal.
4666
c5eebdd0
AK
46672014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4668
4669 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4670 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4671
05d138ef
AK
46722014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4673
4674 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4675 * sysdeps/s390/rtld-global-offsets.sym: New file.
4676 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4677 GLIBC_2.19 symbol.
4678 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4679 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4680 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4681 ... this.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4683 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4684 ... this.
4685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4686 Regenerate.
4687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4688 Regenerate.
4689 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4690 halfs of GPRs for high_gprs contexts.
4691 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4692 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4693 field.
4694 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4695 uc_flags field.
4696 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4697 64 bit versions:
4698 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4699 for high GPRs (uc_high_gprs) and for future extensions
4700 (__reserved).
4701 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4702 for future extensions (__reserved).
4703 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4704 64 bit versions:
4705 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4706 SC_HIGHGPRS offset definition.
4707 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4708 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4709
93a45ff1
AK
47102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4711
4712 * Versions.def: Add GLIBC_2.19 for libpthread.
4713 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4714 siglongjmp for libpthread with GLIBC_2.19 symver.
4715 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4716 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4717 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4718 * sysdeps/s390/__longjmp.c: New file.
4719 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4720 * sysdeps/s390/longjmp.c: New file.
4721 * sysdeps/s390/setjmp.S: New file.
4722 * sysdeps/s390/sigjmp.S: New file.
4723 * sysdeps/s390/v1-longjmp.c: New file.
4724 * sysdeps/s390/v1-setjmp.h: New file.
4725 * sysdeps/s390/v1-sigjmp.c: New file.
4726 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4727 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4728 GLIBC_2.19 version.
4729 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4730 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4731 versioned symbols for ____longjmp_chk.
4732 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4733 Likewise.
4734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4735 Regenerate.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4737 Regenerate.
4738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4739 Regenerate.
4740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4741 Regenerate.
4742 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4743 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4744 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4745 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4746 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4747 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4748 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4749 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4750 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4751 * sysdeps/s390/rtld-__longjmp.c: New file.
4752 * sysdeps/s390/rtld-setjmp.S: New file.
4753
eb3fc44b
JM
47542014-01-06 Joseph Myers <joseph@codesourcery.com>
4755
4756 [BZ #16400]
4757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4758 Return -__logl (x) for small positive arguments without evaluating
4759 a polynomial.
4760
9341dde4
MF
47612014-01-06 Mike Frysinger <vapier@gentoo.org>
4762
4763 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4764 Rename to ...
4765 (__ptrace_peeksiginfo_args): ... this.
4766 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4767 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4768 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4769
4cff0293
AM
47702014-01-06 Allan McRae <allan@archlinux.org>
4771
4772 * inet/netinet/in.h: Fix typo in comment.
4773
75595dcf
AJ
47742014-01-05 Andreas Jaeger <aj@suse.de>
4775
4776 * sysdeps/i386/fpu/libm-test-ulps: Update.
4777
79c1e109
AM
47782014-01-05 Allan McRae <allan@archlinux.org>
4779
dd804818
AM
4780 * po/libc.pot: Regenerated.
4781
79c1e109
AM
4782 * malloc/memusagestat.c: Fix gettext call formatting.
4783
0c813d1f
SK
47842014-01-04 Sami Kerola <kerolasa@iki.fi>
4785
4786 * nscd/nscd.c: Improve usage() output.
4787
20f4a8d9
MF
47882014-01-04 Mike Frysinger <vapier@gentoo.org>
4789
4790 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4791 * sysdeps/unix/sysv/linux/configure: Regenerated.
4792 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4793 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4794
22562bb2
JM
47952014-01-03 Joseph Myers <joseph@codesourcery.com>
4796
4797 [BZ #16390]
4798 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4799 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4800
d7ad2d9b
AZ
48012014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4802
4803 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4804 extra tokens at end of #undef directive.
4805 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4806 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4807 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4808
7dd009d8
JM
48092014-01-03 Joseph Myers <joseph@codesourcery.com>
4810
24db925a
JM
4811 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4812
7dd009d8
JM
4813 * math/auto-libm-test-in: Mark various tests with
4814 xfail-rounding:ldbl-128ibm.
4815 * math/auto-libm-test-out: Regenerated.
4816
396e3ecf
JM
48172014-01-02 Joseph Myers <joseph@codesourcery.com>
4818
819e5d50
JM
4819 [BZ #16386]
4820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4821 numbers with subnormal high part when calculating exponent.
4822
90b6a1e5
JM
4823 [BZ #16385]
4824 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4825 fabs.
4826
396e3ecf
JM
4827 [BZ #16384]
4828 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4829 M_LN2l.
4830 (__ieee754_acoshl): Use __log1pl not __log1p.
4831
6c8dbf00
OB
48322013-01-02 Ondřej Bílka <neleai@seznam.cz>
4833
4834 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4835 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4836 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4837 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4838 Convert to GNU style.
4839 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4840 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4841 memalign_check, __malloc_set_state): Likewise.
4842 * malloc/mallocbug.c (main): Likewise.
4843 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4844 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4845 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4846 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4847 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4848 * malloc/malloc.h: Likewise.
4849 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4850 memalignhook, reallochook, mabort): Likewise.
4851 * malloc/mcheck.h: Likewise.
4852 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4853 mmap64, mremap, munmap, dest): Likewise.
4854 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4855 * malloc/morecore.c (__default_morecore): Likewise.
4856 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4857 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4858 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4859 print_and_abort): Likewise.
4860 * malloc/obstack.h: Likewise.
4861 * malloc/set-freeres.c (__libc_freeres): Likewise.
4862 * malloc/tst-mallocstate.c (main): Likewise.
4863 * malloc/tst-mtrace.c (main): Likewise.
4864 * malloc/tst-realloc.c (do_test): Likewise.
4865
d4124212
SP
48662013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4867
9a3c6a6f
SP
4868 [BZ #16366]
4869 * nscd/netgroupcache.c (do_notfound): New function.
4870 (addgetnetgrentX): Use it.
4871
d4124212
SP
4872 [BZ # 16365]
4873 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4874 NSS_STATUS_NOTFOUND.
4875
97b9a009
JM
48762014-01-01 Joseph Myers <joseph@codesourcery.com>
4877
4878 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4880
d4697bc9
AM
48812014-01-01 Allan McRae <allan@archlinux.org>
4882
ddb3687f
AM
4883 * scripts/update-copyrights: Update configure input file suffix.
4884
88726d48
AM
4885 * NEWS: Update copyright year.
4886 * catgets/gencat.c: Likewise.
4887 * csu/version.c: Likewise.
4888 * debug/catchsegv.sh: Likewise.
4889 * debug/pcprofiledump.c: Likewise.
4890 * debug/xtrace.sh: Likewise.
4891 * elf/ldconfig.c: Likewise.
4892 * elf/ldd.bash.in: Likewise.
4893 * elf/pldd.c: Likewise.
4894 * elf/sotruss.ksh: Likewise.
4895 * elf/sprof.c: Likewise.
4896 * iconv/iconv_prog.c: Likewise.
4897 * iconv/iconvconfig.c: Likewise.
4898 * locale/programs/locale.c: Likewise.
4899 * locale/programs/localedef.c: Likewise.
4900 * login/programs/pt_chown.c: Likewise.
4901 * malloc/memusage.sh: Likewise.
4902 * malloc/memusagestat.c: Likewise.
4903 * malloc/mtrace.pl: Likewise.
4904 * manual/libc.texinfo: Likewise.
4905 * nscd/nscd.c: Likewise.
4906 * nss/getent.c: Likewise.
4907 * nss/makedb.c: Likewise.
4908 * posix/getconf.c: Likewise.
4909 * scripts/test-installation.pl: Likewise.
4910
d4697bc9
AM
4911 * All files with FSF copyright notices: Update copyright dates
4912 using scripts/update-copyrights.
4913 * intl/plural.c: Regenerated.
4914 * locale/programs/charmap-kw.h: Likewise.
4915 * locale/programs/locfile-kw.h: Likewise.
4916
c8590f9d
MF
49172013-12-31 Mike Frysinger <vapier@gentoo.org>
4918
4919 * sysdeps/unix/sysv/linux/configure: Regenerated.
4920 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4921 the linux/fanotify.h header.
4922 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4923 HAVE_LINUX_FANOTIFY_H is defined.
4924
b19221b9
SP
49252013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4926
dd1d85e5
SP
4927 * benchtests/cos-inputs: New inputs.
4928 * benchtests/sin-inputs: Likewise.
4929
1acbb90f
SP
4930 * benchtests/atan-inputs: New inputs. Fix name of multiple
4931 precision fallback inputs.
4932
4c012ed3
SP
4933 * benchtests/atanh-inputs: New inputs.
4934 * benchtests/tanh-inputs: Likewise.
4935
eff98324
SP
4936 * benchtests/acosh-inputs: New inputs.
4937 * benchtests/asinh-inputs: Likewise.
4938
ce641152
SP
4939 * benchtests/cosh-inputs: New inputs.
4940 * benchtests/sinh-inputs: Likewise.
4941
b19221b9
SP
4942 * benchtests/acos-inputs: Add more inputs.
4943 * benchtests/asin-inputs: Likewise.
4944
030a4976 49452013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4946
030a4976 4947 [BZ #16375]
9dcc8f11
VS
4948 * manual/arith.texi: Fix spelling.
4949 * manual/charset.texi: Likewise.
4950 * manual/errno.texi: Likewise.
4951 * manual/filesys.texi: Likewise.
4952 * manual/lang.texi: Likewise.
4953 * manual/llio.texi: Likewise.
4954 * manual/locale.texi: Likewise.
4955 * manual/message.texi: Likewise.
4956 * manual/resource.texi: Likewise.
4957 * manual/search.texi: Likewise.
4958 * manual/setjmp.texi: Likewise.
4959 * manual/stdio.texi: Likewise.
4960 * manual/string.texi: Likewise.
4961 * manual/sysinfo.texi: Likewise.
4962 * manual/time.texi: Likewise.
4963
11520a57
CD
49642013-12-27 Carlos O'Donell <carlos@redhat.com>
4965
4966 * po/sl.po: New file.
4967
471103ae
MF
49682013-12-27 Mike Frysinger <vapier@gentoo.org>
4969
4970 * .gitignore: Add core/.gdbinit/.gdb_history.
4971
6c9642ed
AM
49722013-12-27 Allan McRae <allan@archlinux.org>
4973
4974 [BZ #16369]
4975 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4976 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4977
3f637079
BM
49782013-12-24 Brooks Moses <bmoses@google.com>
4979
4980 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4981 all compilers that claim C++98 compliance, not just GCC.
4982 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4983 Likewise.
4984
abc26e99
MK
49852013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4986
4987 * NEWS: Restore accidentally deleted bug-fix entries.
4988
362b47fe
MK
49892013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4990 Ondřej Bílka <neleai@seznam.cz>
4991
4992 [BZ #15073]
4993 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4994 have_lock.
362b47fe 4995
b9bcbbcb
OB
49962013-12-23 Ondřej Bílka <neleai@seznam.cz>
4997
4998 [BZ #12986]
4999 * manual/stdio.texi (String Input Conversions): Clarify that character
5000 classes are not supported.
5001
fb55fcd2
AZ
50022013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5003
5004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5005
ef7344f0
JM
50062013-12-22 Joseph Myers <joseph@codesourcery.com>
5007
4f40e4b3
JM
5008 [BZ #16337]
5009 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5010 Calculate results for small negative arguments directly rather
5011 than using reflection formula with special underflow handling.
5012
ef7344f0
JM
5013 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5014 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5015 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5016 (fchflags): Likewise.
5017 (revoke): Likewise.
5018 (setlogin): Likewise.
5019 (sigaltstack): Likewise.
5020 (wait4): Likewise.
5021 (sigblock): Remove.
5022 (sigsetmask): Likewise.
5023 (wait3): Likewise.
5024 (waitpid): Likewise.
5025 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5026 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5027 file.
5028 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5029 * sysdeps/unix/bsd/Makefile: ... here.
5030 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5031 * sysdeps/unix/bsd/Versions: ... here.
5032 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5033 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5034 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5035 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5036 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5037 * sysdeps/unix/bsd/sigblock.c: ... here.
5038 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5039 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5040 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5041 * sysdeps/unix/bsd/sigvec.c: ... here.
5042 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5043 * sysdeps/unix/bsd/tcdrain.c: ... here.
5044 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5045 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5046 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5047 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5048 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5049 * sysdeps/unix/bsd/wait.c: ... here.
5050 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5051 * sysdeps/unix/bsd/wait3.c: ... here.
5052 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5053 * sysdeps/unix/bsd/waitpid.c: ... here.
5054
5b0626b9
JM
50552013-12-21 Joseph Myers <joseph@codesourcery.com>
5056
5057 [BZ #16356]
5058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5059 round-to-nearest for [!USE_AS_EXPM1L].
5060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5061 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5062 more tests of exp and exp10. Expect some exp10 tests to miss
5063 exceptions or fail in directed rounding modes.
5064 * math/auto-libm-test-out: Regenerated.
5065 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5066 (exp10_test_tonearest): New function.
5067 (exp10_towardzero_test_data): New array.
5068 (exp10_test_towardzero): New function.
5069 (exp10_downward_test_data): New array.
5070 (exp10_test_downward): New function.
5071 (exp10_upward_test_data): New array.
5072 (exp10_test_upward): New function.
5073 (main): Call the new functions.
5074 * sysdeps/i386/fpu/libm-test-ulps: Update.
5075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5076
7fda5682
JM
50772013-12-20 Joseph Myers <joseph@codesourcery.com>
5078
31e3a405
JM
5079 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5080 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5081 * math/auto-libm-test-out: Regenerated.
5082 * math/libm-test.inc (acosh_test_data): Add more tests.
5083 (atanh_test_data): Likewise.
5084 (ceil_test_data): Likewise.
5085 (copysign_test_data): Likewise.
5086 * sysdeps/i386/fpu/libm-test-ulps: Update.
5087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5088
85bff96a
JM
5089 * timezone/checktab.awk: Update from tzcode 2013i.
5090 * timezone/private.h: Likewise.
5091 * timezone/scheck.c: Likewise.
5092 * timezone/tzfile.h: Likewise.
5093 * timezone/tzselect.ksh: Likewise.
5094 * timezone/zdump.c: Likewise.
5095 * timezone/zic.c: Likewise.
5096
b7867a3b
JM
5097 * math/auto-libm-test-in: Add tests of cpow.
5098 * math/auto-libm-test-out: Regenerated.
5099 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5100 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5101 mpc_cc_c.
5102 (func_calc_desc): Add mpc_cc_c union field.
5103 (test_functions): Add cpow.
5104 (special_fill_2pi): New function.
5105 (special_real_inputs): Add 2pi.
5106 (calc_generic_results): Handle mpc_cc_c.
5107 * sysdeps/i386/fpu/libm-test-ulps: Update.
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5109
7fda5682
JM
5110 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5111 csqrt, ctan and ctanh.
5112 * math/auto-libm-test-out: Regenerated.
5113 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5114 (TEST_COND_x86): Likewise.
5115 (ccos_test_data): Use AUTO_TESTS_c_c.
5116 (ccosh_test_data): Likewise.
5117 (cexp_test_data): Likewise.
5118 (clog_test_data): Likewise.
5119 (csqrt_test_data): Likewise.
5120 (ctan_test_data): Likewise.
5121 (ctan_tonearest_test_data): Likewise.
5122 (ctan_towardzero_test_data): Likewise.
5123 (ctan_downward_test_data): Likewise.
5124 (ctan_upward_test_data): Likewise.
5125 (ctanh_test_data): Likewise.
5126 (ctanh_tonearest_test_data): Likewise.
5127 (ctanh_towardzero_test_data): Likewise.
5128 (ctanh_downward_test_data): Likewise.
5129 (ctanh_upward_test_data): Likewise.
5130 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5131 mpc_c_c.
5132 (func_calc_desc): Add mpc_c_c union field.
5133 (FUNC_mpc_c_c): New macro.
5134 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5135 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5136 ctanh.
5137 (special_fill_min_subnorm_p120): New function.
5138 (special_real_inputs): Add min_subnorm_p120.
5139 (calc_generic_results): Handle mpc_c_c.
5140 * sysdeps/i386/fpu/libm-test-ulps: Update.
5141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5142
5ff8d60e
SP
51432013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5144
392dd2de
SP
5145 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5146 do_sin_slow): New functions.
5147 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5148 cslow2, csloww1, csloww2): Use the new functions.
5149
84ba214c
SP
5150 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5151 Use M to change sign of result instead of X. Assume X is
5152 positive.
5153 (csloww1): Likewise.
5154 (__sin): Adjust.
5155 (__cos): Adjust.
5156
975195e4
SP
5157 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5158 arguments A and DA.
5159 (__sin): Adjust.
5160 (__cos): Likewise.
5161
5ff8d60e
SP
5162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5163 (__cos): Likewise.
5164 (sloww1): Don't adjust sign of DX.
5165 (csloww1): Likewise.
5166 (sloww2): Use X directly and don't adjust sign of DX.
5167 (csloww2): Likewise.
5168
eb983568
JM
51692013-12-19 Joseph Myers <joseph@codesourcery.com>
5170
64a17f1a
JM
5171 * math/auto-libm-test-in: Add tests of cabs and carg.
5172 * math/auto-libm-test-out: Regenerated.
5173 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5174 (carg_test_data): Likewise.
5175 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5176 mpc_c_f.
5177 (func_calc_desc): Add mpc_c_f union field.
5178 (test_functions): Add cabs and carg.
5179 (calc_generic_results): Handle mpc_c_f.
5180
eb983568
JM
5181 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5182 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5183 as a macro and a compat symbol.
5184 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5185 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5186 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5187 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5188 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5189 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5190 not use .hidden.
5191 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5192 Likewise.
5193 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5194 Likewise.
5195 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5196 Likewise.
5197 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5198 Likewise.
5199 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5200 Likewise.
5201 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5202 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5203 from GLIBC_2.3.2.
5204
6eeb678a
AZ
52052013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5206
5207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5208
6f6fc482
JM
52092013-12-19 Joseph Myers <joseph@codesourcery.com>
5210
21fea2e2
JM
5211 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5212 trailing whitespace removed.
5213 * scripts/config.guess: Update to version 2013-11-29.
5214 * scripts/config.sub: Update to version 2013-10-01.
5215
6f6fc482
JM
5216 * math/auto-libm-test-in: Add tests of sincos.
5217 * math/auto-libm-test-out: Regenerated.
5218 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5220 mpfr_f_11.
5221 (func_calc_desc): Add mpfr_f_11 union field.
5222 (test_functions): Add sincos.
5223 (calc_generic_results): Handle mpfr_f_11.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5226
83f5c32d
AS
52272013-12-19 Andreas Schwab <schwab@suse.de>
5228
5229 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5230 CALL_MCOUNT.
5231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5232 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5233 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5234
c688b419
JM
52352013-12-19 Joseph Myers <joseph@codesourcery.com>
5236
335ee092
JM
5237 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5238 * sysdeps/i386/fpu/libm-test-ulps: Update.
5239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5240
f88acd39
JM
5241 [BZ #16293]
5242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5243 round-to-nearest mode when using frndint.
5244 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5245 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5246 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5247 Likewise.
5248 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5249 sinh test to fail.
5250 * math/auto-libm-test-out: Regenerated.
5251 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5252 (TEST_COND_x86): Likewise.
5253 (expm1_tonearest_test_data): New array.
5254 (expm1_test_tonearest): New function.
5255 (expm1_towardzero_test_data): New array.
5256 (expm1_test_towardzero): New function.
5257 (expm1_downward_test_data): New array.
5258 (expm1_test_downward): New function.
5259 (expm1_upward_test_data): New array.
5260 (expm1_test_upward): New function.
5261 (main): Run the new test functions.
5262 * sysdeps/i386/fpu/libm-test-ulps: Update.
5263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5264
c688b419
JM
5265 * include/features.h: Update comment documenting feature test
5266 macros. Mention _DEFAULT_SOURCE in comment.
5267 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5268 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5269 _BSD_SOURCE and _SVID_SOURCE.
5270 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5271 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5272 !_SVID_SOURCE]: Likewise.
5273 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5274 (__USE_POSIX_IMPLICITLY): Define.
5275 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5276 (_POSIX_SOURCE): Undefine and redefine.
5277 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5278 (_POSIX_C_SOURCE): Likewise.
5279 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5280 (Feature Test Macros): Update documentation of default features.
5281
9f6e964c
RS
52822013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5283
5284 * benchtests/Makefile: Add bench-strtok.
5285 * benchtests/bench-strtok.c: New file: strtok benchtest.
5286
ee0a148a
AM
52872013-12-19 Allan McRae <allan@archlinux.org>
5288
5289 * manual/install.texi: Suppress menu for plain text output.
5290 * INSTALL: Regenerated.
5291
b9ab448f
BM
52922013-12-18 Brooks Moses <bmoses@google.com>
5293
5294 [BZ #15846]
5295 * misc/getauxval.c: Include errno.h.
5296 (__getauxval): Set errno to ENOENT if the requested type is not
5297 found.
5298 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5299 don't declare with __attribute_const__.
5300 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5301 * manual/startup.texi: Document that getauxval sets errno.
5302
23776487
JM
53032013-12-18 Joseph Myers <joseph@codesourcery.com>
5304
f889953b
JM
5305 * math/auto-libm-test-in: Add tests of jn and yn.
5306 * math/auto-libm-test-out: Regenerated.
5307 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5308 (yn_test_data): Likewise.
5309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5310 mpfr_if_f.
5311 (func_calc_desc): Add mpfr_if_f union field.
5312 (FUNC_mpfr_if_f): New macro.
5313 (test_functions): Add jn and yn.
5314 (calc_generic_results): Assert type of second input for
5315 mpfr_ff_f. Handle mpfr_if_f.
5316 (output_for_one_input_case): Disable all checking for arguments
5317 fitting floating-point types in case of an integer argument.
5318 * sysdeps/i386/fpu/libm-test-ulps: Update.
5319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5320
23776487
JM
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5322 Don't expect fegetround reference in libm.so.
5323
cb756c6d
MS
53242013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5325
5326 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5327 $(config-cflags-nofma).
5328
2dec468f
JM
53292013-12-18 Joseph Myers <joseph@codesourcery.com>
5330
5953eb3a
JM
5331 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5332 * math/auto-libm-test-out: Regenerated.
5333
2dec468f
JM
5334 [BZ #16338]
5335 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5336 to determine exponent and adjust argument to have exponent of -1.
5337 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5338 log2.
5339 * math/auto-libm-test-out: Regenerated.
5340 * sysdeps/i386/fpu/libm-test-ulps: Update.
5341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5342
4d84e6ad
OB
53432013-12-18 Ondřej Bílka <neleai@seznam.cz>
5344
5345 * manual/probes.texi: Remove cases when per-thread arenas are
5346 disabled.
5347
1818483b
AS
53482013-12-18 Andreas Schwab <schwab@suse.de>
5349
5350 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5351 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5352 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5353 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5354 * sysdeps/i386/i686/multiarch/Makefile: Update.
5355 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5356
25de95bf
JM
53572013-12-17 Joseph Myers <joseph@codesourcery.com>
5358
5359 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5360 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5361
674762d9
PE
53622013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5363
ed27ed83 5364 [BZ #15968]
0748546f
PE
5365 Support TZ transition times < 00:00:00.
5366 This is needed for version-3 tz-format files; it supports time
5367 stamps past 2037 for America/Godthab (the only entry in the tz
5368 database for which this change is relevant).
5369 * manual/time.texi (TZ Variable): Document transition times
5370 from -167:59:59 through -00:00:01.
5371 * time/tzset.c (tz_rule): Time of day is now signed.
5372 (__tzset_parse_tz): Parse negative time of day.
5373
4480e934
PE
5374 Document TZ transition times >= 25:00:00.
5375 * manual/time.texi (TZ Variable): Document transition times from
5376 25:00:00 through 167:59:59. These are already supported, and this
5377 support will help with version-3 tz-format files.
5378
69947401
PE
5379 * manual/time.texi (TZ Variable): Modernize North America example
5380 to reflect current (i.e., 2007-and-later) daylight saving rules.
5381
674762d9
PE
5382 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5383
7011c262
JM
53842013-12-17 Joseph Myers <joseph@codesourcery.com>
5385
2fc6557e
JM
5386 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5387 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5390 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5391 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5392 * sysdeps/unix/bsd/clock.c: Likewise.
5393 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5394 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5395 * sysdeps/unix/bsd/init-posix.c: Likewise.
5396 * sysdeps/unix/bsd/poll.c: Likewise.
5397 * sysdeps/unix/bsd/ptsname.c: Likewise.
5398 * sysdeps/unix/bsd/seekdir.c: Likewise.
5399 * sysdeps/unix/bsd/setegid.c: Likewise.
5400 * sysdeps/unix/bsd/seteuid.c: Likewise.
5401 * sysdeps/unix/bsd/setgid.c: Likewise.
5402 * sysdeps/unix/bsd/setrgid.c: Likewise.
5403 * sysdeps/unix/bsd/setruid.c: Likewise.
5404 * sysdeps/unix/bsd/setsid.c: Likewise.
5405 * sysdeps/unix/bsd/setuid.c: Likewise.
5406 * sysdeps/unix/bsd/sigaction.c: Likewise.
5407 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5408 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5409 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5410 * sysdeps/unix/bsd/telldir.c: Likewise.
5411 * sysdeps/unix/bsd/times.c: Likewise.
5412 * sysdeps/unix/bsd/usleep.c: Likewise.
5413
029c7b25
JM
5414 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5415 ($(objpfx)libbsd-compat.a): Remove rule.
5416
7011c262
JM
5417 * include/features.h (__FAVOR_BSD): Do not define.
5418 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5419 features conflicting with POSIX.
5420 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5421 (_BSD_SOURCE): Remove description of not being a subset of other
5422 feature test macros.
5423 * manual/job.texi (getpgrp): Do not document BSD version.
5424 (getpgid): Do not document by reference to BSD getpgrp.
5425 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5426 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5427 * signal/signal.h [__FAVOR_BSD]: Likewise.
5428 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5429 instead of making contents conditional on [__FAVOR_BSD].
5430 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5431
affb6f78
AZ
54322013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5433
5434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5435
c88769dd
JM
54362013-12-17 Joseph Myers <joseph@codesourcery.com>
5437
6432a540
JM
5438 [BZ #16314]
5439 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5440 values below 2**-450, not 2**-500.
5441 * math/auto-libm-test-in: Don't allow spurious underflow from
5442 hypot.
5443 * math/auto-libm-test-out: Regenerated.
5444
c88769dd
JM
5445 [BZ #16316]
5446 [BZ #16330]
5447 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5448 values of ha and hb and sort them after adjusting subnormal
5449 arguments.
5450 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5451 Likewise.
5452 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5453 values of ea and eb and sort them after adjusting subnormal
5454 arguments.
5455 * math/auto-libm-test-in: Do not expect some hypot tests of
5456 subnormals to fail. Add more hypot tests.
5457 * math/auto-libm-test-out: Regenerated.
5458
29618f6b
KK
54592013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5460
5461 [BZ #13304]
5462 * sysdeps/sh/s_fma.c: New file.
5463 * sysdeps/sh/s_fmaf.c: New file.
5464 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5465 version.
5466 * sysdeps/sh/Implies: Add sh/soft-fp.
5467
eacfdfbf
RM
54682013-12-16 Roland McGrath <roland@hack.frob.com>
5469
5470 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5471 level of indirection to members `objname', `errstring', `malloced'.
5472 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5473 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5474 it as the __longjmp argument (just pass 1 instead).
5475 (_dl_catch_error): Initialize C with argument pointers and address of
5476 volatile local ERRCODE rather than copying values out of C at return.
5477
ff362e5b
JM
54782013-12-16 Joseph Myers <joseph@codesourcery.com>
5479
5480 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5481 * math/auto-libm-test-out: Regenerated.
5482 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5483 (hypot_test_data): Likewise.
5484 (pow_test_data): Likewise.
5485 (pow_tonearest_test_data): Likewise.
5486 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5487 mpfr_ff_f.
5488 (func_calc_desc): Add mpfr_ff_f union field.
5489 (FUNC_mpfr_ff_f): New macro.
5490 (test_functions): Add atan2, hypot and pow.
5491 (special_fill_min): New function.
5492 (special_fill_minus_min): Likewise.
5493 (special_fill_min_subnorm): Likewise.
5494 (special_fill_minus_min_subnorm): Likewise.
5495 (special_real_inputs): Add min, -min, min_subnorm and
5496 -min_subnorm.
5497 (calc_generic_results): Handle mpfr_ff_f.
5498 * sysdeps/i386/fpu/libm-test-ulps: Update.
5499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5500
5764c27f
WN
55012013-12-16 Will Newton <will.newton@linaro.org>
5502
5503 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5504 (Aligned Memory Blocks): Add documentation for aligned_alloc
5505 and suggest it as an alternative to posix_memalign.
5506 (Hooks for Malloc): Document __memalign_hook is also called
5507 for aligned_alloc. (Summary of Malloc): Add summary for
5508 aligned alloc. Document __memalign_hook is also called
5509 for aligned_alloc.
5510
0a096e44
WN
55112013-12-16 Will Newton <will.newton@linaro.org>
5512
5513 * manual/memory.texi (Malloc Examples): Clarify default
5514 alignment documentation. Suggest posix_memalign rather
5515 than memalign or valloc.
5516 (Aligned Memory Blocks): Remove suggestion to use memalign
5517 or valloc. Remove obsolete comment about BSD.
5518 Document memalign errno values and mark the function obsolete.
5519 Document posix_memalign returned error codes. Mark valloc
5520 as obsolete. (Hooks for Malloc): __memalign_hook is also
5521 called for posix_memalign and valloc.
5522 (Summary of Malloc): Add posix_memalign to function summary.
5523 __memalign_hook is also called for posix_memalign and valloc.
5524
8d561986
SP
55252013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5526
5527 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5528 TAYLOR_SIN.
5529 (__sin): Adjust.
5530 (__cos): Likewise.
5531 (sloww): Use mynumber union. Expand ternary operator into
5532 if-else statements.
5533 (cslow): use mynumber union.
5534
73616a74
AM
55352013-12-16 Allan McRae <allan@archlinux.org>
5536
9e8ac24b
AM
5537 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5538 * configure: Regenerated.
5539
6f8e37eb
AM
5540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5541
8894bad3
AM
5542 [BZ #14120]
5543 * configure.ac: Added --enable-maintainer-mode. Check for
5544 autoconf when enabled.
5545 * configure: Regenerated.
5546
73616a74
AM
5547 * nscd/nscd.service: New file.
5548 * nscd/nscd.tmpfiles: New file.
5549
584b18eb
OB
55502013-12-14 Ondřej Bílka <neleai@seznam.cz>
5551
5552 [BZ #12100]
5553 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5554 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5555 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5556 (strstr): Add __strstr_sse2_unaligned ifunc.
5557 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5558 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5559 (strcasestr): Remove __strcasestr_sse42 ifunc.
5560 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5563
8a5c7897
KK
55642013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5565
5566 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5567 * sysdeps/sh/bits/fenv.h: ... here.
5568 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5569
fd712ef3
AZ
55702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571
5572 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5573
42fcb46c
AZ
55742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5575
5576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5577 hypotf multiarch implementations.
5578 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5579 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5580 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5581 multiarch hypot for PPC64.
5582 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5583 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5584 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5585 multiarch hypotf for PPC64.
5586
83efded4
AZ
55872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5588
5589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5590 modff multiarch implementations.
5591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5594 multiarch modf for PPC64.
5595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5598 multiarch modff for PPC64.
5599
43e246d2
AZ
56002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5601
5602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5603 and logl multiarch implementations.
5604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5607 multiarch logb for PPC64.
5608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5611 multiarch logb for PPC64.
5612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5615 multiarch logb for PPC64.
5616
8fdad123
AZ
56172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5618
5619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5620 isinff multiarch implementation.
5621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5622 file.
5623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5625 multiarch isinf for PPC64.
5626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5627 file.
5628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5629 multiarch isinff for PPC64.
5630
1481d706
AZ
56312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5634 finitef multiarch implementation.
5635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5636 file.
5637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5639 multiarch finite for PPC64.
5640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5641 file.
5642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5643 multiarch finitef for PPC64.
5644
5ccd5fc8
AZ
56452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5646
5647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5648 lrint multiarch implementation.
5649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5650 file.
5651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5653 multiarch llrint for PPC64.
5654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5655 multiarch lrint for PPC64.
5656
2568f3fa
AZ
56572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5658
5659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5660 copysignf multiarch implementation.
5661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5662 file.
5663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5664 file.
5665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5666 multiarch copysign for PPC64.
5667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5668 multiarch copysignf for PPC64.
5669
1cb341fd
AZ
56702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671
5672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5673 multiarch implementation.
5674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5675 file.
5676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5677 file.
5678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5679 file.
5680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5681 file.
5682 multiarch llround for PPC64.
5683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5684 multiarch trunc for PPC64.
5685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5686 multiarch truncf for PPC64.
5687
59a3e194
AZ
56882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5689
5690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5691 multiarch implementation.
5692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5693 file.
5694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5695 file.
5696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5697 file.
5698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5699 file.
5700 multiarch llround for PPC64.
5701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5702 multiarch round for PPC64.
5703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5704 multiarch roundf for PPC64.
5705
357fd3b4
AZ
57062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5707
5708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5709 multiarch implementation.
5710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5711 file.
5712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5713 file.
5714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5715 file.
5716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5717 file.
5718 multiarch llround for PPC64.
5719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5720 multiarch floor for PPC64.
5721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5722 multiarch floorf for PPC64.
5723
96770f12
AZ
57242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725
5726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5727 multiarch implementation.
5728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5729 file.
5730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5731 file.
5732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5733 file.
5734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5735 file.
5736 multiarch llround for PPC64.
5737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5738 multiarch ceil for PPC64.
5739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5740 multiarch ceilf for PPC64.
5741
c3627f6e
AZ
57422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5743
5744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5745 multiarch implementation.
5746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5747 file.
5748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5749 file.
5750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5751 file.
5752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5753 multiarch llround for PPC64.
5754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5755 multiarch lround for PPC64.
5756
b2284ad7
AZ
57572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758
5759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5760 multiarch implementation.
5761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5764 file.
5765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5768 multiarch isnan for PPC64.
5769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5770 multiarch isnanf for PPC64.
5771
69bbc63d
AZ
57722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5773
5774 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5775 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5776 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5777 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5778 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5780
c24517c9
AZ
57812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782
5783 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5784 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5787
a52374e8
AZ
57882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5789
5790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5791 multiarch implementations.
5792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5793 (__libc_ifunc_impl_list): Likewise.
5794 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5795 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5796 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5797 multiarch stpcpy for PPC64.
5798
7f5ec113
AZ
57992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5800
5801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5802 multiarch implementations.
5803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5804 (__libc_ifunc_impl_list): Likewise.
5805 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5806 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5807 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5808 multiarch strcpy for PPC64.
5809
e28bcd42
AZ
58102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5811
5812 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5813 redefine function name.
5814 (_wordcopy_fwd_dest_aligned): Likewise.
5815 (_wordcopy_bwd_aligned): Likewise.
5816 (_wordcopy_bwd_dest_aligned): Likewise.
5817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5818 multiarch implementations.
5819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5820 (__libc_ifunc_impl_list): Likewise.
5821 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5822 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5823 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5824 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5825 multiarch wcscpy for PPC64.
5826
92cacfce
AZ
58272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5828
5829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5830 multiarch implementations.
5831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5832 (__libc_ifunc_impl_list): Likewise.
5833 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5834 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5835 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5836 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5837 multiarch wcscpy for PPC64.
5838
7b714620
AZ
58392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5840
5841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5842 multiarch implementations.
5843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5844 (__libc_ifunc_impl_list): Likewise.
5845 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5846 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5847 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5848 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5849 multiarch wcsrchr for PPC64.
5850
16fd2ae3
AZ
58512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852
5853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5854 multiarch implementations.
5855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5856 (__libc_ifunc_impl_list): Likewise.
5857 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5858 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5859 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5860 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5861 multiarch wcschr for PPC64.
5862
9ee2969b
AZ
58632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5864
5865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5866 multiarch implementations.
5867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5868 (__libc_ifunc_impl_list): Likewise.
5869 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5870 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5871 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5872 multiarch strchrnul for PPC64.
5873
372dc060
AZ
58742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5875
5876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5877 implementations.
5878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5879 (__libc_ifunc_impl_list): Likewise.
5880 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5881 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5882 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5883 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5884 strchr for PPC64.
5885
24c2c3b9
AZ
58862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5887
5888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5889 implementations.
5890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5891 (__libc_ifunc_impl_list): Likewise.
5892 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5893 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5894 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5895 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5896 strncmp for PPC64.
5897
1c92d9a0
AZ
58982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5899
5900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5901 multiarch implementations.
5902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5903 (__libc_ifunc_impl_list): Likewise.
5904 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5905 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5906 strncasecmp for PPC64.
5907 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5908 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5909 multiarch strncasecmp_l for PPC64.
5910
17de3ee3
AZ
59112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912
5913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5914 multiarch implementations.
5915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5916 (__libc_ifunc_impl_list): Likewise.
5917 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5918 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5919 multiarch strcasecmp for PPC64.
5920 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5921 file.
5922 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5923 multiarch strcasecmp_l for PPC64.
5924
62982bf9
AZ
59252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926
5927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5928 implementations.
5929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5930 (__libc_ifunc_impl_list): Likewise.
5931 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5932 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5933 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5934 strnlen for PPC64.
5935
a65f4904
AZ
59362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5937
5938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5939 implementations.
5940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5941 (__libc_ifunc_impl_list): Likewise.
5942 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5943 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5944 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5945 strlen for PPC64.
5946
1fd005ad
AZ
59472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5948
5949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5950 implementations.
5951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5952 (__libc_ifunc_impl_list): Likewise.
5953 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5954 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5955 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5956 rawmemrchr for PPC64.
5957
cd05ba91
AZ
59582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5959
5960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5961 implementation.
5962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5963 (__libc_ifunc_impl_list): Likewise.
5964 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5965 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5966 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5967 memrchr for PPC64.
5968
870f8676
AZ
59692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5970
5971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5972 implementation.
5973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5974 (__libc_ifunc_impl_list): Likewise.
5975 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5976 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5977 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5978 memchr for PPC64.
5979
f00be62b
AZ
59802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5981
5982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5983 implementation.
5984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5985 (__libc_ifunc_impl_list): Likewise.
5986 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5987 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5988 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5989 mempcpy for PPC64.
5990
8a29a3d0
AZ
59912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5992
5993 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5994 avoid cretion of __bzero symbol.
5995 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5996 Likewise.
5997 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5998 Likewise.
5999 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6000 Likewise.
6001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6002 multiarch implementations.
6003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6004 (__libc_ifunc_impl_list): Likewise.
6005 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6006 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6007 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6008 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6009 bzero for PPC32.
6010 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6011 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6012 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6013 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6014 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6015 memset for PPC64.
6016 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6017
07253fcf
AZ
60182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6019
6020 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6022 implementations.
6023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6024 (__libc_ifunc_impl_list): Likewise.
6025 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6026 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6027 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6028 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6029 memcmp for PPC64.
6030
b5beafbc
AZ
60312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6032
6033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6034 multiarch for POWER/PPC64.
6035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6036 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6037 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6038 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6039 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6040 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6041 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6042 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6043 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6044 memcpy for PPC64.
6045
5e6a4d4b
AZ
60462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6047
6048 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6049 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6050 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6051 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6052 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6053 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6054 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6055 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6056 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6057 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6058 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6059 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6060 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6061 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6062 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6070
ddfab6dc
KK
60712013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6072
6073 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6074
19b5525e
SP
60752013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6076
6077 * benchtests/Makefile (bench): Add exp2 and log2.
6078 (LDLIBS-bench-exp2): Add -lm.
6079 (LDLIBS-bench-log2): Likewise.
6080 * benchtests/exp2-inputs: New inputs file.
6081 * benchtests/log2-inputs: New inputs file.
6082 * benchtests/log-inputs: Add new inputs.
6083 * benchtests/tan-inputs: Likewise.
6084
196f7f5d
SP
60852013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6086
7a74607f
SP
6087 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6088 definition...
6089 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6090 csloww1, csloww2): ... from here.
6091
196f7f5d
SP
6092 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6093 instead of structures.
6094 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6095 (POLYNOMIAL): Likewise.
6096 (TAYLOR_SLOW): Likewise.
6097 (__sin): Likewise.
6098 (__cos): Likewise.
6099 (slow1): Likewise.
6100 (slow2): Likewise.
6101 (sloww): Likewise.
6102 (sloww1); Likewise.
6103 (sloww2): Likewise.
6104 (bsloww1): Likewise.
6105 (bsloww2): Likewise.
6106 (cslow2): Likewise.
6107 (csloww): Likewise.
6108 (csloww1): Likewise.
6109 (csloww2): Likewise.
6110
0dfa665c
OB
61112013-12-10 Ondřej Bílka <neleai@seznam.cz>
6112
6113 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6114 (__malloc_assert, __libc_realloc, __libc_calloc,
6115 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6116 memcpy and memset.
6117 * malloc/hooks.c (realloc_check): Likewise.
6118
5782a80f
OB
61192013-12-10 Ondřej Bílka <neleai@seznam.cz>
6120
6121 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6122 * malloc/arena.c: Remove PER_THREAD conditional.
6123 [!PER_THREAD]: Remove code.
6124 (ptmalloc_unlock_all2): Likewise.
6125 (ptmalloc_init): Likewise.
6126 (_int_new_arena): Likewise.
6127 (arena_get2): Likewise.
6128 * malloc/hooks.c (__malloc_get_state): Likewise.
6129 (__malloc_set_state): Likewise.
6130 * malloc/malloc.c: Likewise.
6131 (struct malloc_state): Likewise.
6132 (struct malloc_par): Likewise.
6133 (__libc_realloc): Likewise.
6134 (__libc_mallopt): Likewise.
6135
aeb95445
AZ
61362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6137
6138 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6139
e8349efd
OB
61402013-12-09 Ondřej Bílka <neleai@seznam.cz>
6141
6142 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6143 macro to a function. Check for zero perturb_byte.
6144 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6145
f3eeb3fc
OB
61462013-12-09 Ondřej Bílka <neleai@seznam.cz>
6147
6148 * malloc/malloc.c: (force_reg): Remove.
6149 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6150 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6151 force_reg by atomic_forced_read.
6152 * malloc/arena.c (ptmalloc_init): Likewise.
6153 * malloc/hooks.c (top_check): Likewise.
6154
be2f9009
AZ
61552013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6156
6157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6158
e7b914bd
MT
61592013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6160
6161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6162
9f0be4f8
JM
61632013-12-08 Joseph Myers <joseph@codesourcery.com>
6164
6165 * math/auto-libm-test-in: Add tests of lgamma.
6166 * math/auto-libm-test-out: Regenerated.
6167 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6168 (M_LOG_2_SQRT_PIl): Likewise.
6169 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6170 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6171 mpfr_f_f1.
6172 (func_calc_desc): Add mpfr_f_f1 union field.
6173 (ARGS1): New macro.
6174 (ARGS2): Likewise.
6175 (ARGS3): Likewise.
6176 (ARGS4): Likewise.
6177 (RET1): Likewise.
6178 (RET2): Likewise.
6179 (CALC): Likewise.
6180 (FUNC): Likewise.
6181 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6182 (test_functions): Add lgamma.
6183 (calc_generic_results): Handle mpfr_f_f1.
6184 * sysdeps/i386/fpu/libm-test-ulps: Update.
6185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6186
24eeafdb
AZ
61872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6188
6189 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6190 __mpn_add_n for PowerPC64/POWER7.
6191 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6192 __mpn_sub_n for PowerPC64/POWER7.
6193
4a2c0fd4
AZ
61942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195
6196 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6197 __mpn_addmul_1 for PowerPC64.
6198 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6199 __mpn_submul_1 for PowerPC64.
6200 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6201 for PowerPC64.
6202 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6203 for PowerPC64.
6204
4b5b548c
FS
62052013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6206
6207 [BZ #15089]
6208 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6209
0a3ac0aa
AZ
62102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211
6212 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6213
ccdc8438
AZ
62142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215
6216 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6217 add multiarch folders.
6218 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6219 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6220 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6221 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6222 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6223 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6224 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6225 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6226 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6227 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6228 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6235
2e973d99
AZ
62362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6237
6238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6239 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6241 New file.
6242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6243 New file.
6244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6245 multiarch __ieee754_hypot for PowerPC32.
6246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6247 New file.
6248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6249 New file.
6250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6251 multiarch __ieee754_hypotf for PowerPC32.
6252
2d9470b2
AZ
62532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6254
6255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6256 long_double_symbol only if __logbl is defined.
6257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6258 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6260 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6262 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6263 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6264 path for implementation.
6265 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6266 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6268 logb, and logbl multiarch implementations for PowerPC32.
6269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6270 file.
6271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6272 file.
6273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6274 multiarch logb for PowerPC32.
6275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6276 file.
6277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6278 file.
6279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6280 multiarch logbf for PowerPC32.
6281 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6283 file.
6284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6285 multiarch logbl implementation for PowerPC32.
6286
5212ffce
AZ
62872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6288
6289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6290 and modff multiarch implementations.
6291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6292 New file.
6293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6294 New file.
6295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6296 multiarch modf for PowerPC32.
6297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6298 New file.
6299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6300 New file.
6301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6302 multiarch modff for PowerPC32.
6303
79dccf31
AZ
63042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6305
6306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6307 and lrintf multiarch implementations.
6308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6309 New file.
6310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6311 New file.
6312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6313 multiarch lrint for PowerPC32.
6314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6315 file: multiarch lrintf for PowerPC32.
6316
deb66480
AZ
63172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6318
6319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6320 and lroundf multiarch implementations.
6321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6322 New file.
6323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6324 New file.
6325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6326 New file.
6327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6328 multiarch lround for PowerPC32.
6329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6330 file: multiarch lroundf for PowerPC32.
6331
264b036b
AZ
63322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6333
6334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6335 copysign and copysignf multiarch implementations.
6336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6337 New file.
6338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6339 New file.
6340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6341 file: multiarch copysign for PowerPC32.
6342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6343 file: multiarch copysignf for PowerPC32.
6344
d47db6c9
AZ
63452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6346
6347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6348 and truncf multiarch implementations.
6349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6350 New file.
6351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6352 file.
6353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6354 multiarch trunc for PowerPC32.
6355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6356 New file.
6357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6358 New file.
6359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6360 multiarch truncf for PowerPC32.
6361
ddb60b5a
AZ
63622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6363
6364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6365 and roundf multiarch implementations.
6366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6367 New file.
6368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6369 file.
6370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6371 multiarch round for PowerPC32.
6372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6373 New file.
6374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6375 New file.
6376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6377 multiarch roundf for PowerPC32.
6378
bedcf49b
AZ
63792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6380
6381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6382 and floorf multiarch implementations.
6383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6384 New file.
6385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6386 file.
6387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6388 multiarch floor for PowerPC32.
6389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6390 New file.
6391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6392 New file.
6393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6394 multiarch floorf for PowerPC32.
6395
35ae5b40
AZ
63962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6397
6398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6399 and ceilf multiarch implementations.
6400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6401 New file.
6402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6403 file.
6404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6405 multiarch ceil for PowerPC32.
6406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6407 New file.
6408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6409 file.
6410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6411 multiarch ceilf for PowerPC32.
6412
ae1a4cd9
AZ
64132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414
6415 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6416 is defined.
6417 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6418 FINITEF is defined.
6419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6420 and finitef multiarch implementations.
6421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6422 New file.
6423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6424 file.
6425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6426 multiarch finite for PowerPC32.
6427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6428 New file.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6430 file: multiarch finitef for PowerPC32.
6431
64fffd65
AZ
64322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6433
6434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6435 and isinff multiarch implementations.
6436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6437 file.
6438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6439 file.
6440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6441 multiarch isinf for PowerPC32.
6442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6443 New file.
6444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6445 multiarch isinff for PowerPC32.
6446
8e4e7ba2
AZ
64472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6448
6449 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6450 alias when __isnan is defined.
6451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6452 and isnanf multiarch implementations.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6454 file.
6455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6456 file.
6457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6458 file.
6459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6460 file.
6461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6462 multiarch isnan for PowerPC32.
6463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6464 New file.
6465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6466 New file.
6467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6468 multiarch isnanf for PowerPC32.
6469
ddba588e
AZ
64702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6471
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6473 and sqrtf multiarch implementations.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6475 file.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6477 file.
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6479 multiarch sqrt for PowerPC32.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6481 file.
6482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6483 file.
6484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6485 multiarch sqrtf for PowerPC32.
6486
0f96a2f0
AZ
64872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6488
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6490 and llroundf multiarch implementations.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6492 New file.
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6494 New file.
6495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6496 New file.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6498 file: multiarch llround for PowerPC32.
6499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6500 file: multiarch llroundf for PowerPC32.
6501
c9b5d79e
AZ
65022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6503
6504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6505 multiarch PowerPC32 fpu implementations.
6506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6507 New file.
6508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6509 New file.
6510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6511 multiarch llrint for PowerPC32.
6512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6513 New file.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6515 New file.
6516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6517 file.
6518
9cbb3aab
AZ
65192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6520
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6522
ea5a72f8
AZ
65232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6524
6525 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6526 file.
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6528 file.
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6530 file.
6531 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6532 multiarch wordcopy for PPC32.
6533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6534 wordcopy objects.
6535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6536 (__libc_ifunc_impl_list): Likewise.
6537 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6538 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6539 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6540 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6542 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6543
93be09e7
AZ
65442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6545
6546 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6547 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6548 file.
6549 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6550 file.
6551 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6552 file.
6553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6554 multiarch wcscpy for PPC32.
6555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6556 multiarch objects.
6557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6558 (__libc_ifunc_impl_list): Likewise.
6559 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6560 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6561 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6562 sysdeps/powerpc/power6/wcscpy.c.
6563
bb04e529
AZ
65642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6565
6566 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6567 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6568 file.
6569 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6570 file.
6571 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6572 file.
6573 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6574 multiarch wcsrchr for PPC32.
6575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6576 multiarch objects.
6577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6578 (__libc_ifunc_impl_list): Likewise.
6579 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6580 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6581 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6582 sysdeps/powerpc/power6/wcsrchr.c.
6583
05b5cd1c
AZ
65842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6585
6586 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6587 file.
6588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6589 file.
6590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6592 multiarch wcschr for PPc32.
6593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6594 multiarch objects.
6595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6596 (__libc_ifunc_impl_list): Likewise.
6597 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6598 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6599 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6600 sysdeps/powerpc/power6/wcschr.c.
6601
ba964147
AZ
66022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6603
6604 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6605 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6606 file.
6607 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6608 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6609 file: multiarch strchr for PPC32.
6610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6611 multiarch objects.
6612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6613 (__libc_ifunc_impl_list): Likewise.
6614
31c81aaa
AZ
66152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6616
6617 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6618 name.
6619 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6620 file.
6621 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6622 file.
6623 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6624 multiarch strchrnul for PPC32.
6625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6626 multiarch objects.
6627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6628 (__libc_ifunc_impl_list): Likewise.
6629
0d0607d9
AZ
66302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6631
6632 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6633 file.
6634 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6635 multiarch strncasecmp for PPC32.
6636 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6637 file.
6638 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6639 multiarch strncasecmp_l for PPC32.
6640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6641 strncasecmp multiarch objects.
6642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6643 (__libc_ifunc_impl_list): Likewise.
6644
4dfd5c86
AZ
66452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6646
6647 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6648 file.
6649 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6650 multiarch strncasecmp for PPC32.
6651 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6652 New file.
6653 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6654 multiarch strcasecmp_l for PPC32.
6655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6656 multiarch objects.
6657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6658 (__libc_ifunc_impl_list): Likewise.
6659
a19e01a3
AZ
66602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661
6662 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6663 file.
6664 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6665 file.
6666 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6667 multiarch strncmp for PPC32.
6668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6669 multiarch objects.
6670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6671 (__libc_ifunc_impl_list): Likewise.
6672
ae9cf7a2
AZ
66732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6674
6675 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6676 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6677 file.
6678 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6679 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6680 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6681 multiarch objects.
6682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6683 (__libc_ifunc_impl_list): Likewise.
6684
3148bb7d
AZ
66852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6686
6687 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6688 file.
6689 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6690 file.
6691 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6693 multiarch objects.
6694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6695 (__libc_ifunc_impl_list): Likewise.
6696
7af8b946
AZ
66972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6698
6699 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6700 file.
6701 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6702 file.
6703 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6704 multiarch rawmemchr for PPC32.
6705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6706 multiarch objects.
6707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6708 (__libc_ifunc_impl_list): Likewise.
6709
03a6aa6a
AZ
67102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6711
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6713 file.
6714 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6715 file.
6716 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6717 file: memrchr multiarch for PPC32.
6718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6719 multiarch objects.
6720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6721 (__libc_ifunc_impl_list): Likewise.
6722
1c62e6d9
AZ
67232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6724
6725 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6726 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6727 file.
6728 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6730 multiarch memchr for PPC32.
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6732 multiarch objects.
6733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6734 (__libc_ifunc_impl_list): Likewise.
6735
87da8bdb
AZ
67362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6737
6738 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6740 file.
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6742 file.
6743 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6744 file: multiarch mempcpy for PPC32.
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6746 multiarch objects.
6747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6748 (__libc_ifunc_impl_list): Likewise.
6749
20ed4714
AZ
67502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6751
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6753 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6754 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6755 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6756 multiarch bzero for PPC32.
6757 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6758 file.
6759 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6760 file.
6761 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6762 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6763 file: multiarch memset for PPC32.
6764 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6766 memset multiarch objects.
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6768 (__libc_ifunc_impl_list): Likewise.
6769
ab3e3a46
AZ
67702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6771
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6773 file.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6775 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6776 memcmp for PPC32.
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6779 multiarch objects.
6780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6781 (__libc_ifunc_impl_list): Likewise.
6782
930de6f0
AZ
67832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6784
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6788 file.
6789 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6790 file.
6791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6792 file.
6793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6794 multiarch memcpy for PPC32.
6795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6796 multiarch objects.
6797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6798 (__libc_ifunc_impl_list): Likewise.
6799
4c628e00
AZ
68002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6801
6802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6803 support multiarch for POWER/PPC32.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6805 Likewise.
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6808 Implies file to make multiarch folder appers before the fpu and
6809 default folder for power4 configuration.
6810
f4479220
SP
68112013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6812
6813 * scripts/bench.pl: Append volatile keyword to type.
6814
8517800f
KK
68152013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6816
6817 * sysdeps/sh/sotruss-lib.c: New file.
6818 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6819
180138f1
AZ
68202013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6821
6822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6823
bbf37bdc
JM
68242013-12-05 Joseph Myers <joseph@codesourcery.com>
6825
e47cc4e0
JM
6826 [BZ #6810]
6827 * math/w_tgamma.c: Include <errno.h>.
6828 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6829 * math/w_tgammaf.c: Include <errno.h>.
6830 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6831 * math/w_tgammal.c: Include <errno.h>.
6832 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6833 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6834 underflow. Add more tgamma tests.
6835 * math/auto-libm-test-out: Regenerated.
6836 * sysdeps/i386/fpu/libm-test-ulps: Update.
6837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6838
bbf37bdc
JM
6839 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6840 sin, sinh, tan, tanh, tgamma, y0 and y1.
6841 * math/auto-libm-test-out: Regenerated.
6842 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6843 (TEST_COND_x86): Likewise.
6844 (M_E2l): Remove macro.
6845 (M_E3l): Likewise.
6846 (M_2_SQRT_PIl): Likewise.
6847 (M_SQRT_PIl): Likewise.
6848 (M_1_DIV_El): Likewise.
6849 (log_test_data): Use AUTO_TESTS_f_f.
6850 (log10_test_data): Likewise.
6851 (log1p_test_data): Likewise.
6852 (log2_test_data): Likewise.
6853 (sin_test_data): Likewise.
6854 (sin_tonearest_test_data): Likewise.
6855 (sin_towardzero_test_data): Likewise.
6856 (sin_downward_test_data): Likewise.
6857 (sin_upward_test_data): Likewise.
6858 (sinh_test_data): Likewise.
6859 (sinh_tonearest_test_data): Likewise.
6860 (sinh_towardzero_test_data): Likewise.
6861 (sinh_downward_test_data): Likewise.
6862 (sinh_upward_test_data): Likewise.
6863 (tan_test_data): Likewise.
6864 (tan_tonearest_test_data): Likewise.
6865 (tan_towardzero_test_data): Likewise.
6866 (tan_downward_test_data): Likewise.
6867 (tan_upward_test_data): Likewise.
6868 (tanh_test_data): Likewise.
6869 (tgamma_test_data): Likewise.
6870 (y0_test_data): Likewise.
6871 (y1_test_data): Likewise.
6872 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6873 (special_real_inputs): Add pi/4.
6874 * sysdeps/i386/fpu/libm-test-ulps: Update.
6875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6876
eb5ad6b9
AZ
68772013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6878
6879 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6880 "longjmp_target" static probes.
6881 (__longjmp): Rename to __longjmp_symbol.
6882 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6883 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6884 on which longjmp to generate.
6885 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6886 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6887 probe.
6888 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6889 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6890 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6891 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6892 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6893 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6895 __longjmp_symbol based on which __longjmp to generate.
6896 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6897 probe.
6898 (setjmp): Rename to setjmp_symbol.
6899 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6900 (_setjmp): Rename to _setjmp_symbol.
6901 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6902 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6903 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6904 which setjmp to generate.
6905 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6906 "longjmp_target" static probes.
6907
d136c6dc
SP
69082013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6909
9298ecba
SP
6910 * benchtests/README: Add note about output arguments.
6911 * benchtests/bench-sincos.c: Remove file.
6912 * benchtests/sincos-inputs: New file.
6913 * scripts/bench.pl: Identify output arguments and define
6914 static variables for them.
6915
232983e9
SP
6916 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6917
d136c6dc
SP
6918 [BZ #15941]
6919 * Makefile (INSTALL): Add install-plain.texi as the primary
6920 dependency.
6921 * manual/install-plain.texi: New file.
6922 * manual/install.texi: Include node directive only for
6923 non-plaintext output.
6924
699ff837
JM
69252013-12-04 Joseph Myers <joseph@codesourcery.com>
6926
ab07cea8
JM
6927 * stdlib/longlong.h: Update from GCC.
6928
699ff837
JM
6929 [BZ #6807]
6930 [BZ #15901]
6931 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6932 * math/w_j0f.c (y0f): Likewise.
6933 * math/w_j0l.c (__y0l): Likewise.
6934 * math/w_j1.c (y1): Likewise.
6935 * math/w_j1f.c (y1f): Likewise.
6936 * math/w_j1l.c (__y1l): Likewise
6937 * math/w_jn.c (yn): Likewise.
6938 * math/w_jnf.c (ynf): Likewise.
6939 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6940 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6941 value for Bessel function domain errors outside _SVID_ mode.
6942 Adjust sign of return value for yn (negative integer, 0).
6943 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6944 by zero in return for negative x and set sign appropriately for
6945 negative n.
6946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6947 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6948 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6949 expectations in error cases.
6950 (y1_test_data): Likewise.
6951 (yn_test_data): Likewise.
6952 * sysdeps/i386/fpu/libm-test-ulps: Update.
6953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6954
5b118558
UW
69552013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6956
6957 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6958 "64" to "64-v1". Add "64-v2".
6959 (abi-64-options): Rename to ...
6960 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6961 (abi-64-condition): Rename to ...
6962 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6963 (abi-64-ld-soname): Rename to ...
6964 (abi-64-v1-ld-soname): ... this.
6965 (abi-64-v2-options): Define.
6966 (abi-64-v2-condition): Likewise.
6967 (abi-64-v2-ld-soname): Likewise.
6968 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6969 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6973
61cd8fe4
UW
69742013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6975 Alan Modra <amodra@gmail.com>
6976
6977 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6978 New versions for use with the ELFv2 ABI.
6979 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6980 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6981 declaration.
6982 (struct La_ppc64v2_retval): Likewise.
6983 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6984 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6985 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6986 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6987 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6988 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6989 Do not save or restore CR.
6990 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6991 (_dl_profile_resolve): Do no save or restore CR. Support extended
6992 return values for ELFv2 ABI. Fix location of FPR return registers.
6993 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6994 updated values for _CALL_ELF == 2.
6995 (La_regs, La_retval, int_retval): Likewise.
6996
8b8a692c
UW
69972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6998
6999 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7000 (FRAME_MIN_SIZE_PARM): Likewise.
7001 (FRAME_BACKCHAIN): Likewise.
7002 (FRAME_CR_SAVE): Likewise.
7003 (FRAME_LR_SAVE): Likewise.
7004 (FRAME_TOC_SAVE): Likewise.
7005 (FRAME_PARM_SAVE): Likewise.
7006 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7007 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7008 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7009 (call_mcount_parm_offset): New macro.
7010 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7011 (PROF): Use symbolic stack frame offsets.
7012 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7013 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7014 Redefine in terms of FRAME_MIN_SIZE.
7015 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7016 (_dl_profile_resolve): Likewise. Update comment.
7017 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7018 symbols stack frame offsets.
7019 (__sigsetjmp): Likewise.
7020 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7021 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7022 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7023 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7024
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7026 (FRAME_BACKCHAIN): Remove.
7027 (FRAME_CR_SAVE): Likewise.
7028 (FRAME_LR_SAVE): Likewise.
7029 (FRAME_COMPILER_DW): Likewise.
7030 (FRAME_LINKER_DW): Likewise.
7031 (FRAME_TOC_SAVE): Likewise.
7032 (FRAME_PARM_SAVE): Likewise.
7033 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7034 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7035 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7037 (CHECK_SP): Use symbolic stack frame offsets.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7039 zone" instead of caller's parameter save area for temp storage.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7041 Likewise. Also, use symbolic stack frame offsets.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7043 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7044 our own stack frame instead of the caller's.
7045 (__socket): Use symbolic stack frame offsets.
7046
122b66de
UW
70472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7048 Alan Modra <amodra@gmail.com>
7049
7050 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7051 Define.
7052 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7053 PPC64_LOCAL_ENTRY_OFFSET): Define.
7054 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7055 New function.
7056 (elf_machine_fixup_plt): Call it.
7057 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7058 reloc arguments.
7059 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7060 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7061 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7062 r2 before calling target.
7063
696caf1d
UW
70642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7065 Alan Modra <amodra@gmail.com>
7066
7067 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7068 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7069 versions of macros to support ELFv2 ABI.
7070 (LOCALENTRY): New macro.
7071 (ENTRY, EALIGN): Use it.
7072 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7073 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7074 fall through into ENTRY entry point.
7075 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7076 Only define if _CALL_ELF != 2.
7077
7078 (elf_machine_matches_host): Verify ABI version matches.
7079 (RTLD_START): Use LOCALENTRY.
7080 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7081 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7082 (PLT_ENTRY_WORDS): New macro.
7083 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7084 (elf_machine_runtime_setup): Support ELFv2 ABI.
7085 (elf_machine_fixup_plt): Likewise.
7086 (elf_machine_plt_conflict): Likewise.
7087 (resolve_ifunc): Likewise.
7088 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7089 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7090 Likewise.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7092 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7094 (makecontext): Support ELFv2 ABI.
7095 * elf/elf.h (EF_PPC64_ABI): Define.
7096
d31beafa
UW
70972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7098
7099 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7100 New assembler macro.
7101 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7102 [ASSEMBLER] (ENTRY): ... but instead here ...
7103 [ASSEMBLER] (EALIGN): ... and here.
7104 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7105 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7106 [!ASSEMBLER] (ENTRY_2): Use it.
7107 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7108 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7109 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7110 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7111 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7113 Use PPC64_LOAD_FUNCPTR.
7114
b525166b
UW
71152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7116
7117 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7118
7ec07d9a
AM
71192013-12-04 Alan Modra <amodra@gmail.com>
7120
7121 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7122 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7123 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7124 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7125
7126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7127 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7128 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7129 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7130 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7131 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7132
5162e7dd
UW
71332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7134
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7136 (__makecontext): Fix incorrect CFI when backtracing out of
7137 context created via makecontext.
7138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7139 (__setcontext): Fix incorrect CFI during switch to new context.
7140 (__novec_setcontext): Likewise.
7141
19e3372b
OB
71422013-12-04 Ondřej Bílka <neleai@seznam.cz>
7143
7144 [BZ #4772]
7145 * time/strptime_l.c (__strptime_internal): Allow modifiers
7146 in strptime.
7147 * time/tst-strptime.c (day_tests): Add testcase.
7148
7149
ecaf142d
SP
71502013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7151
7152 * scripts/bench.pl: Skip over blank lines.
7153
fbf964ae
PE
71542013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7155
7156 [BZ #926]
7157 * manual/time.texi (Calendar Time): Clarify what timezone functions
7158 use.
7159
fa60a674
AZ
71602013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7161
7162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7163
d674f0ef
OB
71642013-12-04 Ondřej Bílka <neleai@seznam.cz>
7165
7166 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7167 implementation.
7168 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7169 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7170 * debug/memset_chk.c (__memset_chk): Likewise.
7171 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7172 * debug/strncpy_chk.c: Likewise.
7173
17dea188
JM
71742013-12-03 Joseph Myers <joseph@codesourcery.com>
7175
749008ff
JM
7176 [BZ #15268]
7177 [BZ #15425]
7178 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7179 (__ieee754_exp): For possibly underflowing results, check size of
7180 result and force underflow exception if required.
7181 * math/auto-libm-test-in: Add more tests of exp.
7182 * math/auto-libm-test-out: Regenerated.
7183 * sysdeps/i386/fpu/libm-test-ulps: Update.
7184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7185
17dea188
JM
7186 [BZ #16283]
7187 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7188 * math/w_exp2f.c (__exp2f): Likewise.
7189 * math/w_exp2l.c (__exp2l): Likewise.
7190 * math/auto-libm-test-in: Do not allow missing errno on exp2
7191 underflow.
7192 * math/auto-libm-test-out: Regenerated.
7193
b20de2c3
OB
71942013-12-03 Ondřej Bílka <neleai@seznam.cz>
7195
7196 [BZ #16274]
7197 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7198 handle filename validation.
7199 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7200 (do_open): Delete.
7201
d8e2dbe3
JM
72022013-12-03 Joseph Myers <joseph@codesourcery.com>
7203
34e16df5
JM
7204 [BZ #6786]
7205 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7206 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7207 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7208 <float.h>.
7209 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7211 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7212 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7213 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7215 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7216 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7217 Add more erfc tests.
7218 * math/auto-libm-test-out: Regenerated.
7219 * sysdeps/i386/fpu/libm-test-ulps: Update.
7220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221
d8e2dbe3
JM
7222 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7223 exp2, expm1, j0 and j1.
7224 * math/auto-libm-test-out: Regenerated.
7225 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7226 (erfc_test_data): Likewise.
7227 (exp_test_data): Likewise.
7228 (exp_tonearest_test_data): Likewise.
7229 (exp_towardzero_test_data): Likewise.
7230 (exp_downward_test_data): Likewise.
7231 (exp_upward_test_data): Likewise.
7232 (exp10_test_data): Likewise.
7233 (exp2_test_data): Likewise.
7234 (expm1_test_data): Likewise.
7235 (j0_test_data): Likewise.
7236 (j1_test_data): Likewise.
7237 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7238 (input_flag_type): Add flag_xfail_rounding.
7239 (input_flags): Add xfail-rounding.
7240 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7241 (output_for_one_input_case): Handle flag_xfail_rounding.
7242 * sysdeps/i386/fpu/libm-test-ulps: Update.
7243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7244
18d14251
AJ
72452013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7246
3d2e6075 7247 [BZ #16289]
18d14251
AJ
7248 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7249 division by 0.
7250
520d437b
SP
72512013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7252
7253 [BZ #16195]
7254 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7255 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7256 (STAP_PROBE0): New macro.
7257 (STAP_PROBE1): Likewise.
7258 (STAP_PROBE2): Likewise.
7259 (STAP_PROBE3): Likewise.
7260 (STAP_PROBE4): Likewise.
7261
416e0145
OB
72622013-12-02 Ondřej Bílka <neleai@seznam.cz>
7263
7264 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7265
9d17796a
SE
72662013-12-02 Steve Ellcey <sellcey@mips.com>
7267
7268 * benchtests/Makefile (bench): Add sqrt.
7269 (LDLIBS-bench-sqrt): New.
7270 * benchtests/sqrt-input: New.
7271
f524d6a8
PS
72722013-12-02 Pavel Simerda <psimerda@redhat.com>
7273
639a0ef8
PS
7274 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7275 (GAIH_EAI): Likewise.
7276 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7277 (gaih_inet): Likewise.
7278 (getaddrinfo): Don't use GAIH_EAI.
7279
f524d6a8
PS
7280 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7281 (struct gaih): Remove definition.
7282
df3aedaf
SP
72832013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7284
7285 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7286 Use HERRNOP directly.
7287
1ab19dec
AZ
72882013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7289
b42ad38d 7290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7291
176b0c79
JM
72922013-11-30 Joseph Myers <joseph@codesourcery.com>
7293
7294 * math/gen-auto-libm-tests.c (test_functions): Add more
7295 single-argument functions.
7296 (special_fill_pi_2): New function.
7297 (special_fill_minus_pi_2): Likewise.
7298 (special_fill_pi_6): Likewise.
7299 (special_fill_minus_pi_6): Likewise.
7300 (special_fill_pi_3): Likewise.
7301 (special_fill_2pi_3): Likewise.
7302 (special_fill_e): Likewise.
7303 (special_fill_1_e): Likewise.
7304 (special_fill_e_minus_1): Likewise.
7305 (special_real_inputs): Add more special inputs.
7306 (output_for_one_input_case): Do not require ERANGE on underflow to
7307 zero if round-to-nearest result does not underflow to zero, unless
7308 exact results required.
7309 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7310 atan, atanh, cbrt, cos and cosh.
7311 * math/auto-libm-test-out: Regenerated.
7312 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7313 (acos_tonearest_test_data): Likewise.
7314 (acos_towardzero_test_data): Likewise.
7315 (acos_downward_test_data): Likewise.
7316 (acos_upward_test_data): Likewise.
7317 (acosh_test_data): Likewise.
7318 (asin_test_data): Likewise.
7319 (asin_tonearest_test_data): Likewise.
7320 (asin_towardzero_test_data): Likewise.
7321 (asin_upward_test_data): Likewise.
7322 (asinh_test_data): Likewise.
7323 (atan_test_data): Likewise.
7324 (atanh_test_data): Likewise.
7325 (cbrt_test_data): Likewise.
7326 (cos_test_data): Likewise.
7327 (cos_tonearest_test_data): Likewise.
7328 (cos_towardzero_test_data): Likewise.
7329 (cos_downward_test_data): Likewise.
7330 (cos_upward_test_data): Likewise.
7331 (cosh_test_data): Likewise.
7332 (cosh_tonearest_test_data): Likewise.
7333 (cosh_towardzero_test_data): Likewise.
7334 (cosh_downward_test_data): Likewise.
7335 (cosh_upward_test_data): Likewise.
7336 * sysdeps/i386/fpu/libm-test-ulps: Update.
7337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7338
ffb536d0
JM
73392013-11-29 Joseph Myers <joseph@codesourcery.com>
7340
2a77a467
JM
7341 [BZ #6787]
7342 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7343 * math/w_exp10f.c (__exp10f): Likewise.
7344 * math/w_exp10l.c (__exp10l): Likewise.
7345 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7346 errno settings in existing tests.
7347
ea3bc4e8
JM
7348 [BZ #14032]
7349 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7350 precision control set to double precision.
7351 * sysdeps/i386/fpu/w_sqrt.c: New file.
7352 * math/auto-libm-test-in: Add more tests.
7353 * math/auto-libm-test-out: Update.
7354
0712c9d8
JM
7355 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7356 (sqrt_test_tonearest): New function.
7357 (sqrt_towardzero_test_data): New variable.
7358 (sqrt_test_towardzero): New function.
7359 (sqrt_downward_test_data): New variable.
7360 (sqrt_test_downward): New function.
7361 (sqrt_upward_test_data): New variable.
7362 (sqrt_test_upward): New function.
7363 (main): Call the new functions.
7364
ffb536d0
JM
7365 * math/gen-auto-libm-tests.c: New file.
7366 * math/auto-libm-test-in: Likewise.
7367 * math/auto-libm-test-out: New generated file.
7368 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7369 variables.
7370 (%beautify): Add generated representations of zero.
7371 (top level): Set $auto_input and call parse_auto_input.
7372 (beautify): Remove trailing "f" from hex float constants.
7373 (parse_args): Handle XFAIL_TEST.
7374 (convert_condition): New function.
7375 (or_value): Likewise.
7376 (or_cond_value): Likewise.
7377 (generate_testfile): Handle AUTO_TESTS_* lines.
7378 (parse_auto_input): New function.
7379 * math/libm-test.inc (XFAIL_TEST): New macro.
7380 (ERRNO_UNCHANGED): Update value.
7381 (ERRNO_EDOM): Likewise.
7382 (ERRNO_ERANGE): Likewise.
7383 (IGNORE_RESULT): Likewise.
7384 (TEST_COND_flt_32): New macro.
7385 (TEST_COND_dbl_64): Likewise.
7386 (TEST_COND_ldbl_96_intel): Likewise.
7387 (TEST_COND_ldbl_96_m68k): Likewise.
7388 (TEST_COND_ldbl_128): Likewise.
7389 (TEST_COND_ldbl_128ibm): Likewise.
7390 (TEST_COND_long32): Likewise.
7391 (TEST_COND_long64): Likewise.
7392 (TEST_COND_before_rounding): Likewise.
7393 (TEST_COND_after_rounding): Likewise.
7394 (enable_test): Handle XFAIL_TEST flag.
7395 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7396 with finite results.
7397 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7398 auto-libm-test-out.
7399
acd98a8e
AK
74002013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7401 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7402
7403 [BZ #16214]
7404 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7405 __tls_get_addr_internal instead of __tls_get_offset in order to
7406 avoid GOT pointer dependency. Make rtld export
7407 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7408 __tls_get_addr since we are a __tls_get_offset platform.
7409 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7410 GOT pointer being set up before.
7411 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7412
3c1c46a6
JM
74132013-11-28 Joseph Myers <joseph@codesourcery.com>
7414
7475aef5
JM
7415 * manual/math.texi (Errors in Math Functions): Document accuracy
7416 goals.
7417
8bca7cd8
JM
7418 [BZ #15004]
7419 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7420 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7423 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7425 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7435
91a1f3fe
JM
7436 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7437 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7438 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7439 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7440 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7441 Likewise.
7442 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7443 Likewise.
7444 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7445 Likewise.
7446 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7447 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7448 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7449 atomic-feupdateenv and flt-rounds.
7450 * sysdeps/powerpc/nofpu/Versions (libc): Add
7451 __atomic_feholdexcept, __atomic_feclearexcept,
7452 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7453 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7454 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7455 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7456 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7457 here.
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7459 Update.
7460
c5df7609
JM
7461 * manual/arith.texi (FP Exceptions): Document that exceptions may
7462 not be raised when matherr is used.
7463 (Math Error Reporting): Document overflow in directed rounding
7464 modes. Document that errno may not be set when finite values are
7465 returned on overflow. Document intent to set errno on underflow
7466 only for underflow to zero.
7467
3c1c46a6
JM
7468 [BZ #16271]
7469 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7470 round-to-nearest then adjust result for other rounding modes.
7471 * include/fenv.h (fegetround): Use libm_hidden_proto.
7472 * math/fegetround.c (fegetround): Use libm_hidden_def.
7473 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7474 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7475 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7476 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7477 Likewise.
7478 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7479 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7480 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7481 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7482
5a4c6d53
SP
74832013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7484
7485 [BZ #16077]
7486 * nss/Versions (libnss_files): Add
7487 _nss_files_gethostbyname3_r.
7488 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7489 New function.
7490 (HOST_DB_LOOKUP): Remove macro.
7491 (_nss_files_gethostbyname_r): Implement function without the
7492 HOST_DB_LOOKUP macro.
7493 (_nss_files_gethostbyname2_r): Likewise.
7494
897b98ba
OB
74952013-11-28 Ondřej Bílka <neleai@seznam.cz>
7496
7497 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7498
6f476861
UB
74992013-11-26 Uros Bizjak <ubizjak@gmail.com>
7500
7501 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7502 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7503 warning.
7504
bd12ab55
AZ
75052013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7506
7507 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7508 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7509 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7510 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7511 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7512 __fe_nomask_env_priv and attribute_hidden.
7513 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7514 (libc_feupdateenv_test_ppc): Likewise.
7515 (libc_feresetround_ppc): Likewise.
7516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7517 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7518 compat_symbol macro.
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7520 (__fe_nomask_env): Likewise.
7521 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7522
52bb6543
OB
75232013-11-26 Ondřej Bílka <neleai@seznam.cz>
7524
7525 * string/Makefile: Remove ifunc tests.
7526 * string/test-string.h: Define TEST_IFUNC.
7527 * string/test-bcopy-ifunc.c: Remove.
7528 * string/test-bzero-ifunc.c: Likewise.
7529 * string/test-memccpy-ifunc.c: Likewise.
7530 * string/test-memchr-ifunc.c: Likewise.
7531 * string/test-memcmp-ifunc.c: Likewise.
7532 * string/test-memcpy-ifunc.c: Likewise.
7533 * string/test-memmem-ifunc.c: Likewise.
7534 * string/test-memmove-ifunc.c: Likewise.
7535 * string/test-mempcpy-ifunc.c: Likewise.
7536 * string/test-memrchr-ifunc.c: Likewise.
7537 * string/test-memset-ifunc.c: Likewise.
7538 * string/test-rawmemchr-ifunc.c: Likewise.
7539 * string/test-stpcpy-ifunc.c: Likewise.
7540 * string/test-stpncpy-ifunc.c: Likewise.
7541 * string/test-strcasecmp-ifunc.c: Likewise.
7542 * string/test-strcasestr-ifunc.c: Likewise.
7543 * string/test-strcat-ifunc.c: Likewise.
7544 * string/test-strchr-ifunc.c: Likewise.
7545 * string/test-strchrnul-ifunc.c: Likewise.
7546 * string/test-strcmp-ifunc.c: Likewise.
7547 * string/test-strcpy-ifunc.c: Likewise.
7548 * string/test-strcspn-ifunc.c: Likewise.
7549 * string/test-strlen-ifunc.c: Likewise.
7550 * string/test-strncasecmp-ifunc.c: Likewise.
7551 * string/test-strncat-ifunc.c: Likewise.
7552 * string/test-strncmp-ifunc.c: Likewise.
7553 * string/test-strncpy-ifunc.c: Likewise.
7554 * string/test-strnlen-ifunc.c: Likewise.
7555 * string/test-strpbrk-ifunc.c: Likewise.
7556 * string/test-strrchr-ifunc.c: Likewise.
7557 * string/test-strspn-ifunc.c: Likewise.
7558 * string/test-strstr-ifunc.c: Likewise.
7559
ab260039 75602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7561
7562 * benchtests/Makefile: Remove ifunc tests.
7563 * benchtests/bench-string.h: Define TEST_IFUNC.
7564 * benchtests/bench-bcopy-ifunc.c: Remove.
7565 * benchtests/bench-bzero-ifunc.c: Likewise.
7566 * benchtests/bench-memccpy-ifunc.c: Likewise.
7567 * benchtests/bench-memchr-ifunc.c: Likewise.
7568 * benchtests/bench-memcmp-ifunc.c: Likewise.
7569 * benchtests/bench-memcpy-ifunc.c: Likewise.
7570 * benchtests/bench-memmem-ifunc.c: Likewise.
7571 * benchtests/bench-memmove-ifunc.c: Likewise.
7572 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7573 * benchtests/bench-memrchr-ifunc.c: Likewise.
7574 * benchtests/bench-memset-ifunc.c: Likewise.
7575 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7576 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7577 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7578 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7579 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7580 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7581 * benchtests/bench-strcat-ifunc.c: Likewise.
7582 * benchtests/bench-strchr-ifunc.c: Likewise.
7583 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7584 * benchtests/bench-strcmp-ifunc.c: Likewise.
7585 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7586 * benchtests/bench-strcpy-ifunc.c: Likewise.
7587 * benchtests/bench-strcspn-ifunc.c: Likewise.
7588 * benchtests/bench-strlen-ifunc.c: Likewise.
7589 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7590 * benchtests/bench-strncat-ifunc.c: Likewise.
7591 * benchtests/bench-strncmp-ifunc.c: Likewise.
7592 * benchtests/bench-strncpy-ifunc.c: Likewise.
7593 * benchtests/bench-strnlen-ifunc.c: Likewise.
7594 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7595 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7596 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7597 * benchtests/bench-strspn-ifunc.c: Likewise.
7598 * benchtests/bench-strstr-ifunc.c: Likewise.
7599
76002013-11-26 Ondřej Bílka <neleai@seznam.cz>
7601
ab260039
OB
7602 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7603
d1d9eaf4 76042013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7605
d1d9eaf4
OB
7606 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7607 * rt/aio.h: Likewise.
7608 * sysdeps/gnu/bits/utmp.h: Likewise.
7609 * sysdeps/gnu/bits/utmpx.h: Likewise.
7610 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7611 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7612 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7613 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7614 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7615 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7616 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7617 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7618 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7619 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7620 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7621 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7622 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7624 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7625 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7626 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7627 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7628 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7629 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7630 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7631 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7632 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7633 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7634 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7636 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7637 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7638 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7639 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7640 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7641 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7642 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7643 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7644 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7645 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7646 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7647 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7648 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7649 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7650 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7651 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7652
a7624ed9
CD
76532013-11-25 Carlos O'Donell <carlos@redhat.com>
7654
7655 [BZ #16245]
7656 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7657 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7658
63cfe52b
JM
76592013-11-25 Joseph Myers <joseph@codesourcery.com>
7660
7661 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7662 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7663 Likewise.
7664
41e8926a
AZ
76652013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7666
7667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7668 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7669 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7670 (__fesetround): Remove define.
7671 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7672 rounding and exceptions handling.
7673 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7674 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7675 (__fe_nomask_env): Likewise.
7676 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7677 __fegetround instead of fegetround.
7678 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7679 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7680
6851bd4d
RM
76812013-11-21 Roland McGrath <roland@hack.frob.com>
7682
070906ff
RM
7683 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7684 it's there.
7685
6851bd4d
RM
7686 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7687
84ae135d
MI
76882013-11-21 Meador Inge <meadori@codesourcery.com>
7689
7690 [BZ #11157]
7691 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7692 (encrypt_r): Likewise.
7693 * malloc/obstack.h (obstack_free): Likewise.
7694 * posix/unistd.h (encrypt): Likewise.
7695
daf75146
GM
76962013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7697
7698 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7699 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7700 DL_CALL_DT_FINI() that call the functions directly.
7701 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7702 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7703 * elf/dl-fini.c: Likewise.
7704
10ad46bc
OB
77052013-11-20 Ondřej Bílka <neleai@seznam.cz>
7706
7707 * malloc/hooks.c (memalign_check): Add alignment rounding.
7708 * malloc/malloc.c (_mid_memalign): New function.
7709 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7710 Implement by calling _mid_memalign.
7711 * manual/probes.texi (Memory Allocation Probes): Remove
7712 memory_valloc_retry and memory_pvalloc_retry.
7713
f3fd2628
SP
77142013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7715
4712799f
SP
7716 * locale/programs/locarchive.c (open_archive): Add const
7717 qualifier to ARCHIVEFNAME and copy default fname to
7718 DEFAULT_FNAME.
7719
0417b20f
SP
7720 [BZ #15601]
7721 * libio/tst-widetext.input: Rename Oriya to Odia.
7722 * locale/iso-639.def: Likewise.
7723
f3fd2628
SP
7724 * manual/probes.texi (Mathematical Function Probes): Add
7725 documentation for sin, cos, asin and acos probes.
7726 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7727 (__sin32): Add slowasin probe.
7728 (__cos32): Add slowacos probe.
7729 (__mpsin): Add slowsin probe.
7730 (__mpcos): Add slowcos probe.
7731
73c1ce4f
JM
77322013-11-19 Joseph Myers <joseph@codesourcery.com>
7733
7734 [BZ #15483]
7735 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7736 thread-local __sim_exceptions_thread and global
7737 __sim_exceptions_global.
7738 (__sim_disabled_exceptions): Change to thread-local
7739 __sim_disabled_exceptions_thread and global
7740 __sim_disabled_exceptions_global.
7741 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7742 and global __sim_round_mode_global.
7743 (__simulate_exceptions): Use thread-local floating-point state and
7744 set global state from it as needed.
7745 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7746 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7747 __sim_round_mode_thread.
7748 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7749 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7750 and global __sim_exceptions_global.
7751 (__sim_disabled_exceptions): Change to thread-local
7752 __sim_disabled_exceptions_thread and global
7753 __sim_disabled_exceptions_global.
7754 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7755 and global __sim_round_mode_global.
7756 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7757 (SIM_SET_GLOBAL): Likewise.
7758 * sysdeps/powerpc/soft-fp/sfp-machine.h
7759 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7760 __sim_round_mode_thread.
7761 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7762 __sim_disabled_exceptions_thread.
7763 (__sim_exceptions): Change to __sim_exceptions_thread.
7764 (__sim_disabled_exceptions): Change to
7765 __sim_disabled_exceptions_thread.
7766 (__sim_round_mode): Change to __sim_round_mode_thread.
7767 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7768 thread-local floating-point state and set global state from it as
7769 needed.
7770 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7771 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7772 (__sim_disabled_exceptions): Remove extern declaration.
7773 (feenableexcept): Use thread-local floating-point state and set
7774 global state from it as needed.
7775 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7776 extern declaration.
7777 (__sim_disabled_exceptions): Likewise.
7778 (__sim_round_mode): Likewise.
7779 (__fegetenv): Use thread-local floating-point state.
7780 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7781 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7782 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7783 floating-point state and set global state from it as needed.
7784 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7785 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7786 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7787 Likewise.
7788 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7789 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7790 Likewise.
7791 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7792 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7793 Use __sim_round_mode_thread.
7794 * math/test-fenv-tls.c: New file.
7795 * math/Makefile (tests): Add test-fenv-tls.
7796 ($(objpfx)test-fenv-tls): Depend on
7797 $(common-objpfx)nptl/libpthread.so.
7798
b5449b12
AS
77992013-11-19 Andreas Schwab <schwab@suse.de>
7800
7801 * locale/programs/locale.c (show_info): Decode wordarray elements.
7802 * locale/categories.def (LC_MONETARY): Add element for
7803 _NL_MONETARY_CRNCYSTR.
7804 * locale/C-monetary.c (conversion_rate): New variable.
7805 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7806 element.
7807
e186536b
CM
78082013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7809
7810 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7811 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7812
5c349950
PP
78132013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7814
7815 * elf/Makefile (tst-auxv): New test.
7816 * elf/tst-auxv.c: New
7817 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7818
699df45b
JM
78192013-11-18 Joseph Myers <joseph@codesourcery.com>
7820
7821 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7822 (hidden_proto): Caller changed.
7823 (hidden_tls_proto): New macro.
7824 (libc_hidden_tls_proto): Likewise.
7825 (rtld_hidden_tls_proto): Likewise.
7826 (libm_hidden_tls_proto): Likewise.
7827 (libresolv_hidden_tls_proto): Likewise.
7828 (librt_hidden_tls_proto): Likewise.
7829 (libdl_hidden_tls_proto): Likewise.
7830 (libnss_files_hidden_tls_proto): Likewise.
7831 (libnsl_hidden_tls_proto): Likewise.
7832 (libnss_nisplus_hidden_tls_proto): Likewise.
7833 (libutil_hidden_tls_proto): Likewise.
7834
b7589107
OB
78352013-11-18 Ondřej Bílka <neleai@seznam.cz>
7836
7837 [BZ #10253]
7838 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7839 (decompose_rpath): Defer expansion to fillin_rpath.
7840 (_dl_init_paths): Pass linkmap to fillin_rpath.
7841
250c23bd
RS
78422013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7843
7844 * benchtests/Makefile: Add strsep.
7845 * benchtests/bench-strsep.c: New file: strsep benchtest.
7846 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7847
a7931fcf
AS
78482013-11-18 Andreas Schwab <schwab@suse.de>
7849
7850 * locale/programs/locale.c (show_info) [case byte]: Check for
7851 '\377' instead of '\177'.
7852 * locale/C-monetary.c (not_available): Always use "\377".
7853 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7854 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7855 detect unavailable sign_posn locale elements.
7856 * locale/localeconv.c (__localeconv): For grouping and
7857 mon_grouping handle "\177" and "\377" like no grouping.
7858 (INT_ELEM): New macro. Use it to set all numeric members.
7859 * locale/programs/ld-monetary.c (monetary_read)
7860 <tok_mon_grouping>: Normalize single -1 to the empty string.
7861 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7862 Likewise.
7863
728dab0e
OB
78642013-11-07 Ondřej Bílka <neleai@seznam.cz>
7865
7866 [BZ #16055]
7867 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7868 when we match (nil).
7869 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7870
66294491
JM
78712013-11-16 Joseph Myers <joseph@codesourcery.com>
7872
ce665817
JM
7873 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7874 (NO_TEST_INLINE): Update value.
7875 (ERRNO_UNCHANGED): Likewise.
7876 (ERRNO_EDOM): Likewise.
7877 (ERRNO_ERANGE): Likewise.
7878 (IGNORE_RESULT): Likewise.
7879 (check_float_internal): Check signs of NaN results if
7880 TEST_NAN_SIGN used.
7881 (check_complex): Pass TEST_NAN_SIGN flag through to second
7882 check_float_internal call.
7883 (copysign_test_data): Add tests with quiet NaNs as second
7884 argument. Use TEST_NAN_SIGN.
7885 (fabs_test_data): Add test of negative quiet NaN argument. Use
7886 TEST_NAN_SIGN.
7887 (signbit_test_data): Add tests of quiet NaN argument.
7888 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7889
ee1466a9
JM
7890 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7891 $ignore_result.
7892 (parse_args): Handle function results specified as IGNORE.
7893 * math/libm-test.inc (IGNORE_RESULT): New macro.
7894 (check_float_internal): Do not check numerical result if flag
7895 IGNORE_RESULT set.
7896 (check_complex): Pass through IGNORE_RESULT to second
7897 check_float_internal call.
7898 (check_int): Do not check numerical result if flag IGNORE_RESULT
7899 set.
7900 (check_long): Likewise.
7901 (check_bool): Likewise.
7902 (check_longlong): Likewise.
7903 (lrint_test_data): Add tests of infinite and NaN arguments.
7904 (lrint_tonearest_test_data): Likewise.
7905 (lrint_towardzero_test_data): Likewise.
7906 (lrint_downward_test_data): Likewise.
7907 (lrint_upward_test_data): Likewise.
7908 (llrint_test_data): Likewise.
7909 (llrint_tonearest_test_data): Likewise.
7910 (llrint_towardzero_test_data): Likewise.
7911 (llrint_downward_test_data): Likewise.
7912 (llrint_upward_test_data): Likewise.
7913 (lround_test_data): Likewise.
7914 (llround_test_data): Likewise.
7915
14407b7e
JM
7916 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7917 (ERRNO_UNCHANGED): Update value.
7918 (ERRNO_EDOM): Likewise.
7919 (ERRNO_ERANGE): Likewise.
7920 (NO_TEST_INLINE_FLOAT): New macro.
7921 (NO_TEST_INLINE_DOUBLE): Likewise.
7922 (enable_test): New function.
7923 (RUN_TEST_f_f): Check enable_test before running test.
7924 (RUN_TEST_2_f): Likewise.
7925 (RUN_TEST_fff_f): Likewise.
7926 (RUN_TEST_c_f): Likewise.
7927 (RUN_TEST_f_f1): Likewise.
7928 (RUN_TEST_fF_f1): Likewise.
7929 (RUN_TEST_fI_f1): Likewise.
7930 (RUN_TEST_ffI_f1): Likewise.
7931 (RUN_TEST_c_c): Likewise.
7932 (RUN_TEST_cc_c): Likewise.
7933 (RUN_TEST_f_i): Likewise.
7934 (RUN_TEST_f_i_tg): Likewise.
7935 (RUN_TEST_ff_i_tg): Likewise.
7936 (RUN_TEST_f_b): Likewise.
7937 (RUN_TEST_f_b_tg): Likewise.
7938 (RUN_TEST_f_l): Likewise.
7939 (RUN_TEST_f_L): Likewise.
7940 (RUN_TEST_fFF_11): Likewise.
7941 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7942 conditionals.
7943 (cosh_test_data): Likewise.
7944 (exp_test_data): Likewise.
7945 (expm1_test_data): Likewise.
7946 (hypot_test_data): Likewise.
7947 (pow_test_data): Likewise.
7948 (sinh_test_data): Likewise.
7949 (tanh_test_data): Likewise.
7950 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7951 flags argument.
7952
ca07f197
JM
7953 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7954 tests with quiet NaN input and output.
7955 (acosh_test_data): Likewise.
7956 (asin_test_data): Likewise.
7957 (asinh_test_data): Likewise.
7958 (atan_test_data): Likewise.
7959 (atanh_test_data): Likewise.
7960 (atan2_test_data): Likewise.
7961 (cbrt_test_data): Likewise.
7962 (cos_test_data): Likewise.
7963 (cosh_test_data): Likewise.
7964 (erf_test_data): Likewise.
7965 (erfc_test_data): Likewise.
7966 (exp_test_data): Likewise.
7967 (exp10_test_data): Likewise.
7968 (exp2_test_data): Likewise.
7969 (expm1_test_data): Likewise.
7970 (hypot_test_data): Likewise.
7971 (j0_test_data): Likewise.
7972 (j1_test_data): Likewise.
7973 (jn_test_data): Likewise.
7974 (lgamma_test_data): Likewise.
7975 (log_test_data): Likewise.
7976 (log10_test_data): Likewise.
7977 (log1p_test_data): Likewise.
7978 (log2_test_data): Likewise.
7979 (pow_test_data): Likewise.
7980 (scalb_test_data): Likewise.
7981 (sin_test_data): Likewise.
7982 (sincos_test_data): Likewise.
7983 (sinh_test_data): Likewise.
7984 (tan_test_data): Likewise.
7985 (tanh_test_data): Likewise.
7986 (tgamma_test_data): Likewise.
7987 (y0_test_data): Likewise.
7988 (y1_test_data): Likewise.
7989 (yn_test_data): Likewise.
7990
66294491
JM
7991 [BZ #16167]
7992 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7993 argument being NaN and avoid computations with second argument in
7994 that case.
7995 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7996 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7997 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7998
1820b143
CL
79992013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8000
8001 * locale/iso-639.def: Add Chitwani Tharu (the).
8002
714bd261
AS
80032013-11-14 Andreas Schwab <schwab@suse.de>
8004
8005 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8006 word instead of empty string.
8007
7ab44563
AZ
80082013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8009
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8011 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8013 (__fe_nomask_env): Likewise.
8014
e8470ea2
SE
80152013-11-13 Steve Ellcey <sellcey@mips.com>
8016
8017 * benchtests/bench-timing.h: Include time.h.
8018
17c1d9f0
L
80192013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 [BZ #15997]
8022 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8023 to 3.4.0 for x32.
8024 * sysdeps/unix/sysv/linux/configure: Regenerated.
8025
9310c284
JM
80262013-11-13 Joseph Myers <joseph@codesourcery.com>
8027
8028 [BZ #16151]
8029 * stdlib/strtod_l.c (round_and_return): Do not consider
8030 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8031 exponent one less than half the least subnormal exponent.
8032 * stdlib/test-strtod-round-data: Add more tests.
8033 * stdlib/tst-strtod-round.c (tests): Regenerated.
8034
7a2ad8cf
AZ
80352013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8036
8037 [BZ #14143]
8038 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8039 (__fe_mask_env): Likewise.
8040 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8041 libm_hidden_proto and add function prototype.
8042 (__fe_mask_env): Add function prototype.
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8044 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8046 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8048 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8049
50727aa7
MS
80502013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8051
b2f386c1 8052 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8053 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8054
a615be46
MS
80552013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8056
8057 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8058 of htab_find_slot().
8059
7ddace62
DM
80602013-11-11 David S. Miller <davem@davemloft.net>
8061
8062 [BZ #16150]
8063 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8064 symbol in the non-vis3 case in static builds.
8065 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8066 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8067 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8068 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8069
9182aa67
JK
80702013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8071
8072 [BZ #387]
8073 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8074 it is empty.
8075
450a2e2d
AZ
80762013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8077
b2f386c1
SP
8078 * benchtests/Makefile: Add bench-strtod.
8079 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8080
8ec3f656
AS
80812013-11-11 Andreas Schwab <schwab@suse.de>
8082
8083 [BZ #16153]
8084 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8085 terminating NUL in key length.
8086
76a9b998
AZ
80872013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8088
8089 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8090 Add artificial ODP entry for vDSO symbol for PPC64.
8091 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8092 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8093
e4368156
OB
80942013-11-07 Ondřej Bílka <neleai@seznam.cz>
8095
8096 [BZ #15374]
8097 * nss/getent.c (services_keys): Recognize services starting with digit.
8098
8d6bb57c
DM
80992013-11-06 David S. Miller <davem@davemloft.net>
8100
8101 [BZ #15985]
8102 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8103 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8104
e256c421
WN
81052013-11-06 Will Newton <will.newton@linaro.org>
8106
8107 * manual/memory.texi (Malloc Examples): Remove register
8108 keyword from examples.
8109
f6e12daa 81102013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8111
f6e12daa 8112 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8113
9d880655
AS
81142013-11-04 Joseph Myers <joseph@codesourcery.com>
8115
fd2f9486 8116 [BZ #6981]
9d880655
AS
8117 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8118 depending on [__GCC_IEC_559 > 0].
8119 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8120 depending on [__GCC_IEC_559_COMPLEX > 0].
8121
ae129d3c
CL
81222013-11-03 Chris Leonard <cjl@sugarlabs.org>
8123
8124 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8125 to iso-639.def.
8126
4a15c2a4 81272013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8128
8129 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8130
8b35e35d
OB
81312013-11-01 Ondřej Bílka <neleai@seznam.cz>
8132
8133 [BZ #16112]
8134 * malloc/malloc (malloc_info): Do not handle first bin as
8135 special case.
8136
1d70fd6c
CL
81372013-11-01 Chris Leonard <cjl@sugarlabs.org>
8138
8139 * locale/iso-639.def: Add Central Nahuatl (nhn).
8140
8c5c2600
BH
81412013-11-01 Bruno Haible <bruno@clisp.org>
8142
8143 [BZ #7003]
8144 * manual/math.texi (BSD Random): Specify range upper bound as
8145 in POSIX.
8146
da5579c2
CL
81472013-10-31 Chris Leonard <cjl@sugarlabs.org>
8148
8149 * locale/iso-639.def: Add Meadow Mari (mhr).
8150
5d30d853
OB
81512013-10-31 Ondřej Bílka <neleai@seznam.cz>
8152
8153 [BZ #14752], [BZ #15763]
8154 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8155 Validate name.
8156 * rt/tst_shm.c: Add test for escaping directory.
8157
a4966c61
AS
81582013-10-31 Andreas Schwab <schwab@suse.de>
8159
8a43e768 8160 [BZ #15917]
a4966c61
AS
8161 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8162 followed by 'x' as part of digit sequence.
8163 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8164
28d708c4
MAP
81652013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8166
8167 [BZ #16037]
8168 * configure.ac: allow GNU Make 4.0 and greater.
8169 * configure: Regenerated.
8170
a56ee40b
WN
81712013-10-30 Will Newton <will.newton@linaro.org>
8172
8173 [BZ #16038]
8174 * malloc/hooks.c (memalign_check): Limit alignment to the
8175 maximum representable power of two.
8176 * malloc/malloc.c (__libc_memalign): Likewise.
8177 * malloc/tst-memalign.c (do_test): Add test for very
8178 large alignment values.
8179 * malloc/tst-posix_memalign.c (do_test): Likewise.
8180
c6e4925d
OB
81812013-10-30 Ondřej Bílka <neleai@seznam.cz>
8182
8183 [BZ #11087]
8184 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8185 (munmap_chunk): Likewise.
8186 (mremap_chunk): Likewise.
8187
81882013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8189
8a43e768 8190 [BZ #15799]
bbea82f7
OB
8191 * stdlib/div.c (div): Remove obsolete code.
8192 * stdlib/ldiv.c (ldiv): Likewise.
8193 * stdlib/lldiv.c (lldiv): Likewise.
8194
977f4b31
SP
81952013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8196
8197 [BZ #16071]
8198 * nss/nss_files/files-XXX.c (get_contents_ret): New
8199 enumerator.
8200 (get_contents): New function.
8201 (internal_getent): Use it. Expand size of LINEBUFLEN.
8202
cb8a6dbd
MF
82032013-10-30 Mike Frysinger <vapier@gentoo.org>
8204
8205 * configure.in: Moved to ...
8206 * configure.ac: ... here. Change reference to configure.in
8207 to configure.ac.
8208 * sysdeps/arm/preconfigure.ac: ... here.
8209 configure.in to configure.ac.
8210 * sysdeps/gnu/configure.in: Moved to ...
8211 * sysdeps/gnu/configure.ac: ... here.
8212 * sysdeps/i386/configure.in: Moved to ...
8213 * sysdeps/i386/configure.ac: ... here.
8214 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8215 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8216 * sysdeps/mach/configure.in: Moved to ...
8217 * sysdeps/mach/configure.ac: ... here.
8218 * sysdeps/mach/hurd/configure.in: Moved to ...
8219 * sysdeps/mach/hurd/configure.ac: ... here.
8220 * sysdeps/powerpc/configure.in: Moved to ...
8221 * sysdeps/powerpc/configure.ac: ... here.
8222 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8223 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8224 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8225 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8226 * sysdeps/s390/s390-32/configure.in: Moved to ...
8227 * sysdeps/s390/s390-32/configure.ac: ... here.
8228 * sysdeps/s390/s390-64/configure.in: Moved to ...
8229 * sysdeps/s390/s390-64/configure.ac: ... here.
8230 * sysdeps/sh/configure.in: Moved to ...
8231 * sysdeps/sh/configure.ac: ... here.
8232 * sysdeps/sparc/configure.in: Moved to ...
8233 * sysdeps/sparc/configure.ac: ... here.
8234 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8235 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8236 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8237 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8238 * sysdeps/x86_64/configure.in: Moved to ...
8239 * sysdeps/x86_64/configure.ac: ... here.
8240 * sysdeps/x86_64/preconfigure.in: Moved to ...
8241 * sysdeps/x86_64/preconfigure.ac: ... here.
8242 * aclocal.m4: Change reference to configure.in to configure.ac.
8243 * config.h.in: Likewise.
8244 * manual/install.texi: Likewise.
8245 * manual/maint.texi: Likewise.
8246 * Makefile: Likewise.
8247 * malloc/Makefile: Likewise.
8248 * nscd/Makefile: Likewise.
8249 * Makeconfig: Change reference to configure.in and
8250 preconfigure.in to configure.ac and preconfigure.ac
8251 respectively.
8252 * INSTALL: Regenerated.
8253 * configure: Likewise.
8254 * sysdeps/gnu/configure: Likewise.
8255 * sysdeps/i386/configure: Likewise.
8256 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8257 * sysdeps/mach/configure: Likewise.
8258 * sysdeps/mach/hurd/configure: Likewise.
8259 * sysdeps/powerpc/configure: Likewise.
8260 * sysdeps/powerpc/powerpc32/configure: Likewise.
8261 * sysdeps/powerpc/powerpc64/configure: Likewise.
8262 * sysdeps/s390/s390-32/configure: Likewise.
8263 * sysdeps/s390/s390-64/configure: Likewise.
8264 * sysdeps/sh/configure: Likewise.
8265 * sysdeps/sparc/configure: Likewise.
8266 * sysdeps/unix/sysv/linux/configure: Likewise.
8267 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8268 * sysdeps/x86_64/configure: Likewise.
8269 * sysdeps/x86_64/preconfigure: Likewise.
8270
36a4953a
AS
82712013-10-29 Andreas Schwab <schwab@suse.de>
8272
8273 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8274
c79a1204
SP
82752013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8276
dfa1b402
SP
8277 * benchtests/pow-inputs: Add new inputs.
8278
54f73d9c
SP
8279 * benchtests/exp-inputs: Add new inputs.
8280
c79a1204
SP
8281 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8282 conditional check for return value.
8283 (__cos32): Likewise.
8284
67beb545 82852013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8286
8287 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8288 to provide a boost for large inputs with word alignment.
8289 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8290 implementation based on optimized PPC64 strcpy.
8291 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8292 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8293 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8294 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8295
151659f6
OB
82962013-10-25 Ondřej Bílka <neleai@seznam.cz>
8297
482a077e 8298 [BZ #2801]
151659f6
OB
8299 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8300
10b0f26b
OB
83012013-10-25 Ondřej Bílka <neleai@seznam.cz>
8302
8303 [BZ #14876]
8304 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8305 * time/tst-strptime.c (day_tests): Add testcase.
8306
ca42d35e
OB
83072013-10-25 Ondřej Bílka <neleai@seznam.cz>
8308
482a077e 8309 [BZ #14029]
ca42d35e
OB
8310 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8311
52e6d801
FB
83122013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8313
8314 [BZ #16074]
8315 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8316 MAP_FAILED on error.
8317
7cbcdb36
SP
83182013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8319
8320 [BZ #16072]
8321 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8322 heap for large requests.
8323
894f3f10
AM
83242013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8325
8326 [BZ #9954]
8327 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8328 result if the result has no associated interface.
8329 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8330 interface for all 127.X.Y.Z addresses.
8331
b85545a6
CL
83322013-10-24 Chris Leonard <cjl@sugarlabs.org>
8333
8334 * locale/iso-639.def: Add Ligurian (lij)
8335
d1f23d46
OB
83362013-10-21 Ondřej Bílka <neleai@seznam.cz>
8337
8338 [BZ #15825]
8339 * sunrpc/rpc_main.c: Document rpcgen -5.
8340
4db5b08f
MS
83412013-10-19 Michael Stahl <mstahl@redhat.com>
8342
8343 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8344
a471e96a
OB
83452013-10-19 Ondřej Bílka <neleai@seznam.cz>
8346
d1f23d46 8347 [BZ #10278]
a471e96a
OB
8348 * posix/glob.c: Match only directories when trailing slash is present.
8349 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8350 (main): Add testcase.
8351
45c30c61
OB
83522013-10-19 Ondřej Bílka <neleai@seznam.cz>
8353
8354 [BZ #15670]
8355 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8356
484c12fb
CD
83572013-10-18 Carlos O'Donell <carlos@redhat.com>
8358
3d7dc513
CD
8359 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8360 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8361 AUTH_DES and cindex for FIPS 140-2.
8362 (DES Encryption): Add cindex FIPS 46-3.
8363
484c12fb
CD
8364 * locale/locarchive.h (struct locarhandle): Add fname.
8365 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8366 if an optional argument was specified to --list-archive,
8367 otherwise NULL.
8368 * locale/programs/locarchive.c (show_archive_content): Take new
8369 argument fname and pass it via ah.fname to open_archive.
8370 * locale/programs/localedef.h: Update decl.
8371 (open_archive): If AH->fname is non-null, open that file
8372 rather than the default file name, and don't ignore ENOENT.
8373 (create_archive): Set AH.fname to NULL.
8374 (delete_locales_from_archive): Likewise.
8375 (add_locales_to_archive): Likewise.
8376 * locale/programs/locfile.c (write_all_categories): Likewise.
8377
3c8325fb
JM
83782013-10-18 Joseph Myers <joseph@codesourcery.com>
8379 Aldy Hernandez <aldyh@redhat.com>
8380
8381 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8382 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8383 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8384 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8385 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8386 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8387 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8388 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8389 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8390 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8391 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8392 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8393 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8394 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8395 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8396 Likewise.
8397 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8398 Likewise.
8399 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8400 Likewise.
8401 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8402 Likewise.
8403 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8404 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8405 Likewise.
8406 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8407 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8408 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8409 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8410 Likewise.
8411 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8412 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8413 * sysdeps/powerpc/preconfigure: Likewise.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8415 Likewise.
8416 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8417 Replace contents of file by #include of <fenv_libc.h>.
8418 * sysdeps/powerpc/soft-fp/sfp-machine.h
8419 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8420 and <sys/prctl.h>.
8421 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8422 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8423 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8424 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8425 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8426 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8428 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8434 Allow copysignl PLT reference to be missing.
8435
5abe0682
RS
84362013-10-18 Richard Sandiford <richard@codesourcery.com>
8437 Joseph Myers <joseph@codesourcery.com
8438
8439 [BZ #15948]
8440 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8441 single character.
8442 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8443
c7738d08
SP
84442013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8445
8446 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8447 * elf/tst-tls1.c: Likewise.
8448 * elf/tst-tls10.h: Likewise.
8449 * elf/tst-tls14.c: Likewise.
8450 * elf/tst-tls2.c: Likewise.
8451 * elf/tst-tls3.c: Likewise.
8452 * elf/tst-tls4.c: Likewise.
8453 * elf/tst-tls5.c: Likewise.
8454 * elf/tst-tls6.c: Likewise.
8455 * elf/tst-tls7.c: Likewise.
8456 * elf/tst-tls8.c: Likewise.
8457 * elf/tst-tls9.c: Likewise.
8458 * elf/tst-tlsmod1.c: Likewise.
8459 * elf/tst-tlsmod13.c: Likewise.
8460 * elf/tst-tlsmod13a.c: Likewise.
8461 * elf/tst-tlsmod14a.c: Likewise.
8462 * elf/tst-tlsmod16a.c: Likewise.
8463 * elf/tst-tlsmod16b.c: Likewise.
8464 * elf/tst-tlsmod2.c: Likewise.
8465 * elf/tst-tlsmod3.c: Likewise.
8466 * elf/tst-tlsmod4.c: Likewise.
8467 * elf/tst-tlsmod5.c: Likewise.
8468 * elf/tst-tlsmod6.c: Likewise.
8469
0bfcf2c7
OB
84702013-10-18 Ondřej Bílka <neleai@seznam.cz>
8471
8472 [BZ #12486]
8473 * malloc/malloc.c: remove checks for statistics.
8474
264aad1e
OB
84752013-10-17 Ondřej Bílka <neleai@seznam.cz>
8476
8477 [BZ #15277]
8478 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8479 * inet/tst-network.c: Add testcase.
8480
b957ced8
AS
84812013-10-17 Andreas Schwab <schwab@suse.de>
8482
8483 [BZ #15218]
8484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8485 to determine canonical name.
8486
c5d5d574
OB
84872013-10-17 Ondřej Bílka <neleai@seznam.cz>
8488
8489 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8490 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8513 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8514 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8519 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8547
e5c2c2d0
JM
85482013-10-17 Joseph Myers <joseph@codesourcery.com>
8549
8550 [BZ #16041]
8551 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8552 make result into a quiet NaN.
8553
51ca9e29
JM
85542013-10-16 Joseph Myers <joseph@codesourcery.com>
8555
8556 * soft-fp/adddf3.c: Fix horizontal whitespace.
8557 * soft-fp/addsf3.c: Likewise.
8558 * soft-fp/addtf3.c: Likewise.
8559 * soft-fp/divdf3.c: Likewise.
8560 * soft-fp/divsf3.c: Likewise.
8561 * soft-fp/divtf3.c: Likewise.
8562 * soft-fp/double.h: Likewise.
8563 * soft-fp/eqdf2.c: Likewise.
8564 * soft-fp/eqsf2.c: Likewise.
8565 * soft-fp/eqtf2.c: Likewise.
8566 * soft-fp/extenddftf2.c: Likewise.
8567 * soft-fp/extended.h: Likewise.
8568 * soft-fp/extendsfdf2.c: Likewise.
8569 * soft-fp/extendsftf2.c: Likewise.
8570 * soft-fp/extendxftf2.c: Likewise.
8571 * soft-fp/fixdfdi.c: Likewise.
8572 * soft-fp/fixdfsi.c: Likewise.
8573 * soft-fp/fixdfti.c: Likewise.
8574 * soft-fp/fixsfdi.c: Likewise.
8575 * soft-fp/fixsfsi.c: Likewise.
8576 * soft-fp/fixsfti.c: Likewise.
8577 * soft-fp/fixtfdi.c: Likewise.
8578 * soft-fp/fixtfsi.c: Likewise.
8579 * soft-fp/fixtfti.c: Likewise.
8580 * soft-fp/fixunsdfdi.c: Likewise.
8581 * soft-fp/fixunsdfsi.c: Likewise.
8582 * soft-fp/fixunsdfti.c: Likewise.
8583 * soft-fp/fixunssfdi.c: Likewise.
8584 * soft-fp/fixunssfsi.c: Likewise.
8585 * soft-fp/fixunssfti.c: Likewise.
8586 * soft-fp/fixunstfdi.c: Likewise.
8587 * soft-fp/fixunstfsi.c: Likewise.
8588 * soft-fp/fixunstfti.c: Likewise.
8589 * soft-fp/floatdidf.c: Likewise.
8590 * soft-fp/floatdisf.c: Likewise.
8591 * soft-fp/floatditf.c: Likewise.
8592 * soft-fp/floatsidf.c: Likewise.
8593 * soft-fp/floatsisf.c: Likewise.
8594 * soft-fp/floatsitf.c: Likewise.
8595 * soft-fp/floattidf.c: Likewise.
8596 * soft-fp/floattisf.c: Likewise.
8597 * soft-fp/floattitf.c: Likewise.
8598 * soft-fp/floatundidf.c: Likewise.
8599 * soft-fp/floatundisf.c: Likewise.
8600 * soft-fp/floatunditf.c: Likewise.
8601 * soft-fp/floatunsidf.c: Likewise.
8602 * soft-fp/floatunsisf.c: Likewise.
8603 * soft-fp/floatunsitf.c: Likewise.
8604 * soft-fp/floatuntidf.c: Likewise.
8605 * soft-fp/floatuntisf.c: Likewise.
8606 * soft-fp/floatuntitf.c: Likewise.
8607 * soft-fp/fmadf4.c: Likewise.
8608 * soft-fp/fmasf4.c: Likewise.
8609 * soft-fp/fmatf4.c: Likewise.
8610 * soft-fp/gedf2.c: Likewise.
8611 * soft-fp/gesf2.c: Likewise.
8612 * soft-fp/getf2.c: Likewise.
8613 * soft-fp/ledf2.c: Likewise.
8614 * soft-fp/lesf2.c: Likewise.
8615 * soft-fp/letf2.c: Likewise.
8616 * soft-fp/muldf3.c: Likewise.
8617 * soft-fp/mulsf3.c: Likewise.
8618 * soft-fp/multf3.c: Likewise.
8619 * soft-fp/negdf2.c: Likewise.
8620 * soft-fp/negsf2.c: Likewise.
8621 * soft-fp/negtf2.c: Likewise.
8622 * soft-fp/op-1.h: Likewise.
8623 * soft-fp/op-2.h: Likewise.
8624 * soft-fp/op-4.h: Likewise.
8625 * soft-fp/op-8.h: Likewise.
8626 * soft-fp/op-common.h: Likewise.
8627 * soft-fp/quad.h: Likewise.
8628 * soft-fp/single.h: Likewise.
8629 * soft-fp/soft-fp.h: Likewise.
8630 * soft-fp/sqrtdf2.c: Likewise.
8631 * soft-fp/sqrtsf2.c: Likewise.
8632 * soft-fp/sqrttf2.c: Likewise.
8633 * soft-fp/subdf3.c: Likewise.
8634 * soft-fp/subsf3.c: Likewise.
8635 * soft-fp/subtf3.c: Likewise.
8636 * soft-fp/truncdfsf2.c: Likewise.
8637 * soft-fp/trunctfdf2.c: Likewise.
8638 * soft-fp/trunctfsf2.c: Likewise.
8639 * soft-fp/trunctfxf2.c: Likewise.
8640 * soft-fp/unorddf2.c: Likewise.
8641 * soft-fp/unordsf2.c: Likewise.
8642 * soft-fp/unordtf2.c: Likewise.
8643
9ebb0332
JM
86442013-10-15 Joseph Myers <joseph@codesourcery.com>
8645
8646 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8647 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8648
4b1a6d8b
OB
86492013-10-15 Ondřej Bílka <neleai@seznam.cz>
8650
8651 * elf/dl-libc.c: Clear initfini list after freeing.
8652
1e145589
JM
86532013-10-14 Joseph Myers <joseph@codesourcery.com>
8654
8655 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8656 * soft-fp/addsf3.c: Likewise.
8657 * soft-fp/addtf3.c: Likewise.
8658 * soft-fp/divdf3.c: Likewise.
8659 * soft-fp/divsf3.c: Likewise.
8660 * soft-fp/divtf3.c: Likewise.
8661 * soft-fp/double.h: Likewise.
8662 * soft-fp/eqdf2.c: Likewise.
8663 * soft-fp/eqsf2.c: Likewise.
8664 * soft-fp/eqtf2.c: Likewise.
8665 * soft-fp/extenddftf2.c: Likewise.
8666 * soft-fp/extended.h: Likewise.
8667 * soft-fp/extendsfdf2.c: Likewise.
8668 * soft-fp/extendsftf2.c: Likewise.
8669 * soft-fp/extendxftf2.c: Likewise.
8670 * soft-fp/fixdfdi.c: Likewise.
8671 * soft-fp/fixdfsi.c: Likewise.
8672 * soft-fp/fixdfti.c: Likewise.
8673 * soft-fp/fixsfdi.c: Likewise.
8674 * soft-fp/fixsfsi.c: Likewise.
8675 * soft-fp/fixsfti.c: Likewise.
8676 * soft-fp/fixtfdi.c: Likewise.
8677 * soft-fp/fixtfsi.c: Likewise.
8678 * soft-fp/fixtfti.c: Likewise.
8679 * soft-fp/fixunsdfdi.c: Likewise.
8680 * soft-fp/fixunsdfsi.c: Likewise.
8681 * soft-fp/fixunsdfti.c: Likewise.
8682 * soft-fp/fixunssfdi.c: Likewise.
8683 * soft-fp/fixunssfsi.c: Likewise.
8684 * soft-fp/fixunssfti.c: Likewise.
8685 * soft-fp/fixunstfdi.c: Likewise.
8686 * soft-fp/fixunstfsi.c: Likewise.
8687 * soft-fp/fixunstfti.c: Likewise.
8688 * soft-fp/floatdidf.c: Likewise.
8689 * soft-fp/floatdisf.c: Likewise.
8690 * soft-fp/floatditf.c: Likewise.
8691 * soft-fp/floatsidf.c: Likewise.
8692 * soft-fp/floatsisf.c: Likewise.
8693 * soft-fp/floatsitf.c: Likewise.
8694 * soft-fp/floattidf.c: Likewise.
8695 * soft-fp/floattisf.c: Likewise.
8696 * soft-fp/floattitf.c: Likewise.
8697 * soft-fp/floatundidf.c: Likewise.
8698 * soft-fp/floatundisf.c: Likewise.
8699 * soft-fp/floatunsidf.c: Likewise.
8700 * soft-fp/floatunsisf.c: Likewise.
8701 * soft-fp/floatuntidf.c: Likewise.
8702 * soft-fp/floatuntisf.c: Likewise.
8703 * soft-fp/floatuntitf.c: Likewise.
8704 * soft-fp/fmadf4.c: Likewise.
8705 * soft-fp/fmasf4.c: Likewise.
8706 * soft-fp/fmatf4.c: Likewise.
8707 * soft-fp/gedf2.c: Likewise.
8708 * soft-fp/gesf2.c: Likewise.
8709 * soft-fp/getf2.c: Likewise.
8710 * soft-fp/ledf2.c: Likewise.
8711 * soft-fp/lesf2.c: Likewise.
8712 * soft-fp/letf2.c: Likewise.
8713 * soft-fp/muldf3.c: Likewise.
8714 * soft-fp/mulsf3.c: Likewise.
8715 * soft-fp/multf3.c: Likewise.
8716 * soft-fp/negdf2.c: Likewise.
8717 * soft-fp/negsf2.c: Likewise.
8718 * soft-fp/negtf2.c: Likewise.
8719 * soft-fp/op-1.h: Likewise.
8720 * soft-fp/op-2.h: Likewise.
8721 * soft-fp/op-4.h: Likewise.
8722 * soft-fp/op-8.h: Likewise.
8723 * soft-fp/op-common.h: Likewise.
8724 * soft-fp/quad.h: Likewise.
8725 * soft-fp/single.h: Likewise.
8726 * soft-fp/soft-fp.h: Likewise.
8727 * soft-fp/sqrtdf2.c: Likewise.
8728 * soft-fp/sqrtsf2.c: Likewise.
8729 * soft-fp/sqrttf2.c: Likewise.
8730 * soft-fp/subdf3.c: Likewise.
8731 * soft-fp/subsf3.c: Likewise.
8732 * soft-fp/subtf3.c: Likewise.
8733 * soft-fp/truncdfsf2.c: Likewise.
8734 * soft-fp/trunctfdf2.c: Likewise.
8735 * soft-fp/trunctfsf2.c: Likewise.
8736 * soft-fp/trunctfxf2.c: Likewise.
8737 * soft-fp/unorddf2.c: Likewise.
8738 * soft-fp/unordsf2.c: Likewise.
8739 * soft-fp/unordtf2.c: Likewise.
8740
17c48a60
OB
87412013-10-14 Ondřej Bílka <neleai@seznam.cz>
8742
8743 [BZ #15672]
8744 * misc/error.c (error_tail): Fix possible buffer overflow.
8745
cabba934
OB
87462013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8747
8748 [BZ #13028]
8749 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8750 address.
8751
94bf958a
PM
87522013-10-14 P. J. McDermott <pj@pehjota.net>
8753
8754 [BZ #832]
8755 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8756 testing pipefail option.
8757
71b4dea7
JM
87582013-10-12 Joseph Myers <joseph@codesourcery.com>
8759
8760 * soft-fp/double.h: Indent preprocessor directives inside #if.
8761 * soft-fp/extended.h: Likewise.
8762 * soft-fp/op-2.h: Likewise.
8763 * soft-fp/op-4.h: Likewise.
8764 * soft-fp/op-common.h: Likewise.
8765 * soft-fp/quad.h: Likewise.
8766 * soft-fp/single.h: Likewise.
8767 * soft-fp/soft-fp.h: Likewise.
8768
55602758
YC
87692013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8770
8771 * iconv/iconv_prog.c: Fix typos.
8772 * stdio-common/psiginfo-data.h: Likewise.
8773
9cd83302
RT
87742013-10-12 Reuben Thomas <rrt@sc3d.org>
8775
8776 [BZ #15764]
8777 * locale/setlocale.c: Fix typo.
8778
99fd9f47
JM
87792013-10-12 Joseph Myers <joseph@codesourcery.com>
8780
b7ea74f0
JM
8781 [BZ #16036]
8782 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8783 signaling NaN arguments.
8784 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8785 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8786
8a509447
JM
8787 [BZ #14910]
8788 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8789 unordered operands.
8790 * soft-fp/gesf2.c (__gesf2): Likewise.
8791 * soft-fp/getf2.c (__getf2): Likewise.
8792 * soft-fp/ledf2.c (__ledf2): Likewise.
8793 * soft-fp/lesf2.c (__lesf2): Likewise.
8794 * soft-fp/letf2.c (__letf2): Likewise.
8795
98998e9f
JM
8796 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8797 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8798 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8799 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8800 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8801 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8802 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8803 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8804 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8805 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8806 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8807 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8808 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8809 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8810 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8811 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8812 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8813 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8814 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8815 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8816 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8817 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8818 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8819 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8820 * soft-fp/floattidf.c (__floattidf): Likewise.
8821 * soft-fp/floattisf.c (__floattisf): Likewise.
8822 * soft-fp/floattitf.c (__floattitf): Likewise.
8823 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8824 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8825 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8826 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8827 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8828 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8829 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8830 * soft-fp/gesf2.c (__gesf2): Likewise.
8831 * soft-fp/getf2.c (__getf2): Likewise.
8832 * soft-fp/ledf2.c (__ledf2): Likewise.
8833 * soft-fp/lesf2.c (__lesf2): Likewise.
8834 * soft-fp/letf2.c (__letf2): Likewise.
8835
8edc4a11
JM
8836 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8837 Undefine and redefine.
8838 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8839 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8840 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8841 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8842 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8843 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8844 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8845 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8846 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8847 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8848 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8849 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8850 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8851 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8852 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8853
8399acaf
JM
8854 [BZ #16032]
8855 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8856 without decrementing exponent if mantissa >= that for the
8857 denominator, not >.
8858 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8859 denominator, not >. Decrement exponent in < case instead of
8860 incrementing in >= case.
8861 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8862 without decrementing exponent if mantissa >= that for the
8863 denominator, not >.
8864
99fd9f47
JM
8865 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8866 computing saturated result for unsigned overflow.
8867
10e1cf6b
SP
88682013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8869 Jeff Law <law@redhat.com>
8870
8871 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8872 (atan2Mp): Add systemtap probe marker.
8873 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8874 (__ieee754_log): Add systemtap probe marker.
8875 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8876 (atanMp): Add systemtap probe marker.
8877 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8878 (tanMp): Add systemtap probe marker.
8879 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8880 (__slowexp): Add systemtap probe marker.
8881 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8882 (__slowpow): Add systemtap probe marker.
8883 * manual/probes.texi: Document probes.
8884
3d110c7c
EB
88852013-10-11 Eric Biggers <ebiggers3@gmail.com>
8886
8887 [BZ #15362]
8888 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8889 written.
8890 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8891 written.
8892 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8893 written to buffer but not flushed.
8894 * libio/iofwrite_u.c: Likewise.
8895 * libio/iopadn.c: Return bytes returned even if EOF was
8896 encountered.
8897 * libio/iowpadn.c: Likewise.
8898 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8899 if _IO_padn does not write the whole buffer.
8900 [!COMPILE_WPRINTF] (PAD): Likewise.
8901
75b4202a
DM
89022013-10-10 David S. Miller <davem@davemloft.net>
8903
8904 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8905 directory block.
8906
6c6352e6
JM
89072013-10-10 Joseph Myers <joseph@codesourcery.com>
8908
33b853c3
JM
8909 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8910 instead of FSF address.
8911 * soft-fp/fixdfti.c: Likewise.
8912 * soft-fp/fixsfti.c: Likewise.
8913 * soft-fp/fixtfti.c: Likewise.
8914 * soft-fp/fixunsdfti.c: Likewise.
8915 * soft-fp/fixunssfti.c: Likewise.
8916 * soft-fp/fixunstfti.c: Likewise.
8917 * soft-fp/floattidf.c: Likewise.
8918 * soft-fp/floattisf.c: Likewise.
8919 * soft-fp/floattitf.c: Likewise.
8920 * soft-fp/floatuntidf.c: Likewise.
8921 * soft-fp/floatuntisf.c: Likewise.
8922 * soft-fp/floatuntitf.c: Likewise.
8923 * soft-fp/trunctfxf2.c: Likewise.
8924
6c6352e6
JM
8925 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8926 * soft-fp/fixdfti.c: Likewise.
8927 * soft-fp/fixsfti.c: Likewise.
8928 * soft-fp/fixtfti.c: Likewise.
8929 * soft-fp/fixunsdfti.c: Likewise.
8930 * soft-fp/fixunssfti.c: Likewise.
8931 * soft-fp/fixunstfti.c: Likewise.
8932 * soft-fp/floattidf.c: Likewise.
8933 * soft-fp/floattisf.c: Likewise.
8934 * soft-fp/floattitf.c: Likewise.
8935 * soft-fp/floatuntidf.c: Likewise.
8936 * soft-fp/floatuntisf.c: Likewise.
8937 * soft-fp/floatuntitf.c: Likewise.
8938 * soft-fp/trunctfxf2.c: Likewise.
8939
3bf78b71
DM
89402013-10-10 David S. Miller <davem@davemloft.net>
8941
8942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8943
6f10289e
JM
89442013-10-10 Joseph Myers <joseph@codsourcery.com>
8945
bd878fc0
JM
8946 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8947 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8948 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8949 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8950 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8951 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8952 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8953
6f10289e
JM
8954 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8955 for NaNs before doing comparisons on argument.
8956 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8957 Likewise.
8958
321e2684
WN
89592013-10-10 Will Newton <will.newton@linaro.org>
8960
8961 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8962 passed to _int_memalign does not overflow.
8963
40fefba1
TR
89642013-10-10 Torvald Riegel <triegel@redhat.com>
8965
8966 * scripts/bench.pl: Add include-sources directive.
8967 * benchtests/README: Update documentation.
8968
2ae21ed2
JM
89692013-10-10 Joseph Myers <joseph@codesourcery.com>
8970
dcc2dd3f
JM
8971 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8972 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8973 instead of FP_INIT_ROUNDMODE.
8974 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8975 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8976
2ae21ed2
JM
8977 [BZ #16034]
8978 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8979 copy class of input value.
8980 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8981 not handle exceptions.
8982 * soft-fp/negsf2.c (__negsf2): Likewise.
8983 * soft-fp/negtf2.c (__negtf2): Likewise.
8984 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8985
cb8f9562
JM
89862013-10-09 Joseph Myers <joseph@codesourcery.com>
8987
8988 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8989 semicolon. From Linux kernel.
8990
5b60c59d
AB
89912013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8992
8993 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8994
b86835ca
YC
89952013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8996
8997 [BZ #156]
8998 * manual/socket.texi: Added statement about buffer
8999 for gethostbyname2_r.
9000
e7044ea7
OB
90012013-10-08 Ondřej Bílka <neleai@seznam.cz>
9002
9003 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9004 Use .p2align directive instead, throughout.
9005 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9006 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9007 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9010 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9011 * sysdeps/x86_64/strchr.S: Likewise.
9012 * sysdeps/x86_64/strrchr.S: Likewise.
9013
09544cbc
SP
90142013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9015
88576635
SP
9016 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9017
e7b2d1dd
SP
9018 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9019
09544cbc
SP
9020 * sysdeps/generic/math_private.h (__mpsin1): Remove
9021 declaration.
9022 (__mpcos1): Likewise.
9023 (__mpsin): New argument __range_reduce.
9024 (__mpcos): Likewise.
9025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9026 (slow): Use __mpsin and __mpcos.
9027 (slow1): Likewise.
9028 (slow2): Likewise.
9029 (sloww): Likewise.
9030 (sloww1): Likewise.
9031 (sloww2): Likewise.
9032 (bsloww): Likewise.
9033 (bsloww1): Likewise.
9034 (bsloww2): Likewise.
9035 (cslow2): Likewise.
9036 (csloww): Likewise.
9037 (csloww1): Likewise.
9038 (csloww2): Likewise.
9039 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9040 range_reduce. Merge in __mpsin1.
9041 (__mpcos): Likewise.
9042 (__mpsin1): Remove.
9043 (__mpcos1): Likewise.
9044
7602d070
JM
90452013-10-07 Joseph Myers <joseph@codesourcery.com>
9046
9047 * locale/loadlocale.c (_nl_intern_locale_data): Use
9048 LOCFILE_ALIGNED_P.
9049 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9050 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9051 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9052 obstack data is appropriately aligned.
9053 (obstack_int32_grow_fast): Likewise.
9054 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9055 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9056 (add_locale_uint32_array): Likewise.
9057
a357259b
SP
90582013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9059
9060 * benchtests/Makefile: Remove ARGLIST and RET variables.
9061 ($(objpfx)bench-%.c): Pass only function name to the script.
9062 * benchtests/README: Update documentation.
9063 * benchtests/acos-inputs: Add new directives.
9064 * benchtests/acosh-inputs: Likewise.
9065 * benchtests/asin-inputs: Likewise.
9066 * benchtests/asinh-inputs: Likewise.
9067 * benchtests/atan-inputs: Likewise.
9068 * benchtests/atanh-inputs: Likewise.
9069 * benchtests/cos-inputs: Likewise.
9070 * benchtests/cosh-inputs: Likewise.
9071 * benchtests/exp-inputs: Likewise.
9072 * benchtests/log-inputs: Likewise.
9073 * benchtests/pow-inputs: Likewise.
9074 * benchtests/rint-inputs: Likewise.
9075 * benchtests/sin-inputs: Likewise.
9076 * benchtests/sinh-inputs: Likewise.
9077 * benchtests/tan-inputs: Likewise.
9078 * benchtests/tanh-inputs: Likewise.
9079 * scripts/bench.pl: Add support for new directives.
9080
9ec1b13d
AM
90812013-10-07 Alan Modra <amodra@gmail.com>
9082
9083 * README: Fix careless merge.
9084
8b7d57cd
AM
90852013-10-05 Alan Modra <amodra@gmail.com>
9086
9087 * NEWS: Mention powerpc64le support and bugs fixed.
9088 * README: Both big-endian and little-endian powerpc64 supported.
9089
7b7bab13
ST
90902013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9091
9092 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9093 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9094 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9095 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9096
d39baad1
RA
90972013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9098
9099 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9100 match prototype.
9101
cd78f7e7
JM
91022013-10-04 Joseph Myers <joseph@codesourcery.com>
9103
29d73d86
JM
9104 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9105 Move -mhard-float appending from
9106 ports/sysdeps/powerpc/powerpc32/Makefile.
9107 [$(with-fp) = yes] (ASFLAGS): Likewise.
9108 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9109 * sysdeps/powerpc/nofpu: Move directory from
9110 ports/sysdeps/powerpc/nofpu.
9111 * sysdeps/powerpc/soft-fp: Move directory from
9112 ports/sysdeps/powerpc/soft-fp.
9113 * sysdeps/powerpc/powerpc32/405: Move directory from
9114 ports/sysdeps/powerpc/powerpc32/405.
9115 * sysdeps/powerpc/powerpc32/440: Move directory from
9116 ports/sysdeps/powerpc/powerpc32/440.
9117 * sysdeps/powerpc/powerpc32/464: Move directory from
9118 ports/sysdeps/powerpc/powerpc32/464.
9119 * sysdeps/powerpc/powerpc32/476: Move directory from
9120 ports/sysdeps/powerpc/powerpc32/476.
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9122 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9124 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9126 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9128 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9130 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9131 * README: Update for powerpc-*-linux-gnu software floating point
9132 support in libc.
9133
e246b347
JM
9134 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9135 case to powerpc/powerpc32*.
9136 * sysdeps/unix/sysv/linux/configure: Regenerated.
9137
89c2003e
JM
9138 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9139 (_FPU_MASK_OM): Define as 0x04.
9140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9142 0x00c10080.
9143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9144 0x0000003c.
9145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9146
cd78f7e7
JM
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9148 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9149 getcontext_e500.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9151 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9152 setcontext_e500.
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9154 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9155 and setcontext_e500.
9156
c755294d
CL
91572013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9158
9159 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9160
e16d221c
SP
91612013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9162
9163 * manual/threads.texi (Default Thread Attributes): Fix typo.
9164
215c7d43
WN
91652013-10-04 Will Newton <will.newton@linaro.org>
9166
9167 * malloc/Makefile: Add tst-memalign.
9168 * malloc/tst-memalign.c: New file.
9169
27d0461b
WN
9170 * malloc/tst-posix_memalign.c: Add comments.
9171 (do_test): Add comments and call free on all potentially
9172 allocated pointers. Add space after cast.
9173
1bc92709
WN
9174 * malloc/tst-pvalloc.c: Add comments.
9175 (do_test): Add comments and call free on all potentially
9176 allocated pointers. Remove duplicate check for NULL pointer.
9177 Add space after cast.
9178
66a9be9d
WN
9179 * malloc/tst-valloc.c: Add comments.
9180 (do_test): Add comments and call free on all potentially
9181 allocated pointers. Remove duplicate check for NULL pointer.
9182 Add space after cast.
9183
4cb81307
AM
91842013-10-04 Alan Modra <amodra@gmail.com>
9185
9186 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9187 Use stdint types in rather than __attribute__((mode())).
9188 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9189
f8e3e9f3
AM
91902013-10-04 Alan Modra <amodra@gmail.com>
9191
9192 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9193 Correct handling of unaligned relocs for little-endian.
9194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9195
8f9ebb08
AM
91962013-10-04 Alan Modra <amodra@gmail.com>
9197
9198 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9199 * configure: Regenerate.
9200 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9201 * shlib-versions: Likewise.
9202
0edf96c2
AM
92032013-10-04 Alan Modra <amodra@gmail.com>
9204
9205 * string/tester.c (test_memrchr): Increment reported test cycle.
9206
e0f7a380
AM
92072013-10-04 Alan Modra <amodra@gmail.com>
9208
9209 * string/test-memcpy.c (do_one_test): When reporting errors, print
9210 string address and don't overrun end of string.
9211
466b0393
AM
92122013-10-04 Alan Modra <amodra@gmail.com>
9213
9214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9215 insrdi. Make better use of reg selection to speed exit slightly.
9216 Schedule entry path a little better. Remove useless "are we done"
9217 checks on entry to main loop. Handle wrapping around zero address.
9218 Correct main loop count. Handle single left-over word from main
9219 loop inline rather than by using loop_small. Remove extra word
9220 case in loop_small caused by wrong loop count. Add little-endian
9221 support.
9222 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9223 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9224 cache hint.
9225 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9226 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9227 support. Avoid rlwimi.
9228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9229
3be87c77
AM
92302013-10-04 Alan Modra <amodra@gmail.com>
9231
9232 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9233 insrdi. Formatting.
3be87c77
AM
9234 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9235 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9236 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9237 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9238 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9239 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9240
759cfef3
AM
92412013-10-04 Alan Modra <amodra@gmail.com>
9242
9243 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9244 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9245 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9246 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9247 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9248 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9249 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9250 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9251 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9252 use of regs. Use power7 mtocrf. Tidy function tails.
9253
fe6e95d7
AM
92542013-10-04 Alan Modra <amodra@gmail.com>
9255
9256 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9257 Formatting. Consistently use rXXX register defines or rN defines.
9258 Use early exit labels that avoid restoring unused non-volatile regs.
9259 Make cr field use more consistent with rWORDn compares. Rename
9260 regs used as shift registers for unaligned loop, using rN defines
9261 for short lifetime/multiple use regs.
9262 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9263 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9264 addi 1,1,64 to pop stack frame. Simplify return value code.
9265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9266
664318c3
AM
92672013-10-04 Alan Modra <amodra@gmail.com>
9268
9269 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9270 support. Correct typos, formatting. Optimize tail. Use insrdi
9271 rather than rlwimi.
9272 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9273 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9274 little-endian support. Correct typos.
9275 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9276 rather than rlwimi.
9277 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9278 in loop and entry code to keep "and." results.
9279 (strchr): Add little-endian support. Comment. Move cntlzd
9280 earlier in tail.
9281 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9282
43b84013
AM
92832013-10-04 Alan Modra <amodra@gmail.com>
9284
9285 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9286 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9287 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9288 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9289
8a7413f9
AM
92902013-10-04 Alan Modra <amodra@gmail.com>
9291
9292 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9293 (rTMP): Define as r11.
9294 (strcmp): Add little-endian support. Optimise tail.
9295 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9296 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9297 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9298 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9299 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9301 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9302
33ee81de
AM
93032013-10-04 Alan Modra <amodra@gmail.com>
9304
9305 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9306 little-endian support. Remove unnecessary "are we done" tests.
9307 Handle "s" wrapping around zero and extremely large "size".
9308 Correct main loop count. Handle single left-over word from main
9309 loop inline rather than by using small_loop. Correct comments.
9310 Delete "zero" tail, use "end_max" instead.
9311 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9312
db9b4570
AM
93132013-10-04 Alan Modra <amodra@gmail.com>
9314
9315 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9316 support. Don't branch over align.
9317 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9318 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9319 support. Rearrange tmp reg use to suit. Comment.
9320 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9321
f7c399cf
AM
93222013-10-04 Alan Modra <amodra@gmail.com>
9323
9324 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9325
0b2c2ace
AM
93262013-10-04 Alan Modra <amodra@gmail.com>
9327
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9329 conditional form of branch and link when obtaining pc.
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9331
02f04a6c
AM
93322013-10-04 Alan Modra <amodra@gmail.com>
9333
9334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9335 HIWORD/LOWORD.
9336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9338
9b874b2f
AM
93392013-10-04 Alan Modra <amodra@gmail.com>
9340
9341 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9342 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9343 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9344 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9345 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9346 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9347 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9348 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9349 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9350 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9351
be1e5d31
AB
93522013-10-04 Anton Blanchard <anton@au1.ibm.com>
9353 Alistair Popple <alistair@ozlabs.au.ibm.com>
9354 Alan Modra <amodra@gmail.com>
9355
9356 [BZ #15723]
9357 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9358 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9359 _dl_hwcap access for little-endian.
9360 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9361 destroy vmx regs when saving unaligned.
9362 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9363 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9364 destroy vmx regs when saving unaligned.
9365
fef13a78
AM
93662013-10-04 Alan Modra <amodra@gmail.com>
9367
9368 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9369 Don't use a union to pack hi/low value.
9370
76a66d51
AB
93712013-10-04 Anton Blanchard <anton@au1.ibm.com>
9372
9373 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9374 for little-endian.
9375 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9377 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9378 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9379 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9380
6a31fe7f
AM
93812013-10-04 Alan Modra <amodra@gmail.com>
9382
9383 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9384 constants to usual value for .cst8 section, and remove redundant
9385 high address load.
9386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9387 constant for 0x1p52. Load little-endian words of double from
9388 correct stack offsets.
9389
7b88401f
AM
93902013-10-04 Alan Modra <amodra@gmail.com>
9391
9392 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9393 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9394 words of double from correct stack offsets.
9395 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9396 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9397 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9399 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9400 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9401 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9402 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9403 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9404 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9405 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9407 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9408 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9409 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9410 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9411 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9412
9c008155
AM
94132013-10-04 Alan Modra <amodra@gmail.com>
9414
9415 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9416 64-bit int/double union.
9417 (_FPU_SETCW): Likewise.
9418 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9419 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9420
da13146d
AM
94212013-10-04 Alan Modra <amodra@gmail.com>
9422
9423 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9424 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9425
603e8410
AM
94262013-10-04 Alan Modra <amodra@gmail.com>
9427
9428 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9429 use vector int constants.
9430 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9431
4a28b3ca
AB
94322013-10-04 Anton Blanchard <anton@au1.ibm.com>
9433
9434 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9435 array with long long.
9436 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9437 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9438 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9439 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9440 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9441 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9442 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9443 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9444 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9445 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9446 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9447 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9448 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9449
2ca85d2b
AB
94502013-10-04 Anton Blanchard <anton@au1.ibm.com>
9451
9452 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9453 (__signbit): Likewise. Correct for little-endian.
9454 (__signbitl): Call __signbit.
9455 (lrint): Correct for little-endian.
9456 (lrintf): Call lrint.
9457
62a728ae
AM
94582013-10-04 Alan Modra <amodra@gmail.com>
9459
9460 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9461 union 32-bit int array member with 64-bit int array.
9462 (t515, tm256): Double rather than long double.
9463 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9464
32c301df
AM
94652013-10-04 Alan Modra <amodra@gmail.com>
9466
9467 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9468 Delete.
9469 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9471 version of math_ldbl.h.
9472
650ef4bd
AM
94732013-10-04 Alan Modra <amodra@gmail.com>
9474
9475 [BZ #15734], [BZ #15735]
9476 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9477 all uses of ieee875 long double macros and unions. Simplify test
9478 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9479 ldbl_extract_mantissa value for ix,iy exponents. Properly
9480 normalize after ldbl_extract_mantissa, and don't add hidden bit
9481 already handled. Don't treat low word of ieee854 mantissa like
9482 low word of IBM long double and mask off bit when testing for
9483 zero.
9484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9485 all uses of ieee875 long double macros and unions. Simplify tests
9486 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9487 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9488 two1022, instead use their values. Recognise that tests for large
9489 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9490 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9491 Rewrite all uses of ieee875 long double macros and unions. Simplify
9492 test for 0.0L and nan. Correct negation.
9493 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9494 ieee875 long double macros and unions. Correct output for large
9495 magnitude x. Correct absolute value calculation.
9496 (__erfcl): Likewise.
9497 * math/libm-test.inc: Add tests for errors discovered in IBM long
9498 double versions of fmodl, remainderl, erfl and erfcl.
9499
765714ca
AM
95002013-10-04 Alan Modra <amodra@gmail.com>
9501
9502 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9503 all uses of ieee854 long double macros and unions. Simplify tests
9504 for long doubles that are fully specified by the high double.
9505 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9506 Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9508 Remove dead code too.
9509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9510 (__ieee754_ynl): Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9512 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9514 Remove dead code too.
9515 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9519 Simplify.
9520 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9521 Simplify.
9522 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9525 Comment on variable precision.
9526 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9528 Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9533 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9534
4ebd120c
AM
95352013-10-04 Alan Modra <amodra@gmail.com>
9536
9537 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9539 all uses of ieee854 long double macros and unions.
9540 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9544 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9546 Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9549 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9553 Simplify sign and nan test too.
9554 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9557 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9558 Likewise.
9559 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9561 Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9568
1b6adf88
AM
95692013-10-04 Alan Modra <amodra@gmail.com>
9570
9571 * stdio-common/printf_size.c (__printf_size): Don't use
9572 union ieee854_long_double in fpnum union.
9573 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9574 signbit macro to retrieve sign from long double.
9575 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9576 retrieve sign from long double.
9577 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9578 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9579 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9580 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9581 * math/test-misc.c (main): Don't use union ieee854_long_double.
9582
4cf69995
AM
95832013-10-04 Alan Modra <amodra@gmail.com>
9584
9585 [BZ #15680]
9586 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9587 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9588 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9589 calculation. Remove unnecessary test for denormal exponent.
9590 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9591 Correct handling of denormals. Avoid undefined shift behaviour.
9592 Correct normalisation of low mantissa when low double is denormal.
9593 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9594 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9595 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9596 Correct normalisation of low mantissa. Test for overflow of high
9597 mantissa and normalise.
9598 (ldbl_nearbyint): Use more readable constant for two52.
9599 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9600 (__mpn_construct_long_double): Fix test for overflow of high
9601 mantissa and correct normalisation. Avoid undefined shift.
9602
9605ca6c
AM
96032013-10-04 Alan Modra <amodra@gmail.com>
9604
9605 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9606 (union ibm_extended_long_double): Define as an array of ieee754_double.
9607 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9608 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9609 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9610 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9614 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9618
975569d0
JM
96192013-10-03 Joseph Myers <joseph@codesourcery.com>
9620
d3d23756
JM
9621 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9622 page size instead of calling getpagesize.
9623
975569d0
JM
9624 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9625 (LOCFILE_ALIGN_MASK): Likewise.
9626 (LOCFILE_ALIGN_UP): Likewise.
9627 (LOCFILE_ALIGNED_P): Likewise.
9628 * locale/programs/ld-collate.c (collate_output): Use the new
9629 macros instead of __alignof__ (int32_t).
9630 * locale/weight.h (findidx): Likewise.
9631
b1fe1f2b
OB
96322013-10-03 Ondřej Bílka <neleai@seznam.cz>
9633
9634 [BZ #431]
9635 * manual/string.texi: Fix strncat and wcsncat.
9636
5f855e35
BM
96372013-10-03 Brooks Moses <bmoses@google.com>
9638
9639 [BZ #15915]
9640 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9641 * Makerules: ...here, and adjust associated comments.
9642
3cef6009
WN
96432013-10-02 Will Newton <will.newton@linaro.org>
9644
9645 * malloc/Makefile: Add tst-pvalloc.
9646 * malloc/tst-pvalloc.c: New file.
9647
7815420b
WN
96482013-10-02 Will Newton <will.newton@linaro.org>
9649
9650 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9651 improve test coverage.
9652
4868b204
WN
96532013-10-02 Will Newton <will.newton@linaro.org>
9654
9655 * malloc/Makefile: Add tst-posix_memalign.
9656 * malloc/tst-posix_memalign.c: New file.
9657
29c793b3
EB
96582013-10-01 Eric Blake <eblake@redhat.com>
9659
9660 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9661 Use __THROWNL rather than __THROW on static functions.
9662
fd967522
PM
96632013-09-30 Petr Machata <pmachata@redhat.com>
9664
9665 * elf/elf.h (R_AARCH64_ABS16): New macro.
9666 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9667 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9668 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9669 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9670 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9671 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9672 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9673 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9674 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9675 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9676 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9677 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9678 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9679 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9680 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9681 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9682 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9683 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9684 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9685 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9686 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9687 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9688 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9689 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9690 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9691 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9692 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9693 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9694 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9695 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9696 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9697 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9698 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9699 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9700 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9701 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9702 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9703 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9704 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9705 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9706 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9707 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9708 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9709 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9710 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9711 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9712 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9713 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9714 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9715 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9716 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9717 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9718 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9719 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9720 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9721 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9722 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9723 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9724 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9725 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9726 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9727 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9728 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9729 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9730 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9731 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9732 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9733 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9734 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9735 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9736 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9737 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9738 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9739 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9740 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9741 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9742 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9743 (R_AARCH64_TLSDESC_LDR): Likewise.
9744 (R_AARCH64_TLSDESC_ADD): Likewise.
9745 (R_AARCH64_TLSDESC_CALL): Likewise.
9746
b2179107
AS
97472013-09-30 Andreas Schwab <schwab@suse.de>
9748
9749 [BZ #15048]
9750 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9751 the nss database lookup.
9752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9754
47f28d0a
MF
97552013-09-28 Mike Frysinger <vapier@gentoo.org>
9756
9757 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9758
97592013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9760
9761 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9762 ${Bash-specific parameter/pattern/string} parameter expansion.
9763 * sysdeps/unix/make-syscalls.sh: Likewise.
9764
f4518a17
KK
97652013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9766
9767 * sysdeps/sh/stackguard-macros.h: New file.
9768
dc1a95c7
OB
97692013-09-26 Ondřej Bílka <neleai@seznam.cz>
9770
9771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9773 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9774 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9776 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9777
5ebbff8f
AZ
97782013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9779
9780 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9781 Fix thread ID register.
9782
4fd2cf9f
JM
97832013-09-25 Joseph Myers <joseph@codesourcery.com>
9784
9785 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9786 [POSIX || UNIX98]: Require rather than permitting all symbols from
9787 <time.h>.
9788 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9789 element of struct sched_param.
9790 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9791 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9792 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9793 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9794 constant.
9795
12c22bc4
OL
97962013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9797
9798 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9799 argument calculation.
9800
a03d8ea7
JM
98012013-09-24 Joseph Myers <joseph@codesourcery.com>
9802
9803 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9804 Expect macro.
9805 [POSIX] (pthread_attr_t): Do not require type.
9806 [POSIX] (pthread_cond_t): Likewise.
9807 [POSIX] (pthread_condattr_t): Likewise.
9808 [POSIX] (pthread_key_t): Likewise.
9809 [POSIX] (pthread_mutex_t): Likewise.
9810 [POSIX] (pthread_mutexattr_t): Likewise.
9811 [POSIX] (pthread_once_t): Likewise.
9812 [POSIX] (pthread_t): Likewise.
9813 [POSIX-based standards] (pthread_atfork): Expect function.
9814
6055173a
JM
98152013-09-24 Joseph Myers <joseph@codesourcery.com>
9816 Richard Sandiford <richard@codesourcery.com>
9817
9818 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9819 (swap_endianness_p): New extern variable.
9820 (set_big_endian): New inline function.
9821 (maybe_swap_uint32): Likewise.
9822 (maybe_swap_uint32_array): Likewise.
9823 (maybe_swap_uint32_obstack): Likewise.
9824 * locale/programs/locfile.c: Include <stdbool.h>.
9825 (swap_endianness_p): New variable.
9826 (add_locale_uint32): Call maybe_swap_uint32.
9827 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9828 (write_locale_data): Call maybe_swap_uint32_array.
9829 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9830 maybe_swap_uint32.
9831 (obstack_int32_grow_fast): Likewise.
9832 (output_weightwc): Call maybe_swap_uint32_obstack.
9833 (collate_output): Likewise.
9834 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9835 (OPT_LITTLE_ENDIAN): Likewise.
9836 (options): Add --little-endian and --big-endian options.
9837 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9838 * locale/programs/locarchive.c: Include "locfile.h".
9839 (GET): New macro.
9840 (SET): Likewise.
9841 (INC): Likewise.
9842 (create_archive): Use the new macros to access fields of
9843 structures directly mapped from or written to locale archives.
9844 (oldlocrecentcmp): Likewise.
9845 (enlarge_archive): Likewise.
9846 (insert_name): Likewise.
9847 (add_alias): Likewise.
9848 (add_locale): Likewise.
9849 (delete_locales_from_archive): Likewise.
9850 (show_archive_content): Likewise.
9851 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9852 locale data.
9853
39bf0bb4
RM
98542013-09-24 Roland McGrath <roland@hack.frob.com>
9855
9856 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9857 http://www.gnu.org/doc/freemanuals.texi.
9858 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9859
f02eed10
WN
98602013-09-24 Will Newton <will.newton@linaro.org>
9861
9862 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9863 macro.
9864
a3a6c312
JM
98652013-09-23 Joseph Myers <joseph@codesourcery.com>
9866
9867 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9868 unsigned char.
9869
107375ac
MR
98702013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9871
9872 * manual/threads.texi (POSIX Threads): Fix a typo.
9873
141f3a77
SP
98742013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9875
303e567a
SP
9876 [BZ #14547]
9877 * string/tst-strcoll-overflow.c: New test case.
9878 * string/Makefile (xtests): Add tst-strcoll-overflow.
9879 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9880 cache if string sizes may cause integer overflow.
9881
141f3a77
SP
9882 [BZ #14547]
9883 * string/strcoll_l.c (coll_seq): New members rule, idx,
9884 save_idx and back_us.
9885 (get_next_seq_nocache): New function.
9886 (do_compare_nocache): New function.
9887 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9888 when malloc fails.
9889
c61b4d41
CD
98902013-09-23 Carlos O'Donell <carlos@redhat.com>
9891
0b1f8e35
CD
9892 [BZ #15754]
9893 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9894 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9895 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9896
c61b4d41
CD
9897 [BZ #15754]
9898 * elf/Makefile (tests): Add tst-ptrguard1.
9899 (tests-static): Add tst-ptrguard1-static.
9900 (tst-ptrguard1-ARGS): Define.
9901 (tst-ptrguard1-static-ARGS): Define.
9902 * elf/tst-ptrguard1.c: New file.
9903 * elf/tst-ptrguard1-static.c: New file.
9904 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9905 * sysdeps/i386/stackguard-macros.h: Likewise.
9906 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9907 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9908 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9909 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9910 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9911 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9912
99132013-09-23 Hector Marco <hecmargi@upv.es>
9914 Ismael Ripoll <iripoll@disca.upv.es>
9915 Carlos O'Donell <carlos@redhat.com>
9916
9917 [BZ #15754]
9918 * sysdeps/generic/stackguard-macros.h: Define
9919 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9920 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9921 Define __pointer_chk_guard_local.
9922 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9923 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9924
f5f4e7b4
VV
99252013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9926
9927 [BZ #15859]
9928 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9929
5bb43a43
AS
99302013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9931
9932 * include/string.h (__ffs): Declare as hidden.
9933 * string/ffs.c (__ffs): Define as hidden.
9934 * sysdeps/i386/ffs.c (__ffs): Likewise.
9935 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9936 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9937 * sysdeps/s390/ffs.c (__ffs): Likewise.
9938 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9939
3ea5be54
AO
99402013-09-20 Alexandre Oliva <aoliva@redhat.com>
9941
ffb89e53
AO
9942 * NEWS: Mention malloc probes.
9943
322dea08
AO
9944 * malloc/arena.c (new_heap): New memory_heap_new probe.
9945 (grow_heap): New memory_heap_more probe.
9946 (shrink_heap): New memory_heap_less probe.
9947 (heap_trim): New memory_heap_free probe.
9948 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9949 (systrim): New memory_sbrk_less probe.
9950 * manual/probes.texi: Document them.
9951
655673f3
AO
9952 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9953 * manual/probes.texi: Document it.
9954
35fed6f1
AO
9955 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9956 (__libc_realloc): Add memory_realloc_retry probe.
9957 (__libc_memalign): Add memory_memalign_retry probe.
9958 (__libc_valloc): Add memory_valloc_retry probe.
9959 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9960 (__libc_calloc): Add memory_calloc_retry probe.
9961 * manual/probes.texi: Document them.
9962
6999d38c
AO
9963 * malloc/arena.c (get_free_list): Add probe
9964 memory_arena_reuse_free_list.
9965 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9966 and memory_arena_reuse.
9967 (arena_get2) [!PER_THREAD]: Likewise.
9968 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9969 memory_arena_reuse_realloc.
9970 * manual/probes.texi: Document them.
9971
0653427f
AO
9972 * malloc/malloc.c (__libc_free): Add
9973 memory_mallopt_free_dyn_thresholds probe.
9974 (__libc_mallopt): Add multiple memory_mallopt probes.
9975 * manual/probes.texi: Document them.
9976
3ea5be54
AO
9977 * malloc/malloc.c: Include stap-probe.h.
9978 (__libc_mallopt): Add memory_mallopt probe.
9979 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9980 * manual/probes.texi: New.
9981 * manual/Makefile (chapters): Add probes.
9982 * manual/threads.texi: Set next node.
9983
e35696c3 99842013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9985
e35696c3
CL
9986 [BZ #15963, #13985]
9987 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9988 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9989 Add `Chinese' to `nan' entry name.
9990
4aafb73c
SP
99912013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9992
9993 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9994 (POLYNOMIAL): Likewise.
9995 (TAYLOR_SINCOS): Likewise.
9996 (TAYLOR_SLOW): Likewise.
9997 (__sin): Use TAYLOR_SINCOS.
9998 (__cos): Likewise.
9999 (slow): Use TAYLOR_SLOW.
10000 (sloww): Likewise.
10001 (bsloww): Likewise.
10002 (csloww): Likewise.
10003
d84f25c7
LD
100042013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10005
10006 * stdlib/strtod_l.c: Fix buffer overrun.
10007
5eea0404
SP
100082013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10009
7849ff93
SP
10010 * benchtests/Makefile (bench): Add sincos.
10011 * benchtests/bench-sincos.c: New file.
10012
cfa3c886
SP
10013 * math/libm-test.inc (cos_test_data): New test inputs.
10014 (sin_test_data): Likewise.
10015
b348e1e3
SP
10016 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10017 macro.
10018 (__sin): Use it.
10019 (__cos): Likewise.
10020 (slow1): Likewise.
10021 (slow2): Likewise.
10022 (sloww1): Likewise.
10023 (sloww2): Likewise.
10024 (bsloww1): Likewise.
10025 (bsloww2): Likewise.
10026 (cslow2): Likewise.
10027 (csloww1): Likewise.
10028 (csloww2): Likewise.
10029
6cce25f8
SP
10030 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10031 function.
10032 (__sin): Use it.
10033 (__cos): Likewise.
10034
5eea0404
SP
10035 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10036 gotos.
10037 (__cos): Likewise.
10038
9c21573c
MR
100392013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10040
10041 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10042 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10043 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10044 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10045 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10046 * elf/cache.c (print_entry): Handle the new cache flags.
10047
24d22e65
JM
100482013-09-18 Joseph Myers <joseph@codesourcery.com>
10049 Aldy Hernandez <aldyh@redhat.com>
10050
10051 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10052 Change condition to [_SOFT_FLOAT].
10053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10065 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10068 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10069 declaration.
10070
d13ef066
JM
100712013-09-18 Joseph Myers <joseph@codesourcery.com>
10072
2e071de0
JM
10073 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10074 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10075 (__longjmp): Use LOAD_GP to load saved GPRs.
10076 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10077 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10078 (__sigsetjmp): Use SAVE_GP to save GPRs.
10079
d13ef066
JM
10080 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10081 Do not append -msoft-float.
10082 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10083
97a0650b
SP
100842013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10085
10086 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10087
11ca09e9
JM
100882013-09-17 Joseph Myers <joseph@codesourcery.com>
10089
10090 [BZ #15966]
10091 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10092 (_FPU_GETCW): Use initial "__" on variable and field names but not
10093 on macro parameter name.
10094 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10095 parentheses around reference to macro parameter.
10096
08ffcf34
RS
100972013-09-13 Richard Sandiford <richard@codesourcery.com>
10098
10099 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10100 prototype.
10101 (ctype_startup): Use uint32_t in cast and sizeof for
10102 ctype->charnames.
10103
ae7080d3
JL
101042013-09-11 Jia Liu <proljc@gmail.com>
10105
10106 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10107 __daddr_t_defined.
10108 [__FreeBSD__]: Likewise.
10109
5905e7b3
OB
101102013-09-11 Ondřej Bílka <neleai@seznam.cz>
10111
10112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10113 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10114 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10115 (strchr): Remove __strchr_sse42 ifunc selection.
10116 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10117 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10118
b987c776
WN
101192013-09-11 Will Newton <will.newton@linaro.org>
10120
10121 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10122 parameter to RES. Remove hardcoded 1000 value.
10123 * benchtests/bench-skeleton.c (main): Pass RES parameter
10124 to TIMING_INIT and multiply result by 1000.
10125
ddf985af
AZ
101262013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10127
10128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10129
ffdd3181
AS
101302013-09-11 Andreas Schwab <schwab@suse.de>
10131
10132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10133 if not defined.
10134 (O_TMPFILE) [__USE_GNU]: Define.
10135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10136 Define.
10137
b73ed247
WN
101382013-09-11 Will Newton <will.newton@linaro.org>
10139
10140 [BZ #15857]
10141 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10142 does not overflow.
10143
55e17aad
WN
101442013-09-11 Will Newton <will.newton@linaro.org>
10145
10146 [BZ #15856]
10147 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10148 does not overflow.
10149
1159a193
WN
101502013-09-11 Will Newton <will.newton@linaro.org>
10151
10152 [BZ #15855]
10153 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10154 does not overflow.
10155
5905e7b3 101562013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10157
10158 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10159 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10163
cdfc721b
AM
101642013-09-10 Allan McRae <allan@archlinux.org>
10165
aa04af00
AM
10166 [BZ #15748]
10167 * manual/arith.texi (Parsing of Floats): Clarify
10168 cross-reference.
10169
cdfc721b
AM
10170 [BZ #15849]
10171 * manual/install.texi (Running make install): Mention
10172 --enable-pt-chown.
10173 * INSTALL: Regenerated.
10174
95e7cf29
MR
101752013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10176
10177 * csu/init-first.c (_init): Remove the !SHARED condition around
10178 FPU control word initialization.
10179 * elf/dl-support.c (_dl_fpu_control): New variable.
10180 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10181 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10182 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10183 * math/test-fpucw-static.c: New file.
10184 * math/test-fpucw-ieee.c: New file.
10185 * math/test-fpucw-ieee-static.c: New file.
10186 * math/Makefile (tests): Add `test-fpucw-ieee' and
10187 `$(tests-static)'.
10188 (tests-static): New variable.
10189 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10190 dependency to...
10191 [($(build-shared),yes)]
10192 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10193 ... this.
10194 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10195 New dependency.
10196
83e43bf0
AM
101972013-09-09 Allan McRae <allan@archlinux.org>
10198
a9f5ce09
AM
10199 [BZ #15939]
10200 * manual/string.texi (Collation Functions): Fix typo in
10201 strcoll example.
10202 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10203
34829bc2
AM
10204 [BZ #15893]
10205 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10206
3932737d
AM
10207 [BZ #15892]
10208 * libio/memstream.c (open_memstream): Fix memory leak.
10209 * libio/wmemstream.c (open_wmemstream): Likewise.
10210
83e43bf0
AM
10211 [BZ #15895]
10212 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10213
0c66b8e9
WN
102142013-09-09 Will Newton <will.newton@linaro.org>
10215
10216 * malloc/Makefile: Add tst-realloc to tests.
10217 * malloc/tst-realloc.c: New file.
10218
f6b00fd1
AM
102192013-09-09 Allan McRae <allan@archlinux.org>
10220
10221 [BZ #15844]
10222 * COPYING: Update from GNU website to fix FSF address.
10223 * COPYING.LIB: Likewise.
10224
eec55e16
DM
102252013-09-06 David S. Miller <davem@davemloft.net>
10226
10227 * po/zh_TW.po: Update Chinese (traditional) translation from
10228 translation project.
10229
1ecbb381
RS
102302013-09-06 Richard Sandiford <richard@codesourcery.com>
10231 Joseph Myers <joseph@codesourcery.com>
10232
10233 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10234 "localeinfo.h".
10235 (obstack_chunk_alloc): New macro.
10236 (obstack_chunk_free): Likewise.
10237 (record_offset): New function.
10238 (init_locale_data): Likewise.
10239 (align_locale_data): Likewise.
10240 (add_locale_empty): Likewise.
10241 (add_locale_raw_data): Likewise.
10242 (add_locale_raw_obstack): Likewise.
10243 (add_locale_string): Likewise.
10244 (add_locale_wstring): Likewise.
10245 (add_locale_uint32): Likewise.
10246 (add_locale_uint32_array): Likewise.
10247 (add_locale_char): Likewise.
10248 (start_locale_structure): Likewise.
10249 (end_locale_structure): Likewise.
10250 (start_locale_prelude): Likewise.
10251 (end_locale_prelude): Likewise.
10252 (write_locale_data): Take locale_file structure rather than an
10253 iovec.
10254 * locale/programs/locfile.h: Include "obstack.h".
10255 (struct locale_file): Change to store locale file contents instead
10256 of header.
10257 (init_locale_data): New prototype.
10258 (align_locale_data): Likewise.
10259 (add_locale_empty): Likewise.
10260 (add_locale_raw_data): Likewise.
10261 (add_locale_raw_obstack): Likewise.
10262 (add_locale_string): Likewise.
10263 (add_locale_wstring): Likewise.
10264 (add_locale_uint32): Likewise.
10265 (add_locale_uint32_array): Likewise.
10266 (add_locale_char): Likewise.
10267 (start_locale_structure): Likewise.
10268 (end_locale_structure): Likewise.
10269 (start_locale_prelude): Likewise.
10270 (end_locale_prelude): Likewise.
10271 (write_locale_data): Update prototype.
10272 * locale/programs/3level.h (struct TABLE): Remove result field.
10273 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10274 Use new locale_file interface.
10275 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10276 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10277 * locale/programs/ld-address.c (address_output): Use new
10278 locale_file interface.
10279 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10280 NO_ADD_LOCALE.
10281 (collate_finish): Don't call collseq_table_finalize.
10282 (collate_output): Use new locale_file interface.
10283 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10284 in file.
10285 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10286 (TABLE): Move defines earlier in file.
10287 (ELEMENT): Likewise.
10288 (DEFAULT): Likewise.
10289 (wctrans_table_add): Move macro and inline function earlier in
10290 file.
10291 (struct wctype_table): Move type earlier in file.
10292 (add_locale_wctype_table): New static prototype.
10293 (struct locale_ctype_t): Use logical types instead of struct iovec
10294 pointers for members.
10295 (ctype_output): Use new locale_file interface.
10296 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10297 new locale_file interface.
10298 (allocate_arrays): Update for use of new locale_file interface.
10299 * locale/programs/ld-identification.c (identification_output): Use
10300 new locale_file interface.
10301 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10302 * locale/programs/ld-messages.c (messages_output): Likewise.
10303 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10304 * locale/programs/ld-name.c (name_output): Likewise.
10305 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10306 * locale/programs/ld-paper.c (paper_output): Likewise.
10307 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10308 * locale/programs/ld-time.c (time_output): Likewise.
10309
e029e2e5
AZ
103102013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10311
10312 * benchtests/Makefile: Add memrchr benchmark.
10313 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10314 benchmark as memrchr.
10315 * benchtests/bench-memrchr-ifunc.c: New file.
10316 * benchtests/bench-memrchr.c: New file.
10317
bbf6e8e4
WN
103182013-09-06 Will Newton <will.newton@linaro.org>
10319
10320 * benchtests/Makefile (string-bench): Add memcpy.
10321
6c82a2f8
CD
103222013-09-05 Carlos O'Donell <carlos@redhat.com>
10323 Cong Wang <amwang@redhat.com>
10324
e732c5f0 10325 [BZ #15850]
6c82a2f8
CD
10326 * sysdeps/unix/sysv/linux/bits/in.h
10327 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10328 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10329 before __USE_KERNEL_IPV6_DEFS uses.
10330 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10331 IPPROTO_BEETPH.
10332 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10333 sockaddr_in6, or ipv6_mreq.
10334
5430fc65
AZ
103352013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10336
10337 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10338 memory access for final bytes in some large inputs.
10339 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10340
4660856c
AZ
103412013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10342
10343 * string/test-memrchr.c: New file.
10344 * string/test-memrchr-ifunc.c: New file.
10345 * string/Makefile: Add new memrchr testcase.
10346
bb8ea713
MF
103472013-09-05 Mike Frysinger <vapier@gentoo.org>
10348
10349 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10350 fanotify_init returns EPERM.
10351
b92a20b5
JM
103522013-09-04 Joseph Myers <joseph@codesourcery.com>
10353
10354 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10355 errors.
10356 (top level): Treat second token from macro or constant entries for
10357 allowed headers as allowed.
10358 * include/complex.h: Condition internal declarations on
10359 [!_ISOMAC].
10360 * include/fenv.h: Condition include of <stdbool.h> and internal
10361 declarations on [!_ISOMAC].
7447ccd9
CL
10362
103632013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10364
3e181dda 10365 [BZ #15923]
7447ccd9
CL
10366 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10367
3f2e46a4
JM
103682013-09-04 Joseph Myers <joseph@codesourcery.com>
10369
10370 * configure.in (--enable-versioning): Remove configure option.
10371 (libc_cv_asm_symver_directive): Remove configure test.
10372 (libc_cv_ld_version_script_option): Likewise.
10373 (VERSIONING): Remove variable and AC_SUBST.
10374 (DO_VERSIONING): Remove AC_DEFINE.
10375 * configure: Regenerated.
10376 * config.h.in (DO_VERSIONING): Remove macro.
10377 * Makerules [$(versioning) = yes]: Change conditionals to
10378 [$(build-shared) = yes].
10379 * config.make.in (versioning): Remove variable.
10380 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10381 [$(build-shared) = yes].
10382 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10383 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10384 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10385 [$(build-shared) = yes].
10386 * extra-lib.mk [$(versioning) = yes]: Likewise.
10387 * hurd/Makefile [$(versioning) = yes]: Likewise.
10388 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10389 [SHARED].
10390 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10391 [SHARED].
10392 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10393 [SHARED && !NO_HIDDEN].
10394 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10395 [SHARED].
10396 [SHARED && DO_VERSIONING]: Likewise..
10397 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10398 [$(build-shared) = yes].
10399 * manual/install.texi (--disable-versioning): Remove
10400 documentation.
10401 * INSTALL: Regenerated.
10402 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10403 to [SHARED].
10404 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10405 [$(build-shared) = yes].
10406 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10407 * sysdeps/i386/i686/multiarch/strstr-c.c
10408 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10409 [SHARED && !NO_HIDDEN].
10410 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10411 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10412 * sysdeps/powerpc/powerpc32/dl-machine.c
10413 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10414 * sysdeps/powerpc/powerpc32/sysdep.h
10415 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10416 to [SHARED && PIC && !NO_HIDDEN].
10417 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10418 conditional to [SHARED].
10419
44558701
WN
104202013-09-04 Will Newton <will.newton@linaro.org>
10421
10422 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10423 * benchtests/bench-string.h: Include bench-timing.h instead
10424 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10425 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10426 call to HP_TIMING_DIFF_INIT.
10427 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10428 instead of hp-timing.h macros.
10429 * benchtests/bench-memchr.c: Likewise.
10430 * benchtests/bench-memcmp.c: Likewise.
10431 * benchtests/bench-memcpy.c: Likewise.
10432 * benchtests/bench-memmem.c: Likewise.
10433 * benchtests/bench-memmove.c: Likewise.
10434 * benchtests/bench-memset.c: Likewise.
10435 * benchtests/bench-rawmemchr.c: Likewise.
10436 * benchtests/bench-strcasecmp.c: Likewise.
10437 * benchtests/bench-strcasestr.c: Likewise.
10438 * benchtests/bench-strcat.c: Likewise.
10439 * benchtests/bench-strchr.c: Likewise.
10440 * benchtests/bench-strcmp.c: Likewise.
10441 * benchtests/bench-strcpy.c: Likewise.
10442 * benchtests/bench-strcpy_chk.c: Likewise.
10443 * benchtests/bench-strlen.c: Likewise.
10444 * benchtests/bench-strncasecmp.c: Likewise.
10445 * benchtests/bench-strncat.c: Likewise.
10446 * benchtests/bench-strncmp.c: Likewise.
10447 * benchtests/bench-strncpy.c: Likewise.
10448 * benchtests/bench-strnlen.c: Likewise.
10449 * benchtests/bench-strpbrk.c: Likewise.
10450 * benchtests/bench-strrchr.c: Likewise.
10451 * benchtests/bench-strspn.c: Likewise.
10452 * benchtests/bench-strstr.c: Likewise.
10453
cae16d66
WN
104542013-09-04 Will Newton <will.newton@linaro.org>
10455
10456 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10457
ffa3cd7f
JM
104582013-09-03 Joseph Myers <joseph@codesourcery.com>
10459
10460 [BZ #15427]
10461 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10462 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10463 * math/libm-test.inc (lgamma_test_data): Add more tests.
10464 * sysdeps/i386/fpu/libm-test-ulps: Update.
10465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10466
8f02859f
OB
104672013-09-03 Ondřej Bílka <neleai@seznam.cz>
10468
10469 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10471 Add ifunc.
10472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10473 Add strcmp-sse2-unaligned
10474 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10475
18d43716
MF
104762013-09-02 Mike Frysinger <vapier@gentoo.org>
10477
10478 * Versions.def (libc): Add GLIBC_2.19.
10479
ac444012
MF
104802013-09-02 Mike Frysinger <vapier@gentoo.org>
10481
10482 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10483 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10484
b7835e32
JM
104852013-09-02 Joseph Myers <joseph@codesourcery.com>
10486
10487 [BZ #14155]
10488 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10489 intermediate calculations in recurrence.
10490 (__ieee754_ynf): Likewise.
10491 * math/libm-test.inc (jn_test_data): Do not allow spurious
10492 underflow exception. Add more tests.
10493 (yn_test_data): Add more tests.
10494 * sysdeps/i386/fpu/libm-test-ulps: Update.
10495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10496
8220f4f0
OB
104972013-09-02 Ondřej Bílka <neleai@seznam.cz>
10498
10499 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10500
f24a6d08
OB
105012013-08-30 Ondřej Bílka <neleai@seznam.cz>
10502
10503 * csu/init-first.c: Fix then/than typos.
10504 * locale/programs/ld-collate.c: Likewise.
10505 * locale/programs/linereader.h: Likewise.
10506 * manual/charset.texi: Likewise.
10507 * manual/filesys.texi: Likewise.
10508 * manual/stdio.texi: Likewise.
10509 * manual/string.texi: Likewise.
10510 * stdlib/fmtmsg.c: Likewise.
10511 * sysdeps/i386/stpncpy.S: Likewise.
10512 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10513 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10514 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10515 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10516
382466e0
OB
105172013-08-30 Ondřej Bílka <neleai@seznam.cz>
10518
10519 * elf/dl-open.c: Fix typos.
10520 * iconvdata/gbbig5.c: Likewise.
10521 * iconvdata/iso-2022-jp.c: Likewise.
10522 * iconv/gconv_int.h: Likewise.
10523 * iconv/loop.c: Likewise.
10524 * nis/rpcsvc/nis.h: Likewise.
10525 * resolv/ns_name.c: Likewise.
10526 * stdio-common/vfscanf.c: Likewise.
10527 * streams/stropts.h: Likewise.
10528 * sunrpc/rpc_thread.c: Likewise.
10529 * sysdeps/i386/strpbrk.S: Likewise.
10530 * sysdeps/ieee754/k_standard.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10533 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10534 * sysdeps/mach/hurd/profil.c: Likewise.
10535 * sysdeps/s390/dl-procinfo.h: Likewise.
10536 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10537 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10538 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10539 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10540 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10541
0186c6e9
OB
105422013-08-30 Ondřej Bílka <neleai@seznam.cz>
10543
10544 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10545 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10546
d4e16af1
OB
105472013-08-29 Ondřej Bílka <neleai@seznam.cz>
10548
10549 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10550 aix specific files.
10551 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10552 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10553 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10554 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10555 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10556 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10557 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10558 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10559
88335980
TS
105602013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10561 Roland McGrath <roland@hack.frob.com>
10562
10563 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10564 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10565
ed479b02
ST
105662013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10567
10568 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10569 __executable_start symbol instead of _start.
10570
f1cc4c86
TS
105712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10572
d821f07c
TS
10573 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10574 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10575 Move macros to...
10576 * sysdeps/gnu/ldsodefs.h: ... this new file.
10577
c54290cf
TS
10578 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10579 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10580 instead of ELFOSABI_LINUX.
10581
0007fc9b 10582 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10583 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10584 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10585 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10586 Likewise.
10587 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10588 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10589 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10590 Likewise.
10591 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10592 (ibm_extended_long_double): Add ieee_nan member.
10593 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10594 (do_test): New function.
10595
f1cc4c86
TS
10596 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10597 TEST_TRUNC.
10598 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10599 functions, renamed from truncdfsf_test, trunctfsf_test,
10600 trunctfdf_test.
10601 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10602 functions.
10603 (do_test): Run all these.
10604
6f65e668
OB
106052013-08-29 Ondřej Bílka <neleai@seznam.cz>
10606
10607 * argp/argp-help.c: Fix typos.
10608 * argp/argp-parse.c: Likewise.
10609 * debug/backtracesyms.c: Likewise.
10610 * elf/elf.h: Likewise.
10611 * malloc/malloc.c: Likewise.
10612 * nis/nis_print.c: Likewise.
10613 * resolv/res_comp.c: Likewise.
10614 * stdlib/stdlib.h: Likewise.
10615 * sunrpc/clnt_tcp.c: Likewise.
10616 * sunrpc/clnt_udp.c: Likewise.
10617 * sunrpc/clnt_unix.c: Likewise.
10618 * sysdeps/unix/bsd/ptsname.c: Likewise.
10619 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10620 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10622 Likewise.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10624 Likewise.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10626 Likewise.
6f65e668
OB
10627 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10628
3a309239
SP
106292013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10630
10631 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10633
3b813b29
MF
106342013-08-27 Mike Frysinger <vapier@gentoo.org>
10635
10636 [BZ #15897]
10637 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10638 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10639 ($(objpfx)bug-dl-leaf): New rule.
10640 ($(objpfx)bug-dl-leaf.so): Likewise.
10641 ($(objpfx)bug-dl-leaf.out): Likewise.
10642 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10643 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10644 * dlfcn/bug-dl-leaf.c: New test.
10645 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10646 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10647 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10648 (dlclose): Likewise.
10649 (dlmopen): Likewise.
10650
8cc3269f
RM
106512013-08-27 Roland McGrath <roland@hack.frob.com>
10652
7f9d0034
RM
10653 * include/netdb.h [!_ISOMAC]:
10654 Don't include <tls.h>.
10655 (h_errno, __libc_h_errno): Move declaration and macros out of
10656 [_LIBC_REENTRANT].
10657
fb431262
RM
10658 * include/resolv.h [_RESOLV_H_]:
10659 Don't include <tls.h>.
10660 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10661 * resolv/res_libc.c: Don't include <tls.h>.
10662 (_res): Use __attribute__ ((nocommon)) in place of
10663 __attribute__ ((section (".bss"))).
10664
bd81123a
RM
10665 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10666 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10667
c4e42566
RM
10668 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10669
f890a59b
RM
10670 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10671 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10672
10673 * resolv/res_mkquery.c: Include <sys/time.h>.
10674
5d1f0a09
RM
10675 * inet/ifreq.c: Moved to ...
10676 * sysdeps/unix/ifreq.c: ... here.
10677 * inet/ifreq.c: New file, true stub version.
10678
6fcf28b3
RM
10679 * socket/sa_len.c: New file.
10680 * socket/Makefile (aux): Add it.
10681 * sysdeps/unix/sysv/linux/Makefile
10682 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10683 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10684 and #include <socket/sa_len.c>.
10685 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10686 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10687
e041fb8b
RM
10688 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10689 * bits/socket.h: ... here.
10690
8cc3269f
RM
10691 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10692 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10693 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10694
5d228a43
AS
106952013-08-27 Andreas Schwab <schwab@suse.de>
10696
45b8accc
AS
10697 [BZ #15736]
10698 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10699 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10700 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10701 * string/test-strcasecmp.c (test_main): Run tests in several
10702 locales.
10703 * string/test-strncasecmp.c (test_main): Likewise.
10704
5d228a43
AS
10705 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10706 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10707 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10709 (__strncasecmp_ssse3) [PIC]: Likewise.
10710
59d112a4
RM
107112013-08-26 Roland McGrath <roland@hack.frob.com>
10712
53234cc3
RM
10713 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10714
59d112a4
RM
10715 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10716 instead of explicitly declaring xdecrypt.
10717 * nis/nss_nis/nis-publickey.c: Likewise.
10718
595aba70
SP
107192013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10720
10721 [BZ #15890]
10722 * nscd/aicache.c: Include res_hconf.h.
10723 (addhstaiX): Initialize res_hconf.
10724
ffabd393
AS
107252013-08-26 Andreas Schwab <schwab@suse.de>
10726
10727 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10728 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10729
e0a69f5c
SP
107302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10731
10732 * nscd/aicache.c (addhstaiX): Fix indentation.
10733
8c12f01d
MF
107342013-08-25 Mike Frysinger <vapier@gentoo.org>
10735
10736 * configure.ac: Quote $build_pt_chown test.
10737 * configure: Regenerated.
10738
8fe89494
JM
107392013-08-23 Joseph Myers <joseph@codesourcery.com>
10740
10741 [BZ #15532]
10742 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10743 * math/s_cexpf.c (__cexpf): Likewise.
10744 * math/s_cexpl.c (__cexpl): Likewise.
10745 * math/libm-test.inc (cexp_test_data): Correct expected return
10746 value for NaN + i0. Add another test.
10747
75b181d6
DM
107482013-08-22 David S. Miller <davem@davemloft.net>
10749
10750 * po/ca.po: Update Catalan translation from translation project.
936241e4 10751 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10752
acd06bb1
JM
107532013-08-21 Joseph Myers <joseph@codesourcery.com>
10754
10755 [BZ #15797]
10756 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10757 is infinite, not alongside NaN test.
10758 * math/s_fdimf.c (__fdimf): Likewise.
10759 * math/s_fdiml.c (__fdiml): Likewise.
10760 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10761 errno is unchanged.
10762
c0c3f78a
OB
107632013-08-21 Ondřej Bílka <neleai@seznam.cz>
10764
10765 * argp/argp-help.c: Fix typos.
10766 * crypt/speeds.c: Likewise.
10767 * csu/check_fds.c: Likewise.
10768 * elf/dl-load.c: Likewise.
10769 * elf/dl-open.c: Likewise.
10770 * elf/reldep3.c: Likewise.
10771 * elf/reldep.c: Likewise.
10772 * elf/sprof.c: Likewise.
10773 * iconv/iconv_charmap.c: Likewise.
10774 * iconv/skeleton.c: Likewise.
10775 * iconv/strtab.c: Likewise.
10776 * io/lockf64.c: Likewise.
10777 * libio/libioP.h: Likewise.
10778 * resolv/gai_notify.c: Likewise.
10779 * resolv/ns_name.c: Likewise.
10780 * resolv/ns_samedomain.c: Likewise.
10781 * resolv/res_send.c: Likewise.
10782 * stdlib/random.c: Likewise.
10783 * sunrpc/rpc/xdr.h: Likewise.
10784 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10785 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10786 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10787 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10789 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10792 * sysdeps/mach/hurd/check_fds.c: Likewise.
10793 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10794 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10795 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10796 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10797 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10798 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10799 * sysdeps/pthread/aio_notify.c: Likewise.
10800 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10801 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10802 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10803 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10804 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10805
46ed1038
LD
108062013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10807
10808 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10809 version if bit_Slow_SSE4_2 is set.
10810 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10811 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10812
d400dcac
AZ
108132013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10814
10815 [BZ #15867]
10816 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10817 trampoline stack frame information.
10818 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10819 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10820 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10821 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10822 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10823 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10824 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10825 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10826 sa_flags value.
10827 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10828 interrupting a syscall and set with option SA_SIGINFO.
10829
42c8fdd8
JM
108302013-08-20 Joseph Myers <joseph@codesourcery.com>
10831
c980f2f4
JM
10832 [BZ #15531]
10833 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10834 argument is infinite.
10835 * math/s_cprojf.c (__cprojf): Likewise.
10836 * math/s_cprojl.c (__cprojl): Likewise.
10837 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10838 * math/libm-test.inc (cproj_test_data): Add more tests.
10839
0716c4fc
JM
10840 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10841
42c8fdd8
JM
10842 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10843 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10844 size. Use __ffs to determine corresponding shift.
10845
b31469d0
JM
108462013-08-20 Joseph Myers <joseph@codesourcery.com>
10847 Roland McGrath <roland@hack.frob.com>
10848
10849 * Makefile (INSTALL): Remove trailing blank lines from output of
10850 makeinfo.
10851
4e39af6e
AK
108522013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10853
10854 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10855 Align 32 bit compat elf_greg to 8 bytes.
10856
f315524e
AA
108572013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10858
10859 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10860
1326ba1a
SP
108612013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10862
10863 * string/strcoll_l.c (coll_seq): New structure.
10864 (get_next_seq_cached): New function.
10865 (get_next_seq): New function.
10866 (do_compare): New function.
10867 (STRCOLL): Use GNU style definition. Simplify implementation
10868 by using get_next_seq, get_next_seq_cached and do_compare.
10869
91ce4085
FW
108702013-08-16 Florian Weimer <fweimer@redhat.com>
10871
10872 [BZ #14699]
10873 CVE-2013-4237
10874 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10875 member.
10876 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10877 member.
10878 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10879 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10880 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10881 conditional.
10882 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10883 GETDENTS_64BIT_ALIGNED.
10884 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10885 * manual/filesys.texi (Reading/Closing Directory): Document
10886 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10887 strongly.
10888 * manual/conf.texi (Limits for Files): Add portability note to
10889 NAME_MAX, PATH_MAX.
10890 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10891
ca0a6bc4
AS
108922013-08-13 Andreas Schwab <schwab@suse.de>
10893
10894 [BZ #15749]
10895 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10896 of fabs.
10897 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10898 LDBL_MAX_EXP >= 16384]: Add tests for it.
10899
6c1fd795
DM
109002013-08-12 David S. Miller <davem@davemloft.net>
10901
10902 * version.h (RELEASE): Set to "development".
10903 (VERSION): Set to "2.18.90".
10904 * NEWS: Add 2.19 section.
10905
31ad488d
DM
109062013-08-03 David S. Miller <davem@davemloft.net>
10907
10908 * po/ko.po: Update Korean translation from translation project.
10909
db24e684
DM
109102013-08-01 David S. Miller <davem@davemloft.net>
10911
10912 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10913 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10914 Bilka.
10915
f723285b
DM
109162013-07-30 David S. Miller <davem@davemloft.net>
10917
10918 * po/fr.po: Update French translation from translation project.
10919
3cbc52db
DM
109202013-07-28 David S. Miller <davem@davemloft.net>
10921
30bbc0cc
DM
10922 * po/cs.po: Update Czech translation from translation project.
10923
3cbc52db
DM
10924 * po/sv.po: Update Swedish translation from translation project.
10925
d492e6d0
DM
109262013-07-27 David S. Miller <davem@davemloft.net>
10927
f1a7f492
DM
10928 * po/eo.po: Update Esperanto translation from translation project.
10929
90e62a4a
DM
10930 * po/vi.po: Update Vietnamese translation from translation project.
10931
d492e6d0
DM
10932 * po/de.po: Update German translation from translation project.
10933
d4baa62d
DM
109342013-07-26 David S. Miller <davem@davemloft.net>
10935
641aa7b4
DM
10936 * po/bg.po: Update Bulgarian translation from translation project.
10937
d4baa62d
DM
10938 * po/nl.po: Update Dutch translation from translation project.
10939 * po/pl.po: Update Polish translation from translation project.
10940 * po/ru.po: Update Russian translation from translation project.
10941
61a9dcb9
DM
109422013-07-24 David S. Miller <davem@davemloft.net>
10943
10944 * po/libc.pot: Update.
10945
7b1f8b58
AZ
109462013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10947
10948 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10949 variable page size.
10950 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10951 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10952 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10953
a8fc7a03
AK
109542013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10955
10956 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10957
e4608715
CD
109582013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10959 Andreas Schwab <schwab@suse.de>
10960 Roland McGrath <roland@hack.frob.com>
10961 Joseph Myers <joseph@codesourcery.com>
10962 Carlos O'Donell <carlos@redhat.com>
10963
10964 [BZ #15755]
10965 * config.h.in: Define HAVE_PT_CHOWN.
10966 * config.make.in (build-pt-chown): New variable.
10967 * configure.in (--enable-pt_chown): New configure option.
10968 * configure: Regenerate.
10969 * login/Makefile: Include Makeconfig. Build pt_chown only if
10970 build-pt-chown is enabled.
10971 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10972 pt_chown to fix pty ownership.
10973 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10974 CLOSE_ALL_FDS.
10975 * manual/install.texi (Configuring and compiling): Mention
10976 --enable-pt_chown. Add @findex for grantpt.
10977 * INSTALL: Regenerate.
10978
da2d62df
DM
109792013-07-20 David S. Miller <davem@davemloft.net>
10980
10981 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10982 difference between 32-bit and 64-bit.
10983
d7e06450
CD
109842013-07-15 Carlos O'Donell <carlos@redhat.com>
10985
10986 [BZ #15711]
10987 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10988 Avoid system header dependency with -ffreestanding.
10989 ($(objpfx)bits/syscall%d): Likewise.
10990
f959cfd7
DM
109912013-07-13 David S. Miller <davem@davemloft.net>
10992
10993 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10994 underflows from atanl/atan2l due to bug 15319.
10995 (casinh_test_data): Likewise.
10996
c61f8513
DM
109972013-07-07 David S. Miller <davem@davemloft.net>
10998
10999 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11000
72c90ed0
JA
110012013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11002
11003 * sysdeps/i386/fpu/libm-test-ulps: Update.
11004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005
52dfbe13
SP
110062013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11007
11008 * configure.in (--enable-lock-elision): Fix message text.
11009 * INSTALL: Regenerate.
11010 * configure: Regenerate.
11011
3f169543
AZ
110122013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11013
11014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11015
521c6785
AJ
110162013-07-03 Andreas Jaeger <aj@suse.de>
11017
11018 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11019 define.
11020 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11021 (ptrace_peeksiginfo_args): Add.
11022 (__ptrace_peeksiginfo_flags): Add.
11023 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11025 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11026
d2cc15cb
AM
110272013-07-03 Allan McRae <allan@archlinux.org>
11028
11029 * sysdeps/i386/fpu/libm-test-ulps: Update.
11030
3aaeeca7
DM
110312013-07-02 David S. Miller <davem@davemloft.net>
11032
11033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11034
5314ed1a
MT
110352013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11036
11037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11038
67338156
JM
110392013-07-02 Joseph Myers <joseph@codesourcery.com>
11040
11041 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11043
1717da59
AK
110442013-07-02 Andi Kleen <ak@linux.intel.com>
11045
11046 * config.h.in (ENABLE_LOCK_ELISION): Add.
11047 * configure.in (--enable-lock-elision): Add option.
11048 * manual/install.texi: Document --enable lock elision.
11049 * configure: Regenerate
11050 * INSTALL: Regenerate.
11051
1c81621c
L
110522013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11053
11054 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11055 SSE4.2 strcasecmp for libc.a.
11056 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11057
77f01ab5
JM
110582013-07-02 Joseph Myers <joseph@codesourcery.com>
11059
11060 [BZ #13304]
11061 * soft-fp/op-common.h (_FP_FMA): New macro.
11062 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11063 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11064 (_FP_MUL_MEAT_1_imm): ... here.
11065 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11066 (_FP_MUL_MEAT_1_wide): ... here.
11067 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11068 (_FP_MUL_MEAT_1_hard): ... here.
11069 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11070 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11071 (_FP_MUL_MEAT_2_wide): ... here.
11072 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11073 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11074 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11075 (_FP_MUL_MEAT_2_gmp): ... here.
11076 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11077 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11078 (_FP_MUL_MEAT_4_wide): ... here.
11079 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11080 (_FP_MUL_MEAT_4_gmp): ... here.
11081 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11082 (_FP_WFRACBITS_DW_S): Likewise.
11083 (_FP_WFRACXBITS_DW_S): Likewise.
11084 (_FP_HIGHBIT_DW_S): Likewise.
11085 (FP_FMA_S): Likewise.
11086 (_FP_FRAC_HIGH_DW_S): Likewise.
11087 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11088 (_FP_WFRACBITS_DW_D): Likewise.
11089 (_FP_WFRACXBITS_DW_D): Likewise.
11090 (_FP_HIGHBIT_DW_D): Likewise.
11091 (FP_FMA_D): Likewise.
11092 (_FP_FRAC_HIGH_DW_D): Likewise.
11093 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11094 (_FP_WFRACBITS_DW_E): Likewise.
11095 (_FP_WFRACXBITS_DW_E): Likewise.
11096 (_FP_HIGHBIT_DW_E): Likewise.
11097 (FP_FMA_E): Likewise.
11098 (_FP_FRAC_HIGH_DW_E): Likewise.
11099 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11100 (_FP_WFRACBITS_DW_Q): Likewise.
11101 (_FP_WFRACXBITS_DW_Q): Likewise.
11102 (_FP_HIGHBIT_DW_Q): Likewise.
11103 (FP_FMA_Q): Likewise.
11104 (_FP_FRAC_HIGH_DW_Q): Likewise.
11105 * soft-fp/fmasf4.c: New file.
11106 * soft-fp/fmadf4.c: Likewise.
11107 * soft-fp/fmatf4.c: Likewise.
11108
6308fd9a
LD
111092013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11110
11111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11112 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11113 Silvermont.
11114 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11115 macro.
11116 (index_Slow_SSE4_2): Likewise.
11117 (index_Prefer_PMINUB_for_stringop): Likewise.
11118 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11119 bit_Slow_SSE4_2 is set.
11120 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11121 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11122
89cd9569
RA
111232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11124
11125 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11126 rtld_global._dl_hwcap2.
11127 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11128 POWER8.
11129 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11130 POWER8 feature descriptions defined in _dl_hwcap2.
11131 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11132 string handling for POWER8 feature bits.
11133 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11134 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11135 _dl_powerpc_cap_flags.
11136 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11137 * sysdeps/powerpc/rtld-global-offsets.sym
11138 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11139 _dl_hwcap2 in the rtld_global_ro structure.
11140
1ae8bfe0
RA
111412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11142
11143 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11144 hardware capabilities in support of AT_HWCAP2.
11145 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11146 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11147 GLRO(dl_hwcap2).
11148 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11149 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11150 explicitly the unknown a_type display mechanism is used.
11151 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11152 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11153 struct member.
11154 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11155 to macro prototype for AT_HWCAP2 support.
11156 * sysdeps/i386/dl-procinfo.h: Likewise.
11157 * sysdeps/s390/dl-procinfo.h: Likewise.
11158 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11159 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11160 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11161 return -1 for unknown a_type display fallback.
11162 * sysdeps/sparc/dl-procinfo.h: Likewise.
11163 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11164 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11165
8fbec010
JM
111662013-06-28 Joseph Myers <joseph@codesourcery.com>
11167
11168 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11169 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11170
0432680e
PY
111712013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11172
11173 [BZ #12492]
11174 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11175 mprotect making __stack_prot writable.
11176
ce61a2ad
NF
111772013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11178 Joseph Myers <joseph@codesourcery.com>
11179
11180 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11181 as being properly aligned.
11182
f91f1c0f
MR
111832013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11184
3d0f5d0c
MR
11185 * dlfcn/modstatic5.c: New file.
11186 * dlfcn/tststatic5.c: New file.
11187 * dlfcn/Makefile (tests): Add tststatic5.
11188 (tests-static): Likewise.
11189 (modules-names): Add modstatic5.
11190 (tststatic5-ENV): New variable.
11191 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11192
f91f1c0f
MR
11193 [BZ #15022]
11194 * elf/dl-support.c (_dl_main_map): New variable.
11195 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11196 (_dl_nns, _dl_load_adds): Set to 1.
11197 (_dl_initial_searchlist): Refer to _dl_main_map.
11198 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11199 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11200 call to _dl_get_origin.
11201 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11202 around call_map.
11203 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11204 * dlfcn/modstatic3.c: New file.
11205 * dlfcn/tststatic3.c: New file.
11206 * dlfcn/tststatic4.c: New file.
11207 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11208 (tests-static): Likewise.
11209 (modules-names): Add modstatic3.
11210 (tststatic3-ENV, tststatic4-ENV): New variables.
11211 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11212 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11213
cbe7d24b
JM
112142013-06-26 Joseph Myers <joseph@codesourcery.com>
11215
11216 * configure.in (CC): Require GCC version 4.4 or later.
11217 * configure: Regenerated.
11218 * manual/install.texi (Tools for Compilation): Update GCC version
11219 requirement.
11220 * INSTALL: Regenerated.
11221
11b8a0e1
LD
112222013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11223
11224 [BZ #15674]
bb5bb87c
L
11225 * string/test-memcmp.c (check2): New.
11226 (main): Call check2.
11227
11b8a0e1
LD
11228 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11229
b0037103
MR
112302013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11231
11232 [BZ #15022]
11233 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11234 over to...
11235 (dl_open_worker) [!SHARED]: ... here.
11236
c18c701d
RA
112372013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11238
11239 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11240
1d17fa5f
RH
112412013-06-25 Richard Henderson <rth@redhat.com>
11242
11243 * locale/programs/locarchive.c: Include <libc-internal.h>
11244
8fcb833a
JM
112452013-06-25 Joseph Myers <joseph@codesourcery.com>
11246
11247 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11248 trailing whitespace removed.
11249
17db6e8d
MF
112502013-06-24 Mike Frysinger <vapier@gentoo.org>
11251
11252 [BZ #10283]
17db6e8d
MF
11253 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11254 * locale/programs/locarchive.c: Include libc-mmap.h.
11255 (prepare_address_space): Take two new outputs (the mmap base and len).
11256 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11257 values.
11258 (create_archive): Declare new mmap base and len values for
11259 prepare_address_space, and store the result in ah.
11260 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11261 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11262 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11263 Declare new mmap base and len values for
11264 prepare_address_space, and store the result in new_ah.
11265 (open_archive): Declare new mmap base and len values for
11266 prepare_address_space, and store the result in ah.
11267 (close_archive): If ah->mmap_base is not NULL, use that and
11268 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11269 * sysdeps/generic/libc-mmap.h: New file.
11270
d605071e
MF
112712013-06-24 Mike Frysinger <vapier@gentoo.org>
11272
11273 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11274 (ALIGN_UP): Likewise.
11275 (PTR_ALIGN_DOWN): Likewise.
11276 (PTR_ALIGN_UP): Likewise.
11277
2f063a6e
RA
112782013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11279
11280 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11281 entry mapped to PPC_PLATFORM_POWER8.
11282 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11283 POWER8.
11284 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11285 (_dl_string_platform): Add case for exporting platform position for
11286 POWER8.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11288 search path to sysdeps/powerpc/powerpc32/power8 directory.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11290 search path to sysdeps/powerpc/powerpc64/power8 directory.
11291 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11292 power7 directories.
11293 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11294 power7 directories.
11295
a31ee4b3
SP
112962013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11297
a74ca98f
SP
11298 * INSTALL: Regenerate.
11299
a31ee4b3
SP
11300 * nscd/connections.c (nscd_init): Fix comment.
11301
695c378f
JM
113022013-06-22 Joseph Myers <joseph@codesourcery.com>
11303
d8412221
JM
11304 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11305
695c378f
JM
11306 [BZ #15667]
11307 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11308 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11309
d1d54715
MR
113102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11311
11312 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11313 DL_DST_REQ_STATIC.
11314 (DL_DST_REQ_STATIC): Remove macro.
11315
8fdda7af
JM
113162013-06-21 Joseph Myers <joseph@codesourcery.com>
11317
11318 [BZ #7006]
11319 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11320 with a shift of 0 bits.
11321
f3bc5e5a
MR
113222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11323
11324 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11325 $(tststatic-ENV).
11326
be09e8c9
KK
113272013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11328
11329 [BZ #15655]
11330 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11331
85c2e611
AZ
113322013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11333
11334 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11335 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11336 accepts -fno-tree-loop-distribute-patterns.
11337 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11338 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11339 recursive call.
11340 * string/memset.c (memset): Likewise.
11341 * string/test-memmove.c (simple_memmove): Disable loop transformation
11342 to library calls.
11343 * string/test-memset.c (simple_memset): Likewise.
11344 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11345 * benchtests/bench-memset.c (simple_memset): Likewise.
11346 * configure: Regenerated.
11347
c91e0825
JM
113482013-06-20 Joseph Myers <joseph@codesourcery.com>
11349
b8c792af
JM
11350 * math/test-misc.c (main): Ignore fesetround failure when failures
11351 of subsequent rounding tests would be ignored.
11352
c91e0825
JM
11353 [BZ #15654]
11354 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11355 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11356 * math/fegetenv.c (__fegetenv): Return 0.
11357 * math/fegetexcept.c (fegetexcept): Return 0.
11358 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11359 FE_TONEAREST.
11360 * math/feholdexcpt.c (feholdexcept): Return 0.
11361 * math/fesetenv.c (__fesetenv): Return 0.
11362 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11363 argument FE_TONEAREST.
11364 * math/feupdateenv.c (__feupdateenv): Return 0.
11365 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11366
bfcacbde
RM
113672013-06-18 Roland McGrath <roland@hack.frob.com>
11368
11369 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11370 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11371 ($(objpfx)rtld-%.os rules): Use them.
11372
e55a9b25
AZ
113732013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11374
11375 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11376 fields.
11377
346d65b3
RM
113782013-06-17 Roland McGrath <roland@hack.frob.com>
11379
12086fb4
RM
11380 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11381 length of target pattern, then descending length of dependency pattern.
11382 * configure.in (AWK): Require gawk 3.1.2 or newer.
11383 * manual/install.texi (Tools for Compilation): Say that we do.
11384 * configure: Regenerated.
11385
346d65b3
RM
11386 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11387 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11388 * scripts/sysd-rules.awk: ... this new script.
11389 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11390 than a glob-style pattern.
11391
1a846317
JM
113922013-06-17 Joseph Myers <joseph@codesourcery.com>
11393
11394 * math/test-misc.c (main): Do not treat incorrectly rounded
11395 conversions as failure unless ROUNDING_TESTS passes.
11396
8fc75e6f
JM
113972013-06-15 Joseph Myers <joseph@codesourcery.com>
11398
3711a167
JM
11399 [BZ #15631]
11400 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11401 restore exception state around main square root computation, then
11402 check for inexactness explicitly.
11403
8fc75e6f
JM
11404 * math/libm-test.inc (fma_test_data): Add another test.
11405
61dd6208
SP
114062013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11407
adf23d2c
SP
11408 * manual/threads.texi (Non-POSIX Extensions): New document
11409 node. Document pthread_getattr_default_np and
11410 pthread_setattr_default_np.
11411
61dd6208
SP
11412 * Versions.def (libpthread): Add GLIBC_2.18.
11413 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11415 Likewise.
11416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11417 Likewise.
11418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11419 Likewise.
11420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11421 Likewise.
11422 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11423 Likewise.
11424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11425 Likewise.
11426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11427 Likewise.
11428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11429 Likewise.
11430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11431 Likewise.
11432
d086fc7b
LD
114332013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11434
11435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11436 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11437
747ef469
SP
114382013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11439 H.J. Lu <hjl.tools@gmail.com>
11440
11441 [BZ #15627]
11442 * sysdeps/x86_64/rtld-memset.c: Remove file.
11443 * sysdeps/x86_64/rtld-memset.S: New file.
11444
1b2feed2
JM
114452013-06-14 Joseph Myers <joseph@codesourcery.com>
11446
11447 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11448 (test_in_one_mode): Take arguments for whether the rounding mode
11449 is supported for each floating-point type.
11450 (do_test): Pass new arguments to test_in_one_mode using
11451 ROUNDING_TESTS.
11452
a58ad3f8
RM
114532013-06-13 Roland McGrath <roland@hack.frob.com>
11454
11455 * posix/tst-waitid.c (do_test): Distinguish different instances of
11456 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11457 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11458 before entering the kernel for waitpid.
11459
c204ab28
SP
114602013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11461
11462 * NEWS: Fix note on clock function precision. Text by Roland
11463 McGrath.
11464
f4a29fba
RM
114652013-06-13 Roland McGrath <roland@hack.frob.com>
11466
11467 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11468 it into place only when and if the sanity check passes.
11469
1f24b9ad
JM
114702013-06-13 Joseph Myers <joseph@codesourcery.com>
11471
11472 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11473 output for whether conversion result is exact. Take argument
11474 indicating whether type is IBM long double.
11475 (round_for_all): Change need_exact field to ibm_ld.
11476 * stdlib/tst-strtod-round.c (struct exactness): New type.
11477 (struct test): Change bool ld_ok field to struct exactness exact.
11478 (TEST): Update all definitions for change to field.
11479 (tests): Regenerate array contents.
11480 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11481 field value. Check for IBM long double here.
11482 (do_test): Update calls to test_in_one_mode.
11483
58206c68
SP
114842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11485
11486 [BZ #12515]
11487 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11488 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11489
2d6f4c5b 114902013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11491
11492 [BZ #15605]
11493 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11494 generated by the compiler on loop optimizations.
11495 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11496 general definitions.
11497
94f2c076
JM
114982013-06-12 Joseph Myers <joseph@codesourcery.com>
11499
11500 * math/bug-nextafter.c: Include <math-tests.h>.
11501 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11502 the relevant type.
11503 * math/bug-nexttoward.c: Include <math-tests.h>.
11504 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11505 the relevant type.
11506 * math/test-misc.c: Include <math-tests.h>.
11507 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11508 the relevant type.
11509
e0e50a0a
AJ
115102013-06-12 Andreas Jaeger <aj@suse.de>
11511
11512 * po/ia.po: Update Interlingua translation from translation
11513 project.
11514
25061094
SP
115152013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11516
11517 * include/fenv.h: Include stdbool.h.
11518 (struct rm_ctx): New structure.
11519 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11520 Define macro.
11521 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11522 (SET_RESTORE_ROUNDF): Likewise.
11523 (SET_RESTORE_ROUNDL): Likewise.
11524 (SET_RESTORE_ROUND_NOEX): Likewise.
11525 (SET_RESTORE_ROUND_NOEXF): Likewise.
11526 (SET_RESTORE_ROUND_NOEXL): Likewise.
11527 (SET_RESTORE_ROUND_53BIT): Likewise.
11528 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11529 (libc_feresetround_noexf_ctx): Likewise.
11530 (libc_feresetround_noexl_ctx): Likewise.
11531 (libc_feholdsetround_53bit_ctx): Likewise.
11532 (libc_feresetround_53bit_ctx): Likewise.
11533 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11534 (libc_feholdexcept_setround_sse_ctx): New function.
11535 (libc_fesetenv_sse_ctx): Likewise.
11536 (libc_feupdateenv_sse_ctx): Likewise.
11537 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11538 (libc_feholdexcept_setround_387_ctx): Likewise.
11539 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11540 (libc_feholdsetround_387_prec_ctx): Likewise.
11541 (libc_feholdsetround_387_ctx): Likewise.
11542 (libc_feholdsetround_387_53bit_ctx): Likewise.
11543 (libc_feholdsetround_sse_ctx): Likewise.
11544 (libc_feresetround_sse_ctx): Likewise.
11545 (libc_feresetround_387_ctx): Likewise.
11546 (libc_feupdateenv_387_ctx): Likewise.
11547 (libc_feholdexcept_setroundf_ctx): Define macro.
11548 (libc_fesetenvf_ctx): Likewise.
11549 (libc_feupdateenvf_ctx): Likewise.
11550 (libc_feholdsetroundf_ctx): Likewise.
11551 (libc_feresetroundf_ctx): Likewise.
11552 (libc_feholdexcept_setround_ctx): Likewise.
11553 (libc_fesetenv_ctx): Likewise.
11554 (libc_feupdateenv_ctx): Likewise.
11555 (libc_feholdsetround_ctx): Likewise.
11556 (libc_feresetround_ctx): Likewise.
11557 (libc_feholdexcept_setroundl_ctx): Likewise.
11558 (libc_feupdateenvl_ctx): Likewise.
11559 (libc_feholdsetroundl_ctx): Likewise.
11560 (libc_feresetroundl_ctx): Likewise.
11561 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11562 (libc_feresetround_53bit_ctx): Likewise.
11563
59b30555
SP
115642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11565
11566 * locale/iso-639.def: Convert to UTF-8.
11567
f1d73d30
JM
115682013-06-11 Joseph Myers <joseph@codesourcery.com>
11569
11570 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11571 (EXCEPTION_TESTS_double): Likewise.
11572 (EXCEPTION_TESTS_long_double): Likewise.
11573 (EXCEPTION_TESTS): Likewise.
11574 * math/libm-test.inc (test_exceptions): Only test exceptions if
11575 EXCEPTION_TESTS (FLOAT).
11576
94aca5e7
SP
115772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11578
11579 * benchtests/Makefile (string-bench): Add strcpy_chk and
11580 stpcpy_chk.
11581 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11582 * benchtests/bench-stpcpy_chk.c: New file.
11583 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11584 * benchtests/bench-strcpy_chk.c: New file.
11585 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11586 code.
11587 (do_test): Likewise.
11588
fac0c5f2
RA
115892013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11590
11591 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11592 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11593 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11594 with tabs where appropriate.
11595 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11596 dl-procinfo.h.
11597 [PPC_PLATFORM_PPC440]: Likewise.
11598 [PPC_PLATFORM_PPC464]: Likewise.
11599 [PPC_PLATFORM_PPC476]: Likewise.
11600 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11601 ppc464, and ppc476 platform strings merging from ports/
11602 dl-procinfo.h.
11603
f22bc486
AS
116042013-06-11 Andreas Schwab <schwab@suse.de>
11605
11606 [BZ #14991]
11607 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11608 (from_ucs4_idx): Regenerate.
11609 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11610 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11611 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11612 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11613 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11614 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11615 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11616 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11617 from FROM_LOOP and TO_LOOP specific macros.
11618 (BODY): Handle combining characters.
11619 * iconvdata/BIG5HKSCS.irreversible: Update.
11620 * iconvdata/BIG5HKSCS.precomposed: New file.
11621 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11622 characters.
11623 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11624
c1f75dc3
SP
116252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11626
4eacded2
SP
11627 * include/sys/time.h: Fix indentation and add copyright header.
11628
fec799f8
SP
11629 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11630 (do_test): Likewise.
11631 * string/test-memchr.c (do_one_test): Likewise.
11632 (do_test): Likewise.
11633 * string/test-memcmp.c (do_one_test): Likewise.
11634 (do_test): Likewise.
11635 * string/test-memcpy.c (do_one_test): Likewise.
11636 (do_test): Likewise.
11637 * string/test-memmem.c (do_one_test): Likewise.
11638 (do_test): Likewise.
11639 (do_random_tests): Likewise.
11640 * string/test-memmove.c (do_one_test): Likewise.
11641 (do_test): Likewise.
11642 * string/test-memset.c (do_one_test): Likewise.
11643 (do_test): Likewise.
11644 * string/test-rawmemchr.c (do_one_test): Likewise.
11645 (do_test): Likewise.
11646 * string/test-strcasecmp.c (do_one_test): Likewise.
11647 (do_test): Likewise.
11648 * string/test-strcasestr.c (do_one_test): Likewise.
11649 (do_test): Likewise.
11650 * string/test-strcat.c (do_one_test): Likewise.
11651 (do_test): Likewise.
11652 * string/test-strchr.c (do_one_test): Likewise.
11653 (do_test): Likewise.
11654 * string/test-strcmp.c (do_one_test): Likewise.
11655 (do_test): Likewise.
11656 * string/test-strcpy.c (do_one_test): Likewise.
11657 (do_test): Likewise.
11658 * string/test-string.h: Likewise.
11659 (test_init): Likewise.
11660 * string/test-strlen.c (do_one_test): Likewise.
11661 (do_test): Likewise.
11662 * string/test-strncasecmp.c (do_one_test): Likewise.
11663 (do_test): Likewise.
11664 * string/test-strncat.c (do_one_test): Likewise.
11665 (do_test): Likewise.
11666 * string/test-strncmp.c (do_one_test): Likewise.
11667 (do_test_limit): Likewise.
11668 (do_test): Likewise.
11669 * string/test-strncpy.c (do_one_test): Likewise.
11670 (do_test): Likewise.
11671 * string/test-strnlen.c (do_one_test): Likewise.
11672 (do_test): Likewise.
11673 * string/test-strpbrk.c (do_one_test): Likewise.
11674 (do_test): Likewise.
11675 * string/test-strrchr.c (do_one_test): Likewise.
11676 (do_test): Likewise.
11677 * string/test-strspn.c (do_one_test): Likewise.
11678 (do_test): Likewise.
11679 * string/test-strstr.c (do_one_test): Likewise.
11680 (do_test): Likewise.
11681
97020474
SP
11682 * benchtests/Makefile (string-bench): Add string benchmarks.
11683 * benchtests/bench-bcopy-ifunc.c: New file.
11684 * benchtests/bench-bcopy.c: New file.
11685 * benchtests/bench-bzero-ifunc.c: New file.
11686 * benchtests/bench-bzero.c: New file.
11687 * benchtests/bench-memccpy-ifunc.c: New file.
11688 * benchtests/bench-memccpy.c: New file.
11689 * benchtests/bench-memchr-ifunc.c: New file.
11690 * benchtests/bench-memchr.c: New file.
11691 * benchtests/bench-memcmp-ifunc.c: New file.
11692 * benchtests/bench-memcmp.c: New file.
11693 * benchtests/bench-memmem-ifunc.c: New file.
11694 * benchtests/bench-memmem.c: New file.
11695 * benchtests/bench-memmove-ifunc.c: New file.
11696 * benchtests/bench-memmove.c: New file.
11697 * benchtests/bench-mempcpy-ifunc.c: New file.
11698 * benchtests/bench-mempcpy.c: New file.
11699 * benchtests/bench-memset-ifunc.c: New file.
11700 * benchtests/bench-memset.c: New file.
11701 * benchtests/bench-rawmemchr-ifunc.c: New file.
11702 * benchtests/bench-rawmemchr.c: New file.
11703 * benchtests/bench-stpcpy-ifunc.c: New file.
11704 * benchtests/bench-stpcpy.c: New file.
11705 * benchtests/bench-stpncpy-ifunc.c: New file.
11706 * benchtests/bench-stpncpy.c: New file.
11707 * benchtests/bench-strcasecmp-ifunc.c: New file.
11708 * benchtests/bench-strcasecmp.c: New file.
11709 * benchtests/bench-strcasestr-ifunc.c: New file.
11710 * benchtests/bench-strcasestr.c: New file.
11711 * benchtests/bench-strcat-ifunc.c: New file.
11712 * benchtests/bench-strcat.c: New file.
11713 * benchtests/bench-strchr-ifunc.c: New file.
11714 * benchtests/bench-strchr.c: New file.
11715 * benchtests/bench-strchrnul-ifunc.c: New file.
11716 * benchtests/bench-strchrnul.c: New file.
11717 * benchtests/bench-strcmp-ifunc.c: New file.
11718 * benchtests/bench-strcmp.c: New file.
11719 * benchtests/bench-strcpy-ifunc.c: New file.
11720 * benchtests/bench-strcpy.c: New file.
11721 * benchtests/bench-strcspn-ifunc.c: New file.
11722 * benchtests/bench-strcspn.c: New file.
11723 * benchtests/bench-strlen-ifunc.c: New file.
11724 * benchtests/bench-strlen.c: New file.
11725 * benchtests/bench-strncasecmp-ifunc.c: New file.
11726 * benchtests/bench-strncasecmp.c: New file.
11727 * benchtests/bench-strncat-ifunc.c: New file.
11728 * benchtests/bench-strncat.c: New file.
11729 * benchtests/bench-strncmp-ifunc.c: New file.
11730 * benchtests/bench-strncmp.c: New file.
11731 * benchtests/bench-strncpy-ifunc.c: New file.
11732 * benchtests/bench-strncpy.c: New file.
11733 * benchtests/bench-strnlen-ifunc.c: New file.
11734 * benchtests/bench-strnlen.c: New file.
11735 * benchtests/bench-strpbrk-ifunc.c: New file.
11736 * benchtests/bench-strpbrk.c: New file.
11737 * benchtests/bench-strrchr-ifunc.c: New file.
11738 * benchtests/bench-strrchr.c: New file.
11739 * benchtests/bench-strspn-ifunc.c: New file.
11740 * benchtests/bench-strspn.c: New file.
11741 * benchtests/bench-strstr-ifunc.c: New file.
11742 * benchtests/bench-strstr.c: New file.
11743
c1f75dc3
SP
11744 * benchtests/Makefile: Disable parallel execution of targets.
11745 (string-bench): Add memcpy.
11746 (benchset): New variable to store a list of benchmark sets.
11747 (bench-func): Renamed from bench.
11748 (bench-set): New target.
11749 (bench): Depend on bench-func and bench-set.
11750 * benchtests/README: Add section on benchmark sets.
11751 * benchtests/bench-memcpy-ifunc.c: New file.
11752 * benchtests/bench-memcpy.c: New file.
11753 * benchtests/bench-string.h: New file.
11754
50fd745b
AS
117552013-06-11 Andreas Schwab <schwab@suse.de>
11756
11757 [BZ #15577]
11758 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11759 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11760 values in the triple.
11761 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11762 terminator in the group key.
11763
3ee7e9fe
AJ
117642013-06-11 Andreas Jaeger <aj@suse.de>
11765
11766 * po/zh_TW.po: Update Chinese (traditional) translation from
11767 translation project.
11768
89fb6835
SP
117692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11770
11771 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11772 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11773 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11774 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11775 (clock_getcpuclockid): Likewise.
11776 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11777 Add weak_alias and libc_hidden_def.
11778 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11779 * rt/clock_gettime.c (clock_gettime): Rename to
11780 __clock_gettime. Add weak_alias and libc_hidden_def.
11781 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11782 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11783 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11784 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11785 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11786 Likewise.
11787 * rt/clock_settime.c (clock_settime): Rename to
11788 __clock_settime. Add weak_alias and libc_hidden_def.
11789 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11790
0efa6f8b
JM
117912013-06-10 Joseph Myers <joseph@codesourcery.com>
11792
b8c61b4b
JM
11793 * mach/err_boot.sub: Remove trailing whitespace.
11794 * mach/err_ipc.sub: Likewise.
11795 * mach/err_mach.sub: Likewise.
11796
0efa6f8b
JM
11797 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11798 (ROUNDING_TESTS_double): Likewise.
11799 (ROUNDING_TESTS_long_double): Likewise.
11800 (ROUNDING_TESTS): Likewise.
11801 * math/libm-test.inc: Include <math-tests.h>.
11802 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11803 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11804 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11805 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11806
50b818bf
SP
118072013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11808
11809 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11810 of assigning.
11811
60d2f8f3
JM
118122013-06-08 Joseph Myers <joseph@codesourcery.com>
11813
4902d2c3
JM
11814 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11815 otherwise empty TRANS lines.
11816 * sysdeps/gnu/errlist.c: Regenerated.
11817
60d2f8f3
JM
11818 * catgets/gencat.c (error_print): Use (void) in function
11819 definition.
11820 * crypt/crypt_util.c (__init_des): Likewise.
11821 * crypt/speeds.c (Stop): Likewise.
11822 (main): Likewise.
11823 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11824 * inet/ruserpass.c (token): Likewise.
11825 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11826 * intl/localealias.c (extend_alias_table): Likewise.
11827 * intl/plural-exp.c (init_germanic_plural): Likewise.
11828 * libio/fcloseall.c (__fcloseall): Likewise.
11829 * libio/genops.c (_IO_flush_all): Likewise.
11830 (_IO_flush_all_linebuffered): Likewise.
11831 (_IO_cleanup): Likewise.
11832 (_IO_iter_begin): Likewise.
11833 (_IO_iter_end): Likewise.
11834 (_IO_list_lock): Likewise.
11835 (_IO_list_unlock): Likewise.
11836 (_IO_list_resetlock): Likewise.
11837 * libio/getchar.c (getchar): Likewise.
11838 * libio/getchar_u.c (getchar_unlocked): Likewise.
11839 * libio/getwchar.c (getwchar): Likewise.
11840 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11841 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11842 * login/getpt.c (__getpt): Likewise.
11843 * login/tst-utmp.c (main): Likewise.
11844 * malloc/hooks.c (__malloc_check_init): Likewise.
11845 * malloc/malloc.c (__malloc_stats): Likewise.
11846 * malloc/mtrace.c (tr_break): Likewise.
11847 (mtrace): Likewise.
11848 (muntrace): Likewise.
11849 * misc/fstab.c (endfsent): Likewise.
11850 * misc/getclktck.c (__getclktck): Likewise.
11851 * misc/getdtsz.c (__getdtablesize): Likewise.
11852 * misc/gethostid.c (gethostid): Likewise.
11853 * misc/getpagesize.c (__getpagesize): Likewise.
11854 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11855 (__get_nprocs): Likewise.
11856 (__get_phys_pages): Likewise.
11857 (__get_avphys_pages): Likewise.
11858 * misc/getttyent.c (getttyent): Likewise.
11859 (setttyent): Likewise.
11860 (endttyent): Likewise.
11861 * misc/getusershell.c (getusershell): Likewise.
11862 (endusershell): Likewise.
11863 (setusershell): Likewise.
11864 (initshells): Likewise.
11865 * misc/hsearch.c (__hdestroy): Likewise.
11866 * misc/sync.c (sync): Likewise.
11867 * misc/syslog.c (closelog_internal): Likewise.
11868 (closelog): Likewise.
11869 * misc/ttyslot.c (ttyslot): Likewise.
11870 * misc/vhangup.c (vhangup): Likewise.
11871 * posix/fork.c (__fork): Likewise.
11872 * posix/getegid.c (__getegid): Likewise.
11873 * posix/geteuid.c (__geteuid): Likewise.
11874 * posix/getgid.c (__getgid): Likewise.
11875 * posix/getpid.c (__getpid): Likewise.
11876 * posix/getppid.c (__getppid): Likewise.
11877 * posix/getuid.c (__getuid): Likewise.
11878 * posix/pause.c (pause): Likewise.
11879 * posix/setpgrp.c (setpgrp): Likewise.
11880 * posix/setsid.c (__setsid): Likewise.
11881 * posix/test-vfork.c (noop): Likewise.
11882 * resolv/gethnamaddr.c (_endhtent): Likewise.
11883 (_gethtent): Likewise.
11884 (ht_endhostent): Likewise.
11885 (gethostent): Likewise.
11886 (dns_service): Likewise.
11887 * stdlib/drand48.c (drand48): Likewise.
11888 * stdlib/lrand48.c (lrand48): Likewise.
11889 * stdlib/mrand48.c (mrand48): Likewise.
11890 * stdlib/rand.c (rand): Likewise.
11891 * stdlib/random.c (__random): Likewise.
11892 * stdlib/setenv.c (clearenv): Likewise.
11893 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11894 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11895 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11896 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11897 (__get_nprocs): Likewise.
11898 (__get_phys_pages): Likewise.
11899 (__get_avphys_pages): Likewise.
11900 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11901 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11902 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11903 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11904 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11905 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11906 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11907 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11908 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11909 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11910 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11911 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11912 * sysdeps/posix/clock.c (clock): Likewise.
11913 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11914 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11915 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11916 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11917 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11918 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11919 (__get_nprocs_conf): Likewise.
11920 (__get_phys_pages): Likewise.
11921 (__get_avphys_pages): Likewise.
11922 * time/clock.c (clock): Likewise.
11923 * time/tzset.c (__tzname_max): Likewise.
11924
2e09a79a
JM
119252013-06-07 Joseph Myers <joseph@codesourcery.com>
11926
11927 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11928 (__bswap_32): Do not use "register".
11929 * crypt/crypt.c (_ufc_doit_r): Likewise.
11930 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11931 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11932 * gmon/gmon.c (__monstartup): Likewise.
11933 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11934 * hurd/hurdmalloc.c (more_memory): Likewise.
11935 (malloc): Likewise.
11936 (free): Likewise.
11937 (realloc): Likewise.
11938 (malloc_fork_prepare): Likewise.
11939 (malloc_fork_parent): Likewise.
11940 (malloc_fork_child): Likewise.
11941 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11942 (_svcauth_des): Likewise.
11943 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11944 * inet/inet_net.c (inet_network): Likewise.
11945 * inet/inet_netof.c (inet_netof): Likewise.
11946 * inet/rcmd.c (__validuser2_sa): Likewise.
11947 * io/fts.c (fts_open): Likewise.
11948 (fts_load): Likewise.
11949 (fts_close): Likewise.
11950 (fts_read): Likewise.
11951 (fts_children): Likewise.
11952 (fts_build): Likewise.
11953 (fts_stat): Likewise.
11954 (fts_sort): Likewise.
11955 (fts_alloc): Likewise.
11956 (fts_lfree): Likewise.
11957 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11958 (_IO_file_xsgetn): Likewise.
11959 (_IO_file_xsgetn_mmap): Likewise.
11960 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11961 (_IO_cookie_write): Likewise.
11962 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11963 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11964 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11965 * malloc/obstack.c (_obstack_begin): Likewise.
11966 (_obstack_begin_1): Likewise.
11967 (_obstack_newchunk): Likewise.
11968 (_obstack_allocated_p): Likewise.
11969 (obstack_free): Likewise.
11970 (_obstack_memory_used): Likewise.
11971 * misc/getttyent.c (getttynam): Likewise.
11972 (getttyent): Likewise.
11973 (skip): Likewise.
11974 (value): Likewise.
11975 * misc/getusershell.c (initshells): Likewise.
11976 * misc/syslog.c (__vsyslog_chk): Likewise.
11977 * misc/ttyslot.c (ttyslot): Likewise.
11978 * nis/nis_hash.c (__nis_hash): Likewise.
11979 * posix/fnmatch_loop.c (FCT): Likewise.
11980 * posix/getconf.c (print_all): Likewise.
11981 (main): Likewise.
11982 * posix/getopt.c (exchange): Likewise.
11983 * posix/glob.c (globfree): Likewise.
11984 (prefix_array): Likewise.
11985 (__glob_pattern_type): Likewise.
11986 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11987 (NS_GET32): Likewise.
11988 (NS_PUT16): Likewise.
11989 (NS_PUT32): Likewise.
11990 * resolv/gethnamaddr.c (getanswer): Likewise.
11991 (gethostbyname2): Likewise.
11992 (gethostbyaddr): Likewise.
11993 (_gethtent): Likewise.
11994 (_gethtbyname2): Likewise.
11995 (_gethtbyaddr): Likewise.
11996 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11997 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11998 * resolv/res_init.c (__res_vinit): Likewise.
11999 (net_mask): Likewise.
12000 * resolv/res_mkquery.c (outchar): Likewise.
12001 (PRINT): Likewise.
12002 * stdio-common/printf_fp.c (outchar): Likewise.
12003 (PRINT): Likewise.
12004 * stdio-common/printf_fphex.c (outchar): Likewise.
12005 (PRINT): Likewise.
12006 * stdio-common/printf_size.c (outchar): Likewise.
12007 (PRINT): Likewise.
12008 * stdio-common/test_rdwr.c (main): Likewise.
12009 * stdio-common/tfformat.c (matches): Likewise.
12010 * stdio-common/vfprintf.c (outchar): Likewise.
12011 (printf_unknown): Likewise.
12012 (buffered_vfprintf): Likewise.
12013 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12014 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12015 (ReadFile): Likewise.
12016 * stdlib/qsort.c (SWAP): Likewise.
12017 (_quicksort): Likewise.
12018 * stdlib/setenv.c (__add_to_environ): Likewise.
12019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12020 * stdlib/strtol_l.c (__strtol_l): Likewise.
12021 * stdlib/tst-strtod.c (main): Likewise.
12022 * stdlib/tst-strtol.c (main): Likewise.
12023 * stdlib/tst-strtoll.c (main): Likewise.
12024 * string/bits/string2.h (__strcmp_cc): Likewise.
12025 (__strcmp_cg): Likewise.
12026 (__strcspn_c1): Likewise.
12027 (__strcspn_c2): Likewise.
12028 (__strcspn_c3): Likewise.
12029 (__strspn_c1): Likewise.
12030 (__strspn_c2): Likewise.
12031 (__strspn_c3): Likewise.
12032 (__strsep_1c): Likewise.
12033 (__strsep_2c): Likewise.
12034 (__strsep_3c): Likewise.
12035 * string/memccpy.c (__memccpy): Likewise.
12036 * string/stpcpy.c (__stpcpy): Likewise.
12037 * string/strcmp.c (strcmp): Likewise.
12038 * string/strrchr.c (strrchr): Likewise.
12039 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12040 Likewise.
12041 * sysdeps/mach/hurd/getcwd.c
12042 (_hurd_canonicalize_directory_name_internal): Likewise.
12043 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12044 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12045 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12046 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12047 Likewise, in both definitions.
12048 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12049 definitions.
12050 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12051 64] (__bswap_64): Likewise.
12052 * time/test_time.c (main): Likewise.
12053 * time/tzfile.c (__tzfile_read): Likewise.
12054 (__tzfile_compute): Likewise.
12055 * time/tzset.c (__tzset_parse_tz): Likewise.
12056 (tzset_internal): Likewise.
12057 (compute_change): Likewise.
12058 * wcsmbs/wcscat.c (__wcscat): Likewise.
12059 * wcsmbs/wcschr.c (wcschr): Likewise.
12060 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12061 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12062 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12063 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12064 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12065 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12066 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12067 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12068 * wcsmbs/wmemset.c (wmemset): Likewise.
12069
9e54314b
JM
120702013-06-06 Joseph Myers <joseph@codesourcery.com>
12071
12072 * scripts/config.guess: Update to version 2013-05-16.
12073 * scripts/config.sub: Update to version 2013-04-24.
12074 * scripts/install-sh: Update to version 2011-11-20.07.
12075 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12076 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12077
350635a5
OB
120782013-06-06 Ondřej Bílka <neleai@seznam.cz>
12079
12080 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12081 * elf/sln.c: Likewise.
12082 * hurd/hurd/ioctl.h: Likewise.
12083 * hurd/hurdmalloc.c: Likewise.
12084 * hurd/xattr.c: Likewise.
12085 * include/shlib-compat.h: Likewise.
12086 * inet/ruserpass.c: Likewise.
12087 * libio/iofgets_u.c: Likewise.
12088 * libio/iofgetws_u.c: Likewise.
12089 * locale/programs/ld-identification.c: Likewise.
12090 * locale/programs/ld-time.c: Likewise.
12091 * mach/msg-destroy.c: Likewise.
12092 * nss/nss_files/files-netgrp.c: Likewise.
12093 * resolv/res_data.c: Likewise.
12094 * soft-fp/op-1.h: Likewise.
12095 * soft-fp/op-2.h: Likewise.
12096 * soft-fp/op-4.h: Likewise.
12097 * soft-fp/op-common.h: Likewise.
12098 * stdio-common/printf_fphex.c: Likewise.
12099 * stdlib/strtod_l.c: Likewise.
12100 * sunrpc/rpc/clnt.h: Likewise.
12101 * sysdeps/generic/framestate.c: Likewise.
12102 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12103 * sysdeps/i386/bsd-setjmp.S: Likewise.
12104 * sysdeps/i386/__longjmp.S: Likewise.
12105 * sysdeps/i386/setjmp.S: Likewise.
12106 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12107 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12108 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12109 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12110 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12115 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12116 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12118 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12119 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12122 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12123 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12124 * sysdeps/ieee754/support.c: Likewise.
12125 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12126 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12127 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12128 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12129 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12130 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12131 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12132 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12133 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12134 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12135 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12136 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12137 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12138 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12139 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12140 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12141 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12143
44a988af
OB
121442013-06-05 Ondřej Bílka <neleai@seznam.cz>
12145
25506f09 12146 * posix/transbug.c: Remove executable mode.
44a988af 12147
9c84384c
JM
121482013-06-05 Joseph Myers <joseph@codesourcery.com>
12149
12150 * crypt/speeds.c: Remove trailing whitespace.
12151 * dlfcn/default.c: Likewise.
12152 * elf/ifuncdep2.c: Likewise.
12153 * elf/ifuncmain1.c: Likewise.
12154 * elf/ifuncmain1vis.c: Likewise.
12155 * elf/testobj.h: Likewise.
12156 * elf/tst-stackguard1.c: Likewise.
12157 * gmon/sys/gmon.h: Likewise.
12158 * hurd/hurdmsg.c: Likewise.
12159 * hurd/new-fd.c: Likewise.
12160 * hurd/ports-get.c: Likewise.
12161 * iconvdata/ibm1008_420.c: Likewise.
12162 * inet/tst-getni1.c: Likewise.
12163 * inet/tst-getni2.c: Likewise.
12164 * libio/ioungetc.c: Likewise.
12165 * libio/wfiledoalloc.c: Likewise.
12166 * manual/libm-err-tab.pl: Likewise.
12167 * math/w_dremf.c: Likewise.
12168 * misc/ftruncate.c: Likewise.
12169 * posix/bug-glob2.c: Likewise.
12170 * posix/tst-pcre.c: Likewise.
12171 * posix/wait4.c: Likewise.
12172 * resolv/README: Likewise.
12173 * resolv/res_debug.h: Likewise.
12174 * resolv/tst-inet_ntop.c: Likewise.
12175 * setjmp/bug269-setjmp.c: Likewise.
12176 * soft-fp/extended.h: Likewise.
12177 * soft-fp/op-1.h: Likewise.
12178 * soft-fp/op-2.h: Likewise.
12179 * soft-fp/op-4.h: Likewise.
12180 * soft-fp/op-8.h: Likewise.
12181 * soft-fp/testit.c: Likewise.
12182 * stdio-common/bug16.c: Likewise.
12183 * stdlib/random.c: Likewise.
12184 * sunrpc/rpcsvc/rquota.x: Likewise.
12185 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12186 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12187 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12188 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12189 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12190 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12191 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12192 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12193 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12194 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12195 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12205 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12212 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12214 * sysdeps/ieee754/s_lib_version.c: Likewise.
12215 * sysdeps/mach/hurd/check_fds.c: Likewise.
12216 * sysdeps/mach/hurd/getsockname.c: Likewise.
12217 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12218 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12219 * sysdeps/powerpc/bits/link.h: Likewise.
12220 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12221 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12222 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12223 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12224 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12225 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12226 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12227 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12228 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12229 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12230 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12231 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12232 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12233 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12234 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12235 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12236 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12237 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12238 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12239 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12240 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12241 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12242 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12243 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12244 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12245 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12246 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12247 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12248 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12249 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12250 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12251 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12252 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12253 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12254 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12255 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12256 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12257 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12258 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12259 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12260 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12261 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12262 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12263 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12264 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12265 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12266 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12267 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12268 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12269 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12270 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12271 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12272 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12273 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12274 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12275 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12276 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12278 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12279 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12280 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12281 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12282 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12283 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12284 * sysdeps/powerpc/sysdep.h: Likewise.
12285 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12286 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12287 * sysdeps/sh/dl-trampoline.S: Likewise.
12288 * sysdeps/sh/memset.S: Likewise.
12289 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12290 * sysdeps/sh/strlen.S: Likewise.
12291 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12292 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12293 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12294 * sysdeps/sparc/sparc32/rem.S: Likewise.
12295 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12296 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12297 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12298 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12299 * sysdeps/sparc/sparc32/urem.S: Likewise.
12300 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12301 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12302 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12303 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12305 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12306 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12307 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12308 * sysdeps/unix/bsd/times.c: Likewise.
12309 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12310 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12314 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12315 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12316 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12317 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12318 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12319 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12320 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12321 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12322 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12323 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12324 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12325 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12326 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12327 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12328 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12329 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12330 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12331 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12332 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12333 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12334 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12336 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12337 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12338 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12339 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12340 * sysdeps/x86_64/strcspn.S: Likewise.
12341
869378a5
RA
123422013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12343
12344 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12345 generated file. Regenerate properly from gen-translit.pl.
12346 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12347 locale/C-translit.h.
12348
840e2943
AS
123492013-06-05 Andreas Schwab <schwab@suse.de>
12350
12351 [BZ #15100]
12352 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12353 week as 6 instead of -1.
12354 * time/tst-strptime.c (day_tests): Add test case.
12355
4c60cb0c
SP
123562013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12357
12358 * sysdeps/generic/math_private.h
12359 (libc_feholdexcept_setround_53bit): Replace with
12360 libc_feholdsetround_53bit.
12361 (libc_feupdateenv_53bit): Replace with
12362 libc_feresetround_53bit.
12363 (SET_RESTORE_ROUND_53BIT): Adjust.
12364
d180203e
SP
123652013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12366
96df079a
SP
12367 * string/test-strchrnul.c: Add copyright header.
12368
d180203e
SP
12369 * posix/tst-getaddrinfo4.c: Increase test timeout.
12370
8b0ccb2d
CD
123712013-06-03 Carlos O'Donell <carlos@redhat.com>
12372
12373 [BZ #15536]
12374 * math/libm-test.inc (MAX_EXP): Remove
12375 (MIN_EXP): Define.
12376 (ulp): Use MIN_EXP - MANT_DIG.
12377 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12378
3b3c4d40
CD
123792013-05-31 Carlos O'Donell <carlos@redhat.com>
12380
12381 * po/be.po: Revert last change.
12382 * po/zh_CN.po: Likewise.
12383 * po/header.pot: Likewise.
12384
fab7ce3f
JM
123852013-05-31 Joseph Myers <joseph@codesourcery.com>
12386
12387 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12388 link-libc-deps to empty as target-specific variable.
12389 * Makerules (link-libc-args): New variable.
12390 (libc-for-link): Likewise.
12391 (link-libc-deps): Likewise.
12392 (lib%.so): Depend on $(link-libc-deps). Link with
12393 $(link-libc-args).
12394 (build-module): Link with $(link-libc-args).
12395 (build-module-asneeded): Likewise.
12396 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12397 list of objects.
12398 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12399 target-specific variable.
12400 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12401 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12402 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12403 libc.
12404 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12405 libc and ld.so.
12406 ($(objpfx)libpcprofile.so): Likewise.
12407 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12408 libc_nonshared.a.
12409 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12410 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12411 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12412 $(link-libc-deps).
12413 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12414 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12415 * login/Makefile ($(objpfx)libutil.so): Likewise.
12416 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12417 * math/Makefile ($(objpfx)libm.so): Likewise.
12418 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12419 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12420 variable instead of depending directly on libc.
12421 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12422 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12423 $(link-libc-deps).
12424 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12425 libc.
12426 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12427 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12428 ($(objpfx)libanl.so): Likewise.
12429 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12430 ld.so.
12431 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12432 $(link-libc-deps).
12433 * sysdeps/i386/fpu/Makefile: Remove file.
12434 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12435 ($(objpfx)libm.so): Remove dependency on ld.so.
12436
eca5920c
PF
124372013-05-30 Patsy Franklin <pfrankli@redhat.com>
12438
12439 [BZ # 15553]
12440 * nis/yp_xdr.c (XDRMAXNAME): Define.
12441 (XDRMAXRECORD): Define.
12442 (xdr_domainname): Use XDRMAXNAME.
12443 (xdr_mapname): Likewise.
12444 (xdr_peername): Likewise.
12445 (xdr_keydat): Use XDRMAXRECORD.
12446 (xdr_valdat): Likewise.
12447
124482013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12449
12450 [BZ #14256]
12451 * manual/errno.texi (ESTALE): Update to account for more than
12452 just NFS file systems.
12453 * sysdeps/gnu/errlist.c: Regenerated.
12454
b9375348
SP
124552013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12456
12457 [BZ #15465]
12458 * elf/Makefile (tests): Add tst-null-argv.
12459 (modules-names): Add tst-null-argv-lib.
12460 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12461 (tst-null-argv-ENV): Set environment for tst-null-argv.
12462 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12463 (RTLD_PROGNAME): New macro.
12464 * elf/tst-null-argv.c: New test case.
12465 * elf/tst-null-argv-lib.c: Library for test case.
12466 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12467 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12468 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12469 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12470 * elf/dl-init.c (call_init): Likewise.
12471 (_dl_init): Likewise.
12472 * elf/dl-load.c (print_search_path): Likewise.
12473 (_dl_map_object): Likewise.
12474 * elf/dl-lookup.c (do_lookup_x): Likewise.
12475 (add_dependency): Likewise.
12476 (_dl_lookup_symbol_x): Likewise.
12477 (_dl_debug_bindings): Likewise.
12478 * elf/dl-open.c (_dl_show_scope): Likewise.
12479 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12480 * elf/dl-version.c (match_symbol): Likewise.
12481 (_dl_check_map_versions): Likewise.
12482 * elf/rtld.c (dl_main): Likewise.
12483 (print_unresolved): Use RTLD_PROGNAME.
12484 (print_missing_version): Likewise.
12485 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12486 (elf_machine_rela): Likewise.
12487 * sysdeps/powerpc/powerpc32/dl-machine.c
12488 (__process_machine_rela): Likewise.
12489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12490 Likewise.
12491 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12492 Likewise.
12493 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12494 Likewise.
12495 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12497 Likewise.
12498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12499 Likewise.
12500 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12501
8a9f20c8
CD
125022013-05-28 Carlos O'Donell <carlos@redhat.com>
12503
12504 * po/be.po: Add descriptive title.
12505 * po/zh_CN.po: Likewise.
12506 * po/header.pot: Likewise.
12507
0e60d68e
MF
125082013-05-28 Mike Frysinger <vapier@gentoo.org>
12509
12510 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12511 error message.
12512 (enlarge_archive): Likewise.
12513
56b672e9
BN
125142013-05-28 Ben North <ben@redfrontdoor.org>
12515
12516 * manual/arith.texi (frexp): It is the magnitude of the return
12517 value which lies in [0.5, 1), not the return value itself.
12518
5e056687
AZ
125192013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12520
12521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12522
2b66ef5d
TS
125232013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12524
528c2405
TS
12525 * stdio-common/bug26.c (main): Correct fscanf template.
12526
07b4c13d
TS
12527 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12528 declare _dl_skip_args.
12529
ec9dd97c
TS
12530 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12531 Don't declare.
12532
2b66ef5d
TS
12533 * manual/platform.texi: Add missing @end deftypefun.
12534
4f8dfe27
JM
125352013-05-24 Joseph Myers <joseph@codesourcery.com>
12536
0323d086
JM
12537 [BZ #15529]
12538 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12539 bit of mantissa of 2^16382.
12540 * math/libm-test.inc (hypot_test_data): Add more tests.
12541
dd4259b9
JM
12542 * math/libm-test.inc: Add drem and pow10 to list of tested
12543 functions.
12544 (pow10_test): New function.
12545 (drem_test): Likewise.
12546 (drem_test_tonearest): Likewise.
12547 (drem_test_towardzero): Likewise.
12548 (drem_test_downward): Likewise.
12549 (drem_test_upward): Likewise.
12550 (main): Call the new functions.
12551
4f8dfe27
JM
12552 * math/libm-test.inc (finite_test_data): Remove.
12553 (finite_test): Run tests from isfinite_test_data.
12554 (gamma_test_data): Remove.
12555 (gamma_test): Run tests from lgamma_test_data.
12556 * sysdeps/i386/fpu/libm-test-ulps: Update.
12557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12558
d116b7c4
AZ
125592013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12560
12561 * manual/platform.texi: Add PowerPC PPR function set documentation.
12562 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12563 implementation.
12564
e96e3767
CD
125652013-05-24 Carlos O'Donell <carlos@redhat.com>
12566
12567 * math/libm-test.inc (MAX_EXP): Define.
12568 (ULPDIFF): Define.
12569 (ulp): New function.
12570 (check_float_internal): Use ULPDIFF.
12571 (cpow_test): Disable failing test.
12572 (check_ulp): Test ulp() implemetnation.
12573 (main): Call check_ulp before starting tests.
12574
b679a606
JM
125752013-05-24 Joseph Myers <joseph@codesourcery.com>
12576
e8bdba36
JM
12577 * math/gen-libm-test.pl (generate_testfile): Do not handle
12578 START_DATA and END_DATA.
12579 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12580 END_DATA.
12581 (acos_tonearest_test_data): Likewise.
12582 (acos_towardzero_test_data): Likewise.
12583 (acos_downward_test_data): Likewise.
12584 (acos_upward_test_data): Likewise.
12585 (acosh_test_data): Likewise.
12586 (asin_test_data): Likewise.
12587 (asin_tonearest_test_data): Likewise.
12588 (asin_towardzero_test_data): Likewise.
12589 (asin_downward_test_data): Likewise.
12590 (asin_upward_test_data): Likewise.
12591 (asinh_test_data): Likewise.
12592 (atan_test_data): Likewise.
12593 (atanh_test_data): Likewise.
12594 (atan2_test_data): Likewise.
12595 (cabs_test_data): Likewise.
12596 (cacos_test_data): Likewise.
12597 (cacosh_test_data): Likewise.
12598 (carg_test_data): Likewise.
12599 (casin_test_data): Likewise.
12600 (casinh_test_data): Likewise.
12601 (catan_test_data): Likewise.
12602 (catanh_test_data): Likewise.
12603 (cbrt_test_data): Likewise.
12604 (ccos_test_data): Likewise.
12605 (ccosh_test_data): Likewise.
12606 (ceil_test_data): Likewise.
12607 (cexp_test_data): Likewise.
12608 (cimag_test_data): Likewise.
12609 (clog_test_data): Likewise.
12610 (clog10_test_data): Likewise.
12611 (conj_test_data): Likewise.
12612 (copysign_test_data): Likewise.
12613 (cos_test_data): Likewise.
12614 (cos_tonearest_test_data): Likewise.
12615 (cos_towardzero_test_data): Likewise.
12616 (cos_downward_test_data): Likewise.
12617 (cos_upward_test_data): Likewise.
12618 (cosh_test_data): Likewise.
12619 (cosh_tonearest_test_data): Likewise.
12620 (cosh_towardzero_test_data): Likewise.
12621 (cosh_downward_test_data): Likewise.
12622 (cosh_upward_test_data): Likewise.
12623 (cpow_test_data): Likewise.
12624 (cproj_test_data): Likewise.
12625 (creal_test_data): Likewise.
12626 (csin_test_data): Likewise.
12627 (csinh_test_data): Likewise.
12628 (csqrt_test_data): Likewise.
12629 (ctan_test_data): Likewise.
12630 (ctan_tonearest_test_data): Likewise.
12631 (ctan_towardzero_test_data): Likewise.
12632 (ctan_downward_test_data): Likewise.
12633 (ctan_upward_test_data): Likewise.
12634 (ctanh_test_data): Likewise.
12635 (ctanh_tonearest_test_data): Likewise.
12636 (ctanh_towardzero_test_data): Likewise.
12637 (ctanh_downward_test_data): Likewise.
12638 (ctanh_upward_test_data): Likewise.
12639 (erf_test_data): Likewise.
12640 (erfc_test_data): Likewise.
12641 (exp_test_data): Likewise.
12642 (exp_tonearest_test_data): Likewise.
12643 (exp_towardzero_test_data): Likewise.
12644 (exp_downward_test_data): Likewise.
12645 (exp_upward_test_data): Likewise.
12646 (exp10_test_data): Likewise.
12647 (exp2_test_data): Likewise.
12648 (expm1_test_data): Likewise.
12649 (fabs_test_data): Likewise.
12650 (fdim_test_data): Likewise.
12651 (finite_test_data): Likewise.
12652 (floor_test_data): Likewise.
12653 (fma_test_data): Likewise.
12654 (fma_towardzero_test_data): Likewise.
12655 (fma_downward_test_data): Likewise.
12656 (fma_upward_test_data): Likewise.
12657 (fmax_test_data): Likewise.
12658 (fmin_test_data): Likewise.
12659 (fmod_test_data): Likewise.
12660 (fpclassify_test_data): Likewise.
12661 (frexp_test_data): Likewise.
12662 (gamma_test_data): Likewise.
12663 (hypot_test_data): Likewise.
12664 (ilogb_test_data): Likewise.
12665 (isfinite_test_data): Likewise.
12666 (isgreater_test_data): Likewise.
12667 (isgreaterequal_test_data): Likewise.
12668 (isinf_test_data): Likewise.
12669 (isless_test_data): Likewise.
12670 (islessequal_test_data): Likewise.
12671 (islessgreater_test_data): Likewise.
12672 (isnan_test_data): Likewise.
12673 (isnormal_test_data): Likewise.
12674 (issignaling_test_data): Likewise.
12675 (isunordered_test_data): Likewise.
12676 (j0_test_data): Likewise.
12677 (j1_test_data): Likewise.
12678 (jn_test_data): Likewise.
12679 (ldexp_test_data): Likewise.
12680 (lgamma_test_data): Likewise.
12681 (lrint_test_data): Likewise.
12682 (lrint_tonearest_test_data): Likewise.
12683 (lrint_towardzero_test_data): Likewise.
12684 (lrint_downward_test_data): Likewise.
12685 (lrint_upward_test_data): Likewise.
12686 (llrint_test_data): Likewise.
12687 (llrint_tonearest_test_data): Likewise.
12688 (llrint_towardzero_test_data): Likewise.
12689 (llrint_downward_test_data): Likewise.
12690 (llrint_upward_test_data): Likewise.
12691 (log_test_data): Likewise.
12692 (log10_test_data): Likewise.
12693 (log1p_test_data): Likewise.
12694 (log2_test_data): Likewise.
12695 (logb_test_data): Likewise.
12696 (logb_downward_test_data): Likewise.
12697 (lround_test_data): Likewise.
12698 (llround_test_data): Likewise.
12699 (modf_test_data): Likewise.
12700 (nearbyint_test_data): Likewise.
12701 (nextafter_test_data): Likewise.
12702 (nexttoward_test_data): Likewise.
12703 (pow_test_data): Likewise.
12704 (pow_tonearest_test_data): Likewise.
12705 (pow_towardzero_test_data): Likewise.
12706 (pow_downward_test_data): Likewise.
12707 (pow_upward_test_data): Likewise.
12708 (remainder_test_data): Likewise.
12709 (remainder_tonearest_test_data): Likewise.
12710 (remainder_towardzero_test_data): Likewise.
12711 (remainder_downward_test_data): Likewise.
12712 (remainder_upward_test_data): Likewise.
12713 (remquo_test_data): Likewise.
12714 (rint_test_data): Likewise.
12715 (rint_tonearest_test_data): Likewise.
12716 (rint_towardzero_test_data): Likewise.
12717 (rint_downward_test_data): Likewise.
12718 (rint_upward_test_data): Likewise.
12719 (round_test_data): Likewise.
12720 (scalb_test_data): Likewise.
12721 (scalbn_test_data): Likewise.
12722 (scalbln_test_data): Likewise.
12723 (signbit_test_data): Likewise.
12724 (sin_test_data): Likewise.
12725 (sin_tonearest_test_data): Likewise.
12726 (sin_towardzero_test_data): Likewise.
12727 (sin_downward_test_data): Likewise.
12728 (sin_upward_test_data): Likewise.
12729 (sincos_test_data): Likewise.
12730 (sinh_test_data): Likewise.
12731 (sinh_tonearest_test_data): Likewise.
12732 (sinh_towardzero_test_data): Likewise.
12733 (sinh_downward_test_data): Likewise.
12734 (sinh_upward_test_data): Likewise.
12735 (sqrt_test_data): Likewise.
12736 (tan_test_data): Likewise.
12737 (tan_tonearest_test_data): Likewise.
12738 (tan_towardzero_test_data): Likewise.
12739 (tan_downward_test_data): Likewise.
12740 (tan_upward_test_data): Likewise.
12741 (tanh_test_data): Likewise.
12742 (tgamma_test_data): Likewise.
12743 (trunc_test_data): Likewise.
12744 (y0_test_data): Likewise.
12745 (y1_test_data): Likewise.
12746 (yn_test_data): Likewise.
12747 (significand_test_data): Likewise.
12748
b679a606
JM
12749 * math/gen-libm-test.pl (@functions): Remove variable.
12750 (generate_testfile): Don't handle START and END lines.
12751 * math/libm-test.inc (START): New macro.
12752 (END): Likewise.
12753 (END_COMPLEX): Likewise.
12754 (acos_test): Use END macro without arguments.
12755 (acos_test_tonearest): Likewise.
12756 (acos_test_towardzero): Likewise.
12757 (acos_test_downward): Likewise.
12758 (acos_test_upward): Likewise.
12759 (acosh_test): Likewise.
12760 (asin_test): Likewise.
12761 (asin_test_tonearest): Likewise.
12762 (asin_test_towardzero): Likewise.
12763 (asin_test_downward): Likewise.
12764 (asin_test_upward): Likewise.
12765 (asinh_test): Likewise.
12766 (atan_test): Likewise.
12767 (atanh_test): Likewise.
12768 (atan2_test): Likewise.
12769 (cabs_test): Likewise.
12770 (cacos_test): Use END_COMPLEX macro without arguments.
12771 (cacosh_test): Likewise.
12772 (carg_test): Use END macro without arguments.
12773 (casin_test): Use END_COMPLEX macro without arguments.
12774 (casinh_test): Likewise.
12775 (catan_test): Likewise.
12776 (catanh_test): Likewise.
12777 (cbrt_test): Use END macro without arguments.
12778 (ccos_test): Use END_COMPLEX macro without arguments.
12779 (ccosh_test): Likewise.
12780 (ceil_test): Use END macro without arguments.
12781 (cexp_test): Use END_COMPLEX macro without arguments.
12782 (cimag_test): Use END macro without arguments.
12783 (clog_test): Use END_COMPLEX macro without arguments.
12784 (clog10_test): Likewise.
12785 (conj_test): Likewise.
12786 (copysign_test): Use END macro without arguments.
12787 (cos_test): Likewise.
12788 (cos_test_tonearest): Likewise.
12789 (cos_test_towardzero): Likewise.
12790 (cos_test_downward): Likewise.
12791 (cos_test_upward): Likewise.
12792 (cosh_test): Likewise.
12793 (cosh_test_tonearest): Likewise.
12794 (cosh_test_towardzero): Likewise.
12795 (cosh_test_downward): Likewise.
12796 (cosh_test_upward): Likewise.
12797 (cpow_test): Use END_COMPLEX macro without arguments.
12798 (cproj_test): Likewise.
12799 (creal_test): Use END macro without arguments.
12800 (csin_test): Use END_COMPLEX macro without arguments.
12801 (csinh_test): Likewise.
12802 (csqrt_test): Likewise.
12803 (ctan_test): Likewise.
12804 (ctan_test_tonearest): Likewise.
12805 (ctan_test_towardzero): Likewise.
12806 (ctan_test_downward): Likewise.
12807 (ctan_test_upward): Likewise.
12808 (ctanh_test): Likewise.
12809 (ctanh_test_tonearest): Likewise.
12810 (ctanh_test_towardzero): Likewise.
12811 (ctanh_test_downward): Likewise.
12812 (ctanh_test_upward): Likewise.
12813 (erf_test): Use END macro without arguments.
12814 (erfc_test): Likewise.
12815 (exp_test): Likewise.
12816 (exp_test_tonearest): Likewise.
12817 (exp_test_towardzero): Likewise.
12818 (exp_test_downward): Likewise.
12819 (exp_test_upward): Likewise.
12820 (exp10_test): Likewise.
12821 (exp2_test): Likewise.
12822 (expm1_test): Likewise.
12823 (fabs_test): Likewise.
12824 (fdim_test): Likewise.
12825 (finite_test): Likewise.
12826 (floor_test): Likewise.
12827 (fma_test): Likewise.
12828 (fma_test_towardzero): Likewise.
12829 (fma_test_downward): Likewise.
12830 (fma_test_upward): Likewise.
12831 (fmax_test): Likewise.
12832 (fmin_test): Likewise.
12833 (fmod_test): Likewise.
12834 (fpclassify_test): Likewise.
12835 (frexp_test): Likewise.
12836 (gamma_test): Likewise.
12837 (hypot_test): Likewise.
12838 (ilogb_test): Likewise.
12839 (isfinite_test): Likewise.
12840 (isgreater_test): Likewise.
12841 (isgreaterequal_test): Likewise.
12842 (isinf_test): Likewise.
12843 (isless_test): Likewise.
12844 (islessequal_test): Likewise.
12845 (islessgreater_test): Likewise.
12846 (isnan_test): Likewise.
12847 (isnormal_test): Likewise.
12848 (issignaling_test): Likewise.
12849 (isunordered_test): Likewise.
12850 (j0_test): Likewise.
12851 (j1_test): Likewise.
12852 (jn_test): Likewise.
12853 (ldexp_test): Likewise.
12854 (lgamma_test): Likewise.
12855 (lrint_test): Likewise.
12856 (lrint_test_tonearest): Likewise.
12857 (lrint_test_towardzero): Likewise.
12858 (lrint_test_downward): Likewise.
12859 (lrint_test_upward): Likewise.
12860 (llrint_test): Likewise.
12861 (llrint_test_tonearest): Likewise.
12862 (llrint_test_towardzero): Likewise.
12863 (llrint_test_downward): Likewise.
12864 (llrint_test_upward): Likewise.
12865 (log_test): Likewise.
12866 (log10_test): Likewise.
12867 (log1p_test): Likewise.
12868 (log2_test): Likewise.
12869 (logb_test): Likewise.
12870 (logb_test_downward): Likewise.
12871 (lround_test): Likewise.
12872 (llround_test): Likewise.
12873 (modf_test): Likewise.
12874 (nearbyint_test): Likewise.
12875 (nextafter_test): Likewise.
12876 (nexttoward_test): Likewise.
12877 (pow_test): Likewise.
12878 (pow_test_tonearest): Likewise.
12879 (pow_test_towardzero): Likewise.
12880 (pow_test_downward): Likewise.
12881 (pow_test_upward): Likewise.
12882 (remainder_test): Likewise.
12883 (remainder_test_tonearest): Likewise.
12884 (remainder_test_towardzero): Likewise.
12885 (remainder_test_downward): Likewise.
12886 (remainder_test_upward): Likewise.
12887 (remquo_test): Likewise.
12888 (rint_test): Likewise.
12889 (rint_test_tonearest): Likewise.
12890 (rint_test_towardzero): Likewise.
12891 (rint_test_downward): Likewise.
12892 (rint_test_upward): Likewise.
12893 (round_test): Likewise.
12894 (scalb_test): Likewise.
12895 (scalbn_test): Likewise.
12896 (scalbln_test): Likewise.
12897 (signbit_test): Likewise.
12898 (sin_test): Likewise.
12899 (sin_test_tonearest): Likewise.
12900 (sin_test_towardzero): Likewise.
12901 (sin_test_downward): Likewise.
12902 (sin_test_upward): Likewise.
12903 (sincos_test): Likewise.
12904 (sinh_test): Likewise.
12905 (sinh_test_tonearest): Likewise.
12906 (sinh_test_towardzero): Likewise.
12907 (sinh_test_downward): Likewise.
12908 (sinh_test_upward): Likewise.
12909 (sqrt_test): Likewise.
12910 (tan_test): Likewise.
12911 (tan_test_tonearest): Likewise.
12912 (tan_test_towardzero): Likewise.
12913 (tan_test_downward): Likewise.
12914 (tan_test_upward): Likewise.
12915 (tanh_test): Likewise.
12916 (tgamma_test): Likewise.
12917 (trunc_test): Likewise.
12918 (y0_test): Likewise.
12919 (y1_test): Likewise.
12920 (yn_test): Likewise.
12921 (significand_test): Likewise.
12922
bae143d2
OB
129232013-05-24 Ondřej Bílka <neleai@seznam.cz>
12924
12925 [BZ #15381]
12926 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12927
9323d39b
EM
129282013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12929
d4ea44a0 12930 [BZ #14894]
9323d39b
EM
12931 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12932 __ppc_mdoio and __ppc_mdoom.
12933 * manual/platform.texi: Document new functions __ppc_yield,
12934 __ppc_mdoio and __ppc_mdoom.
12935
13e23af7
CD
129362013-05-22 Carlos O'Donell <carlos@redhat.com>
12937
12938 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12939 (main): Mention "tls" pseudo-hwcap is legacy.
12940 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12941
351fe550
JM
129422013-05-22 Joseph Myers <joseph@codesourcery.com>
12943
12944 * math/gen-libm-test.pl (parse_args): Output only string of
12945 arguments as text for test name, not full call or descriptions of
12946 tests for extra outputs.
12947 (generate_testfile): Do not pass function name to parse_args.
12948 Generate this_func variable from START.
12949 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12950 field to arg_str.
12951 (struct test_ff_f_data): Likewise.
12952 (test_ff_f_data_nexttoward): Likewise.
12953 (struct test_fi_f_data): Likewise.
12954 (struct test_fl_f_data): Likewise.
12955 (struct test_if_f_data): Likewise.
12956 (struct test_fff_f_data): Likewise.
12957 (struct test_c_f_data): Likewise.
12958 (struct test_f_f1_data): Likewise. Remove field extra_name.
12959 (struct test_fF_f1_data): Likewise.
12960 (struct test_ffI_f1_data): Likewise.
12961 (struct test_c_c_data): Rename test_name field to arg_str.
12962 (struct test_cc_c_data): Likewise.
12963 (struct test_f_i_data): Likewise.
12964 (struct test_ff_i_data): Likewise.
12965 (struct test_f_l_data): Likewise.
12966 (struct test_f_L_data): Likewise.
12967 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12968 and extra2_name.
12969 (COMMON_TEST_SETUP): New macro.
12970 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12971 (COMMON_TEST_CLEANUP): Likewise.
12972 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12973 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12974 macros.
12975 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12976 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12977 macros.
12978 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12979 (RUN_TEST_fff_f): Take argument string. Call new setup and
12980 cleanup macros.
12981 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12982 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12983 macros.
12984 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12985 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12986 macros.
12987 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12988 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12989 cleanup macros.
12990 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12991 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12992 cleanup macros.
12993 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12994 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12995 cleanup macros.
12996 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12997 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12998 macros.
12999 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13000 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13001 macros.
13002 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13003 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13004 macros.
13005 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13006 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13007 cleanup macros.
13008 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13009 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13010 cleanup macros.
13011 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13012 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13013 macros.
13014 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13015 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13016 cleanup macros.
13017 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13018 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13019 macros.
13020 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13021 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13022 macros.
13023 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13024 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13025 cleanup macros.
13026 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13027
85118d4d
EBM
130282013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13029
13030 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13031 to _sifields.sigfault.
13032 (si_addr_lsb): Define new macro.
13033 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13035 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13036
7a44c18f
CD
130372013-05-03 Carlos O'Donell <carlos at redhat.com>
13038
13039 [BZ #15441]
13040 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13041 returns -1.
13042 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13043 null return -1.
13044 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13045 loading the domain.
13046
b50a7181
JM
130472013-05-22 Joseph Myers <joseph@codesourcery.com>
13048
13049 * math/gen-libm-test.pl (parse_args): Do not include expected
13050 result in test name.
13051 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13053 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13054 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13055 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13057
051063c8
SP
130582013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13059
3ce9e010
SP
13060 * benchtests/Makefile: Sort function entries.
13061
051063c8
SP
13062 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13063 tanh, asinh, acosh, atanh.
13064 * benchtests/acos-inputs: New file.
13065 * benchtests/acosh-inputs: New file.
13066 * benchtests/asin-inputs: New file.
13067 * benchtests/asinh-inputs: New file.
13068 * benchtests/atanh-inputs: New file.
13069 * benchtests/cosh-inputs: New file.
13070 * benchtests/log-inputs: New file.
13071 * benchtests/sinh-inputs: New file.
13072 * benchtests/tanh-inputs: New file.
13073
47c22455
DL
130742013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13075
13076 [BZ #15339]
13077 * posix/tst-getaddrinfo4.c: New test.
13078 * posix/Makefile (tests): Add it.
13079
3d04f5db
SP
130802013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13081
13082 [BZ #15339]
13083 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13084 when no services were used.
13085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13086 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13087
d5dd6189
AS
130882013-05-21 Andreas Schwab <schwab@suse.de>
13089
13090 [BZ #15014]
13091 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13092 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13093 successful.
13094 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13095 redundant variable declarations and reallocation of buffer when
13096 parsing as IPv6 address. Always set NSS status when called from
13097 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13098 buffer too small. Correct computation of needed size.
13099 * nss/Makefile (tests): Add test-digits-dots.
13100 * nss/test-digits-dots.c: New test.
13101
fef94eab
SP
131022013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13103
13104 * benchtests/Makefile: Remove instructions for adding
13105 benchmark tests.
13106 * benchtests/README: New file to explain how to execute and
13107 enhance the benchmark tests.
13108
e39adf43
AS
131092013-05-21 Andreas Schwab <schwab@suse.de>
13110
13111 [BZ #15493]
13112 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13113 * setjmp/tst-sigsetjmp.c: New test.
13114
b2b671b6
OB
131152013-05-20 Ondřej Bílka <neleai@seznam.cz>
13116
13117 * sysdeps/x86_64/memset.S (memset): New implementation.
13118 (__bzero): Likewise.
13119 (__memset_tail): New function.
13120
2d48b41c
OB
131212013-05-20 Ondřej Bílka <neleai@seznam.cz>
13122
13123 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13124 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13125 __memcpy_sse2_unaligned ifunc selection.
13126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13127 Add memcpy-sse2-unaligned.S.
13128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13129 Add: __memcpy_sse2_unaligned.
13130
f16cc3eb
JM
131312013-05-19 Joseph Myers <joseph@codesourcery.com>
13132
3e694268
JM
13133 [BZ #15490]
13134 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13135 math_force_eval before restoring floating-point envrionment.
13136 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13138 Likewise.
13139 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13140 <math_private.h>.
13141 (__nearbyintl): Use math_force_eval before restoring
13142 floating-point environment.
13143 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13144
db62a907
JM
13145 * math/gen-libm-test.pl (special_functions): Remove.
13146 (parse_args): Don't handle TEST_extra. Handle functions with no
13147 return value.
13148 * math/libm-test.inc (struct test_sincos_data): Replace with
13149 struct test_fFF_11_data.
13150 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13151 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13152 (sincos_test_data): Change element type to struct
13153 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13154 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13155 RUN_TEST_LOOP_sincos.
13156 * math/README.libm-test: Don't mention special handling of
13157 individual functions.
13158 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13159 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13160 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13161 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13162 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13164
f16cc3eb
JM
13165 * math/gen-libm-test.pl (get_variable): Remove function.
13166 (parse_args): Don't show pointer parameters to call in test
13167 names. Use "extra output N" in test names for extra outputs
13168 rather than naming variables.
13169
3779b5b6
JM
131702013-05-18 Joseph Myers <joseph@codesourcery.com>
13171
2ee094ff
JM
13172 [BZ #15488]
13173 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13174 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13175 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13176 double tests.
13177 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13178 disable.
13179 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13180 check_long_double.
13181
3779b5b6
JM
13182 * math/gen-libm-test.pl (@tests): Remove variable.
13183 ($count): Likewise.
13184 (new_test): Remove function.
13185 (show_exceptions): New function.
13186 (special_functions): Use show_exceptions instead of new_test.
13187 (parse_args): Likewise.
13188 (generate_testfile): Pass only function name in generated call to
13189 print_max_error or print_complex_max_error.
13190 (get_ulps): Do not handle complex tests specially.
13191 (output_test): Rename to ...
13192 (get_all_ulps_for_test): ... this. Return a string rather than
13193 printing to a file. Require ulps to be present.
13194 (output_ulps): Generate arrays rather than #defines.
13195 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13196 (struct ulp_data): New type.
13197 (BUILD_COMPLEX_ULP): Remove macro.
13198 (compare_ulp_data): New function.
13199 (find_ulps): Likewise.
13200 (find_test_ulps): Likewise.
13201 (find_function_ulps): Likewise.
13202 (find_complex_function_ulps): Likewise.
13203 (print_max_error): Determine allowed ulps using
13204 find_function_ulps.
13205 (print_complex_max_error): Determine allowed ulps using
13206 find_complex_function_ulps.
13207 (check_float_internal): Determine max ulps using find_test_ulps.
13208 (check_float): Do not take max_ulp parameter. Update call to
13209 check_float_internal.
13210 (check_complex): Likewise.
13211 (check_int): Do not take max_ulp parameter.
13212 (check_long): Likewise.
13213 (check_bool): Likewise.
13214 (check_longlong): Likewise.
13215 (struct test_f_f_data): Remove max_ulp field.
13216 (struct test_ff_f_data): Likewise.
13217 (struct test_ff_f_data_nexttoward): Likewise.
13218 (struct test_fi_f_data): Likewise.
13219 (struct test_fl_f_data): Likewise.
13220 (struct test_if_f_data): Likewise.
13221 (struct test_fff_f_data): Likewise.
13222 (struct test_c_f_data): Likewise.
13223 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13224 (struct test_fF_f1_data): Likewise.
13225 (struct test_ffI_f1_data): Likewise.
13226 (struct test_c_c_data): Remove max_ulp field.
13227 (struct test_cc_c_data): Likewise.
13228 (struct test_f_i_data): Likewise.
13229 (struct test_ff_i_data): Likewise.
13230 (struct test_f_l_data): Likewise.
13231 (struct test_f_L_data): Likewise.
13232 (struct test_sincos_data): Likewise.
13233 (RUN_TEST_f_f): Do not handle ulps.
13234 (RUN_TEST_LOOP_f_f): Likewise.
13235 (RUN_TEST_2_f): Likewise.
13236 (RUN_TEST_LOOP_2_f): Likewise.
13237 (RUN_TEST_fff_f): Likewise.
13238 (RUN_TEST_LOOP_fff_f): Likewise.
13239 (RUN_TEST_c_f): Likewise.
13240 (RUN_TEST_LOOP_c_f): Likewise.
13241 (RUN_TEST_f_f1): Likewise.
13242 (RUN_TEST_LOOP_f_f1): Likewise.
13243 (RUN_TEST_fF_f1): Likewise.
13244 (RUN_TEST_LOOP_fF_f1): Likewise.
13245 (RUN_TEST_fI_f1): Likewise.
13246 (RUN_TEST_LOOP_fI_f1): Likewise.
13247 (RUN_TEST_ffI_f1): Likewise.
13248 (RUN_TEST_LOOP_ffI_f1): Likewise.
13249 (RUN_TEST_c_c): Likewise.
13250 (RUN_TEST_LOOP_c_c): Likewise.
13251 (RUN_TEST_cc_c): Likewise.
13252 (RUN_TEST_LOOP_cc_c): Likewise.
13253 (RUN_TEST_f_i): Likewise.
13254 (RUN_TEST_LOOP_f_i): Likewise.
13255 (RUN_TEST_f_i_tg): Likewise.
13256 (RUN_TEST_LOOP_f_i_tg): Likewise.
13257 (RUN_TEST_ff_i_tg): Likewise.
13258 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13259 (RUN_TEST_f_b): Likewise.
13260 (RUN_TEST_LOOP_f_b): Likewise.
13261 (RUN_TEST_f_b_tg): Likewise.
13262 (RUN_TEST_LOOP_f_b_tg): Likewise.
13263 (RUN_TEST_f_l): Likewise.
13264 (RUN_TEST_LOOP_f_l): Likewise.
13265 (RUN_TEST_f_L): Likewise.
13266 (RUN_TEST_LOOP_f_L): Likewise.
13267 (RUN_TEST_sincos): Likewise.
13268 (RUN_TEST_LOOP_sincos): Likewise.
13269
8269107f
JM
132702013-05-17 Joseph Myers <joseph@codesourcery.com>
13271
bb38759d
JM
13272 [BZ #15480]
13273 [BZ #15485]
13274 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13275 main case of finite arguments, set rounding mode to FE_TONEAREST
13276 and discard exceptions.
13277 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13278 exceptions.
13279 (remainder_tonearest_test_data): New variable.
13280 (remainder_test_tonearest): New function.
13281 (remainder_towardzero_test_data): New variable.
13282 (remainder_test_towardzero): New function.
13283 (remainder_downward_test_data): New variable.
13284 (remainder_test_downward): New function.
13285 (remainder_upward_test_data): New variable.
13286 (remainder_test_upward): New function.
13287 (main): Call the new test functions.
13288
a00bdcf0
JM
13289 * math/libm-test.inc (struct test_f_f1_data): Remove field
13290 extra_init.
13291 (struct test_fF_f1_data): Likewise.
13292 (struct test_ffI_f1_data): Likewise.
13293 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13294 based on value of EXTRA_EXPECTED.
13295 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13296 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13297 EXTRA_VAR based on value of EXTRA_EXPECTED.
13298 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13299 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13300 EXTRA_VAR based on value of EXTRA_EXPECTED.
13301 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13302 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13303 EXTRA_VAR based on value of EXTRA_EXPECTED.
13304 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13305 * math/gen-libm-test.pl (parse_args): Don't output initializers
13306 for extra output values.
13307
de407f79
JM
13308 * math/libm-test.inc (check_int): Expect result to be exactly
13309 equal to expected value and do not handle ulps.
13310 (check_long): Likewise.
13311 (check_longlong): Likewise.
13312
8269107f
JM
13313 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13314 exceptions.
13315 (cimag_test_data): Likewise.
13316 (conj_test_data): Likewise.
13317 (copysign_test_data): Likewise.
13318 (cproj_test_data): Likewise.
13319 (creal_test_data): Likewise.
13320 (fabs_test_data): Likewise.
13321 (fdim_test_data): Likewise.
13322 (finite_test_data): Likewise.
13323 (floor_test_data): Likewise.
13324 (fmax_test_data): Likewise.
13325 (fmin_test_data): Likewise.
13326 (fmod_test_data): Likewise.
13327 (fpclassify_test_data): Likewise.
13328 (frexp_test_data): Likewise.
13329 (ilogb_test_data): Likewise.
13330 (isfinite_test_data): Likewise.
13331 (isgreater_test_data): Likewise.
13332 (isgreaterequal_test_data): Likewise.
13333 (isinf_test_data): Likewise.
13334 (isless_test_data): Likewise.
13335 (islessequal_test_data): Likewise.
13336 (islessgreater_test_data): Likewise.
13337 (isnan_test_data): Likewise.
13338 (isnormal_test_data): Likewise.
13339 (issignaling_test_data): Likewise.
13340 (isunordered_test_data): Likewise.
13341 (ldexp_test_data): Likewise.
13342 (lrint_test_data): Likewise.
13343 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13344 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13345 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13346 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13347 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13348 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13349 test input.
13350 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13351 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13352 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13353 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13354 that test input.
13355 (lrint_downward_test_data): Test for "inexact" exceptions.
13356 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13357 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13358 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13359 test input.
13360 (lrint_upward_test_data): Test for "inexact" exceptions.
13361 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13362 test input.
13363 (llrint_test_data): Test for "inexact" exceptions.
13364 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13365 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13366 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13367 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13368 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13369 (llrint_downward_test_data): Test for "inexact" exceptions.
13370 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13371 (llrint_upward_test_data): Test for "inexact" exceptions.
13372 (logb_test_data): Likewise.
13373 (logb_downward_test_data): Likewise.
13374 (nextafter_test_data): Likewise.
13375 (nexttoward_test_data): Likewise.
13376 (remainder_test_data): Likewise.
13377 (remquo_test_data): Likewise.
13378 (scalbn_test_data): Likewise.
13379 (scalbln_test_data): Likewise.
13380 (signbit_test_data): Likewise.
13381 (sqrt_test_data): Likewise.
13382 (significand_test_data): Likewise.
13383
48a18de1
SP
133842013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13385
13386 [BZ #15424]
13387 * benchtests/bench-modf.c (struct args): Mark arg0 as
13388 volatile.
13389 * scripts/bench.pl: Mark members of struct args as volatile.
13390
13d3b41a
AZ
133912013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13392
68191c1d 13393 [BZ # 15497]
13d3b41a
AZ
13394 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13395 negative infinity on POWER6 or lower.
13396 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13397
2848b105
MR
133982013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13399
13400 [BZ #15442]
13401 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13402 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13403 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13404 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13405 (_FP_SETQNAN): New macro.
13406 (_FP_SETQNAN_SEMIRAW): Likewise.
13407 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13408 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13409 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13410 (FP_EXTEND): Use _FP_FRAC_SNANP.
13411 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13412 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13413 into account.
13414 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13415 New macro.
13416 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13417 Likewise.
13418
323e5cb7
JM
134192013-05-16 Joseph Myers <joseph@codesourcery.com>
13420
c58b274f
JM
13421 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13422 with DIVIDE_BY_ZERO_EXCEPTION.
13423 (gamma_test_data): Likewise.
13424 (lgamma_test_data): Likewise.
13425 (log_test_data): Likewise.
13426 (log10_test_data): Likewise.
13427 (log2_test_data): Likewise.
13428 (tgamma_test_data): Likewise.
13429
0ab34904
JM
13430 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13431 (acos_test_tonearest): Likewise.
13432 (acos_test_towardzero): Likewise.
13433 (acos_test_downward): Likewise.
13434 (acos_test_upward): Likewise.
13435 (acosh_test): Likewise.
13436 (asin_test): Likewise.
13437 (asin_test_tonearest): Likewise.
13438 (asin_test_towardzero): Likewise.
13439 (asin_test_downward): Likewise.
13440 (asin_test_upward): Likewise.
13441 (asinh_test): Likewise.
13442 (atan_test): Likewise.
13443 (atanh_test): Likewise.
13444 (atan2_test): Likewise.
13445 (cabs_test): Likewise.
13446 (cacos_test): Likewise.
13447 (cacosh_test): Likewise.
13448 (casin_test): Likewise.
13449 (casinh_test): Likewise.
13450 (catan_test): Likewise.
13451 (catanh_test): Likewise.
13452 (cbrt_test): Likewise.
13453 (ccos_test): Likewise.
13454 (ccosh_test): Likewise.
13455 (cexp_test): Likewise.
13456 (clog_test): Likewise.
13457 (clog10_test): Likewise.
13458 (cos_test): Likewise.
13459 (cos_test_tonearest): Likewise.
13460 (cos_test_towardzero): Likewise.
13461 (cos_test_downward): Likewise.
13462 (cos_test_upward): Likewise.
13463 (cosh_test): Likewise.
13464 (cosh_test_tonearest): Likewise.
13465 (cosh_test_towardzero): Likewise.
13466 (cosh_test_downward): Likewise.
13467 (cosh_test_upward): Likewise.
13468 (cpow_test): Likewise.
13469 (csin_test): Likewise.
13470 (csinh_test): Likewise.
13471 (csqrt_test): Likewise.
13472 (ctan_test): Likewise.
13473 (ctan_test_tonearest): Likewise.
13474 (ctan_test_towardzero): Likewise.
13475 (ctan_test_downward): Likewise.
13476 (ctan_test_upward): Likewise.
13477 (ctanh_test): Likewise.
13478 (ctanh_test_tonearest): Likewise.
13479 (ctanh_test_towardzero): Likewise.
13480 (ctanh_test_downward): Likewise.
13481 (ctanh_test_upward): Likewise.
13482 (erf_test): Likewise.
13483 (erfc_test): Likewise.
13484 (exp_test): Likewise.
13485 (exp_test_tonearest): Likewise.
13486 (exp_test_towardzero): Likewise.
13487 (exp_test_downward): Likewise.
13488 (exp_test_upward): Likewise.
13489 (exp10_test): Likewise.
13490 (exp2_test): Likewise.
13491 (expm1_test): Likewise.
13492 (fmod_test): Likewise.
13493 (gamma_test): Likewise.
13494 (hypot_test): Likewise.
13495 (j0_test): Likewise.
13496 (j1_test): Likewise.
13497 (jn_test): Likewise.
13498 (lgamma_test): Likewise.
13499 (log_test): Likewise.
13500 (log10_test): Likewise.
13501 (log1p_test): Likewise.
13502 (log2_test): Likewise.
13503 (logb_test_downward): Likewise.
13504 (pow_test): Likewise.
13505 (pow_test_tonearest): Likewise.
13506 (pow_test_towardzero): Likewise.
13507 (pow_test_downward): Likewise.
13508 (pow_test_upward): Likewise.
13509 (remainder_test): Likewise.
13510 (remquo_test): Likewise.
13511 (sin_test): Likewise.
13512 (sin_test_tonearest): Likewise.
13513 (sin_test_towardzero): Likewise.
13514 (sin_test_downward): Likewise.
13515 (sin_test_upward): Likewise.
13516 (sincos_test): Likewise.
13517 (sinh_test): Likewise.
13518 (sinh_test_tonearest): Likewise.
13519 (sinh_test_towardzero): Likewise.
13520 (sinh_test_downward): Likewise.
13521 (sinh_test_upward): Likewise.
13522 (sqrt_test): Likewise.
13523 (tan_test): Likewise.
13524 (tan_test_tonearest): Likewise.
13525 (tan_test_towardzero): Likewise.
13526 (tan_test_downward): Likewise.
13527 (tan_test_upward): Likewise.
13528 (tanh_test): Likewise.
13529 (tgamma_test): Likewise.
13530 (y0_test): Likewise.
13531 (y1_test): Likewise.
13532 (yn_test): Likewise.
13533
323e5cb7
JM
13534 * math/gen-libm-test.pl (adjust_arg): Remove function.
13535 (special_function): Remove argument $in_func. Only handle
13536 generating output for tables of tests, not inside functions.
13537 (parse_args): Likewise.
13538 (generate_testfile): Remove variable $in_func. Update call to
13539 parse_args.
13540 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13541 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13542 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13543 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13544 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13545 (MAX_VALUE_INIT): Rename macro to max_value.
13546 (MIN_VALUE_INIT): Rename macro to min_value.
13547 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13548 (plus_zero): Remove variable.
13549 (minus_zero): Likewise.
13550 (plus_infty): Likewise.
13551 (minus_infty): Likewise.
13552 (qnan_value): Likewise.
13553 (max_value): Likewise.
13554 (min_value): Likewise.
13555 (min_subnorm_value): Likewise.
13556
e054f494
RA
135572013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13558
13559 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13560 uint64_t or uint32_t usage.
13561 * crypt/sha256-block.c: Likewise.
13562 * crypt/sha256-crypt.c: Likewise.
13563 * crypt/sha256.c: Likewise.
13564 * crypt/sha512-block.c: Likewise.
13565 * crypt/sha512-crypt.c: Likewise.
13566 * crypt/sha512.c: Likewise.
13567 * debug/backtrace-tst.c: Likewise.
13568 * debug/pcprofiledump.c: Likewise.
13569 * elf/cache.c: Likewise.
13570 * elf/dl-cache.c: Likewise.
13571 * elf/dl-misc.c: Likewise.
13572 * elf/dl-profile.c: Likewise.
13573 * elf/dl-support.c: Likewise.
13574 * elf/ldconfig.c: Likewise.
13575 * elf/sprof.c: Likewise.
13576 * iconv/dummy-repertoire.c: Likewise.
13577 * iconv/iconv_charmap.c: Likewise.
13578 * iconv/skeleton.c: Likewise.
13579 * iconvdata/8bit-generic.c: Likewise.
13580 * iconvdata/cp737.h: Likewise.
13581 * iconvdata/cp775.h: Likewise.
13582 * iconvdata/ibm1008.h: Likewise.
13583 * iconvdata/ibm1025.h: Likewise.
13584 * iconvdata/ibm1046.h: Likewise.
13585 * iconvdata/ibm1097.h: Likewise.
13586 * iconvdata/ibm1112.h: Likewise.
13587 * iconvdata/ibm1122.h: Likewise.
13588 * iconvdata/ibm1123.h: Likewise.
13589 * iconvdata/ibm1124.h: Likewise.
13590 * iconvdata/ibm1129.h: Likewise.
13591 * iconvdata/ibm1130.h: Likewise.
13592 * iconvdata/ibm1132.h: Likewise.
13593 * iconvdata/ibm1133.h: Likewise.
13594 * iconvdata/ibm1137.h: Likewise.
13595 * iconvdata/ibm1140.h: Likewise.
13596 * iconvdata/ibm1141.h: Likewise.
13597 * iconvdata/ibm1142.h: Likewise.
13598 * iconvdata/ibm1143.h: Likewise.
13599 * iconvdata/ibm1144.h: Likewise.
13600 * iconvdata/ibm1145.h: Likewise.
13601 * iconvdata/ibm1146.h: Likewise.
13602 * iconvdata/ibm1147.h: Likewise.
13603 * iconvdata/ibm1148.h: Likewise.
13604 * iconvdata/ibm1149.h: Likewise.
13605 * iconvdata/ibm1153.h: Likewise.
13606 * iconvdata/ibm1154.h: Likewise.
13607 * iconvdata/ibm1155.h: Likewise.
13608 * iconvdata/ibm1156.h: Likewise.
13609 * iconvdata/ibm1157.h: Likewise.
13610 * iconvdata/ibm1158.h: Likewise.
13611 * iconvdata/ibm1160.h: Likewise.
13612 * iconvdata/ibm1161.h: Likewise.
13613 * iconvdata/ibm1162.h: Likewise.
13614 * iconvdata/ibm1163.h: Likewise.
13615 * iconvdata/ibm1164.h: Likewise.
13616 * iconvdata/ibm1166.h: Likewise.
13617 * iconvdata/ibm1167.h: Likewise.
13618 * iconvdata/ibm12712.h: Likewise.
13619 * iconvdata/ibm1390.h: Likewise.
13620 * iconvdata/ibm1399.h: Likewise.
13621 * iconvdata/ibm16804.h: Likewise.
13622 * iconvdata/ibm4517.h: Likewise.
13623 * iconvdata/ibm4899.h: Likewise.
13624 * iconvdata/ibm4909.h: Likewise.
13625 * iconvdata/ibm4971.h: Likewise.
13626 * iconvdata/ibm5347.h: Likewise.
13627 * iconvdata/ibm803.h: Likewise.
13628 * iconvdata/ibm856.h: Likewise.
13629 * iconvdata/ibm901.h: Likewise.
13630 * iconvdata/ibm902.h: Likewise.
13631 * iconvdata/ibm9030.h: Likewise.
13632 * iconvdata/ibm9066.h: Likewise.
13633 * iconvdata/ibm921.h: Likewise.
13634 * iconvdata/ibm922.h: Likewise.
13635 * iconvdata/ibm9448.h: Likewise.
13636 * iconvdata/isiri-3342.h: Likewise.
13637 * iconvdata/jis0201.h: Likewise.
13638 * include/link.h: Likewise.
13639 * include/netdb.h: Likewise.
13640 * inet/check_native.c: Likewise.
13641 * inet/check_pf.c: Likewise.
13642 * inet/getipv4sourcefilter.c: Likewise.
13643 * inet/getnameinfo.c: Likewise.
13644 * inet/getsourcefilter.c: Likewise.
13645 * inet/htonl.c: Likewise.
13646 * inet/setipv4sourcefilter.c: Likewise.
13647 * inet/setsourcefilter.c: Likewise.
13648 * inet/test-inet6_opt.c: Likewise.
13649 * inet/tst-network.c: Likewise.
13650 * locale/C-collate.c: Likewise.
13651 * locale/C-ctype.c: Likewise.
13652 * locale/C-time.c: Likewise.
13653 * locale/C-translit.h: Likewise.
13654 * locale/loadarchive.c: Likewise.
13655 * locale/programs/3level.h: Likewise.
13656 * locale/programs/charmap.c: Likewise.
13657 * locale/programs/charmap.h: Likewise.
13658 * locale/programs/ld-address.c: Likewise.
13659 * locale/programs/ld-collate.c: Likewise.
13660 * locale/programs/ld-ctype.c: Likewise.
13661 * locale/programs/ld-identification.c: Likewise.
13662 * locale/programs/ld-measurement.c: Likewise.
13663 * locale/programs/ld-messages.c: Likewise.
13664 * locale/programs/ld-monetary.c: Likewise.
13665 * locale/programs/ld-name.c: Likewise.
13666 * locale/programs/ld-numeric.c: Likewise.
13667 * locale/programs/ld-paper.c: Likewise.
13668 * locale/programs/ld-telephone.c: Likewise.
13669 * locale/programs/ld-time.c: Likewise.
13670 * locale/programs/linereader.c: Likewise.
13671 * locale/programs/locale.c: Likewise.
13672 * locale/programs/locarchive.c: Likewise.
13673 * locale/programs/locfile.h: Likewise.
13674 * locale/programs/repertoire.c: Likewise.
13675 * locale/programs/simple-hash.c: Likewise.
13676 * locale/programs/simple-hash.h: Likewise.
13677 * malloc/memusage.c: Likewise.
13678 * malloc/memusagestat.c: Likewise.
13679 * nis/nis_defaults.c: Likewise.
13680 * nis/nis_hash.c: Likewise.
13681 * nis/nis_print.c: Likewise.
13682 * nis/nis_xdr.c: Likewise.
13683 * nscd/connections.c: Likewise.
13684 * nscd/hstcache.c: Likewise.
13685 * nscd/nscd_gethst_r.c: Likewise.
13686 * nscd/nscd_getserv_r.c: Likewise.
13687 * nscd/nscd_helper.c: Likewise.
13688 * nscd/servicescache.c: Likewise.
13689 * nss/makedb.c: Likewise.
13690 * nss/nss_db/db-XXX.c: Likewise.
13691 * nss/nss_db/db-initgroups.c: Likewise.
13692 * nss/nss_db/db-netgrp.c: Likewise.
13693 * nss/nss_files/files-network.c: Likewise.
13694 * nss/nss_files/files-parse.c: Likewise.
13695 * posix/bug-regex5.c: Likewise.
13696 * posix/fnmatch_loop.c: Likewise.
13697 * posix/regcomp.c: Likewise.
13698 * posix/regexec.c: Likewise.
13699 * posix/tst-rfc3484-2.c: Likewise.
13700 * posix/tst-rfc3484-3.c: Likewise.
13701 * posix/tst-rfc3484.c: Likewise.
13702 * resolv/nss_dns/dns-canon.c: Likewise.
13703 * resolv/nss_dns/dns-network.c: Likewise.
13704 * resolv/res_init.c: Likewise.
13705 * resolv/res_mkquery.c: Likewise.
13706 * resolv/tst-aton.c: Likewise.
13707 * stdlib/cxa_atexit.c: Likewise.
13708 * stdlib/cxa_finalize.c: Likewise.
13709 * stdlib/gen-fpioconst.c: Likewise.
13710 * stdlib/strtol_l.c: Likewise.
13711 * string/tst-endian.c: Likewise.
13712 * sunrpc/auth_des.c: Likewise.
13713 * sunrpc/clnt_udp.c: Likewise.
13714 * sunrpc/rtime.c: Likewise.
13715 * sunrpc/svcauth_des.c: Likewise.
13716 * sunrpc/xdr.c: Likewise.
13717 * sunrpc/xdr_intXX_t.c: Likewise.
13718 * sunrpc/xdr_rec.c: Likewise.
13719 * sysdeps/generic/ldconfig.h: Likewise.
13720 * sysdeps/generic/ldsodefs.h: Likewise.
13721 * sysdeps/generic/memusage.h: Likewise.
13722 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13725 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13732 * sysdeps/posix/getaddrinfo.c: Likewise.
13733 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13734 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13735 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13736 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13737 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13738 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13739 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13740 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13741 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13743 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13744 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13745 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13746 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13747 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13748 * sysdeps/x86_64/dl-tls.h: Likewise.
13749 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13750 * time/alt_digit.c: Likewise.
13751 * time/era.c: Likewise.
13752 * wcsmbs/tst-c16c32-1.c: Likewise.
13753
8c75f674
JM
137542013-05-16 Joseph Myers <joseph@codesourcery.com>
13755
13756 * math/libm-test.inc (struct test_sincos_data): New type.
13757 (RUN_TEST_LOOP_sincos): New macro.
13758 (sincos_test_data): New variable.
13759 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13760
e6e49e59
RH
137612013-05-16 Richard Henderson <rth@redhat.com>
13762
13763 * math/atest-exp2.c (LIMB64): New macro.
13764 (CONSTSZ): New macro.
13765 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13766 (hexdig): Move ...
13767 (print_mpn_fp): ... to function scope.
13768 (read_mpn_hex): Remove.
13769 (get_log2): Remove.
13770 (exp2_mpn): Use mp_log2.
13771 (main): Use mp_exp1.
13772
15c7c18d
JM
137732013-05-16 Joseph Myers <joseph@codesourcery.com>
13774
105a07df
JM
13775 * math/libm-test.inc: Remove comment about not testing "inexact"
13776 exceptions.
13777 (INEXACT_EXCEPTION): New macro.
13778 (NO_INEXACT_EXCEPTION): Likewise.
13779 (INVALID_EXCEPTION_OK): Update value.
13780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13781 (OVERFLOW_EXCEPTION_OK): Likewise.
13782 (UNDERFLOW_EXCEPTION_OK): Likewise.
13783 (IGNORE_ZERO_INF_SIGN): Likewise.
13784 (ERRNO_UNCHANGED): Likewise.
13785 (ERRNO_EDOM): Likewise.
13786 (ERRNO_ERANGE): Likewise.
13787 (test_exceptions): Handle testing "inexact" exceptions.
13788 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13789 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13790 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13791 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13792 INEXACT_EXCEPTION.
13793 (rint_towardzero_test_data): Likewise.
13794 (rint_downward_test_data): Likewise.
13795 (rint_upward_test_data): Likewise.
13796
e9eee333
JM
13797 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13798 with OVERFLOW_EXCEPTION.
13799 (exp10_test_data): Likewise.
13800 (exp2_test_data): Likewise.
13801 (expm1_test_data): Likewise.
13802 (lgamma_test_data): Likewise.
13803 (pow_test_data): Likewise.
13804 (tgamma_test_data): Likewise.
13805 (yn_test_data): Remove duplicate test of overflow.
13806
1c38ff73
JM
13807 * math/libm-test.inc (struct test_cc_c_data): New type.
13808 (RUN_TEST_LOOP_cc_c): New macro.
13809 (cpow_test_data): New variable.
13810 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13811
15c7c18d
JM
13812 * math/libm-test.inc (struct test_f_L_data): New type.
13813 (RUN_TEST_LOOP_f_L): New macro.
13814 (llrint_test_data): New variable.
13815 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13816 (llrint_tonearest_test_data): New variable.
13817 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13818 (llrint_towardzero_test_data): New variable.
13819 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13820 (llrint_downward_test_data): New variable.
13821 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13822 (llrint_upward_test_data): New variable.
13823 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13824 (llround_test_data): New variable.
13825 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13826
f137ff13
PC
138272013-05-13 Peter Collingbourne <pcc@google.com>
13828
13829 * math/atest-exp2.c (get_log2): Remove const attribute.
13830
3608cb24
JM
138312013-05-15 Joseph Myers <joseph@codesourcery.com>
13832
13833 * math/libm-test.inc (struct test_f_l_data): New type.
13834 (RUN_TEST_LOOP_f_l): New macro.
13835 (lrint_test_data): New variable.
13836 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13837 (lrint_tonearest_test_data): New variable.
13838 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13839 (lrint_towardzero_test_data): New variable.
13840 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13841 (lrint_downward_test_data): New variable.
13842 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13843 (lrint_upward_test_data): New variable.
13844 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13845 (lround_test_data): New variable.
13846 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13847
39b1f617
PC
138482013-05-15 Peter Collingbourne <pcc@google.com>
13849
1deff3dc
PC
13850 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13851 (EXTRACT_WORDS64) Use where appropriate.
13852 (INSERT_WORDS64) Likewise.
13853
791f3ba0
PC
13854 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13855 constraints with x constraints.
13856 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13857
39b1f617
PC
13858 * malloc/obstack.c (_obstack_compat): Add initializer.
13859
12fba011
EM
138602013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13861
13862 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13863 si_trapno and add si_addr_lsb to _sifields.sigfault.
13864 (si_trapno): Remove macro.
13865 (si_addr_lsb): Define new macro.
13866 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13867
d369f531
JM
138682013-05-15 Joseph Myers <joseph@codesourcery.com>
13869
b861c6c4
JM
13870 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13871 instead of TEST_f_l.
13872 (llrint_test_tonearest): Likewise.
13873 (llrint_test_towardzero): Likewise.
13874 (llrint_test_downward): Likewise.
13875 (llrint_test_upward): Likewise.
13876 (llround_test): Likewise.
13877
7abeee12
JM
13878 * math/libm-test.inc (struct test_f_i_data): Add comment.
13879 (RUN_TEST_LOOP_f_b): New macro.
13880 (RUN_TEST_LOOP_f_b_tg): Likewise.
13881 (finite_test_data): New variable.
13882 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13883 (isfinite_test_data): New variable.
13884 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13885 (isinf_test_data): New variable.
13886 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13887 (isnan_test_data): New variable.
13888 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13889 (isnormal_test_data): New variable.
13890 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13891 (issignaling_test_data): New variable.
13892 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13893 (signbit_test_data): New variable.
13894 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13895
cbe8c4d3
JM
13896 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13897 with INVALID_EXCEPTION.
13898 (acosh_test_data): Likewise.
13899 (asin_test_data): Likewise.
13900 (atanh_test_data): Likewise.
13901 (fmod_test_data): Likewise.
13902 (log_test_data): Likewise.
13903 (log10_test_data): Likewise.
13904 (log2_test_data): Likewise.
13905 (pow_test_data): Likewise.
13906 (sqrt_test_data): Likewise.
13907 (y0_test_data): Likewise.
13908 (y1_test_data): Likewise.
13909 (yn_test_data): Likewise.
13910
5575c0e5
JM
13911 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13912 function contents.
13913
d369f531
JM
13914 * math/libm-test.inc (struct test_ff_i_data): New type.
13915 (RUN_TEST_LOOP_ff_i_tg): New macro.
13916 (isgreater_test_data): New variable.
13917 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13918 (isgreaterequal_test_data): New variable.
13919 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13920 (isless_test_data): New variable.
13921 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13922 (islessequal_test_data): New variable.
13923 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13924 (islessgreater_test_data): New variable.
13925 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13926 (isunordered_test_data): New variable.
13927 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13928
781fd748
DM
139292013-05-14 David S. Miller <davem@davemloft.net>
13930
13931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13932
87aa21df
JM
139332013-05-14 Joseph Myers <joseph@codesourcery.com>
13934
5e908270
JM
13935 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13936
f71172e5
JM
13937 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13938 extra_test to int.
13939 (struct test_f_i_data): Change type of max_ulp to int.
13940
8cfa635a
JM
13941 * math/libm-test.inc (test_ffI_f1_data): New type.
13942 (RUN_TEST_LOOP_ffI_f1): New macro.
13943 (remquo_test_data): New variable.
13944 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13945
2bcb36b2
JM
13946 * setjmp/tst-setjmp-fp.c: New file.
13947 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13948 (link-libm): New variable.
13949 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13950
acbd839a
JM
13951 * math/libm-test.inc (struct test_f_i_data): New type.
13952 (RUN_TEST_LOOP_f_i): New macro.
13953 (RUN_TEST_LOOP_f_i_tg): Likewise.
13954 (fpclassify_test_data): New variable.
13955 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13956 (ilogb_test_data): New variable.
13957 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13958
e414d745
JM
13959 * math/libm-test.inc (scalbln_test): Correct function name in END
13960 call.
13961
d9c2a0fd
JM
13962 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13963 (RUN_TEST_LOOP_fI_f1): New macro.
13964 (frexp_test_data): New variable.
13965 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13966
9dc9095d
JM
13967 * math/libm-test.inc (struct test_fF_f1_data): New type.
13968 (RUN_TEST_LOOP_fF_f1): New macro.
13969 (modf_test_data): New variable.
13970 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13971
87aa21df
JM
13972 * math/libm-test.inc (struct test_f_f1_data): New type.
13973 (RUN_TEST_LOOP_f_f1): New macro.
13974 (gamma_test_data): New variable.
13975 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13976 (lgamma_test_data): New variable.
13977 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13978
141af660
CD
139792013-05-13 Carlos O'Donell <carlos@redhat.com>
13980
13981 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13982 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13983 (main): Comment "tls" pseudo-hwcap.
13984
6d33265c
JM
139852013-05-13 Joseph Myers <joseph@codesourcery.com>
13986
68fc074c
JM
13987 * math/libm-test.inc (struct test_fl_f_data): New type.
13988 (RUN_TEST_LOOP_fl_f): New variable.
13989 (scalbln_test_data): New variable.
13990 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13991
243216e1
JM
13992 * math/libm-test.inc (struct test_fi_f_data): New type.
13993 (RUN_TEST_LOOP_fi_f): New macro.
13994 (ldexp_test_data): New variable.
13995 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13996 (scalbn_test_data): New variable.
13997 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13998
6a1992e2
JM
13999 * math/libm-test.inc (struct test_c_f_data): New type.
14000 (RUN_TEST_LOOP_c_f): New macro.
14001 (cabs_test_data): New variable.
14002 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14003 (carg_test_data): New variable.
14004 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14005 (cimag_test_data): New variable.
14006 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14007 (creal_test_data): New variable.
14008 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14009
0e400df5
JM
14010 * math/libm-test.inc (struct test_if_f_data): New type.
14011 (RUN_TEST_LOOP_if_f): New macro.
14012 (jn_test_data): New variable.
14013 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14014 (yn_test_data): New variable.
14015 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14016
6d33265c
JM
14017 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14018
f98ece5f
AZ
140192013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14020
14021 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14022 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14023
0f7d347b
SP
140242013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14025
43fe811b
SP
14026 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14027 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14028 (bench-deps): Add bench-timing.h.
14029 * benchtests-bench-skeleton.c: Include bench-timing.h.
14030 (main): Use TIMING_* macros instead of clock_gettime.
14031 * benchtests/bench-timing.h: New file.
14032
0f7d347b
SP
14033 [BZ #14582]
14034 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14035 Renamed from _LIB_VERSION.
14036 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14037
601a3a5f
JM
140382013-05-12 Joseph Myers <joseph@codesourcery.com>
14039
4f184d30
JM
14040 * math/libm-test.inc (struct test_fff_f_data): New type.
14041 (RUN_TEST_LOOP_fff_f): New macro.
14042 (fma_test_data): New variable.
14043 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14044 (fma_towardzero_test_data): New variable.
14045 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14046 (fma_downward_test_data): New variable.
14047 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14048 (fma_upward_test_data): New variable.
14049 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14050
08198877
JM
14051 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14052 (struct test_c_c_data): New type.
14053 (RUN_TEST_LOOP_c_c): New macro.
14054 (cacos_test_data): New variable.
14055 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14056 (cacosh_test_data): New variable.
14057 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14058 (casin_test_data): New variable.
14059 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14060 (casinh_test_data): New variable.
14061 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14062 (catan_test_data): New variable.
14063 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14064 (catanh_test_data): New variable.
14065 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14066 (ccos_test_data): New variable.
14067 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14068 (ccosh_test_data): New variable.
14069 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14070 (cexp_test_data): New variable.
14071 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14072 (clog_test_data): New variable.
14073 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14074 (clog10_test_data): New variable.
14075 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14076 (conj_test_data): New variable.
14077 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14078 (cproj_test_data): New variable.
14079 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14080 (csin_test_data): New variable.
14081 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14082 (csinh_test_data): New variable.
14083 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14084 (csqrt_test_data): New variable.
14085 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14086 (ctan_test_data): New variable.
14087 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14088 (ctan_tonearest_test_data): New variable.
14089 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14090 (ctan_towardzero_test_data): New variable.
14091 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14092 (ctan_downward_test_data): New variable.
14093 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14094 (ctan_upward_test_data): New variable.
14095 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14096 (ctanh_test_data): New variable.
14097 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14098 (ctanh_tonearest_test_data): New variable.
14099 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14100 (ctanh_towardzero_test_data): New variable.
14101 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14102 (ctanh_downward_test_data): New variable.
14103 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14104 (ctanh_upward_test_data): New variable.
14105 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14106 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14107 of BUILD_COMPLEX.
14108
601a3a5f
JM
14109 * math/libm-test.inc (struct test_ff_f_data): New type.
14110 (struct test_ff_f_data_nexttoward): Likewise.
14111 (RUN_TEST_LOOP_2_f): New macro.
14112 (RUN_TEST_LOOP_ff_f): Likewise.
14113 (atan2_test_data): New variable.
14114 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14115 (copysign_test_data): New variable.
14116 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14117 (fdim_test_data): New variable.
14118 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14119 (fmax_test_data): New variable.
14120 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14121 (fmin_test_data): New variable.
14122 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14123 (fmod_test_data): New variable.
14124 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14125 (hypot_test_data): New variable.
14126 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14127 (nextafter_test_data): New variable.
14128 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14129 (nexttoward_test_data): New variable.
14130 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14131 (pow_test_data): New variable.
14132 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14133 (pow_tonearest_test_data): New variable.
14134 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14135 (pow_towardzero_test_data): New variable.
14136 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14137 (pow_downward_test_data): New variable.
14138 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14139 (pow_upward_test_data): New variable.
14140 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14141 (remainder_test_data): New variable.
14142 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14143 (scalb_test_data): New variable.
14144 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14145 * sysdeps/i386/fpu/libm-test-ulps: Update.
14146
74c57478
JM
141472013-05-11 Joseph Myers <joseph@codesourcery.com>
14148
8329e4da
JM
14149 * math/libm-test.inc (fma_test): Use max_value instead of local
14150 variable fltmax.
14151 (nextafter_test): Likewise.
14152
74c57478
JM
14153 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14154 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14155 (acos_downward_test_data): New variable.
14156 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14157 (acos_upward_test_data): New variable.
14158 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14159 (acosh_test_data): New variable.
14160 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14161 (asin_test_data): New variable.
14162 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14163 (asin_tonearest_test_data): New variable.
14164 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14165 (asin_towardzero_test_data): New variable.
14166 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14167 (asin_downward_test_data): New variable.
14168 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14169 (asin_upward_test_data): New variable.
14170 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14171 (asinh_test_data): New variable.
14172 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14173 (atan_test_data): New variable.
14174 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14175 (atanh_test_data): New variable.
14176 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14177 (cbrt_test_data): New variable.
14178 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14179 (ceil_test_data): New variable.
14180 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14181 (cos_test_data): New variable.
14182 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14183 (cos_tonearest_test_data): New variable.
14184 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14185 (cos_towardzero_test_data): New variable.
14186 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14187 (cos_downward_test_data): New variable.
14188 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14189 (cos_upward_test_data): New variable.
14190 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14191 (cosh_test_data): New variable.
14192 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14193 (cosh_tonearest_test_data): New variable.
14194 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14195 (cosh_towardzero_test_data): New variable.
14196 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14197 (cosh_downward_test_data): New variable.
14198 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14199 (cosh_upward_test_data): New variable.
14200 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14201 (erf_test_data): New variable.
14202 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14203 (erfc_test_data): New variable.
14204 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14205 (exp_test_data): New variable.
14206 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14207 (exp_tonearest_test_data): New variable.
14208 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14209 (exp_towardzero_test_data): New variable.
14210 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14211 (exp_downward_test_data): New variable.
14212 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14213 (exp_upward_test_data): New variable.
14214 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14215 (exp10_test_data): New variable.
14216 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14217 (exp2_test_data): New variable.
14218 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14219 (expm1_test_data): New variable.
14220 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14221 (fabs_test_data): New variable.
14222 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14223 (floor_test_data): New variable.
14224 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14225 (j0_test_data): New variable.
14226 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14227 (j1_test_data): New variable.
14228 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14229 (log_test_data): New variable.
14230 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14231 (log10_test_data): New variable.
14232 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14233 (log1p_test_data): New variable.
14234 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14235 (log2_test_data): New variable.
14236 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14237 (logb_test_data): New variable.
14238 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14239 (logb_downward_test_data): New variable.
14240 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14241 (nearbyint_test_data): New variable.
14242 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14243 (rint_test_data): New variable.
14244 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14245 (rint_tonearest_test_data): New variable.
14246 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14247 (rint_towardzero_test_data): New variable.
14248 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14249 (rint_downward_test_data): New variable.
14250 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14251 (rint_upward_test_data): New variable.
14252 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14253 (round_test_data): New variable.
14254 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14255 (sin_test_data): New variable.
14256 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14257 (sin_tonearest_test_data): New variable.
14258 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14259 (sin_towardzero_test_data): New variable.
14260 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14261 (sin_downward_test_data): New variable.
14262 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14263 (sin_upward_test_data): New variable.
14264 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14265 (sinh_test_data): New variable.
14266 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14267 (sinh_tonearest_test_data): New variable.
14268 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14269 (sinh_towardzero_test_data): New variable.
14270 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14271 (sinh_downward_test_data): New variable.
14272 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14273 (sinh_upward_test_data): New variable.
14274 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14275 (sqrt_test_data): New variable.
14276 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14277 (tan_test_data): New variable.
14278 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14279 (tan_tonearest_test_data): New variable.
14280 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14281 (tan_towardzero_test_data): New variable.
14282 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14283 (tan_downward_test_data): New variable.
14284 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14285 (tan_upward_test_data): New variable.
14286 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14287 (tanh_test_data): New variable.
14288 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14289 (tgamma_test_data): New variable.
14290 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14291 (trunc_test_data): New variable.
14292 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14293 (y0_test_data): New variable.
14294 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14295 (y1_test_data): New variable.
14296 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14297 (significand_test_data): New variable.
14298 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14299
7187d844
CG
143002013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14301
14302 [BZ #12387]
14303 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14304
f63fae73
PT
143052013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14306
14307 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14308
8a67a4b3
AJ
143092013-05-10 Andreas Jaeger <aj@suse.de>
14310
14311 [BZ #15448]
14312 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14313 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14314
51df539d
JM
143152013-05-10 Joseph Myers <joseph@codesourcery.com>
14316
14317 * math/gen-libm-test.pl (adjust_arg): New function.
14318 (special_functions): Handle generating output in both functions
14319 and arrays.
14320 (parse_args): Likewise.
14321 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14322 $in_func argument to parse_args.
14323 * math/libm-test.inc (struct test_f_f_data): New type.
14324 (IF_ROUND_INIT_): New macro.
14325 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14326 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14327 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14328 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14329 (ROUND_RESTORE_): Likewise.
14330 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14331 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14332 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14333 (ROUND_RESTORE_FE_UPWARD): Likewise.
14334 (RUN_TEST_LOOP_f_f): New macro.
14335 (acos_test_data): New variable.
14336 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14337 (acos_tonearest_test_data): New variable.
14338 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14339
5c637fe5
SP
143402013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14341
14342 * benchtests/bench-skeleton.c (startup): Fix coding style.
14343
ab2b9461
JM
143442013-05-10 Joseph Myers <joseph@codesourcery.com>
14345
14346 [BZ #6809]
14347 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14348 negative infinity argument.
14349 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14350 negative infinity argument.
14351 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14352 negative infinity argument.
14353 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14354 domain errors.
14355
4c0fe6fe
FW
143562013-05-10 Florian Weimer <fweimer@redhat.com>
14357
14358 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14359 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14360 * iconv/iconv_prog.c (main): Likewise.
14361 * locale/programs/charmap-dir.c (charmap_readdir)
14362 (fopen_uncompressed): Likewise.
14363 * locale/programs/locfile.c (siblings_uncached)
14364 (write_locale_data): Use lstat64 instead of lstat.
14365 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14366 stat.
14367
a3375d29
AJ
143682013-05-10 Andreas Jaeger <aj@suse.de>
14369
14370 [BZ #15395]
14371 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14372 localization.
14373 Include <locale.h>.
14374
36129722
CD
143752013-05-09 Carlos O'Donell <carlos@redhat.com>
14376
14377 * elf/dl-close.c (_dl_close_worker): Add comments.
14378
faa7f811
JM
143792013-05-09 Joseph Myers <joseph@codesourcery.com>
14380
ed41ffef
JM
14381 [BZ #15359]
14382 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14383 high part of pi/2.
14384 (__ieee754_rem_pio2l): Update comments.
14385
d0213cd0
JM
14386 [BZ #15429]
14387 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14388 high part of pi/2.
14389 (__ieee754_rem_pio2l): Update comments.
14390
0d3e777a
JM
14391 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14392 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14393
24f56066
JM
14394 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14395 M_PI_4l.
14396
faa7f811
JM
14397 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14398 (M_PI_34_LOG10El): Likewise.
14399 (M_PI2_LOG10El): Likewise.
14400 (M_PI4_LOG10El): Likewise.
14401 (M_PI_LOG10El): Likewise.
14402
e9a5e0fd
AZ
144032013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14404
14405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14406
d8cd06db
JM
144072013-05-08 Joseph Myers <joseph@codesourcery.com>
14408
a0d9f9d7
JM
14409 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14410 (MINUS_ZERO_INIT): Likewise.
14411 (PLUS_INFTY_INIT): Likewise.
14412 (MINUS_INFTY_INIT): Likewise.
14413 (QNAN_VALUE_INIT): Likewise.
14414 (MAX_VALUE_INIT): Likewise.
14415 (MIN_VALUE_INIT): Likewise.
14416 (MIN_SUBNORM_VALUE_INIT): Likewise.
14417 (plus_zero): Initialize with PLUS_ZERO_INIT.
14418 (minus_zero): Initialize with MINUS_ZERO_INIT.
14419 (plus_infty): Initialize with PLUS_INFTY_INIT.
14420 (minus_infty): Initialize with MINUS_INFTY_INIT.
14421 (qnan_value): Initialize with QNAN_VALUE_INIT.
14422 (max_value): Initialize with MAX_VALUE_INIT.
14423 (min_value): Initialize with MIN_VALUE_INIT.
14424 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14425
ae08db3b
JM
14426 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14427 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14428 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14429 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14430
f44bf14a
JM
14431 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14432 (RUN_TEST_2_f): Likewise.
14433 (RUN_TEST_ff_f): Likewise.
14434 (RUN_TEST_fi_f): Likewise.
14435 (RUN_TEST_fl_f): Likewise.
14436 (RUN_TEST_fff_f): Likewise.
14437 (RUN_TEST_c_f): Likewise.
14438 (RUN_TEST_f_f1): Likewise.
14439 (RUN_TEST_fF_f1): Likewise.
14440 (RUN_TEST_fI_f1): Likewise.
14441 (RUN_TEST_ffI_f1): Likewise.
14442 (RUN_TEST_c_c): Likewise.
14443 (RUN_TEST_cc_c): Likewise.
14444 (RUN_TEST_f_i): Likewise.
14445 (RUN_TEST_f_i_tg): Likewise.
14446 (RUN_TEST_ff_i_tg): Likewise.
14447 (RUN_TEST_f_b): Likewise.
14448 (RUN_TEST_f_b_tg): Likewise.
14449 (RUN_TEST_f_l): Likewise.
14450 (RUN_TEST_f_L): Likewise.
14451 (RUN_TEST_sincos): Likewise.
14452 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14453 whether to show exceptions. Do not include ");\n" in return
14454 value.
14455 (special_functions): Output call to RUN_TEST_sincos instead of
14456 check_float calls. Update calls to new_test.
14457 (parse_args): Output call to single RUN_TEST_* macro instead of
14458 check_* calls and other assignments. Update calls to new_test.
14459
d8cd06db
JM
14460 [BZ #2546]
14461 [BZ #2560]
14462 [BZ #5159]
14463 [BZ #15426]
14464 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14465 input to result for tgamma overflow.
14466 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14467 (gamma_coeff): New variable.
14468 (NCOEFF): New macro.
14469 (gamma_positive): New function.
14470 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14471 underflow here. Use gamma_positive instead of exp (lgamma) for
14472 other arguments.
14473 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14474 (gamma_coeff): New variable.
14475 (NCOEFF): New macro.
14476 (gammaf_positive): New function.
14477 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14478 underflow here. Use gamma_positive instead of exp (lgamma) for
14479 other arguments.
14480 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14481 (gamma_coeff): New variable.
14482 (NCOEFF): New macro.
14483 (gammal_positive): New function.
14484 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14485 underflow here. Use gamma_positive instead of exp (lgamma) for
14486 other arguments.
14487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14488 (gamma_coeff): New variable.
14489 (NCOEFF): New macro.
14490 (gammal_positive): New function.
14491 (__ieee754_gammal_r): Handle positive infinity, overflow and
14492 underflow here. Handle NaN the same as positive infinity. Remove
14493 check x < 0xffffffff for negative integers. Use gamma_positive
14494 instead of exp (lgamma) for other arguments.
14495 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14496 (gamma_coeff): New variable.
14497 (NCOEFF): New macro.
14498 (gammal_positive): New function.
14499 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14500 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14501 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14502 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14503 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14504 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14505 * sysdeps/generic/math_private.h (__gamma_productf): New
14506 prototype.
14507 (__gamma_product): Likewise.
14508 (__gamma_productl): Likewise.
14509 * math/Makefile (libm-calls): Add gamma_product.
14510 * math/libm-test.inc (tgamma_test): Add more tests.
14511 * sysdeps/i386/fpu/libm-test-ulps: Update.
14512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14513
bb7cf681
OB
145142013-05-08 Ondřej Bílka <neleai@seznam.cz>
14515
14516 * benchtests/bench-skeleton.c (main): Preheat CPU.
14517
ba853947
AJ
145182013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14519
14520 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14521
8347c74c
RM
145222013-05-07 Roland McGrath <roland@hack.frob.com>
14523
14524 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14525 and _dl_skip_args_internal.
14526
e8dd4791
CD
145272013-05-07 Carlos O'Donell <carlos@redhat.com>
14528
14529 * manual/message.texi (Message Translation): Talk about users.
14530 Message to key mapping impacts design.
14531
c7405830
RM
145322013-05-06 Roland McGrath <roland@hack.frob.com>
14533
a9173057
RM
14534 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14535
976e2f03
RM
14536 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14537
9723ffc5
RM
14538 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14539 * sysdeps/wordsize-64/glob64.c: ... here.
14540
962e6658
RM
14541 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14542 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14543 New macros.
14544
ee586a6d
RM
14545 * debug/getlogin_r_chk.c: Moved to ...
14546 * login/getlogin_r_chk.c: ... here.
14547 * debug/Makefile (routines): Move getlogin_r_chk to ...
14548 * login/Makefile (routines): ... here.
14549 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14550 * login/Versions (libc: GLIBC_2.4): ... here.
14551
355f9165
RM
14552 * io/poll.c (__poll): Renamed from poll.
14553 Add libc_hidden_def.
14554 (poll): Define as weak alias.
14555
bd9ffde6
RM
14556 * debug/ptsname_r_chk.c: Moved to ...
14557 * login/ptsname_r_chk.c: ... here.
14558 * debug/Makefile (routines): Move ptsname_r_chk to ...
14559 * login/Makefile (routines): ... here.
14560 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14561 * login/Versions (libc: GLIBC_2.4): ... here.
14562
8fb16a04
RM
14563 * posix/getlogin.c: Moved to ...
14564 * login/getlogin.c: ... here.
14565 * posix/getlogin_r.c: Moved to ...
14566 * login/getlogin_r.c: ... here.
14567 * posix/getlogin_r.c: Moved to ...
14568 * login/getlogin_r.c: ... here.
14569 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14570 * login/Makefile (routines): ... here.
14571 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14572 * login/Versions (libc: GLIBC_2.0): ... here.
14573
b99b892f
RM
14574 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14575 (setrlimit): Define as weak alias.
14576
c7405830
RM
14577 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14578 Call __ names for open, ftruncate, and close.
14579 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14580 (truncate): Define as weak alias.
14581
5bf96de5
JM
145822013-05-06 Joseph Myers <joseph@codesourcery.com>
14583
9ea3513c
JM
14584 * math/gen-libm-test.pl (parse_args): Initialize x before each
14585 test of frexp, modf and remquo.
14586
5bf96de5
JM
14587 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14588 test signgam value.
14589
16e616a7
AZ
145902013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14591
14592 [BZ #15418]
14593 [BZ #15419]
14594 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14595 internal tests.
14596 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14597
d5e82754
RM
145982013-05-06 Roland McGrath <roland@hack.frob.com>
14599
14600 * elf/dl-writev.h: New file.
14601 * elf/dl-misc.c: Include it.
14602 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14603 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14604
a7548d41
JM
146052013-05-04 Joseph Myers <joseph@codesourcery.com>
14606
b7dab1e4
JM
14607 * math/libm-test.inc (noXFails): Remove variable.
14608 (noXPasses): Likewise.
14609 (BUILD_COMPLEX_INT): Remove macro.
14610 (print_screen): Remove xfail argument.
14611 (print_screen_max_error): Likewise.
14612 (update_stats): Likewise.
14613 (print_max_error): Likewise. Update calls to other affected
14614 functions.
14615 (print_complex_max_error): Likewise.
14616 (test_single_exception): Update calls to print_screen.
14617 (test_single_errno): Likewise.
14618 (check_float_internal): Remove xfail argument. Update calls to
14619 other affected functions.
14620 (check_float): Likewise.
14621 (check_complex): Likewise.
14622 (check_int): Likewise.
14623 (check_long): Likewise.
14624 (check_bool): Likewise.
14625 (check_longlong): Likewise.
14626 (main): Don't print noXFails and noXPasses.
14627 * math/gen-libm-test.pl (top level): Don't mention expected
14628 failure handling in comment.
14629 (new_test): Don't handle expected failures.
14630 (parse_args): Don't mention expected failure handling in comment.
14631 (generate_testfile): Don't handle expected failures.
14632 (parse_ulps): Likewise.
14633 (print_ulps_file): Likewise.
14634 (get_failure): Remove function.
14635 (output_test): Don't handle expected failures.
14636 * make/README.libm-test: Don't mention expected failure handling.
14637
a7548d41
JM
14638 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14639 (minus_zero): Likewise.
14640 (plus_infty): Likewise.
14641 (minus_infty): Likewise.
14642 (qnan_value): Likewise.
14643 (max_value): Likewise.
14644 (min_value): Likewise.
14645 (min_subnorm_value): Likewise.
14646 (initialize): Do not initialize those variables dynamically.
14647
60bfd54c
RM
146482013-05-03 Roland McGrath <roland@hack.frob.com>
14649
cc0e6ed8
RM
14650 * io/open.c (__open_2): Moved to ...
14651 * io/open_2.c: ... this new file.
14652 * io/open64.c (__open64_2): Moved to ...
14653 * io/open64_2.c: ... this new file.
14654 * io/openat.c (__openat_2): Moved to ...
14655 * io/openat_2.c: ... this new file.
14656 * io/openat64.c (__openat64_2): Moved to ...
14657 * io/openat64_2.c: ... this new file.
14658 * io/Makefile (routines): Add them.
14659 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14660 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14661 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14662 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14663 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14664 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14665 (__openat64): Add hidden_ver.
14666 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14667 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14668
60bfd54c
RM
14669 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14670 Separately conditionalize setting of GLRO(dl_sysinfo) so
14671 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14672 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14673
83e7640f
AZ
146742013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14675
14676 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14677 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14678 definition.
14679 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14680 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14681 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14682 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14683 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14684
d5dc2af3
JM
146852013-05-03 Joseph Myers <joseph@codesourcery.com>
14686
c31a5b1e
JM
14687 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14688 test signgam value.
14689
d5dc2af3
JM
14690 * math/libm-test.inc (hypot_test): Do not use
14691 IGNORE_ZERO_INF_SIGN.
14692
164fd39d
AJ
146932013-05-03 Andreas Jaeger <aj@suse.de>
14694
14695 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14696 Linux 3.9.
14697 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14698 (PF_MAX): Adjust for VSOCK change.
14699
8237f48c
AZ
147002013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14701
14702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14703
9df02941
CD
147042013-05-02 Carlos O'Donell <carlos@redhat.com>
14705
14706 [BZ #15264]
14707 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14708 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14709 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14710
d422395e
DM
147112013-05-02 David S. Miller <davem@davemloft.net>
14712
14713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14714
a07c5731
OB
147152013-05-01 Ondřej Bílka <neleai@seznam.cz>
14716
14717 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14718
1324e37f
RM
147192013-05-01 Roland McGrath <roland@hack.frob.com>
14720
14721 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14722
0695940b
RS
147232013-05-01 Richard Smith <richard@metafoo.co.uk>
14724
bb5f27ad 14725 [BZ #14952]
0695940b
RS
14726 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14727 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14728 Use __attribute__ ((__gnu_inline__)).
14729 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14730 Don't use __attribute__ ((__gnu_inline__)).
14731
10de07f5
JM
147322013-05-01 Joseph Myers <joseph@codesourcery.com>
14733
14734 [BZ #15423]
14735 * math/s_catan.c (__catan): Handle small real or imaginary part of
14736 input specially to avoid spurious underflow.
14737 * math/s_catanf.c (__catanf): Likewise.
14738 * math/s_catanh.c (__catanh): Likewise.
14739 * math/s_catanhf.c (__catanhf): Likewise.
14740 * math/s_catanhl.c (__catanhl): Likewise.
14741 * math/s_catanl.c (__catanl): Likewise.
14742 * math/libm-test.inc (catan_test): Add more tests.
14743 (catanh_test): Likewise.
14744 * sysdeps/i386/fpu/libm-test-ulps: Update.
14745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14746
cb4d5414
AZ
147472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14748
14749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14750
caf84319
JM
147512013-04-30 Joseph Myers <joseph@codesourcery.com>
14752
14753 [BZ #15416]
14754 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14755 accurately for denominator in atan2.
14756 * math/s_catanf.c (__catanf): Likewise.
14757 * math/s_catanh.c (__catanh): Likewise.
14758 * math/s_catanhf.c (__catanhf): Likewise.
14759 * math/s_catanhl.c (__catanhl): Likewise.
14760 * math/s_catanl.c (__catanl): Likewise.
14761 * math/libm-test.inc (catan_test): Add more tests.
14762 (catanh_test): Likewise.
14763 * sysdeps/i386/fpu/libm-test-ulps: Update.
14764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14765
d569c6ee
SP
147662013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14767
6dbe713d
SP
14768 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14769
f0ee064b
SP
14770 * benchtests/Makefile (bench): Remove slow benchmarks.
14771 * benchtests/atan-inputs: Add slow benchmark inputs.
14772 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14773 (BENCH_FUNC): Accept variant offset.
14774 (VARIANT): Define.
14775 * benchtests/bench-skeleton.c (main): Run benchmark for each
14776 variant.
14777 * benchtests/cos-inputs: Add slow benchmark inputs.
14778 * benchtests/exp-inputs: Likewise.
14779 * benchtests/pow-inputs: Likewise.
14780 * benchtests/sin-inputs: Likewise.
14781 * benchtests/slowatan-inputs: Remove.
14782 * benchtests/slowatan.c: Remove.
14783 * benchtests/slowcos-inputs: Remove.
14784 * benchtests/slowcos.c: Remove.
14785 * benchtests/slowexp-inputs: Remove.
14786 * benchtests/slowexp.c: Remove.
14787 * benchtests/slowpow-inputs: Remove.
14788 * benchtests/slowpow.c: Remove.
14789 * benchtests/slowsin-inputs: Remove.
14790 * benchtests/slowsin.c: Remove.
14791 * benchtests/slowtan-inputs: Remove.
14792 * benchtests/slowtan.c: Remove.
14793 * benchtests/tan-inputs: Add slow benchmark inputs.
14794 * scripts/bench.pl: Parse comments and directives.
14795
d569c6ee
SP
14796 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14797 in CPPFLAGS.
14798 ($(objpfx)bench-%.c): Remove *-ITER.
14799 * benchtests/bench-modf.c: Remove definition of ITER.
14800 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14801 (main): Loop for DURATION seconds instead of fixed number of
14802 iterations.
14803 * scripts/bench.pl: Don't expect iterations in parameters.
14804
a6a242fe
RM
148052013-04-29 Roland McGrath <roland@hack.frob.com>
14806
14807 * io/fchdir.c (__fchdir): Renamed from fchdir.
14808 (fchdir): Define as weak alias.
14809
f2da7793
JM
148102013-04-29 Joseph Myers <joseph@codesourcery.com>
14811
14812 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14813 (ERRNO_EDOM): Likewise.
14814 (ERRNO_ERANGE): Likewise.
14815 (noErrnoTests): New variable.
14816 (init_max_error): Set errno to 0.
14817 (test_single_errno): New function.
14818 (test_errno): Likewise.
14819 (check_float_internal): Call test_errno. Set errno to 0.
14820 (check_complex): Refer to errno tests in comment.
14821 (check_int): Call test_errno. Set errno to 0.
14822 (check_long): Likewise.
14823 (check_bool): Likewise.
14824 (check_longlong): Likewise.
14825 (cos_test): Use ERRNO_* flags for errno tests instead of
14826 check_int.
14827 (expm1_test): Likewise.
14828 (fmod_test): Likewise.
14829 (ilogb_test): Likewise.
14830 (lgamma_test): Likewise.
14831 (pow_test): Likewise.
14832 (remainder_test): Likewise.
14833 (sin_test): Likewise.
14834 (tan_test): Likewise.
14835 (yn_test): Likewise.
14836 (initialize): Set errno to 0.
14837 (main): Print number of errno tests.
14838 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14839
b1a36ceb
AJ
148402013-04-29 Andreas Jaeger <aj@suse.de>
14841
c3ed8088
AJ
14842 [BZ #15084]
14843 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14844 and RES_USEVC.
14845
f1a24198
AJ
14846 [BZ #15085]
14847 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14848 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14849 unimplemented.
14850
9ce3b2cb
AJ
14851 [BZ #15380]
14852 * stdlib/random.c (__initstate): Return NULL if
14853 __initstate fails.
14854
f1a24198 14855 [BZ #15086]
b1a36ceb
AJ
14856 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14857 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14858 RES_SNGLKUPREOP.
14859
7e7b6f36
AZ
148602013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14861
14862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14863
4d14f449
JM
148642013-04-29 Joseph Myers <joseph@codesourcery.com>
14865
14866 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14867 of individual tests.
14868 (casin_test): Likewise.
14869 (casinh_test): Likewise.
14870
5b4217d7
JM
148712013-04-27 Joseph Myers <joseph@codesourcery.com>
14872
14873 [BZ #15409]
14874 * math/s_catan.c (__catan): Handle arguments with large real or
14875 imaginary part separately without squaring.
14876 * math/s_catanf.c (__catanf): Likewise.
14877 * math/s_catanh.c (__catanh): Likewise.
14878 * math/s_catanhf.c (__catanhf): Likewise.
14879 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14880 and redefine.
14881 (__catanhl): Handle arguments with large real or imaginary part
14882 separately without squaring.
14883 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14884 and redefine.
14885 (__catanl): Handle arguments with large real or imaginary part
14886 separately without squaring.
14887 * math/libm-test.inc (catan_test): Add more tests.
14888 (catanh_test): Likewise.
14889 * sysdeps/i386/fpu/libm-test-ulps: Update.
14890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891
4220c3ef
AJ
148922013-04-27 Andreas Jaeger <aj@suse.de>
14893
14894 [BZ #15007]
14895 * stdlib/stdlib.h: Update guards for qecvt.
14896 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14897 <stdlib.h>.
14898
4721b2d1
AM
148992013-04-27 Allan McRae <allan@archlinux.org>
14900
14901 * sysdeps/i386/fpu/libm-test-ulps: Update.
14902
f0302940
JM
149032013-04-26 Joseph Myers <joseph@codesourcery.com>
14904
9457fd95
JM
14905 [BZ #15406]
14906 * math/s_catan.c: Include <float.h>.
14907 (__catan): Ensure underflow exception occurs for underflowed
14908 result.
14909 * math/s_catanf.c: Include <float.h>.
14910 (__catanf): Ensure underflow exception occurs for underflowed
14911 result.
14912 * math/s_catanh.c: Include <float.h>.
14913 (__catanh): Ensure underflow exception occurs for underflowed
14914 result.
14915 * math/s_catanhf.c: Include <float.h>.
14916 (__catanhf): Ensure underflow exception occurs for underflowed
14917 result.
14918 * math/s_catanhl.c: Include <float.h>.
14919 (__catanhl): Ensure underflow exception occurs for underflowed
14920 result.
14921 * math/s_catanl.c: Include <float.h>.
14922 (__catanl): Ensure underflow exception occurs for underflowed
14923 result.
14924 * math/libm-test.inc (catan_test): Add more tests.
14925 (catanh_test): Likewise.
14926
f0302940
JM
14927 [BZ #15405]
14928 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14929 underflowed result.
14930 * math/s_ccoshf.c (__ccoshf): Likewise.
14931 * math/s_ccoshl.c (__ccoshl): Likewise.
14932 * math/s_csin.c (__csin): Likewise.
14933 * math/s_csinf.c (__csinf): Likewise.
14934 * math/s_csinh.c (__csinh): Likewise.
14935 * math/s_csinhf.c (__csinhf): Likewise.
14936 * math/s_csinhl.c (__csinhl): Likewise.
14937 * math/s_csinl.c (__csinl): Likewise.
14938 * math/libm-test.inc (ccos_test): Add more tests.
14939 (ccosh_test): Likewise.
14940 (csin_test): Likewise.
14941 (csinh_test): Likewise.
14942
aa630f59
AZ
149432013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14944
14945 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14946 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14947 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14948 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14949 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14950 powerpc/power5+/fpu folders.
14951 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14952
14953
1b835983
MT
149542013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14955
14956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14957
73709b26
JM
149582013-04-25 Joseph Myers <joseph@codesourcery.com>
14959
14960 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14961 additions to variable.
14962 [$(config-machine) = x86_64] (modules-names): Likewise.
14963 ($(objpfx)tst-audit3): Remove dependency.
14964 ($(objpfx)tst-audit3.out): Likewise.
14965 ($(objpfx)tst-audit4): Likewise.
14966 ($(objpfx)tst-audit4.out): Likewise.
14967 ($(objpfx)tst-audit5): Likewise.
14968 ($(objpfx)tst-audit5.out): Likewise.
14969 ($(objpfx)tst-audit6): Likewise.
14970 ($(objpfx)tst-audit6.out): Likewise.
14971 ($(objpfx)tst-audit7): Likewise.
14972 ($(objpfx)tst-audit7.out): Likewise.
14973 (tst-audit3-ENV): Remove variable.
14974 (tst-audit4-ENV): Likewise.
14975 (tst-audit5-ENV): Likewise.
14976 (tst-audit6-ENV): Likewise.
14977 (tst-audit7-ENV): Likewise.
14978 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14979 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14980 addition to variable.
14981 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14982 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14983 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14984 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14985 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14986 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14987 tst-audit3, tst-audit4 and tst-audit5.
14988 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14989 tst-audit6 and tst-audit7.
14990 [$(subdir) = elf] (modules-names): Add audit modules for those
14991 tests.
14992 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14993 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14994 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14995 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14996 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14997 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14998 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14999 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15000 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15001 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15002 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15003 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15004 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15005 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15006 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15007 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15008 Likewise.
15009 [$(subdir) = elf && $(config-cflags-avx) = yes]
15010 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15011 [$(subdir) = elf && $(config-cflags-avx) = yes]
15012 (CFLAGS-tst-auditmod4a.c): Likewise.
15013 [$(subdir) = elf && $(config-cflags-avx) = yes]
15014 (CFLAGS-tst-auditmod4b.c): Likewise.
15015 [$(subdir) = elf && $(config-cflags-avx) = yes]
15016 (CFLAGS-tst-auditmod6b.c): Likewise.
15017 [$(subdir) = elf && $(config-cflags-avx) = yes]
15018 (CFLAGS-tst-auditmod6c.c): Likewise.
15019 [$(subdir) = elf && $(config-cflags-avx) = yes]
15020 (CFLAGS-tst-auditmod7b.c): Likewise.
15021 * elf/tst-audit3.c: Move to ...
15022 * sysdeps/x86_64/tst-audit3.c: ... here.
15023 * elf/tst-audit4.c: Move to ...
15024 * sysdeps/x86_64/tst-audit4.c: ... here.
15025 * elf/tst-audit5.c: Move to ...
15026 * sysdeps/x86_64/tst-audit5.c: ... here.
15027 * elf/tst-audit6.c: Move to ...
15028 * sysdeps/x86_64/tst-audit6.c: ... here.
15029 * elf/tst-audit7.c: Move to ...
15030 * sysdeps/x86_64/tst-audit7.c: ... here.
15031 * elf/tst-auditmod3a.c: Move to ...
15032 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15033 * elf/tst-auditmod3b.c: Move to ...
15034 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15035 * elf/tst-auditmod4a.c: Move to ...
15036 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15037 * elf/tst-auditmod4b.c: Move to ...
15038 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15039 * elf/tst-auditmod5a.c: Move to ...
15040 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15041 * elf/tst-auditmod5b.c: Move to ...
15042 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15043 * elf/tst-auditmod6a.c: Move to ...
15044 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15045 * elf/tst-auditmod6b.c: Move to ...
15046 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15047 * elf/tst-auditmod6c.c: Move to ...
15048 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15049 * elf/tst-auditmod7a.c: Move to ...
15050 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15051 * elf/tst-auditmod7b.c: Move to ...
15052 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15053
1ef74943
PP
150542013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15055
15056 [BZ #15366]
15057 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15058 define unconditionally.
15059 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15060 define unconditionally.
15061 (INT8_C, INT16_C, etc.): Likewise.
15062
93fd48c5
MR
150632013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15064
ae9552cf
MR
15065 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15066 __ehdr_start with hidden visibility.
15067
93fd48c5
MR
15068 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15069
418601aa
CD
150702013-04-24 Carlos O'Donell <carlos@redhat.com>
15071
15072 * math/libm-test.inc (cos_test): Use accurate hex constants.
15073 (sincost_test): Likewise.
15074
2f38fbfe
JM
150752013-04-24 Joseph Myers <joseph@codesourcery.com>
15076
5e221800
JM
15077 * math/libm-test.inc (catan_test): Add more tests.
15078 (catanh_test): Likewise.
15079
77f143fd
JM
15080 * math/s_catanf.c (__catanf): Use suffixed floating-point
15081 constants.
15082 * math/s_catanhf.c (__catanhf): Likewise.
15083 * math/s_catanhl.c (__catanhl): Likewise.
15084 * math/s_catanl.c (__catanl): Likewise.
15085
2f38fbfe
JM
15086 [BZ #15394]
15087 * math/s_catan.c (__catan): Calculate imaginary part of result
15088 with log1p not log unless computing log of number close to 0.
15089 * math/s_catanf.c (__catanf): Likewise.
15090 * math/s_catanl.c (__catanl): Likewise.
15091 * math/s_catanh.c (__catanh): Calculate real part of result with
15092 log1p not log unless computing log of number close to 0.
15093 * math/s_catanhf.c (__catanhf): Likewise.
15094 * math/s_catanhl.c (__catanhl): Likewise.
15095 * math/libm-test.inc (catan_test): Add more tests.
15096 (catanh_test): Likewise.
15097 * sysdeps/i386/fpu/libm-test-ulps: Update.
15098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15099
45d69176
SP
151002013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15101
15102 * benchtests/Makefile: Mention files in which fast and slow
15103 paths of math functions are implemented.
15104
87f51853
RM
151052013-04-23 Roland McGrath <roland@hack.frob.com>
15106
15107 * sysdeps/posix/timespec_get.c: New file.
15108
3c026539
AZ
151092013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15110
15111 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15112 POWER.
15113 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15114 for POWER.
15115 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15116 powerpc/power5/fpu folders.
15117 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15118 * benchtests/Makefile: Add modf testcase.
15119 * benchtests/bench-modf.c: New file: Benchmark test for mo
15120
ff491d14
SP
151212013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15122
15123 [BZ #14888]
15124 * time/Makefile (tests): Add tst-strptime-whitespace.
15125 * time/strptime_l.c (get_number): Use ISSPACE.
15126 (__strptime_internal): Likewise.
15127 * time/tst-strptime-whitespace.c: New test case.
15128
7ed3f4e8
AS
151292013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15130
15131 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15132 member.
15133 (_nss_files_init): Set it here.
15134
5c95f7b6
HC
151352013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15136
15137 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15138 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15139 unsigned.
15140
d34c9158
JBG
151412013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15142
15143 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15144
2169712d
SP
151452013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15146
15147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15148 size just once.
15149
29c5de99
DM
151502013-04-21 David S. Miller <davem@davemloft.net>
15151
15152 * po/ru.po: Update Russion translation from translation project.
15153
ccdad15d
AC
151542013-04-17 Adam Conrad <adconrad@0c3.net>
15155
15156 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15157 and setfsgid.
15158
0f122b8d
CD
151592013-04-17 Carlos O'Donell <carlos@redhat.com>
15160
5c5b07da 15161 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15162 * configure: Regenerate.
5c5b07da 15163 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15164 Add example to error message.
15165 * sysdeps/i386/configure: Regenerate.
15166
037714dd
SP
151672013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15168
15169 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15170 slowtan.
15171 * benchtests/cos-inputs: New file.
15172 * benchtests/slowcos-inputs: New file.
15173 * benchtests/slowcos.c: New file.
15174 * benchtests/slowtan-inputs: New file.
15175 * benchtests/slowtan.c: New file.
15176 * benchtests/tan-inputs: New file.
15177
e913141d
RM
151782013-04-16 Roland McGrath <roland@hack.frob.com>
15179
15180 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15181 considered kosher.
15182
a2964074
SP
151832013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15184
4856bcd2
SP
15185 * benchtests/Makefile: Include cppflags-iterator.mk to add
15186 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15187
a2964074
SP
15188 * Makefile.in (bench-clean): New target.
15189 * benchtests/Makefile (bench-clean): Likewise.
15190
9fbf9aca
DH
151912013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15192
15193 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15194
207d1e2a
TS
151952013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15196
15197 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15198
306dfba9
AS
151992013-04-15 Andreas Schwab <schwab@suse.de>
15200
15201 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15203 * nscd/pwdcache.c (cache_addpw): Likewise.
15204 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15205 more than recsize.
15206
206a6699
SP
152072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15208
15209 * benchtests/Makefile (bench): Write all output to
15210 bench-out.tmp together.
15211
0582f6b3
AS
152122013-04-15 Andreas Schwab <schwab@suse.de>
15213
15214 * nscd/nscd.c (main): Don't fork again after closing files.
15215
acb4325f
SP
152162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15217
5cb26d0a
SP
15218 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15219
acb4325f
SP
15220 * benchtests/Rules (bench-deps): Collect dependencies into a
15221 single variable. Add Makefile to dependencies.
15222 ($(objpfx)bench-%.c): Depend on bench-deps.
15223
47792506
RM
152242013-04-12 Roland McGrath <roland@hack.frob.com>
15225 Xavier Roche <roche+kml2@exalead.com>
15226
15227 [BZ #15361]
15228 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15229 just that it's a file descriptor.
15230 * manual/llio.texi (Synchronizing AIO Operations): Update description
15231 for EBADF error from aio_fsync.
15232
8fc1bee5
SP
152332013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15234
15235 * Rules (bench): Move target definition...
15236 * benchtests/Makefile: ... here.
15237
aba5e333
CD
152382013-04-11 Carlos O'Donell <carlos@redhat.com>
15239
15240 * math/libm-test.inc (cos_test): Fix PI/2 test.
15241 (sincos_test): Likewise.
15242 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15243 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15244
273cdee8
AS
152452013-04-11 Andreas Schwab <schwab@suse.de>
15246
6ecec3b6
AS
15247 [BZ #13988]
15248 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15249 accept exponent character only when digits were seen.
15250 * stdio-common/Makefile (tests): Add bug26.
15251 * stdio-common/bug26.c: New file.
15252
273cdee8
AS
15253 [BZ #14293]
15254 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15255 non-freeable.
15256
8da491f5
SP
152572013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15258
01dc6df9
SP
15259 * Makeconfig (rtld-prefix): Define built linker prefix.
15260 * Rules (run-bench): Use it.
15261 * math/Makefile (run-regen-ulps): Likewise.
15262
8da491f5
SP
15263 * Rules (bench): Remove eval.
15264
abe7f530
SP
152652013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15266 Roland McGrath <roland@hack.frob.com>
15267 Ondrej Bilka <neleai@seznam.cz>
15268
15269 [BZ #15346]
15270 * time/getdate.c: Include ctype.h and alloca.h.
15271 (__getdate_r): Trim leading and trailing spaces of input.
15272 * time/tst-getdate.c (tests): Add tests with leading and
15273 trailing spaces.
15274
61c23e62
RM
152752013-04-08 Roland McGrath <roland@hack.frob.com>
15276
15277 [BZ #14280]
15278 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15279 when computing value.
15280
7208a313
CD
152812013-04-06 Carlos O'Donell <carlos@redhat.com>
15282
085b2d41
CD
15283 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15284 Use testrun.sh to run libm tests.
15285
7208a313
CD
15286 [BZ #15309]
15287 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15288
872c0acd
MM
152892013-04-06 Marko Myllynen <myllynen@redhat.com>
15290
15291 [BZ #15264]
15292 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15293
26510bdd
CD
152942013-04-06 Carlos O'Donell <carlos@redhat.com>
15295
15296 * Makefile.in (regen-ulps): New target.
15297 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15298 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15299 [ifneq (no,$(PERL)] (regen-ulps): New target.
15300 [ifeq (no,$(PERL)] (regen-ulps): New target.
15301 * math/libm-test.inc (ulps_file_name): Define.
15302 (output_dir): New variable.
15303 (options): Add "output-dir" option.
15304 (parse_opt): Handle 'o' case.
15305 (main): If output_dir is non-NULL use it as a prefix
15306 otherwise use "".
15307 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15308
a01f19c8
CD
153092013-04-06 Carlos O'Donell <carlos@redhat.com>
15310
15311 [BZ #10060, #10062]
15312 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15313 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15314 fail configure if __sync_val_compare_and_swap is not inlined.
15315 * sysdeps/i386/configure: Regenerate.
15316 * configure.in: Build for i686 when configured for i386.
15317 * configure: Regenerate.
15318 * README: Remove i386 reference.
15319
b7a329a5
CD
153202013-04-06 Carlos O'Donell <carlos@redhat.com>
15321
15322 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15324
bf0f50df
TS
153252013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15326
ee091edf
TS
15327 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15328 (lmsnanval): New variables.
15329 (F): Add conversion tests.
15330 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15331 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15332
a8b792d6
TS
15333 * stdio-common/tstdiomisc.c (F): Properly collect individual
15334 tests' results.
15335
a1cbf437
TS
15336 [BZ #14686, #15336]
15337 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15338 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15339 Instead, use input NaN values or generate a qNaN by arithmetic
15340 operation. Also fix bugs to comply with the standard.
15341 * math/libm-test.inc (remainder_test): Add more tests.
15342
8b43a0c9
TS
15343 [BZ #15335, #15342]
15344 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15346 input NaN values or generate a qNaN by arithmetic operation.
15347
d91da4ce
TS
15348 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15349 unreachable code.
15350
bf0f50df
TS
15351 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15352 definitions.
15353
05e166c8
JM
153542013-04-03 Joseph Myers <joseph@codesourcery.com>
15355
15356 [BZ #14478]
15357 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15358 underflowed result.
15359 * math/s_cexpf.c (__cexpf): Likewise.
15360 * math/s_cexpl.c (__cexpl): Likewise.
15361 * math/libm-test.inc (cexp_test): Add more tests.
15362
1cef1b19
AS
153632013-04-03 Andreas Schwab <schwab@suse.de>
15364
15365 [BZ #15330]
15366 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15367 order arrays from heap if bigger than alloca cutoff.
15368
74d87055
TS
153692013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15370
15371 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15372 (SNAN_TESTS_double): Refer to GCC PR56831.
15373 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15374 GCC PR56828.
15375
d755bba4
SP
153762013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15377
90d5d5bb
SP
15378 * Rules (bench): Move bench.out after the run is complete.
15379
73e0cd5d
SP
15380 * Rules (bench): Echo currently running benchmark.
15381
64aabd4b
SP
15382 * benchtests/Makefile (bench): Add atan and slowatan.
15383 * benchtests/atan-inputs: New file.
15384 * benchtests/slowatan-inputs: New file.
15385 * benchtests/slowatan.c: New file.
15386
c871eccd
SP
15387 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15388 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15389 its value.
15390
d755bba4
SP
15391 [BZ #15305]
15392 * sysdeps/unix/sysv/linux/kernel-features.h
15393 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15394 __ASSUME_XFS_RESTRICTED_CHOWN.
15395 * sysdeps/unix/sysv/linux/pathconf.c
15396 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15397 Save and restore errno.
15398
52ce4860
JM
153992013-04-02 Joseph Myers <joseph@codesourcery.com>
15400
15401 [BZ #15327]
15402 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15403 arguments using __kernel_casinh.
15404 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15405 arguments using __kernel_casinhf.
15406 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15407 arguments using __kernel_casinhl.
15408 * math/libm-test.inc (cacosh_test): Add more tests.
15409 * sysdeps/i386/fpu/libm-test-ulps: Update.
15410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15411
81f311c2
SP
154122013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15413
e7906a47
SP
15414 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15415 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15416
92e3664b
SP
15417 * bench/Makefile (bench): Add sin and slowsin.
15418 * benchtests/sin-inputs: New file.
15419 * benchtests/slowsin-inputs: New file.
15420 * benchtests/slowsin.c: New file.
15421
81f311c2
SP
15422 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15423 (bench): Add slowexp and slowpow.
15424 (exp-ITER): Increase iterations.
15425 (pow-ITER): Likewise.
15426 * benchtests/exp-inputs: Change input.
15427 * benchtests/pow-inputs: Likewise.
15428 * benchtests/slowexp-inputs: New file.
15429 * benchtests/slowexp.c: New file.
15430 * benchtests/slowpow-inputs: New file.
15431 * benchtests/slowpow.c: New file.
15432
ab0f1aa9
AZ
154332013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15434
15435 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15436 instructions.
15437 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15438 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15439 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15440 * benchtests/Makefile: Add rint benchtest.
15441 * benchtests/rint-inputs: Input for rint benchtest.
15442
57267616
TS
154432013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15444
15445 * Versions.def (libm): Add GLIBC_2.18.
15446 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15447 hidden libm prototypes.
15448 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15449 * math/Makefile (libm-calls): Add s_issignaling.
15450 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15451 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15452 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15453 declaration.
15454 * math/math.h [__USE_GNU] (issignaling): New macro.
15455 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15456 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15458 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15461 * manual/arith.texi (issignaling): New section.
15462 * manual/libm-err-tab.pl (@all_functions): Update comment.
15463 * math/gen-libm-test.pl (parse_args): Apply special handling for
15464 issignaling.
15465 * math/libm-test.inc (print_float, issignaling_test): New
15466 functions.
15467 (check_float_internal): Add issignaling checks.
15468 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15469 default definition.
15470 * sysdeps/powerpc/math-tests.h: New file.
15471 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15472 tests.
15473 * math/test-snan.c (TEST_FUNC): Likewise.
15474
6142896d
DM
154752013-03-30 David S. Miller <davem@davemloft.net>
15476
15477 * po/de.po: Update from translation team.
15478
ccc8cadf
JM
154792013-03-30 Joseph Myers <joseph@codesourcery.com>
15480
15481 [BZ #10357]
15482 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15483 imaginary part less than 1.0 and real part less than 0.5
15484 specially.
15485 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15486 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15487 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15488 (cacos_test): Add more tests.
15489 (casin_test): Likewise.
15490 (casinh_test): Likewise.
15491 * sysdeps/i386/fpu/libm-test-ulps: Update.
15492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15493
0f6a8d4b
SP
154942013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15495
0d1029de
SP
15496 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15497 ONE with its value.
15498
c2d94018
SP
15499 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15500 (__pow_mp): Replace ONE and MONE with their values.
15501 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15502 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15503 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15504 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15505 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15506 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15507
27ec37f1
SP
15508 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15509
a64d7e0e
SP
15510 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15511 (__pow_mp): Replace ZERO and MZERO with their values.
15512 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15513 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15514 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15516 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15517 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15518 (__sqr): Likewise.
15519
d26dd3eb
SP
15520 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15521
0f6a8d4b
SP
15522 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15523
e57b0c61
RM
155242013-03-28 Roland McGrath <roland@hack.frob.com>
15525
15526 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15527 Declare with __attribute__ ((weak)).
15528 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15529 Call __call_tls_dtors only if it's not NULL.
15530
356b3480
RM
155312013-03-28 Roland McGrath <roland@hack.frob.com>
15532
288f7d79
RM
15533 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15534 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15535 magic __ehdr_start linker symbol if it's defined.
15536 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15537 them up here if it was already done.
15538
dc0a0263
RM
15539 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15540 (_dl_aux_init): Use const in cast when setting it.
15541 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15542 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15543 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15544
3d3436ae
RM
15545 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15546 Declare them here.
15547 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15548 * csu/libc-tls.c: Nor here.
15549 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15550
356b3480
RM
15551 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15552 (__libc_message): Never call vsyslog.
15553
b0f1246a
AM
155542013-03-28 Alan Modra <amodra@gmail.com>
15555
15556 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15557 Define as empty.
15558 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15559 Likewise.
15560
fbbe2b9a
AZ
155612013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15562
15563 [BZ #15214]
15564 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15565 underflow.
15566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15567
1728ab37
SP
155682013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15569
7a86be6e
SP
15570 [BZ #15304]
15571 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15572 Don't add gid passed as argument.
15573
1728ab37
SP
15574 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15575
3a7182a1
JM
155762013-03-27 Joseph Myers <joseph@codesourcery.com>
15577
15578 [BZ #15307]
15579 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15580 imaginary part between 1.0 and 1.5 and real part less than 0.5
15581 specially.
15582 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15583 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15584 * math/libm-test.inc (cacos_test): Add more tests.
15585 (casin_test): Likewise.
15586 (casinh_test): Likewise.
15587 * sysdeps/i386/fpu/libm-test-ulps: Update.
15588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15589
6f2e90e7
SP
155902013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15591
5739f705
SP
15592 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15593 constants.
15594 (norm): Likewise.
15595 (denorm): Likewise.
15596 (__dbl_mp): Likewise.
15597 (add_magnitudes): Likewise.
15598 (sub_magnitudes): Likewise.
15599 (__add): Likewise.
15600 (__sub): Likewise.
15601 (__mul): Likewise.
15602 (__sqr): Likewise.
15603 (__inv): Likewise.
15604 (__dvd): Likewise.
15605
e375e83d
SP
15606 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15607 commented code.
15608 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15609 (__dubcos): Likewise.
15610 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15611 (__ieee754_acos): Likewise.
15612 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15613 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15614 (__exp1): Likewise.
15615 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15617 (log1): Likewise.
15618 (my_log2): Likewise.
15619 (checkint): Likewise.
15620 * sysdeps/ieee754/dbl-64/e_remainder.c
15621 (__ieee754_remainder): Likewise.
15622 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15624 (bsloww): Likewise.
15625 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15626
6f2e90e7
SP
15627 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15628 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15629 MANTISSA_STORE_T to store computations on mantissa. Use
15630 macros for rounding and division.
15631 (denorm): Likewise.
15632 (__dbl_mp): Likewise.
15633 (add_magnitudes): Likewise.
15634 (sub_magnitudes): Likewise.
15635 (__mul): Likewise.
15636 (__sqr): Likewise.
15637 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15638 powers of two in terms of TWOPOW macro.
15639 (mp_no): Make type of mantissa as MANTISSA_T.
15640 [!RADIXI]: Define RADIXI.
15641 [!TWO52]: Define TWO52.
15642 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15643
fce14d4e
AZ
156442013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15645
15646 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15647 llroundl symbol when building for PPC32.
15648
9ad027fb
MW
156492013-03-24 Mark H Weaver <mhw@netris.org>
15650
15651 * manual/arith.texi (Normalization Functions): Fix prototypes for
15652 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15653
e42a38dd
AZ
156542013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15655
15656 [BZ #13889]
15657 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15658 high value to check if expl overflow.
15659 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15660 to check for underflow and overflow.
15661 * math/libm-test.inc: Add exp test.
15662
2e0fb521
DL
156632013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15664
15665 [BZ #11120]
15666 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15667 with NOT_IN_libc.
15668
b5784d95
AZ
156692013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15670
15671 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15672 symbol.
15673
5aa4a1a1
TS
156742013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15675
bdef0be7
TS
15676 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15677 wrap blocks consisting of several statements.
15678
5aa4a1a1
TS
15679 * sysdeps/generic/math-tests.h: New file.
15680 * sysdeps/i386/fpu/math-tests.h: Likewise.
15681 * math/test-snan.c: Include it.
15682 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15683
98c48fe5
JM
156842013-03-21 Joseph Myers <joseph@codesourcery.com>
15685
15686 [BZ #15285]
15687 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15688 (__ieee754_j0l): Do not improve calculations using cos of twice
15689 input for inputs above LDBL_MAX / 2.0L.
15690 (__ieee754_y0l): Likewise.
15691 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15692 (__ieee754_j1l): Do not improve calculations using cos of twice
15693 input for inputs above LDBL_MAX / 2.0L.
15694 (__ieee754_y1l): Likewise.
15695 * math/libm-test.inc (j0_test): Add another test.
15696 (j1_test): Likewise.
15697 (y0_test): Likewise.
15698 (y1_test): Likewise.
15699 * sysdeps/i386/fpu/libm-test-ulps: Update.
15700
3775a8bc
SP
157012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15702
15703 * Rules ($(objpfx)bench-%.c): Include code from a C source
15704 file.
15705
0a1b2ae6
JM
157062013-03-21 Joseph Myers <joseph@codesourcery.com>
15707
15708 [BZ #15287]
15709 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15710 imaginary part 1.0 and real part less than 0.5 specially.
15711 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15712 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15713 * math/libm-test.inc (cacos_test): Add more tests.
15714 (casin_test): Likewise.
15715 (casinh_test): Likewise.
15716 * sysdeps/i386/fpu/libm-test-ulps: Update.
15717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15718
b33d4ce4
SP
157192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15720
15721 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15722 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15723
bef0b507
JM
157242013-03-20 Joseph Myers <joseph@codesourcery.com>
15725
15726 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15727 * config.make.in (config-cflags-sse4): Remove variable.
15728 (config-cflags-avx): Likewise.
15729 (config-cflags-sse2avx): Likewise.
15730 (config-cflags-novzeroupper): Likewise.
15731 (config-asflags-i686): Likewise.
15732 (have-mfma4): Likewise.
15733 (have-as-vis3): Likewise.
15734 (MIG): Likewise.
15735 * configure.in (MIG): Do not AC_SUBST.
15736 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15737 (libc_cv_cc_sse4): Do not AC_SUBST.
15738 (libc_cv_cc_avx): Likewise.
15739 (libc_cv_cc_sse2avx): Likewise.
15740 (libc_cv_cc_novzeroupper): Likewise.
15741 (libc_cv_cc_fma4): Likewise.
15742 (libc_cv_as_i686): Likewise.
15743 (libc_cv_sparc_as_vis3): Likewise.
15744 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15745 LIBC_CONFIG_VAR.
15746 (config-asflags-i686): Likewise.
15747 (config-cflags-avx): Likewise.
15748 (config-cflags-sse2avx): Likewise.
15749 (have-mfma4): Likewise.
15750 (config-cflags-novzeroupper): Likewise.
15751 * sysdeps/mach/configure.in (MIG): Likewise.
15752 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15753 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15754 LIBC_CONFIG_VAR.
15755 (config-cflags-avx): Likewise.
15756 (config-cflags-sse2avx): Likewise.
15757 (have-mfma4): Likewise.
15758 (config-cflags-novzeroupper): Likewise.
15759 * configure: Regenerated.
15760 * sysdeps/i386/configure: Likewise.
15761 * sysdeps/mach/configure: Likewise.
15762 * sysdeps/sparc/configure: Likewise.
15763 * sysdeps/x86_64/configure: Likewise.
15764
912cc4b3
RM
157652013-03-20 Roland McGrath <roland@hack.frob.com>
15766
15767 [BZ #14812]
15768 * locale/programs/localedef.c (options): Put N_ translation marker
15769 on argument names, not just descriptions.
15770
04eed2b0
MS
157712013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15772
15773 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15774
a065ceff
OB
157752013-03-20 Ondřej Bílka <neleai@seznam.cz>
15776
9bb2a810 15777 [BZ #14176]
a065ceff
OB
15778 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15779
a600e5ce
RM
157802013-03-19 Roland McGrath <roland@hack.frob.com>
15781
15782 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15783 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15784 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15785 [!BEFORE_ABORT] (before_abort): New function.
15786 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15787 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15788 (writev_for_fatal): New function.
15789 (WRITEV_FOR_FATAL): New macro; call that.
15790 (backtrace_and_maps): New function.
15791 (BEFORE_ABORT): New macro; call that.
15792 (struct str_list): Type removed.
15793 (__libc_message, __libc_fatal): Functions removed.
15794 Include <sysdeps/posix/libc_fatal.c> instead.
15795
6b18bea6
JM
157962013-03-19 Joseph Myers <joseph@codesourcery.com>
15797
15798 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15799 constants.
15800 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15801 double constants.
15802
aaa8cb4b
AS
158032013-03-19 Andreas Schwab <schwab@suse.de>
15804
44673770
AS
15805 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15806 * sysdeps/gnu/configure: Regenerate.
15807
aaa8cb4b
AS
15808 * configure.in: Substitute libc_cv_rtlddir.
15809 * configure: Regenerate.
15810 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15811 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15812 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15813 * elf/Makefile (install-others, CFLAGS-interp.c)
15814 (ldso_install, common-ldd-rewrite): Likewise.
15815 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15816 $(inst_slibdir)/$(rtld-installed-name).
15817 * scripts/rellns-sh: Add -p option.
15818 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15819 for source.
15820
d3cfc668
SP
158212013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15822
15823 * manual/nptl.texi: Renamed to ...
15824 * manual/threads.texi: ... this.
15825 * manual/Makefile (chapters): Update.
15826
0e2b9cdd
RM
158272013-03-18 Roland McGrath <roland@hack.frob.com>
15828
15829 [BZ #14812]
15830 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15831 on argument names, not just descriptions.
0e2b9cdd
RM
15832 * malloc/memusagestat.c (options): Likewise.
15833 * nss/getent.c (options): Likewise.
63270c24
RM
15834
158352013-03-18 Benno Schulenberg <bensberg@justemail.net>
15836
15837 [BZ #14812]
15838 * iconv/iconv_prog.c (options): Put N_ translation marker
15839 on argument names, not just descriptions.
15840 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15841
b2e1393c
OB
158422013-03-18 Ondrej Bilka <neleai@seznam.cz>
15843
15844 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15845 implementation which is faster on all x86_64 architectures.
15846 Tested on AMD, Intel Nehalem, SNB, IVB.
15847 * sysdeps/x86_64/strnlen.S: Likewise.
15848
15849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15850 Remove all multiarch strlen and strnlen versions.
15851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15852 Remove strlen and strnlen related parts.
15853
15854 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15855 Inline strlen part.
15856 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15857
15858 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15859 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15860 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15861 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15862 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15863 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15864
ec4ff04d
CD
158652013-03-17 Carlos O'Donell <carlos@redhat.com>
15866
15867 * manual/memory.texi (Malloc Tunable Parameters):
15868 Sort parameters alphabetically. Add comments for missing entries.
15869
cd18e90a
DM
158702013-03-17 David S. Miller <davem@davemloft.net>
15871
15872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15873
2a185d32
JM
158742013-03-16 Joseph Myers <joseph@codesourcery.com>
15875
d2f9799e
JM
15876 [BZ #15283]
15877 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15878 for arguments at most half maximum finite value.
15879 * math/libm-test.inc (j0_test): Add more tests.
15880 (j1_test): Likewise.
15881 (y0_test): Likewise.
15882 (y1_test): Likewise.
15883 * sysdeps/i386/fpu/libm-test-ulps: Update.
15884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15885
2a185d32
JM
15886 [BZ #14155]
15887 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15888 1 / x and functions P and Q for arguments above 0x1p256L.
15889 (__ieee754_y0l): Likewise.
15890 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15891 (__ieee754_y1l): Likewise.
15892 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15893 (j1_test): Likewise.
15894 (y0_test): Likewise.
15895 (y1_test): Likewise.
15896
6cbec759
TS
158972013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15898
15899 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15900 variable.
15901
bc16e260
RM
159022013-03-15 Roland McGrath <roland@hack.frob.com>
15903
aefc9b8c
RM
15904 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15905 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15906 zero since it's initialized to EXEC_PAGESIZE.
15907
bc16e260
RM
15908 * sysdeps/unix/sysv/linux/ldsodefs.h
15909 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15910 * sysdeps/generic/ldsodefs.h: ... here.
15911
a57da955
TS
159122013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15913
af00a34d
TS
15914 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15915
495ded2c
TS
15916 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15917 math/test-snan.c.
15918 * math/test-snan.c: Renamed from
15919 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15920 * math/Makefile (tests): Add test-snan.
15921 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15922 test-powerpc-snan.
15923
777b0332
TS
15924 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15925 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15926 functions.
15927 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15928 __builtin_nan family of functions.
15929 * math/libm-test.inc (initialize): Initialize qnan_value with
15930 __builtin_nan family of functions.
15931 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15932 Remove variables.
15933 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15934 Remove functions.
15935 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15936 storage class. Initialize qNaN_var and sNaN_var with
15937 __builtin_nan and __builtin_nans families of functions,
15938 respectively.
15939
64d063b8
TS
15940 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15941 (sqrt_test): Remove duplicate test with qNaN input.
15942 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15943 (round_test, signbit_test, significand_test): Note missing +/-Inf
15944 as well as qNaN tests.
15945
67e971f1
TS
15946 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15947 qNaN_var. Fix a few strings, too.
15948 * math/libm-test.inc (nan_value): Rename to qnan_value.
15949 * math/gen-libm-test.pl (%beautify): Adjust to that.
15950 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15951 * math/test-misc.c (main): Likewise.
15952 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15953 to __qnan_bytes, and __qnan_union, respectively.
15954 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15955 Likewise.
15956 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15957 and lqnanval, respectively.
15958 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15959 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15960 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15961 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15962
64487e12
TS
15963 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15964 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15965 doubles.
15966
e015e27b
TS
15967 * math/test-misc.c (main): Fix copy'n'pastos.
15968 * misc/tst-efgcvt.c (special): Likewise.
15969
a57da955
TS
15970 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15971 Remove declarations.
15972
1e380345
SP
159732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15974
15975 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15976 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15977 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15978 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15979
ef26eece
AZ
159802013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15981
15982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15983 macro to return vdso values correctly in IFUNC implementations.
15984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15985 Optimization by using IFUNC.
15986
8cfdb7e0
SP
159872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15988 Richard Henderson <rth@redhat.com>
15989 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15990
15991 * Makefile.in (bench): New target.
15992 * NEWS: Mention the benchmark framework.
15993 * Rules (bench): Likewise.
15994 (binaries-bench): Generate binaries for functions to
15995 benchmark.
15996 * benchtests/Makefile: New makefile for benchmark tests.
15997 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15998 programs.
15999 * benchtests/exp-inputs: New input file for EXP function.
16000 * benchtests/pow-inputs: New input file for POW function.
16001 * scripts/bench.pl: New script to generate source files for
16002 benchmark programs.
16003
bcda9880
SP
160042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16005
d22ca8cd
SP
16006 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16007 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16008 computations on mantissa. Use macros for rounding and
16009 division.
16010 (denorm): Likewise.
16011 (__dbl_mp): Likewise.
16012 (add_magnitudes): Likewise.
16013 (sub_magnitudes): Likewise.
16014 (__mul): Likewise.
16015 (__sqr): Likewise.
16016 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16017 powers of two in terms of TWOPOW macro.
16018 (mp_no): Make type of mantissa as MANTISSA_T.
16019 [!RADIXI]: Define RADIXI.
16020 [!TWO52]: Define TWO52.
16021 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16022
bcda9880
SP
16023 * manual/nptl.texi (cindex): Modify threads to pthreads.
16024
06d5adfb
JM
160252013-03-15 Joseph Myers <joseph@codesourcery.com>
16026
16027 * sysdeps/x86_64/preconfigure: Regenerated.
16028
41c7328e
JM
160292013-03-14 Joseph Myers <joseph@codesourcery.com>
16030
16031 [BZ #14155]
16032 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16033 0x1p28 and above.
16034 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16035 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16036 0x1p28 and above.
16037 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16038 * math/libm-test.inc (j0_test): Do not allow one spurious
16039 underflow exception.
16040 (y1_test): Likewise.
16041
e25cfa60
SP
160422013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16043
0409959c
SP
16044 * manual/Makefile (chapters): Add nptl.
16045 * manual/debug.texi (Debugging Support): Add link to Threads
16046 chapter.
16047 * manual/nptl.texi: New file.
16048
e25cfa60
SP
16049 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16050
58a1335e
PB
160512013-03-14 Petr Baudis <pasky@ucw.cz>
16052
16053 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16054 for non-NULL pointer before the memory validity test. Pointed
16055 out by Holger Brunck <holger.brunck@keymile.com>.
16056
9dc7c64f
AS
160572013-03-13 Andreas Schwab <schwab@suse.de>
16058
16059 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16060 instead of .os.
16061
54206aa6
JM
160622013-03-13 Joseph Myers <joseph@codesourcery.com>
16063
16064 * timezone/zic.c: Update from tzcode 2013b.
16065
e98cdb38
CD
160662013-03-12 Carlos O'Donell <carlos@redhat.com>
16067
16068 * manual/install.texi (Configuring and compiling):
16069 Mention i686 and i586.
16070 * INSTALL: Regenerate.
16071
9967e003
RM
160722013-03-12 Roland McGrath <roland@hack.frob.com>
16073
16074 * sysdeps/init_array/elf-init.c: New file.
16075 * csu/elf-init.c
16076 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16077 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16078
16079 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16080 __gmon_start__ as global, but as static with a .preinit_array pointer.
16081 * sysdeps/init_array/gmon-start.c: New file. Use that.
16082 * sysdeps/init_array/crti.S: New file, empty except for comments.
16083 * sysdeps/init_array/crtn.S: Likewise.
16084
e6b5a293 160852013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16086
16087 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16088 definining bcopy.
80f844c9
OB
16089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16090 Remove Prefer_SSE_for_memop.
16091 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16092 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16093 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16095 memset-x86-64.
80f844c9 16096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16097 Remove bzero, memset ifunc support.
80f844c9
OB
16098 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16099 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16100 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16101 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16102
fb6b0fcb
AS
161032013-03-11 Andreas Schwab <schwab@suse.de>
16104
16105 [BZ #15234]
16106 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16107 by SHLIB_COMPAT.
16108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16109 (GLIBC_2.16): Remove pthread_atfork.
16110
3e6bd4b1
PP
161112013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16112
16113 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16114 (ptestcases.h): Likewise.
16115
222d7f00
RM
161162013-03-08 Roland McGrath <roland@hack.frob.com>
16117
16118 * Makeconfig ($(common-objpfx)config.status): Depend on
16119 sysdeps/*/preconfigure{,.in} too.
16120
1ba4f030
JM
161212013-03-08 Joseph Myers <joseph@codesourcery.com>
16122
a222d91a
JM
16123 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16124 (__free_hook): Use void * instead of __malloc_ptr_t.
16125 (__malloc_hook): Likewise.
16126 (__realloc_hook): Likewise.
16127 (__memalign_hook): Likewise.
16128 (__after_morecore_hook): Likewise.
16129 * malloc/arena.c (save_malloc_hook): Likewise.
16130 (save_free_hook): Likewise.
16131 * malloc/hooks.c (malloc_hook_ini): Likewise.
16132 (realloc_hook_ini): Likewise.
16133 (memalign_hook_ini): Likewise.
16134 * malloc/malloc.c (malloc_hook_ini): Likewise.
16135 (realloc_hook_ini): Likewise.
16136 (memalign_hook_ini): Likewise.
16137 (__free_hook): Likewise.
16138 (__malloc_hook): Likewise.
16139 (__realloc_hook): Likewise.
16140 (__memalign_hook): Likewise.
16141 (__libc_malloc): Likewise.
16142 (__libc_free): Likewise.
16143 (__libc_realloc): Likewise.
16144 (__libc_memalign): Likewise.
16145 (__libc_valloc): Likewise.
16146 (__libc_pvalloc): Likewise.
16147 (__libc_calloc): Likewise.
16148 (__posix_memalign): Likewise.
16149 * malloc/morecore.c (__sbrk): Likewise.
16150 (__default_morecore): Likewise.
16151
5cc45e10
JM
16152 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16153
dd54b864
JM
16154 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16155 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16156 __malloc_ptrdiff_t.
16157
1ba4f030
JM
16158 * malloc/malloc.h (__malloc_size_t): Remove macro.
16159 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16160 __malloc_size_t.
16161 (old_memalign_hook): Likewise.
16162 (old_realloc_hook): Likewise.
16163 (struct hdr): Likewise.
16164 (flood): Likewise.
16165 (mallochook): Likewise.
16166 (memalignhook): Likewise.
16167 (reallochook): Likewise.
16168 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16169 (tr_old_realloc_hook): Likewise.
16170 (tr_old_memalign_hook): Likewise.
16171 (tr_mallochook): Likewise.
16172 (tr_reallochook): Likewise.
16173 (tr_memalignhook): Likewise.
16174
edf66e57
AZ
161752013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16176
16177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16178 default_ldbl_pack and using as default implementation.
16179 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16180 implementation.
16181 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16182 redundant definition.
16183 (ldbl_insert_mantissa): Likewise.
16184 (ldbl_canonicalize): Likewise.
16185 (ldbl_nearbyint): Likewise.
16186 (ldbl_pack): Rename to ldbl_pack_ppc.
16187 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16188 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16189 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16190
6d9145d8
SP
161912013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16192
16193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16194 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16195 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16196 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16198 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16199 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16200 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16201
4dd4e157
AJ
162022013-03-07 Andreas Jaeger <aj@suse.de>
16203
16204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16205 bits/mman-linux.h.
16206
adbb8027
SP
162072013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16208
ce544b5b
SP
16209 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16210 Include mpa.h and declare __MPEXP.
16211 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16212 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16213 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16214 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16215 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16216 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16217 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16218
4cc149fd
SP
16219 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16220 (__slowpow): Use long double EXPL and LOGL functions to
16221 compute POW.
16222 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16223 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16224 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16225 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16226 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16227 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16228
e6ebd4a7
SP
16229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16230 intermediate variable to calculate exponent.
16231 (__sqr): Likewise.
16232 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16233 Likewise.
16234 (__sqr): Likewise.
16235
82a9811d
SP
16236 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16237 [!NO__SQR]: Define __sqr.
16238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16239 and NO__SQR. Remove all code except __mul and __sqr. Include
16240 sysdeps/ieee754/dbl-64/mpa.c.
16241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16242
adbb8027
SP
16243 [BZ #12723]
16244 * posix/Makefile (tests): Add tst-pathconf.
16245 * posix/tst-pathconf.c: New test case.
16246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16247 _PC_PIPE_BUF.
16248 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16249
39120df9
PF
162502013-03-06 Patsy Franklin <pfrankli@redhat.com>
16251
16252 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16253
67525cb8
AJ
162542013-03-06 Andreas Jaeger <aj@suse.de>
16255
664a9ce4
AJ
16256 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16257 definition via __MAP_ANONYMOUS.
16258
8e39047d
AJ
16259 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16260 it's not part of Linux headers.
16261
67525cb8
AJ
16262 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16263 (MAP_HUGE_MASK): Define.
16264
16265 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16266 Define.
16267 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16269 Define.
16270 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16271 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16272 Define.
16273 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16274 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16275 Define.
16276 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16277
16278 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16279 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16280 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16281 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16282 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16283 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16284
16285 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16286 Handle f2fs.
16287
16288 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16289 Handle f2fs and efivarfs.
16290
16291 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16292 f2fs.
16293
16294 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16295 (EFIVARFS_MAGIC): Add.
16296 (F2FS_LINK_MAX): Add.
16297
e1b42695
PP
162982013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16299
16300 * stdio-common/vfprintf.c: Replace __builtin_expect with
16301 __glibc_unlikely.
16302
2d67d91a
JM
163032013-03-06 Joseph Myers <joseph@codesourcery.com>
16304
16305 [BZ #13550]
16306 * sysdeps/generic/bp-sym.h: Remove file.
16307 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16308 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16309 <bp-sym.h> and <bp-asm.h>.
16310 (__longjmp): Don't use BP_SYM.
16311 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16312 and <bp-asm.h>.
16313 (memcpy): Don't use BP_SYM.
16314 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16315 <bp-sym.h> and <bp-asm.h>.
16316 (memcpy): Don't use BP_SYM.
16317 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16318 <bp-asm.h>.
16319 (memcpy): Don't use BP_SYM.
16320 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16321 <bp-asm.h>.
16322 (memset): Don't use BP_SYM.
16323 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16324 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16325 (__bzero): Don't use BP_SYM.
16326 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16327 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16328 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16329 <bp-sym.h> and <bp-asm.h>.
16330 (memcmp): Don't use BP_SYM. Remove comment about bounded
16331 pointers.
16332 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16333 <bp-sym.h> and <bp-asm.h>.
16334 (memcpy): Don't use BP_SYM.
16335 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16336 <bp-sym.h> and <bp-asm.h>.
16337 (memset): Don't use BP_SYM.
16338 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16339 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16340 (__bzero): Don't use BP_SYM.
16341 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16342 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16343 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16344 <bp-sym.h> and <bp-asm.h>.
16345 (strncmp): Don't use BP_SYM. Remove comment about bounded
16346 pointers.
16347 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16348 <bp-sym.h> and <bp-asm.h>.
16349 (memcpy): Don't use BP_SYM.
16350 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16351 <bp-sym.h> and <bp-asm.h>.
16352 (memset): Don't use BP_SYM.
16353 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16354 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16355 (__bzero): Don't use BP_SYM.
16356 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16357 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16358 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16359 <bp-sym.h> and <bp-asm.h>.
16360 (__memchr): Don't use BP_SYM.
16361 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16362 <bp-sym.h> and <bp-asm.h>.
16363 (memcmp): Don't use BP_SYM. Remove comment about bounded
16364 pointers.
16365 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16366 <bp-sym.h> and <bp-asm.h>.
16367 (memcpy): Don't use BP_SYM.
16368 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16369 <bp-sym.h> and <bp-asm.h>.
16370 (__mempcpy): Don't use BP_SYM.
16371 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16372 <bp-sym.h> and <bp-asm.h>.
16373 (__memrchr): Don't use BP_SYM.
16374 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16375 <bp-sym.h> and <bp-asm.h>.
16376 (memset): Don't use BP_SYM.
16377 (__bzero): Likewise.
16378 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16379 <bp-sym.h> and <bp-asm.h>.
16380 (__rawmemchr): Don't use BP_SYM.
16381 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16382 <bp-sym.h> and <bp-asm.h>.
16383 (__STRCMP): Don't use BP_SYM.
16384 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16385 <bp-sym.h> and <bp-asm.h>.
16386 (strchr): Don't use BP_SYM.
16387 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16388 <bp-sym.h> and <bp-asm.h>.
16389 (__strchrnul): Don't use BP_SYM.
16390 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16391 <bp-sym.h> and <bp-asm.h>.
16392 (strlen): Don't use BP_SYM.
16393 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16394 <bp-sym.h> and <bp-asm.h>.
16395 (strncmp): Don't use BP_SYM. Remove comment about bounded
16396 pointers.
16397 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16398 <bp-sym.h> and <bp-asm.h>.
16399 (__strnlen): Don't use BP_SYM.
16400 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16401 <bp-sym.h> and <bp-asm.h>.
16402 (__GI__setjmp): Don't use BP_SYM.
16403 (_setjmp): Likewise.
16404 (__sigsetjmp): Likewise.
16405 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16406 (L(start_addresses)): Don't use BP_SYM.
16407 (_start): Likewise.
16408 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16409 <bp-asm.h>.
16410 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16411 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16412 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16413 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16414 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16415 <bp-asm.h>.
16416 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16417 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16418 about bounded pointers.
16419 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16420 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16421 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16422 <bp-asm.h>.
16423 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16424 about bounded pointers. Remove GKM FIXME comments.
16425 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16426 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16427 <bp-asm.h>.
16428 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16429 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16430 Remove GKM FIXME comments.
16431 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16432 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16433 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16434 <bp-asm.h>.
16435 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16436 about bounded pointers. Remove GKM FIXME comment.
16437 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16438 and <bp-asm.h>.
16439 (strncmp): Don't use BP_SYM. Remove comment about bounded
16440 pointers.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16442 <bp-sym.h> and <bp-asm.h>.
16443 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16445 <bp-sym.h> and <bp-asm.h>.
16446 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16447 comment.
16448
cdcf361f
PP
164492013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16450
16451 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16452 call free(NULL).
16453
3c4a2b15
DM
164542013-03-05 David S. Miller <davem@davemloft.net>
16455
16456 * po/es.po: Update from translation team.
16457
cdcf361f 164582013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16459
16460 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16461 <bits/mman-linux.h>.
16462 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16463 is fine.
16464 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16465 <bits/mman-linux.h> to end of file.
16466 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16467 is fine.
16468 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16469 <bits/mman-linux.h> to end of file.
16470 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16471 is fine.
16472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16473 <bits/mman-linux.h> to end of file.
16474
16475 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16476 (MCL_CURRENT, MCL_FUTURE): Define here.
16477
5f67c04f
AK
164782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16479
8a4473cc 16480 [BZ #15232]
5f67c04f
AK
16481 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16482 attribute_hidden.
16483 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16484
c3e94a95
AK
164852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16486
16487 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16488 fourth parameter needed for rt_sigprocmask syscall.
16489 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16490 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16491 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16492 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16493 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16494 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16495
cfb6382a
JM
164962013-03-04 Joseph Myers <joseph@codesourcery.com>
16497
16498 [BZ #13550]
16499 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16500 comment about bounded pointers.
16501 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16502 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16503
539d8e01
AJ
165042013-03-04 Andreas Jaeger <aj@suse.de>
16505
16506 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16507 common definitions.
16508
16509 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16510 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16511 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16512 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16513 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16514 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16515
2e167a70 165162013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16517
16518 [BZ #15055]
16519 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16520 __ieee754_sqrl instead of __sqrl.
16521
68508633
JM
165222013-03-01 Joseph Myers <joseph@codesourcery.com>
16523
16524 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16525 * sysdeps/powerpc/fpu_control.h: ... here.
16526 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16527 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16528 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16529 * sysdeps/powerpc/bits/mathinline.h: ... here.
16530
7775448e
RM
165312013-03-01 Roland McGrath <roland@hack.frob.com>
16532
16533 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16534 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16535 to just [NEED_DL_SYSINFO_DSO].
16536 * elf/dl-support.c: Likewise.
16537 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16538 * elf/rtld.c (dl_main): Likewise.
16539 * elf/setup-vdso.h (setup_vdso): Likewise.
16540 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16541 * sysdeps/unix/sysv/linux/dl-sysdep.c
16542 (_dl_discover_osversion): Likewise.
16543
4e9b5995
CD
165442013-03-01 Carlos O'Donell <carlos@redhat.com>
16545
16546 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16547 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16548
e23872c8
SP
165492013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16550
e5c74c63
SP
16551 * NEWS: Mention libm performance improvements and non-x86 PI
16552 futex support.
16553
e23872c8
SP
16554 * csu/libc-start.c (__pthread_initialize_minimal): Change
16555 function arguments.
16556 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16557
b5510883
JM
165582013-02-28 Joseph Myers <joseph@codesourcery.com>
16559
16560 [BZ #13550]
16561 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16562 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16563 <bp-sym.h> and <bp-asm.h>.
16564 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16565 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16566 and <bp-asm.h>.
16567 (memcpy): Don't use BP_SYM.
16568 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16569 <bp-asm.h>.
16570 (__mpn_add_n): Don't use BP_SYM.
16571 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16572 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16573 and <bp-asm.h>.
16574 (__mpn_addmul_1): Don't use BP_SYM.
16575 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16576 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16577 <bp-sym.h>.
16578 (_setjmp): Don't use BP_SYM.
16579 (__novmx_setjmp): Likewise.
16580 (__GI__setjmp): Likewise.
16581 (__vmx_setjmp): Likewise.
16582 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16583 <bp-sym.h>.
16584 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16585 (__bzero): Don't use BP_SYM.
16586 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16587 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16588 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16589 <bp-sym.h> and <bp-asm.h>.
16590 (memcpy): Don't use BP_SYM.
16591 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16592 <bp-sym.h> and <bp-asm.h>.
16593 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16594 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16595 <bp-sym.h> and <bp-asm.h>.
16596 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16597 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16598 <bp-asm.h>.
16599 (__mpn_lshift): Don't use BP_SYM.
16600 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16601 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16602 <bp-asm.h>.
16603 (memset): Don't use BP_SYM.
16604 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16605 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16606 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16607 <bp-asm.h>.
16608 (__mpn_mul_1): Don't use BP_SYM.
16609 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16610 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16611 <bp-sym.h> and <bp-asm.h>.
16612 (memcmp): Don't use BP_SYM.
16613 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16614 <bp-sym.h> and <bp-asm.h>.
16615 (memcpy): Don't use BP_SYM.
16616 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16617 <bp-sym.h> and <bp-asm.h>.
16618 (memset): Don't use BP_SYM.
16619 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16620 <bp-sym.h> and <bp-asm.h>.
16621 (strncmp): Don't use BP_SYM.
16622 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16623 <bp-sym.h> and <bp-asm.h>.
16624 (memcpy): Don't use BP_SYM.
16625 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16626 <bp-sym.h> and <bp-asm.h>.
16627 (memset): Don't use BP_SYM.
16628 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16629 <bp-sym.h> and <bp-asm.h>.
16630 (__memchr): Don't use BP_SYM.
16631 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16632 <bp-sym.h> and <bp-asm.h>.
16633 (memcmp): Don't use BP_SYM.
16634 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16635 <bp-sym.h> and <bp-asm.h>.
16636 (memcpy): Don't use BP_SYM.
16637 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16638 <bp-sym.h> and <bp-asm.h>.
16639 (__mempcpy): Don't use BP_SYM.
16640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16641 <bp-sym.h> and <bp-asm.h>.
16642 (__memrchr): Don't use BP_SYM.
16643 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16644 <bp-sym.h> and <bp-asm.h>.
16645 (memset): Don't use BP_SYM.
16646 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16647 <bp-sym.h> and <bp-asm.h>.
16648 (__rawmemchr): Don't use BP_SYM.
16649 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16650 <bp-sym.h> and <bp-asm.h>.
16651 (__STRCMP): Don't use BP_SYM.
16652 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16653 <bp-sym.h> and <bp-asm.h>.
16654 (strchr): Don't use BP_SYM.
16655 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16656 <bp-sym.h> and <bp-asm.h>.
16657 (__strchrnul): Don't use BP_SYM.
16658 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16659 <bp-sym.h> and <bp-asm.h>.
16660 (strlen): Don't use BP_SYM.
16661 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16662 <bp-sym.h> and <bp-asm.h>.
16663 (strncmp): Don't use BP_SYM.
16664 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16665 <bp-sym.h> and <bp-asm.h>.
16666 (__strnlen): Don't use BP_SYM.
16667 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16668 <bp-asm.h>.
16669 (__mpn_rshift): Don't use BP_SYM.
16670 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16671 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16672 <bp-sym.h> and <bp-asm.h>.
16673 (__sigsetjmp): Don't use BP_SYM.
16674 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16675 (L(start_addresses)): Don't use BP_SYM.
16676 (_start): Likewise.
16677 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16678 <bp-asm.h>.
16679 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16680 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16681 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16682 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16683 <bp-asm.h>.
16684 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16685 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16686 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16687 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16688 <bp-asm.h>.
16689 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16690 comments.
16691 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16692 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16693 <bp-asm.h>.
16694 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16695 FIXME comments.
16696 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16697 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16698 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16699 <bp-asm.h>.
16700 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16701 comment.
16702 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16703 and <bp-asm.h>.
16704 (strncmp): Don't use BP_SYM,
16705 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16706 <bp-asm.h>.
16707 (__mpn_sub_n): Don't use BP_SYM.
16708 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16709 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16710 and <bp-asm.h>.
16711 (__mpn_submul_1): Don't use BP_SYM.
16712 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16714 <bp-sym.h> and <bp-asm.h>.
16715 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16717 <bp-sym.h> and <bp-asm.h>.
16718 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16719 comment.
16720
8d19fe64
SP
167212013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16722
16723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16724 Use ZK to minimize writes to Z.
16725 (sub_magnitudes): Simplify code a bit.
16726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16727 Use ZK to minimize writes to Z.
16728 (sub_magnitudes): Simplify code a bit.
16729
85bd816a
RM
167302013-02-27 Roland McGrath <roland@hack.frob.com>
16731
16732 * csu/gmon-start.c: Add special exception to license text.
16733
b5977bf2
RH
167342013-02-27 Richard Henderson <rth@redhat.com>
16735
16736 * scripts/config.guess: Update from config.git.
16737 * scripts/config.sub: Likewise.
16738
11d6e2f2
SP
167392013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16740
09c14ed2
SP
16741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16742
a688864e
SP
16743 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16744
6295157a
SP
16745 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16746
b8de2202
SP
16747 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16748
11d6e2f2
SP
16749 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16750
7e80ddb8
RM
167512013-02-26 Roland McGrath <roland@hack.frob.com>
16752
16753 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16754 [$(build-shared = yes].
7e80ddb8 16755
7da6d9ed
SP
167562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16757
45f05884
SP
16758 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16759 (__mul): Reduce iterations for calculating mantissa.
16760
2236d359
SP
16761 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16762 MPTWO.
16763 (__mpranred): Likewise.
16764
7da6d9ed
SP
16765 [BZ #15160]
16766 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16767 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16768
b7688c42
PE
167692013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16770
16771 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16772 Define __attribute__.
16773
53a5c423
SP
167742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16775
16776 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16777 unused.
16778 * posix/regex_internal.h (__attribute): Remove.
16779 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16780 (re_string_context_at): Likewise.
16781 (bitset_not): Use __attribute__ and mark function as possibly
16782 unused.
16783 (bitset_merge): Likewise.
16784 (bitset_mask): Likewise.
16785 (re_string_char_size_at): Likewise.
16786 (re_string_wchar_at): Likewise.
16787 (re_string_elem_size_at): Likewise.
16788
60f5a8b5
SP
167892013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16790
2a983a2e
SP
16791 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16792 code.
16793 (cc32): Likewise.
16794
e69804d1
SP
16795 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16796 (__acr): Likewise.
16797 (__cpy): Likewise.
16798 (norm): Likewise.
16799 (denorm): Likewise.
16800 (__dbl_mp): Likewise.
16801 (add_magnitudes): Likewise.
16802 (sub_magnitudes): Likewise.
16803 (__mul): Likewise.
16804 (__inv): Likewise.
16805
2f22a1e8
SP
16806 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16807 style.
16808
8930ddc7
SP
16809 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16810 style.
16811
dc60cb11
SP
16812 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16813 code.
16814
60f5a8b5
SP
16815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16816 up changes with default code.
16817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16818 Likewise.
16819
b4d1fd33
AM
168202013-02-24 Allan McRae <allan@archlinux.org>
16821
faf6f8bc
AM
16822 * manual/socket.texi (The Internet Namespace): Order menu items
16823 to match that in the file.
16824
b4d1fd33
AM
16825 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16826 node listing of the info page menu.
16827
2366713d
JM
168282013-02-21 Joseph Myers <joseph@codesourcery.com>
16829
16830 [BZ #13550]
16831 * sysdeps/i386/bp-asm.h: Remove file.
16832 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16833 (PARMS): Do not use macros from bp-asm.h.
16834 (S1): Likewise.
16835 (S2): Likewise.
16836 (SIZE): Likewise.
16837 (__mpn_add_n): Do not use BP_SYM
16838 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16839 "bp-asm.h".
16840 (PARMS): Do not use macros from bp-asm.h.
16841 (S1): Likewise.
16842 (SIZE): Likewise.
16843 (__mpn_addmul_1): Do not use BP_SYM
16844 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16845 "bp-asm.h".
16846 (PARMS): Do not use macros from bp-asm.h.
16847 (SIGMSK): Likewise.
16848 (_setjmp): Likewise. Do not use BP_SYM.
16849 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16850 "bp-asm.h".
16851 (PARMS): Do not use macros from bp-asm.h.
16852 (SIGMSK): Likewise.
16853 (setjmp): Likewise. Do not use BP_SYM.
16854 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16855 "bp-asm.h".
16856 (PARMS): Do not use macros from bp-asm.h.
16857 (__frexp): Do not use BP_SYM.
16858 (frexp): Likewise.
16859 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16860 "bp-asm.h".
16861 (PARMS): Do not use macros from bp-asm.h.
16862 (__frexpf): Do not use BP_SYM.
16863 (frexpf): Likewise.
16864 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16865 "bp-asm.h".
16866 (PARMS): Do not use macros from bp-asm.h.
16867 (__frexpl): Do not use BP_SYM.
16868 (frexpl): Likewise.
16869 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16870 "bp-asm.h".
16871 (PARMS): Do not use macros from bp-asm.h.
16872 (__remquo): Do not use BP_SYM.
16873 (remquo): Likewise.
16874 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16875 "bp-asm.h".
16876 (PARMS): Do not use macros from bp-asm.h.
16877 (__remquof): Do not use BP_SYM.
16878 (remquof): Likewise.
16879 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16880 "bp-asm.h".
16881 (PARMS): Do not use macros from bp-asm.h.
16882 (__remquol): Do not use BP_SYM.
16883 (remquol): Likewise.
16884 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16885 "bp-asm.h".
16886 (PARMS): Do not use macros from bp-asm.h.
16887 (DEST): Likewise.
16888 (SRC): Likewise.
16889 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16890 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16891 "bp-asm.h".
16892 (PARMS): Do not use macros from bp-asm.h.
16893 (strlen): Do not use BP_SYM.
16894 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16895 "bp-asm.h".
16896 (PARMS): Do not use macros from bp-asm.h.
16897 (S1): Likewise.
16898 (S2): Likewise.
16899 (SIZE): Likewise.
16900 (__mpn_add_n): Do not use BP_SYM.
16901 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16902 "bp-asm.h".
16903 (PARMS): Do not use macros from bp-asm.h.
16904 (S1): Likewise.
16905 (SIZE): Likewise.
16906 (__mpn_addmul_1): Do not use BP_SYM.
16907 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16908 weak_alias.
16909 (bzero): Likewise.
16910 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16911 "bp-asm.h".
16912 (PARMS): Do not use macros from bp-asm.h.
16913 (S): Likewise.
16914 (SIZE): Likewise.
16915 (__mpn_lshift): Do not use BP_SYM.
16916 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16917 "bp-asm.h".
16918 (PARMS): Do not use macros from bp-asm.h.
16919 (DEST): Likewise.
16920 (SRC): Likewise.
16921 (LEN): Likewise.
16922 (memcpy): Likewise. Do not use BP_SYM.
16923 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16924 libc_hidden_def and weak_alias.
16925 (mempcpy): Do not use BP_SYM in weak_alias.
16926 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16927 "bp-asm.h".
16928 (PARMS): Do not use macros from bp-asm.h.
16929 (DEST): Likewise.
16930 (LEN): Likewise.
16931 [!BZERO_P] (CHR): Likewise.
16932 (memset): Likewise. Do not use BP_SYM.
16933 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16934 "bp-asm.h".
16935 (PARMS): Do not use macros from bp-asm.h.
16936 (S1): Likewise.
16937 (SIZE): Likewise.
16938 (__mpn_mul_1): Do not use BP_SYM.
16939 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16940 "bp-asm.h".
16941 (PARMS): Do not use macros from bp-asm.h.
16942 (S): Likewise.
16943 (SIZE): Likewise.
16944 (__mpn_rshift): Do not use BP_SYM.
16945 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16946 "bp-asm.h".
16947 (PARMS): Do not use macros from bp-asm.h.
16948 (STR): Likewise.
16949 (CHR): Likewise.
16950 (strchr): Likewise. Do not use BP_SYM.
16951 (index): Do not use BP_SYM in weak_alias.
16952 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16953 "bp-asm.h".
16954 (PARMS): Do not use macros from bp-asm.h.
16955 (DEST): Likewise.
16956 (SRC): Likewise.
16957 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16958 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16959 "bp-asm.h".
16960 (PARMS): Do not use macros from bp-asm.h.
16961 (strlen): Do not use BP_SYM.
16962 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16963 "bp-asm.h".
16964 (PARMS): Do not use macros from bp-asm.h.
16965 (S1): Likewise.
16966 (S2): Likewise.
16967 (SIZE): Likewise.
16968 (__mpn_sub_n): Do not use BP_SYM.
16969 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16970 "bp-asm.h".
16971 (PARMS): Do not use macros from bp-asm.h.
16972 (S1): Likewise.
16973 (SIZE): Likewise.
16974 (__mpn_submul_1): Do not use BP_SYM.
16975 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16976 "bp-asm.h".
16977 (PARMS): Do not use macros from bp-asm.h.
16978 (S1): Likewise.
16979 (S2): Likewise.
16980 (SIZE): Likewise.
16981 (__mpn_add_n): Do not use BP_SYM.
16982 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16983 weak_alias.
16984 (bzero): Likewise.
16985 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16986 "bp-asm.h".
16987 (PARMS): Do not use macros from bp-asm.h.
16988 (BLK2): Likewise.
16989 (LEN): Likewise.
16990 (memcmp): Do not use BP_SYM.
16991 (bcmp): Do not use BP_SYM in weak_alias.
16992 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16993 "bp-asm.h".
16994 (PARMS): Do not use macros from bp-asm.h.
16995 (DEST): Likewise.
16996 (SRC): Likewise.
16997 (LEN): Likewise.
16998 (memcpy): Likewise. Do not use BP_SYM.
16999 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17000 "bp-asm.h".
17001 (PARMS): Do not use macros from bp-asm.h.
17002 (DEST): Likewise.
17003 (SRC): Likewise.
17004 (LEN): Likewise.
17005 (memmove): Likewise. Do not use BP_SYM.
17006 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17007 "bp-asm.h".
17008 (PARMS): Do not use macros from bp-asm.h.
17009 (DEST): Likewise.
17010 (SRC): Likewise.
17011 (LEN): Likewise.
17012 (__mempcpy): Likewise. Do not use BP_SYM.
17013 (mempcpy): Do not use BP_SYM in weak_alias.
17014 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17015 "bp-asm.h".
17016 (PARMS): Do not use macros from bp-asm.h.
17017 (DEST): Likewise.
17018 (LEN): Likewise.
17019 [!BZERO_P] (CHR): Likewise.
17020 (memset): Likewise. Do not use BP_SYM.
17021 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17022 "bp-asm.h".
17023 (PARMS): Do not use macros from bp-asm.h.
17024 (STR2): Likewise.
17025 (strcmp): Do not use BP_SYM.
17026 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17027 "bp-asm.h".
17028 (PARMS): Do not use macros from bp-asm.h.
17029 (STR): Likewise.
17030 (DELIM): Likewise.
17031 [USE_AS_STRTOK_R] (SAVE): Likewise.
17032 (FUNCTION): Likewise. Do not use BP_SYM.
17033 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17034 aliases.
17035 (strtok_r): Likewise.
17036 (__GI___strtok_r): Likewise.
17037 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17038 (PARMS): Do not use macros from bp-asm.h.
17039 (S): Likewise.
17040 (SIZE): Likewise.
17041 (__mpn_lshift): Do not use BP_SYM.
17042 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17043 (PARMS): Do not use macros from bp-asm.h.
17044 (STR): Likewise.
17045 (CHR): Likewise.
17046 (__memchr): Do not use BP_SYM.
17047 (memchr): Do not use BP_SYM in weak_alias.
17048 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17049 (PARMS): Do not use macros from bp-asm.h.
17050 (BLK2): Likewise.
17051 (LEN): Likewise.
17052 (memcmp): Do not use BP_SYM.
17053 (bcmp): Do not use BP_SYM in weak_alias.
17054 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17055 (PARMS): Do not use macros from bp-asm.h.
17056 (S1): Likewise.
17057 (SIZE): Likewise.
17058 (__mpn_mul_1): Do not use BP_SYM.
17059 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17060 "bp-asm.h".
17061 (PARMS): Do not use macros from bp-asm.h.
17062 (STR): Likewise.
17063 (CHR): Likewise.
17064 (__rawmemchr): Do not use BP_SYM.
17065 (rawmemchr): Do not use BP_SYM in weak_alias.
17066 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17067 (PARMS): Do not use macros from bp-asm.h.
17068 (S): Likewise.
17069 (SIZE): Likewise.
17070 (__mpn_rshift): Do not use BP_SYM.
17071 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17072 (PARMS): Do not use macros from bp-asm.h.
17073 (SIGMSK): Likewise.
17074 (__sigsetjmp): Likewise. Do not use BP_SYM.
17075 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17076 (_start): Do not use BP_SYM.
17077 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17078 (PARMS): Do not use macros from bp-asm.h.
17079 (DEST): Likewise.
17080 (SRC): Likewise.
17081 (__stpcpy): Likewise. Do not use BP_SYM.
17082 (stpcpy): Do not use BP_SYM in weak_alias.
17083 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17084 "bp-asm.h".
17085 (PARMS): Do not use macros from bp-asm.h.
17086 (DEST): Likewise.
17087 (SRC): Likewise.
17088 (LEN): Likewise.
17089 (__stpncpy): Likewise. Do not use BP_SYM.
17090 (stpncpy): Do not use BP_SYM in weak_alias.
17091 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17092 (PARMS): Do not use macros from bp-asm.h.
17093 (STR): Likewise.
17094 (CHR): Likewise.
17095 (strchr): Likewise. Do not use BP_SYM.
17096 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17097 "bp-asm.h".
17098 (PARMS): Do not use macros from bp-asm.h.
17099 (STR): Likewise.
17100 (CHR): Likewise.
17101 (__strchrnul): Likewise. Do not use BP_SYM.
17102 (strchrnul): Do not use BP_SYM in weak_alias.
17103 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17104 "bp-asm.h".
17105 (PARMS): Do not use macros from bp-asm.h.
17106 (STOP): Likewise.
17107 (strcspn): Do not use BP_SYM.
17108 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17109 "bp-asm.h".
17110 (PARMS): Do not use macros from bp-asm.h.
17111 (STR): Likewise.
17112 (STOP): Likewise.
17113 (strpbrk): Likewise. Do not use BP_SYM.
17114 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17115 "bp-asm.h".
17116 (PARMS): Do not use macros from bp-asm.h.
17117 (STR): Likewise.
17118 (CHR): Likewise.
17119 (strrchr): Likewise. Do not use BP_SYM.
17120 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17121 (PARMS): Do not use macros from bp-asm.h.
17122 (SKIP): Likewise.
17123 (strspn): Do not use BP_SYM.
17124 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17125 (PARMS): Do not use macros from bp-asm.h.
17126 (STR): Likewise.
17127 (DELIM): Likewise.
17128 (SAVE): Likewise.
17129 (FUNCTION): Likewise. Do not use BP_SYM.
17130 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17131 aliases.
17132 (strtok_r): Likewise.
17133 (__GI___strtok_r): Likewise.
17134 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17135 (PARMS): Do not use macros from bp-asm.h.
17136 (S1): Likewise.
17137 (S2): Likewise.
17138 (SIZE): Likewise.
17139 (__mpn_sub_n): Do not use BP_SYM.
17140 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17141 "bp-asm.h".
17142 (PARMS): Do not use macros from bp-asm.h.
17143 (S1): Likewise.
17144 (SIZE): Likewise.
17145 (__mpn_submul_1): Do not use BP_SYM.
17146 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17147 <bp-sym.h>.
17148 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17149 and <bp-asm.h>.
17150 (PARMS): Do not use macros from bp-asm.h.
17151 (FLAGS): Likewise.
17152 (PTID): Likewise.
17153 (TLS): Likewise.
17154 (CTID): Likewise.
17155 (__clone): Do not use BP_SYM.
17156 (clone): Do not use BP_SYM in weak_alias.
17157 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17158 and <bp-asm.h>.
17159 (PARMS): Do not use macros from bp-asm.h.
17160 (LEN): Likewise.
17161 (__mmap64): Do not use BP_SYM.
17162 (mmap64): Do not use BP_SYM in weak_alias.
17163 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17164 <bp-sym.h> and <bp-asm.h>.
17165 (PARMS): Do not use macros from bp-asm.h.
17166 (__posix_fadvise64_l64): Do not use BP_SYM.
17167 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17168 (PARMS): Do not use macros from bp-asm.h.
17169 (NSOPS): Likewise.
17170 (semtimedop): Do not use BP_SYM.
17171 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17172 and <bp-asm.h>.
17173
582a3cff
AM
171742013-02-21 Allan McRae <allan@archlinux.org>
17175
17176 * manual/message.texi (Charset conversion in gettext):
17177 Move @end statement to beginning of line.
17178
bab8a695
SP
171792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17180
80945231
SP
17181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17182 static.
17183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17184 Likewise.
17185
bab8a695
SP
17186 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17187 (denorm): Likewise.
17188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17190
e21d7aa7
AK
171912013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17192
17193 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17194 tail-call to the resolved function if pltexit isn't needed.
17195
4c7a4263
SP
171962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17197
17198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17199 or Y being zero as being unlikely.
17200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17201 Likewise.
17202
41f49342
CD
172032013-02-20 Carlos O'Donell <carlos@redhat.com>
17204
17205 * manual/nss.texi (System Databases and Name Service Switch):
17206 Remove frobnicate @pxref.
17207
50022a93
TS
172082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17209
17210 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17211 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17212
08cbd996
PM
172132013-02-20 Petr Machata <pmachata@redhat.com>
17214
17215 * elf/elf.h (R_ARM_TARGET1): New macro.
17216 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17217 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17218 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17219 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17220 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17221 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17222 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17223 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17224 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17225 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17226 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17227 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17228 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17229 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17230 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17231 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17232 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17233 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17234 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17235 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17236 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17237 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17238 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17239 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17240 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17241 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17242 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17243 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17244 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17245 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17246 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17247 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17248 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17249 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17250 (R_ARM_THM_GOT_BREL12): Likewise.
17251 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17252 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17253 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17254 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17255 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17256 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17257 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17258 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17259 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17260
c7b275d6
TS
172612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17262
17263 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17264 __attribute_used__ to __attribute__ ((unused)).
17265
20cd7fb3
SP
172662013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17267
17268 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17269 powerpc mpa.c.
17270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17271 comment formatting.
17272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17273
92945b52
JM
172742013-02-19 Joseph Myers <joseph@codesourcery.com>
17275
17276 [BZ #13550]
17277 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17278 Remove macro.
17279 (ENTER): Remove both macro definitions.
17280 (LEAVE): Likewise.
17281 (CHECK_BOUNDS_LOW): Likewise.
17282 (CHECK_BOUNDS_HIGH): Likewise.
17283 (CHECK_BOUNDS_BOTH): Likewise.
17284 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17285 (RETURN_BOUNDED_POINTER): Likewise.
17286 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17287 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17288 (POP_ERRNO_LOCATION_RETURN): Likewise.
17289 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17290 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17291 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17292 macros.
17293 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17294 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17295 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17296 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17297 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17298 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17299 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17300 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17301 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17302 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17303 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17304 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17305 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17306 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17307 removed macros.
17308 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17309 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17310 macros.
17311 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17312 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17313 * sysdeps/i386/i586/memset.S (memset): Likewise.
17314 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17315 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17316 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17317 macros.
17318 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17319 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17320 Change uses of L(2) to L(out).
17321 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17322 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17323 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17324 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17325 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17326 removed macros.
17327 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17328 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17329 macros.
17330 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17331 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17332 (RETURN): Do not use macro LEAVE.
17333 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17334 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17335 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17336 * sysdeps/i386/i686/memset.S (memset): Likewise.
17337 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17338 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17339 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17340 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17341 Likewise.
17342 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17343 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17344 L(1_2) and L(1_3) into L(1).
17345 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17346 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17347 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17348 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17349 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17350 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17351 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17352 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17353 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17354 macros.
17355 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17356 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17357 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17358 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17359 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17360 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17361 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17362 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17363 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17364 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17365 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17366 * sysdeps/i386/strspn.S (strspn): Likewise.
17367 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17368 conditional code.
17369 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17370 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17371 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17372 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17373 L(1_3) into L(1_1).
17374 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17375 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17376 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17377 macros.
17378 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17379
2389741a
JJ
173802013-02-19 Jakub Jelinek <jakub@redhat.com>
17381
17382 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17383 macro.
17384
2016b3cd
SP
173852013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17386
e4f22324
SP
17387 * math/atest-exp.c (exp_mpn): Remove ROUND.
17388 * math/atest-exp2.c (exp_mpn): Likewise.
17389 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17390
2016b3cd
SP
17391 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17392 * stdlib/tst-tls-atexit-lib.c: Likewise.
17393 * stdlib/tst-tls-atexit.c: Likewise.
17394
4be9b544
MF
173952013-02-18 Mike Frysinger <vapier@gentoo.org>
17396
17397 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17398 and __attribute_alloc_size__.
17399
2f62b9ee
MF
174002013-02-18 Mike Frysinger <vapier@gentoo.org>
17401
17402 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17403 __attribute_alloc_size__.
17404 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17405 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17406
6ff444c4
MF
174072013-02-18 Mike Frysinger <vapier@gentoo.org>
17408
17409 * include/programs/xmalloc.h: New file.
17410 * catgets/gencat.c: Include it.
17411 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17412 * elf/pldd.c: Likewise.
17413 * iconv/iconv_charmap.c: Likewise.
17414 * iconv/iconvconfig.c: Likewise.
17415 * iconv/strtab.c: Likewise.
17416 * locale/programs/locale.c: Likewise.
17417 * locale/programs/localedef.h: Likewise.
17418 * locale/programs/simple-hash.c: Likewise.
17419 * nscd/nscd.h: Likewise.
17420 * nss/makedb.c: Likewise.
17421 * sysdeps/generic/ldconfig.h: Likewise.
17422
be179c8a
SP
174232013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17424
ba384f6e
SP
17425 * Versions.def: Add GLIBC_2.18.
17426 * include/link.h (struct link_map): New member l_tls_dtor_count.
17427 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17428 (__call_tls_dtors): Likewise.
17429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17430 __cxa_thread_atexit_impl.
17431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17432 Likewise.
17433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17434 Likewise.
17435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17436 Likewise.
17437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17438 Likewise.
17439 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17441 Likewise.
17442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17443 Likewise.
17444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17446 Likewise.
17447 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17448 (tests): Add test case tst-tls-atexit.
17449 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17450 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17451 (GLIBC_PRIVATE): Add __call_tls_dtors.
17452 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17453 for libstdc++.
17454 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17455 * stdlib/tst-tls-atexit.c: New test case.
17456 * stdlib/tst-tls-atexit-lib.c: New test case.
17457
ffaa74cf 17458 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17459
be179c8a
SP
17460 * elf/Versions (ld): Add _dl_find_dso_for_object.
17461 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17462 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17463 (dl_open_worker): Use _dl_find_dso_for_object.
17464 * elf/dl-sym.c (do_sym): Likewise.
17465 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17466
f78b5caa
AK
174672013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17468
17469 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17470 Syntactic changes only.
17471 (_dl_runtime_profile): Do a tail-call to the resolved function.
17472
29691210
JM
174732013-02-17 Joseph Myers <joseph@codesourcery.com>
17474
17475 [BZ #13550]
17476 * sysdeps/x86_64/bp-asm.h: Remove file.
17477 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17478 <bp-sym.h> and <bp-asm.h>.
17479 (__clone): Do not use BP_SYM.
17480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17481 <bp-sym.h> and <bp-asm.h>.
17482 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17483 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17484 "bp-asm.h".
17485 (_setjmp): Do not use BP_SYM.
17486 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17487 "bp-asm.h".
17488 (setjmp): Do not use BP_SYM.
17489 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17490 libc_hidden_def.
17491 (mempcpy): Do not use BP_SYM in weak_alias.
17492 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17493 "bp-asm.h".
17494 (strchr): Do not use BP_SYM.
17495 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17496 "bp-asm.h".
17497 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17498 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17499 (_start): Do not use BP_SYM.
17500 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17501 "bp-asm.h".
17502 (strcat): Do not use BP_SYM.
17503 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17504 "bp-asm.h".
17505 (STRCMP): Do not use BP_SYM.
17506 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17507 "bp-asm.h".
17508 (STRCPY): Do not use BP_SYM.
17509 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17510 "bp-asm.h".
17511 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17512 "bp-asm.h".
17513 (FUNCTION): Do not use BP_SYM.
17514 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17515 weak_alias.
17516 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17517
f238fd19
AJ
175182013-02-17 Andreas Jaeger <aj@suse.de>
17519
17520 * time/Versions: Sort entries.
17521 * string/Versions: Likewise.
17522 * resolv/Versions: Likewise.
17523 * posix/Versions: Likewise.
17524 * iconv/Versions: Likewise.
17525 * elf/Versions: Likewise.
17526 * wcsmbs/Versions: Likewise.
17527
bd07f23c 175282013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17529
22af19f9
SP
17530 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17531 loop termination condition.
17532
4709fe76
SP
17533 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17534 variable to calculate EZ.
17535 (__sqr): Likewise.
2d0e0f29
SP
17536
17537 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17538 the lower precision input.
17539
daaa7713
JM
175402013-02-15 Joseph Myers <joseph@codesourcery.com>
17541
17542 [BZ #13550]
17543 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17544 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17545 (run-via-rtld-prefix): Do not handle %-bp tests.
17546 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17547 (all-object-suffixes): Remove .ob.
17548 (bppfx): Remove variable.
17549 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17550 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17551 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17552 [$(build-bounded) = yes] (libtype.ob): Likewise.
17553 * Makerules (elide-routines.ob): Remove variable.
17554 (do-tests-clean): Do not handle *-bp.out.
17555 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17556 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17557 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17558 (tests): Do not include $(tests-bp.out).
17559 (xtests): Do not include $(xtests-bp.out).
17560 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17561 [$(build-bounded) = yes] ($(addprefix
17562 $(objpfx),$(binaries-bounded))): Remove rule.
17563 ($(objpfx)%-bp.out): Remove rule.
17564 * config.make.in (build-bounded): Remove variable.
17565 * crypt/Makefile [$(build-bounded) = yes]
17566 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17567 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17568 append to variable.
17569 [$(build-bounded) = yes] (install-lib): Likewise.
17570 [$(build-bounded) = yes] (generated): Likewise.
17571 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17572 Remove rule.
17573 * intl/Makefile [$(build-bounded) = yes]
17574 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17575 * math/Makefile [$(build-bounded) = yes]
17576 ($(tests:%=$(objpfx)%-bp): Likewise.
17577 * misc/Makefile [$(build-bounded) = yes]
17578 ($(objpfx)tst-tsearch-bp): Likewise.
17579 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17580 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17581 Remove dependency.
17582 * string/Makefile (o-objects.ob): Remove variable.
17583 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17584 (CFLAGS-.ob): Remove variable.
17585 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17586 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17587 both definitions of variable.
17588 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17589 (ASFLAGS-.ob): Remove variable.
17590
e97ed6dd
JM
175912013-02-14 Joseph Myers <joseph@codesourcery.com>
17592
2bdd4ca6
JM
17593 [BZ #13550]
17594 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17595 Remove __BOUNDED_POINTERS__ from condition.
17596 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17597 * string/bits/string2.h [!__NO_STRING_INLINES &&
17598 !__BOUNDED_POINTERS__]: Likewise.
17599 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17600 Likewise.
17601 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17602 Remove conditional code.
17603 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17604 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17605 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17606 condition.
17607
e97ed6dd
JM
17608 [BZ #13550]
17609 * csu/libc-start.c: Do not include <bp-sym.h>.
17610 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17611 * elf/dl-open.c: Do not include <bp-sym.h>.
17612 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17613 * math/fegetenv.c: Do not include <bp-sym.h>.
17614 (fegetenv): Do not use BP_SYM in versioned symbols.
17615 * nptl/sysdeps/pthread/bits/libc-lockP.h
17616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17617 <bp-sym.h>.
17618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17619 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17621 (__pthread_mutex_destroy): Likewise.
17622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17623 (__pthread_mutex_lock): Likewise.
17624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17625 (__pthread_mutex_trylock): Likewise.
17626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17627 (__pthread_mutex_unlock): Likewise.
17628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17629 (__pthread_mutexattr_init): Likewise.
17630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17631 (__pthread_mutexattr_destroy): Likewise.
17632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17633 (__pthread_mutexattr_settype): Likewise.
17634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17635 (__pthread_rwlock_init): Likewise.
17636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17637 (__pthread_rwlock_destroy): Likewise.
17638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17639 (__pthread_rwlock_rdlock): Likewise.
17640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17641 (__pthread_rwlock_tryrdlock): Likewise.
17642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17643 (__pthread_rwlock_wrlock): Likewise.
17644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17645 (__pthread_rwlock_trywrlock): Likewise.
17646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17647 (__pthread_rwlock_unlock): Likewise.
17648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17649 (__pthread_key_create): Likewise.
17650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17651 (__pthread_setspecific): Likewise.
17652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17653 (__pthread_getspecific): Likewise.
17654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17655 Likewise.
17656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17657 (_pthread_cleanup_push_defer): Likewise.
17658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17659 (_pthread_cleanup_pop_restore): Likewise.
17660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17661 (pthread_setcancelstate): Likewise.
17662 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17663 <bp-sym.h>.
17664 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17665 (memchr): Do not use BP_SYM in weak_alias.
17666 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17667 (fegetenv): Do not use BP_SYM in versioned symbols.
17668 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17669 (fesetenv): Do not use BP_SYM in versioned symbols.
17670 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17671 (feupdateenv): Do not use BP_SYM in versioned symbols.
17672 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17673 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17674 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17675 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17676 (open64): Do not use BP_SYM in weak_alias.
17677 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17678 (fegetenv): Do not use BP_SYM in versioned symbols.
17679 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17680 (fesetenv): Do not use BP_SYM in versioned symbols.
17681 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17682 (feupdateenv): Do not use BP_SYM in versioned symbols.
17683 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17684 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17685 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17686 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17687 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17688 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17689 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17690 <bp-sym.h>.
17691 (__libc_start_main): Do not use BP_SYM.
17692
d6752ccd
SP
176932013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17694
cb57ce60
SP
17695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17696 redundant return line.
17697 (norm): Likewise.
17698 (denorm): Likewise.
17699 (dbl_mp): Likewise.
17700 (sub_magnitudes): Likewise.
17701 (__add): Likewise.
17702 (__sub): Likewise.
17703 (__mul): Likewise.
17704 (__inv): Likewise.
17705 (__dvd): Likewise.
17706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17707 (norm): Likewise.
17708 (denorm): Likewise.
17709 (dbl_mp): Likewise.
17710 (sub_magnitudes): Likewise.
17711 (__add): Likewise.
17712 (__sub): Likewise.
17713 (__mul): Likewise.
17714 (__inv): Likewise.
17715 (__dvd): Likewise.
17716
f414520d
SP
17717 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17718 instead of __mul.
17719 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17720 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17721 (cc32): Likewise.
17722
d6752ccd
SP
17723 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17724 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17726 of __mul for squares.
17727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17728 function
17729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17730 Likewise.
17731 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17732 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17733
70d9946a
JM
177342013-02-13 Joseph Myers <joseph@codesourcery.com>
17735
17736 [BZ #13550]
17737 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17738 code.
17739 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17740 prototype or function definition. Rename ubp_* variables and
17741 parameters. Remove argv definitions conditional on
17742 [__BOUNDED_POINTERS__].
17743 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17744 * elf/dl-runtime.c (_dl_fixup): Likewise.
17745 * include/set-hooks.h (RUN_HOOK): Likewise.
17746 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17747 definition.
17748 * string/strcpy.c (strcpy): Do not use __unbounded.
17749 * sysdeps/generic/frame.h (struct layout): Likewise.
17750 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17751 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17752 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17753 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17754 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17755 (__backtrace): Likewise.
17756 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17757 use __ptrvalue.
17758 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17759 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17760 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17761 Likewise.
17762 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17763 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17764 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17765 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17766 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17767 Do not use __unbounded.
17768 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17769 Rename __unboundedrlimits parameter to rlimits in prototype.
17770 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17771 Do not use __unbounded.
17772 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17773 not use __ptrvalue.
17774 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17775 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17776 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17777 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17778 __ptrvalue or __unbounded.
17779 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17780 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17781 use __unbounded.
17782 (__new_msgctl): Do not use __ptrvalue.
17783 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17784 __unbounded.
17785 (__libc_msgrcv): Do not use __ptrvalue.
17786 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17787 startup_info): Do not use __unbounded.
17788 (__libc_start_main): Likewise. Rename ubp_* variables and
17789 parameters. Remove argv definitions conditional on
17790 [__BOUNDED_POINTERS__].
17791 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17792 __ptrvalue.
17793 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17794 use __unbounded.
17795 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17796 or __ptrvalue.
17797 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17798 use __unbounded.
17799 (__new_shmctl): Do not use __ptrvalue.
17800 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17801 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17802 Likewise.
17803 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17804 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17805 (__libc_sigaction): Likewise.
17806 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17807 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17808 Likewise.
17809 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17810
cc7834d6
OB
178112013-02-13 Ondřej Bílka <neleai@seznam.cz>
17812
ffb1ec7b 17813 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17814
17815 * string/mempcpy.c: Implement by calling memcpy.
17816
bdf02814
SP
178172013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17818
c2af38aa
SP
17819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17820
4e92d59e
SP
17821 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17822 evaluation.
17823
909279a5
SP
17824 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17825 values in the mantissa.
17826
bdf02814
SP
17827 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17828 minimize writes to Z.
17829 (sub_magnitudes): Simplify code a bit.
17830
cd525923
RM
178312013-02-12 Roland McGrath <roland@hack.frob.com>
17832
17833 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17834 from the message. The linker prefixes all warnings with that already.
17835
7e2f0d2d
AS
178362013-02-12 Andreas Schwab <schwab@suse.de>
17837
a445af0b
AS
17838 [BZ #15078]
17839 * posix/regexec.c (extend_buffers): Add parameter min_len.
17840 (check_matching): Pass minimum needed length.
17841 (clean_state_log_if_needed): Likewise.
17842 (get_subexp): Likewise.
17843 * posix/Makefile (tests): Add bug-regex34.
17844 (bug-regex34-ENV): Define.
17845 * posix/bug-regex34.c: New file.
17846
7e2f0d2d
AS
17847 [BZ #11561]
17848 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17849 elements compare against the byte sequence of it, not its name.
17850 * posix/Makefile (tests): Add bug-regex35.
17851 (bug-regex35-ENV): Define.
17852 * posix/bug-regex35.c: New file.
17853
a175b684
TV
178542013-02-11 Tom de Vries <tom@codesourcery.com>
17855
17856 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17857 comment.
17858 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17859 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17860 (CHECK_EOL): Add undef.
17861
310998fe 178622013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17863
17864 * bits/stdlib-bsearch.h: New file.
17865 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17866 * stdlib/stdlib.h: Likewise.
41eda41d 17867
8ded91fb
RM
178682013-02-11 Roland McGrath <roland@hack.frob.com>
17869
17870 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17871 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17872 declaration.
17873 * manual/search.texi (Array Search Function): Add missing const in
17874 lfind prototype.
17875 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17876 declaration to use rlim_t.
17877 (Basic Scheduling Functions): Remove erroneous const from
17878 sched_getparam prototype. Remove erroneous * from
17879 sched_get_priority_max and sched_get_priority_min prototypes.
17880 (Resource Usage): Fix summary @comment on vtimes to refer to
17881 sys/vtimes.h rather than vtimes.h.
17882 Add missing *s in vtimes prototype.
17883 (Limits on Resources): Fix ulimit prototype to return long int.
17884 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17885 prototypes to use long int rather than double.
17886 (BSD Random): Fix initstate and setstate to use char *, not void *.
17887 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17888 prototype to make second argument 'struct aiocb64 *const[]'.
17889 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17890 (Status of AIO Operations): Remove erroneous const in aio_return and
17891 aio_return64 prototypes.
17892 (Synchronizing I/O): Fix sync prototype to return void.
17893 * manual/startup.texi (Suboptions): Remove an erroneous const in
17894 getsubopt prototype.
17895 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17896 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17897 use size_t rather than int.
17898 (Scanning All Users): Likewise for getpwent_r.
17899 (Setting Groups): Add missing const to setgroups prototype.
17900 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17901 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17902 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17903 'const void *' rather than 'const char *'.
17904 (Host Address Functions): Likewise for inet_ntop.
17905 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17906 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17907 ssize_t for return value.
17908 (Sending Data): Likewise for send, sendto, sendmsg.
17909 (Socket Option Functions): Add a missing const in setsockopt prototype.
17910 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17911 use wchar_t for the argument.
17912 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17913 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17914 take no arguments.
17915 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17916 double/float/long double for second argument.
17917 Fix return types of significand, significandf, significandl.
17918 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17919 argument in fchmod prototype.
17920 (File Owner): Use uid_t and gid_t in fchown prototype.
17921 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17922 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17923 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17924 use 'const struct dirent **' as argument types to CMP function pointer
17925 argument.
17926 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17927 (File Times): Fix summary magic @comment for struct utimbuf and utime
17928 to refer to utime.h, not time.h.
17929 * manual/string.texi (Argz Functions): Add missing const in
17930 argz_extract and argz_next prototypes.
17931 (Finding Tokens in a String): Likewise for basename.
17932 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17933 (Copying and Concatenation): Fix typo in wmemmove prototype.
17934 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17935 (Signal Stack): Remove erroneous const in sigstack prototype.
17936 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17937 prototype.
17938 (Simple Calendar Time): Likewise for stime.
17939 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17940 prototype.
17941 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17942 say sys/sysctl.h instead.
17943 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17944 and vsyslog prototypes.
17945
fe77fe6d
TV
179462013-02-11 Tom de Vries <tom@codesourcery.com>
17947
17948 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17949 Remove.
17950
3a09b620
RM
179512013-02-11 Roland McGrath <roland@hack.frob.com>
17952
17953 * misc/sys/mman.h: Fix typo in mremap comment.
17954
550a0b89
RM
179552013-02-08 Roland McGrath <roland@hack.frob.com>
17956
17957 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17958 the '\0' terminator.
17959
a2da1673
JM
179602013-02-08 Joseph Myers <joseph@codesourcery.com>
17961
17962 [BZ #13550]
17963 * debug/segfault.c: Don't include <bp-checks.h>.
17964 * sysdeps/generic/bp-checks.h: Remove file.
17965 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17966 (__GETDENTS): Don't use CHECK_N.
17967 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17968 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17969 (__getgroups): Don't use CHECK_N.
17970 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17971 (setgroups): Don't use CHECK_N.
17972 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17973 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17974 (__libc_msgrcv): Don't use CHECK_N.
17975 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17976 (__libc_msgsnd): Don't use CHECK_N.
17977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17978 <bp-checks.h>.
17979 (__libc_pread): Don't use CHECK_N.
17980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17981 include <bp-checks.h>.
17982 (__libc_pread64): Don't use CHECK_N.
17983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17984 include <bp-checks.h>.
17985 (__libc_pwrite): Don't use CHECK_N.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17987 include <bp-checks.h>.
17988 (__libc_pwrite64): Don't use CHECK_N.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17990 <bp-checks.h>.
17991 (__libc_pread): Don't use CHECK_N.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17993 include <bp-checks.h>.
17994 (__libc_pread64): Don't use CHECK_N.
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17996 include <bp-checks.h>.
17997 (__libc_pwrite): Don't use CHECK_N.
17998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17999 include <bp-checks.h>.
18000 (__libc_pwrite64): Don't use CHECK_N.
18001 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18002 (do_pread): Don't use CHECK_N.
18003 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18004 (do_pread64): Don't use CHECK_N.
18005 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18006 (do_pwrite): Don't use CHECK_N.
18007 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18008 (do_pwrite64): Don't use CHECK_N.
18009 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18010 (__libc_readv): Don't use CHECK_N.
18011 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18012 (semop): Don't use CHECK_N.
18013 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18014 <bp-checks.h>.
18015 (semtimedop): Don't use CHECK_N.
18016 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18017 (__libc_pread): Don't use CHECK_N.
18018 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18019 <bp-checks.h>.
18020 (__libc_pread64): Don't use CHECK_N.
18021 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18022 <bp-checks.h>.
18023 (__libc_pwrite): Don't use CHECK_N.
18024 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18025 <bp-checks.h>.
18026 (__libc_pwrite64): Don't use CHECK_N.
18027 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18028 <bp-checks.h>.
18029 (__libc_msgrcv): Don't use CHECK_N.
18030 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18031 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18032 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18033 (__libc_writev): Don't use CHECK_N.
18034
b84660a8
RM
180352013-02-08 Roland McGrath <roland@hack.frob.com>
18036
7f3e75f8
RM
18037 * string/strcpy.c: Removed unused variable.
18038
b84660a8
RM
18039 * Makeconfig (+sysdep-includes): Define with := rather than =.
18040 Use an existing include/ subdir of each sysdeps dir before it.
18041
471514d3
CD
180422013-02-08 Carlos O'Donell <carlos@redhat.com>
18043
18044 * nscd/connection.c (register_traced_file): Comment function.
18045 [HAVE_INOTIFY] (union __inev): Define.
18046 [HAVE_INOTIFY] (inotify_check_files): New function.
18047 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18048 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18049 clear_db_cache.
18050 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18051
b2d3c3be
CD
180522013-02-08 Carlos O'Donell <carlos@redhat.com>
18053
18054 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18055 loaded if not already and that a failure is permanent.
18056
b39949d2
CD
180572013-02-08 Carlos O'Donell <carlos@redhat.com>
18058
ddacd1db 18059 [BZ #15006]
b39949d2
CD
18060 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18061 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18062
b2c9eff4
JM
180632013-02-08 Joseph Myers <joseph@codesourcery.com>
18064
f3aae3f3
JM
18065 [BZ #13550]
18066 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18067 (CHECK_1_NULL_OK): Likewise.
18068 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18069 (__fxstat): Do not use CHECK_1.
18070 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18071 <bp-checks.h>.
18072 (___fxstat64): Do not use CHECK_1.
18073 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18074 <bp-checks.h>.
18075 (__fxstatat): Do not use CHECK_1.
18076 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18077 <bp-checks.h>.
18078 (__fxstatat64): Do not use CHECK_1.
18079 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18080 <bp-checks.h>.
18081 (__fxstat): Do not use CHECK_1.
18082 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18083 <bp-checks.h>.
18084 (__fxstatat): Do not use CHECK_1.
18085 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18086 <bp-checks.h>.
18087 (__getresgid): Do not use CHECK_1.
18088 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18089 <bp-checks.h>.
18090 (__getresuid): Do not use CHECK_1.
18091 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18092 <bp-checks.h>.
18093 (__lxstat): Do not use CHECK_1.
18094 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18095 <bp-checks.h>.
18096 (__old_msgctl): Do not use CHECK_1.
18097 (__new_msgctl): Likewise.
18098 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18099 <bp-checks.h>.
18100 (__new_setrlimit): Do not use CHECK_1.
18101 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18102 <bp-checks.h>.
18103 (__old_shmctl): Do not use CHECK_1.
18104 (__new_shmctl): Likewise.
18105 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18106 <bp-checks.h>.
18107 (__xstat): Do not use CHECK_1.
18108 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18109 (__lxstat): Do not use CHECK_1.
18110 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18111 <bp-checks.h>.
18112 (___lxstat64): Do not use CHECK_1.
18113 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18114 (__old_msgctl): Do not use CHECK_1.
18115 (__new_msgctl): Likewise.
18116 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18117 <bp-checks.h>.
18118 (__gettimeofday): Do not use CHECK_1.
18119 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18120 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18121 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18122 <bp-checks.h>.
18123 (__gettimeofday): Do not use CHECK_1.
18124 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18125 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18126 (__new_shmctl): Do not use CHECK_1.
18127 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18128 <bp-checks.h>.
18129 (do_sigtimedwait): Do not use CHECK_1.
18130 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18131 <bp-checks.h>.
18132 (do_sigwaitinfo): Do not use CHECK_1.
18133 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18134 <bp-checks.h>.
18135 (msgctl): Do not use CHECK_1.
18136 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18137 <bp-checks.h>.
18138 (shmctl): Do not use CHECK_1.
18139 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18140 (ustat): Do not use CHECK_1.
18141 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18142 <bp-checks.h>.
18143 (__fxstat): Do not use CHECK_1.
18144 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18145 <bp-checks.h>.
18146 (__fxstatat): Do not use CHECK_1.
18147 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18148 <bp-checks.h>.
18149 (__lxstat): Do not use CHECK_1.
18150 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18151 <bp-checks.h>.
18152 (__xstat): Do not use CHECK_1.
18153 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18154 (__xstat): Do not use CHECK_1.
18155 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18156 (___xstat64): Do not use CHECK_1.
18157
b2c9eff4
JM
18158 [BZ #13550]
18159 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18160 definitions.
18161 (CHECK_BOUNDS_HIGH): Likewise.
18162 * string/strcpy.c: Do not include <bp-checks.h>.
18163 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18164
f1d70dad
RM
181652013-02-07 Roland McGrath <roland@hack.frob.com>
18166
18167 * nscd/nscd-client.h (__nscd_drop_map_ref):
18168 Add __attribute__ ((unused)).
18169 * nis/nss-nisplus.h (niserr2nss): Likewise.
18170
18171 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18172 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18173
18174 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18175 Remove inline keyword.
18176 * include/rounding-mode.h (round_away): Likewise.
18177 * libio/wfileops.c (adjust_wide_data): Likewise.
18178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18179 (__m128i_strloadu_tolower): Likewise.
18180 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18181 (__m128i_strloadu_tolower): Likewise.
18182 * time/mktime.c (ydhms_diff): Likewise.
18183 * locale/elem-hash.h (elem_hash): Likewise.
18184 * locale/setlocale.c (setdata): Likewise.
18185 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18186 (re_string_wchar_at): Likewise.
18187 (bitset_not, bitset_merge, bitset_mask): Likewise.
18188 [!(__GNUC__ > 3)] (inline): Remove macro.
18189 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18190 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18191 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18192 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18193 * string/memcmp.c (memcmp_bytes): Likewise.
18194 * locale/programs/locarchive.c (compute_hashval): Likewise.
18195 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18196 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18197 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18198 * nss/getent.c (print_rpc, print_protocols): Likewise.
18199 (print_passwd, print_group, print_aliases): Likewise.
18200 * nis/nss-nisplus.h (niserr2nss): Likewise.
18201 * nscd/connections.c (restart_p): Likewise.
18202 Change return type to bool.
18203
eab55bfb
RM
182042013-02-05 Roland McGrath <roland@hack.frob.com>
18205
7bd642f5
RM
18206 * Makeconfig (all-Depend-files): Add existing
18207 $(sorted-subdirs:=/Depend) files.
18208 (all-subdirs): Remove nss.
18209 * sysdeps/unix/inet/Subdirs: Add it here instead.
18210 * hesiod/Depend: New file.
18211
573c29b2
RM
18212 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18213 instead of calling alloca.
18214
b2e25af0
RM
18215 * io/lseek.c (__lseek): Rename to __libc_lseek.
18216 Define __lseek as an alias.
18217
eab55bfb
RM
18218 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18219
9a0d1941
CD
182202013-02-04 Carlos O'Donell <carlos@redhat.com>
18221
18222 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18223 else clause and remove check for non-standard endianness.
18224
b83bbec4
DM
182252013-02-04 David S. Miller <davem@davemloft.net>
18226
18227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18228
6277fdab
JM
182292013-02-04 Joseph Myers <joseph@codesourcery.com>
18230
18231 [BZ #13550]
18232 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18233 (__ubp_memchr): Remove prototype.
18234 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18235 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18236 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18237 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18238 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18239 Remove alias.
18240 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18241 (__ubp_memchr): Likewise.
18242 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18243 (__ubp_memchr): Likewise.
18244 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18245 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18246 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18247 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18248 CHECK_STRING.
18249 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18250 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18251 (__getcwd): Do not use CHECK_STRING.
18252 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18253 <bp-checks.h>.
18254 (__real_chown): Do not use CHECK_STRING.
18255 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18256 <bp-checks.h>.
18257 (fchownat): Do not use CHECK_STRING.
18258 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18259 CHECK_STRING.
18260 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18261 <bp-checks.h>.
18262 (__lchown): Do not use CHECK_STRING.
18263 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18264 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18265 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18266 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18268 include <bp-checks.h>.
18269 (truncate64): Do not use CHECK_STRING.
18270 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18271 <bp-checks.h>.
18272 (__real_chown): Do not use CHECK_STRING.
18273 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18274 <bp-checks.h>.
18275 (__lchown): Do not use CHECK_STRING.
18276 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18277 <bp-checks.h>.
18278 (__chown): Do not use CHECK_STRING.
18279 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18280 <bp-checks.h>.
18281 (truncate64): Do not use CHECK_STRING.
18282 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18283 Likewise.
18284 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18285 (__xmknod): Do not use CHECK_STRING.
18286 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18287 <bp-checks.h>.
18288 (__xmknodat): Do not use CHECK_STRING.
18289 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18290 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18291
903ae060
AS
182922013-02-04 Andreas Schwab <schwab@suse.de>
18293
18294 [BZ #14142]
18295 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18296 * include/netdb.h: Likewise for h_errno.
18297 * elf/tst-stackguard1.c: Include <tls.h>.
18298
542f9466
JK
182992013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18300
18301 * elf/link.h (struct link_map): Extend the l_addr comment.
18302 * include/link.h (struct link_map): Likewise.
18303
e782a927
JM
183042013-02-01 Joseph Myers <joseph@codesourcery.com>
18305
18306 [BZ #13550]
18307 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18308 (BOUNDED_1): Remove macro.
18309 * debug/backtrace.c: Don't include <bp-checks.h>.
18310 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18311 (__backtrace): Likewise.
18312 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18313 <bp-checks.h>.
18314 (__backtrace): Don't use BOUNDED_1.
18315 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18316 <bp-checks.h>.
18317 (__backtrace): Don't use BOUNDED_1.
18318 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18319 (__backtrace): Don't use BOUNDED_1.
18320 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18321 (shmat): Don't use BOUNDED_N.
18322
8cf28c5e
JM
183232013-01-31 Joseph Myers <joseph@codesourcery.com>
18324
3a7ac8a0
JM
18325 [BZ #13550]
18326 * sysdeps/generic/bp-start.h: Remove file.
18327 * csu/libc-start.c: Don't include <bp-start.h>.
18328 (LIBC_START_MAIN): Set up __environ directly instead of using
18329 INIT_ARGV_and_ENVIRON.
18330 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18331 <bp-start.h>.
18332
f3499f95
JM
18333 [BZ #13550]
18334 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18335 definitions.
18336 (CHECK_FCNTL): Likewise.
18337 (CHECK_N_PAGES): Likewise.
18338
32a45bea
JM
18339 [BZ #13550]
18340 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18341 definitions.
18342 (CHECK_SIGSET_NULL_OK): Likewise.
18343 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18344 <bp-checks.h>.
18345 (sigpending): Don't use CHECK_SIGSET.
18346 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18347 <bp-checks.h>.
18348 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18349 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18350 <bp-checks.h>.
18351 (do_sigsuspend): Don't use CHECK_SIGSET.
18352 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18353 use CHECK_SIGSET.
18354 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18355 (do_sigwait): Don't use CHECK_SIGSET.
18356 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18357 use CHECK_SIGSET.
18358 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18359 include <bp-checks.h>.
18360 (sigpending): Don't use CHECK_SIGSET.
18361 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18362 include <bp-checks.h>.
18363 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18364 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18365 <bp-checks.h>.
18366 (sigpending): Don't use CHECK_SIGSET.
18367 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18368 <bp-checks.h>.
18369 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18370
2e8a5c8c
JM
18371 [BZ #13550]
18372 * sysdeps/generic/bp-semctl.h: Remove file.
18373 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18374 <bp-checks.h> and <bp-semctl.h>.
18375 (__old_semctl): Don't use CHECK_SEMCTL.
18376 (__new_semctl): Likewise.
18377 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18378 and <bp-semctl.h>.
18379 (__old_semctl): Don't use CHECK_SEMCTL.
18380 (__new_semctl): Likewise.
18381 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18382 <bp-checks.h> and <bp-semctl.h>.
18383 (__old_semctl): Don't use CHECK_SEMCTL.
18384 (__new_semctl): Likewise.
18385 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18386 <bp-checks.h> and <bp-semctl.h>.
18387 (semctl): Don't use CHECK_SEMCTL.
18388
c2d54929
JM
18389 [BZ #13550]
18390 * Makerules (elide-bp-thunks): Remove variable.
18391 (elide-routines.oS): Don't use $(elide-bp-thunks).
18392 (elide-routines.os): Likewise.
18393 (elide-routines.o): Likewise.
18394 (elide-routines.op): Likewise.
18395 (elide-routines.og): Likewise.
18396 (objects): Don't use $(bp-thunks).
18397 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18398 include.
18399 (common-generated): Do not add s-proto-bp.d.
18400 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18401 (int): Likewise.
18402 (typ): Likewise.
18403 Do not generate makefile rules for bounded-pointer thunks.
18404 * sysdeps/generic/bp-thunks.h: Remove file.
18405 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18406 * sysdeps/unix/s-proto-bp.S: Likewise.
18407
8cf28c5e
JM
18408 [BZ #15062]
18409 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18410 parts of result separately when argument is not close to line from
18411 -i to i and one part of argument is small.
18412 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18413 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18414 * math/libm-test.inc (cacos_test): Add more tests.
18415 (casin_test): Likewise.
18416 (casinh_test): Likewise.
18417 * sysdeps/i386/fpu/libm-test-ulps: Update.
18418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18419
c4e33b8d
DM
184202013-01-31 David S. Miller <davem@davemloft.net>
18421
18422 * po/de.po: Update from translation team.
18423
3b60b421
MK
184242013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18425
18426 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18427
bb931195
TS
184282013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18429
b5a5da23
TS
18430 * configure.in (_AC_PROG_CC_C89): New definition.
18431 * configure: Regenerate.
18432
bb931195
TS
18433 * configure.in (AC_PROG_CPP): New definition.
18434 * configure: Regenerate.
18435
8c53a12c
JM
184362013-01-23 Joseph Myers <joseph@codesourcery.com>
18437
18438 * debug/tst-backtrace.h: New file.
18439 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18440 (ret): Remove variable.
18441 (x): Likewise.
18442 (FAIL): Remove macro.
18443 (NO_INLINE): Likewise.
18444 (fn1): Use match function instead of strstr.
18445 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18446 (ret): Remove variable.
18447 (x): Likewise.
18448 (FAIL): Remove macro.
18449 (NO_INLINE): Likewise.
18450 (fn): Use match function instead of strstr.
18451 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18452 (ret): Remove variable.
18453 (x): Likewise.
18454 (FAIL): Remove macro.
18455 (NO_INLINE): Likewise.
18456 (handle_signal): Use match function instead of strstr.
18457 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18458 (ret): Remove variable.
18459 (x): Likewise.
18460 (FAIL): Remove macro.
18461 (NO_INLINE): Likewise.
18462 (handle_signal): Use match function instead of strstr.
18463
4858fa2a
RM
184642013-01-23 Roland McGrath <roland@hack.frob.com>
18465
18466 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18467
bae8e7f5
DM
184682013-01-23 David S. Miller <davem@davemloft.net>
18469
18470 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18471 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18472 argument of CAS if possible.
18473 * sysdeps/sparc/sparc64/bits/atomic.h
18474 (__arch_compare_and_exchange_val_32_acq): Likewise.
18475 (__arch_compare_and_exchange_val_64_acq): Likewise.
18476
9cbbc4ae
PT
184772013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18478
18479 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18480 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18481 Include <limits.h>.
67b3f58c 18482 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18483
5655a0b5
AC
184842013-01-23 Adam Conrad <adconrad@0c3.net>
18485
18486 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18487 (LDFLAGS-tst-array5): Likewise.
18488
052aff95
JM
184892013-01-23 Joseph Myers <joseph@codesourcery.com>
18490
18491 [BZ #15036]
18492 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18493 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18494 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18495 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18496
7c1e01aa
DM
184972013-01-21 David S. Miller <davem@davemloft.net>
18498
18499 * sysdeps/sparc/backtrace.c: New file.
18500 * sysdeps/sparc/sparc32/backtrace.h: New file.
18501 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18502 * sysdeps/sparc/sparc64/backtrace.h: New file.
18503 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18504 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18505 -funwind-tables.
18506
ab087e0a
AS
185072013-01-21 Andreas Schwab <schwab@suse.de>
18508
18509 [BZ #15020]
18510 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18511 closed its stdout.
18512
ed689c2f
AS
185132013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18514
18515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18516 "mpa2.h".
18517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18518
31d470ac
JM
185192013-01-18 Joseph Myers <joseph@codesourcery.com>
18520 Mark Mitchell <mark@codesourcery.com>
18521 Tom de Vries <tom@codesourcery.com>
18522 Paul Pluzhnikov <ppluzhnikov@google.com>
18523
18524 * debug/tst-backtrace2.c: New file.
18525 * debug/tst-backtrace3.c: Likewise.
18526 * debug/tst-backtrace4.c: Likewise.
18527 * debug/tst-backtrace5.c: Likewise.
18528 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18529 (CFLAGS-tst-backtrace3.c): Likewise.
18530 (CFLAGS-tst-backtrace4.c): Likewise.
18531 (CFLAGS-tst-backtrace5.c): Likewise.
18532 (LDFLAGS-tst-backtrace2): Likewise.
18533 (LDFLAGS-tst-backtrace3): Likewise.
18534 (LDFLAGS-tst-backtrace4): Likewise.
18535 (LDFLAGS-tst-backtrace5): Likewise.
18536 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18537 tst-backtrace4 and tst-backtrace5.
18538
90567f30 185392013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18540 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18541
18542 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18543 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18544 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18545 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18547 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18548 "+r" and remove output regs list as redundant. Add explicit inline
18549 asm to specify register of return val to work around compiler codegen
18550 bug. Remove (int) cast on return value. Add return type parameter to
18551 use in macro so that this macro does not truncate return value for
18552 64-bit values.
18553 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18554 pass to INTERNAL_VSYSCALL_NCS.
18555 (INLINE_VSYSCALL): Add 'long int' as return type to
18556 INTERNAL_VSYSCALL_NCS macro invocation.
18557 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18558 INTERNAL_VSYSCALL_NCS macro invocation.
18559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18560
d3b9ea61
SP
185612013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18562
0b57daeb
SP
18563 [BZ #14496]
18564 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18565 Fix application of SIMD FP exception mask.
18566
caa99d06
SP
18567 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18568 mp_no from a power of two.
18569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18570 __mpexp_twomm1. Use __pow_mp.
18571
d3b9ea61
SP
18572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18573 multiplication.
18574
1dbaee3c
DM
185752013-01-17 David S. Miller <davem@davemloft.net>
18576
18577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18578
728d7b43
JM
185792013-01-17 Joseph Myers <joseph@codesourcery.com>
18580
18581 [BZ #15023]
18582 * include/complex.h: Condition contents on [!_COMPLEX_H].
18583 (__kernel_casinhf): New prototype.
18584 (__kernel_casinh): Likewise.
18585 (__kernel_casinhl): Likewise.
18586 * math/Makefile (libm_calls): Add k_casinh.
18587 * math/k_casinh.c: New file.
18588 * math/k_casinhf.c: Likewise.
18589 * math/k_casinhl.c: Likewise.
18590 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18591 finite nonzero arguments.
18592 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18593 finite nonzero arguments.
18594 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18595 finite nonzero arguments.
18596 * math/s_casinh.c: Do not include <float.h>.
18597 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18598 * math/s_casinhf.c: Do not include <float.h>.
18599 (__casinhf): Move code for finite nonzero arguments to
18600 k_casinhf.c.
18601 * math/s_casinhl.c: Do not include <float.h>.
18602 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18603 redefine.
18604 (__casinhl): Move code for finite nonzero arguments to
18605 k_casinhl.c.
18606 * math/libm-test.inc (cacos_test): Add more tests.
18607 * sysdeps/i386/fpu/libm-test-ulps: Update.
18608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18609
2a26ef3a
PT
186102013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18611
18612 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18613 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18614 [!HAVE_MREMAP]: Remove [defined linux] case.
18615 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18616
a897655d
SP
186172013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18618
18619 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18620
881ebe89 186212013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18622
18623 * elf/elf.h (R_386_SIZE32): New relocation.
18624 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18625 R_386_SIZE32.
18626 (elf_machine_rela): Likewise.
18627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18628 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18629
59981e9b
JM
186302013-01-17 Joseph Myers <joseph@codesourcery.com>
18631
18632 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18633 (FP_FAST_FMA): Do not define.
18634 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18635 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18636 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18637 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18638 !_SOFT_FLOAT]: Likewise.
18639 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18640 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18641 value.
18642 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18643 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18644 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18645 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18646 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18647 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18648 file.
18649
cfa8054f
AS
186502013-01-16 Andreas Schwab <schwab@suse.de>
18651
18652 [BZ #14327]
18653 * include/stdlib.h (__mktemp): Add declaration.
18654 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18655 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18656
dd930cc5
SP
186572013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18658
881ebe89
SP
18659 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18660 definitions.
18661 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18662 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18663 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18664 definitions here.
18665 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18666 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18667 definitions.
18668 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18669 and ONE.
18670 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18671 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18672 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18673 definitions.
18674 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18675 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18676 definitions.
18677 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18678
dd930cc5
SP
18679 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18680
c19a9f89
DM
186812013-01-15 David S. Miller <davem@davemloft.net>
18682
1aa61767
DM
18683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18684 trunc{,f} to libm-sysdep_routes.
18685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18687 file.
18688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18690 file.
18691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18692 file.
18693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18695 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18696 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18697 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18698 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18699 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18700 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18701
c42d5e98
DM
18702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18703 nearbyint{,f} to libm-sysdep_routes.
18704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18706 New file.
18707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18708 file.
18709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18710 New file.
18711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18712 file.
18713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18715 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18716 file.
18717 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18718 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18719 file.
18720 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18721 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18722 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18723
c19a9f89
DM
18724 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18725 libc_feholdexcept and libc_fesetenv.
18726
357679d2
MF
187272013-01-15 Mike Frysinger <vapier@gentoo.org>
18728
18729 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18730
65a82e3d
DM
187312013-01-14 David S. Miller <davem@davemloft.net>
18732
8b954ab9
DM
18733 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18734 (SPARC_ASM_VIS2_IFUNC): Likewise.
18735 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18737 use of 'siam' instruction.
18738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18739 Likewise.
18740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18741 Likewise.
18742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18743 Likewise.
18744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18749 file.
18750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18751 file.
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18753 file.
18754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18755 file.
18756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18761 new VIS2 routines.
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18765 Likewise.
18766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18771 routines to libm-sysdep_routines.
18772 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18773
65a82e3d
DM
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18775 fdim/fdimf to libm-sysdep_routines.
18776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18777 file.
18778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18780 file.
18781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18784 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18785 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18786 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18787 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18788
e34ab705
SP
187892013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18790
2a91b573
SP
18791 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18792 to optimize copies.
18793
1066a534
SP
18794 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18797
e34ab705
SP
18798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18799 local variable MPTWO.
18800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18801 Likewise.
18802
aba5e596
MF
188032013-01-13 Mike Frysinger <vapier@gentoo.org>
18804
18805 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18806 GLOB_NOESCAPE.
18807
e557e9e5
MF
188082013-01-13 Mike Frysinger <vapier@gentoo.org>
18809
18810 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18811
0428cec9
MF
188122013-01-13 Mike Frysinger <vapier@gentoo.org>
18813
18814 * manual/pattern.texi (glob_t): Document gl_flags.
18815 (glob64_t): Likewise.
18816
8794a964
DM
188172013-01-11 David S. Miller <davem@davemloft.net>
18818
66438c3f
RM
18819 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18820 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18821 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18822 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18823 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18824 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18825 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18826 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18827 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18828 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18829 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18830 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18831 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18832
4ae4244d
DM
18833 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18834 sparc V9 rather than using V8 code.
18835 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18836 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18837
8794a964
DM
18838 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18839 Move to...
18840 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18841 Here.
18842
6270516e
RM
188432013-01-11 Roland McGrath <roland@hack.frob.com>
18844
18845 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18846 not in the main loop.
18847 * configure: Regenerated.
18848
6a57d931
JM
188492013-01-11 Joseph Myers <joseph@codesourcery.com>
18850
18851 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18852 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18853 to just #else.
18854 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18855 [!__GLIBC_HAVE_LONG_LONG] case.
18856 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18857 condition to just #else.
18858 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18859 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18860 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18861 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18862 unconditional.
18863 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18864 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18865 #elif condition to just #else.
18866 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18867 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18868 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18869 #elif condition to just #else.
18870
0e8529e9
SE
188712013-01-11 Steve Ellcey <sellcey@mips.com>
18872
18873 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18874 (EF_MIPS_ARCH_64): Fix value.
18875 (EF_MIPS_ARCH_32R2): New.
18876 (EF_MIPS_ARCH_64R2): New.
18877
740b3dbe
L
188782013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18879
18880 * Makeconfig (+link-pie-before-libc): New.
18881 (+link-pie-after-libc): Likewise.
18882 (+link-pie-tests): Likewise.
18883 (+link-pie): Rewritten.
18884 (link-before-libc): Remove $(config-LDFLAGS).
18885 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18886 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18887 (config-LDFLAGS): Renamed to ...
18888 (rtld-LDFLAGS): This.
18889 (rtld-tests-LDFLAGS): New macro.
18890 (link-libc-rpath-link): Likewise.
18891 (link-libc-tests-rpath-link): Likewise.
18892 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18893 (link-libc): Prepand $(link-libc-rpath-link).
18894 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18895 (test-program-prefix): New macro.
18896 (test-via-rtld-prefix): Likewise.
18897 (test-program-cmd): Likewise.
18898 (host-test-program-cmd): Likewise.
18899 * Makefile ($(common-objpfx)testrun.sh): Replace
18900 $(run-program-prefix) with $(test-program-prefix).
18901 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18902 $(rtld-LDFLAGS).
18903 ($(common-objpfx)shlib.lds): Likewise.
18904 (build-module-helper): Likewise.
18905 ($(common-objpfx)format.lds): Likewise.
18906 * Rules (binaries-pie-tests): New.
18907 (binaries-pie-notests): Likewise.
18908 (binaries-pie): Rewritten.
18909 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18910 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18911 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18912 (make-test-out): Replace $(host-built-program-cmd) with
18913 $(host-test-program-cmd).
18914 * config.make.in (build-hardcoded-path-in-tests): New variable.
18915 * configure.in (--enable-hardcoded-path-in-tests): New configure
18916 option.
18917 (hardcoded_path_in_tests): New AC_SUBST.
18918 * configure: Regenerated.
18919 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18920 $(built-program-cmd) with $(test-program-cmd).
18921 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18922 (test_program_cmd): This.
18923 * elf/Makefile ($(objpfx)order.out): Run test with
18924 $(test-program-prefix).
18925 ($(objpfx)order2.out): Likewise.
18926 ($(objpfx)tst-initorder.out): Likewise.
18927 ($(objpfx)tst-initorder2.out): Likewise.
18928 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18929 $(test-program-cmd).
18930 ($(objpfx)tst-array1-static.out): Likewise.
18931 ($(objpfx)tst-array2.out): Likewise.
18932 ($(objpfx)tst-array3.out): Likewise.
18933 ($(objpfx)tst-array4.out): Likewise.
18934 ($(objpfx)tst-array5.out): Likewise.
18935 ($(objpfx)tst-array5-static.out): Likewise.
18936 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18937 $(test-program-cmd).
18938 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18939 $(run-program-prefix) with $(test-program-prefix).
18940 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18941 (test_program_prefix): This.
18942 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18943 $(run-program-prefix) with $(test-program-prefix).
18944 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18945 (test_program_prefix): This.
18946 * iconvdata/tst-tables.sh: Likewise.
18947 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18948 $(run-program-prefix) with $(test-program-prefix).
18949 ($(objpfx)tst-translit.out): Likewise.
18950 ($(objpfx)tst-gettext2.out): Likewise.
18951 ($(objpfx)tst-gettext4.out): Likewise.
18952 ($(objpfx)tst-gettext6.out): Likewise.
18953 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18954 (test_program_prefix): This.
18955 * intl/tst-gettext2.sh: Likewise.
18956 * intl/tst-gettext4.sh Likewise.
18957 * intl/tst-gettext6.sh: Likewise.
18958 * intl/tst-translit.sh: Likewise.
18959 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18960 with $(test-program-cmd).
18961 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18962 $(run-program-prefix) with $(test-program-prefix).
18963 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18964 (test_program_prefix): This.
18965 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18966 $(run-program-prefix) with $(test-program-prefix).
18967 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18968 (test_program_prefix): This.
18969 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18970 * posix/Makefile ($(objpfx)globtest.out): Replace
18971 $(run-via-rtld-prefix) and $(test-wrapper) with
18972 $(test-program-prefix) and $(test-via-rtld-prefix).
18973 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18974 $(test-program-prefix).
18975 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18976 $(host-test-program-cmd).
18977 (tst-spawn-ARGS): Likewise.
18978 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18979 $(test-program-prefix).
18980 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18981 (test_via_rtld_prefix): This.
18982 (test_wrapper): Renamed to ...
18983 (test_program_prefix): This.
18984 (run_program_prefix): Replaced by test_program_prefix.
18985 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18986 (test_program_prefix): This.
18987 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18988 with $(host-test-program-cmd).
18989 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18990 $(run-program-prefix) with $(test-program-prefix).
18991 ($(objpfx)tst-printf.out): Likewise.
18992 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18993 $(test-program-cmd).
18994 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18995 (test_program_prefix): This.
18996 * stdio-common/tst-unbputc.sh: Likewise.
18997 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18998 $(run-program-prefix) with $(test-program-prefix).
18999 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19000 (test_program_prefix): This.
19001 * string/Makefile ($(objpfx)tst-svc.out): Replace
19002 $(built-program-cmd) with $(test-program-cmd).
19003
c6fe55cf
AJ
190042013-01-11 Andreas Jaeger <aj@suse.de>
19005
19006 [BZ #15003]
19007 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19008 value. Sync with Linux 3.7.
19009
9e6919c8
DM
190102013-01-10 David S. Miller <davem@davemloft.net>
19011
19012 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19013 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19014 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19015
1c9f1a02
RM
190162013-01-10 Roland McGrath <roland@hack.frob.com>
19017
19018 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19019 never set.
19020 * configure: Regenerated.
19021
b9de2dde
DM
190222013-01-10 David S. Miller <davem@davemloft.net>
19023
19024 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19025 sparc V9 rather than using V8 code.
19026 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19027 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19028
e7f68ef4
RM
190292013-01-10 Roland McGrath <roland@hack.frob.com>
19030
19031 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19032 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19033 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19034 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19035 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19036 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19037 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19038 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19039 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19040 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19041 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19042 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19043 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19044 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19045 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19046 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19047 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19048 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19049 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19050 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19051 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19052 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19053 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19054 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19055 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19056 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19057 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19058
5a47cc9c
DM
190592013-01-10 David S. Miller <davem@davemloft.net>
19060
19061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19062
4cf8f209
L
190632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19064
19065 * posix/Makefile (tests-static): New variable.
19066 (tests): Add $(tests-static).
19067 (tst-exec-static-ARGS): New variable.
19068 (tst-spawn-static-ARGS): Likewise.
19069 * posix/tst-exec-static.c: New file.
19070 * posix/tst-spawn-static.c: Likewise.
19071 * posix/tst-exec.c: Support run directly.
19072 * posix/tst-spawn.c: Likewise.
19073
fed0faa1
JM
190742013-01-10 Joseph Myers <joseph@codesourcery.com>
19075
828beb13
JM
19076 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19077 long.
19078 * math/bits/mathcalls.h (llrint): Likewise.
19079 (llround): Likewise.
19080 * stdlib/stdlib.h (struct drand48_data): Likewise.
19081 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19082 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19083 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19084 Likewise.
19085 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19086 Likewise.
19087 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19088 (elf_greg_t): Likewise.
19089 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19090 (__jmp_buf): Likewise.
19091 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19092 definitions.
19093 (llrint): Likewise, for all definitions.
19094 (llrintl): Likewise.
19095
fed0faa1
JM
19096 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19097 Remove [__GNUC__] condition.
19098 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19099 condition to just [__USE_ISOC99].
19100 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19101
1a20cb20
L
191022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19103
19104 [BZ #14200]
19105 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19106 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19107 defined.
19108 (_POSIX_V6_ILP32_OFF32): Likewise.
19109 (_XBS5_ILP32_OFF32): Likewise.
19110 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19111 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19112
751b85f7
SP
191132013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19114
7490eb81
SP
19115 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19116
751b85f7
SP
19117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19118 doubles __mpexp_twomm1. Adjust usage.
19119 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19120 Remove.
19121
988197f0
AS
191222013-01-10 Andreas Schwab <schwab@suse.de>
19123
19124 [BZ #14964]
19125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19126 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19127
e83d7298
DM
191282013-01-09 David S. Miller <davem@davemloft.net>
19129
034ed64b 19130 [BZ #15003]
e83d7298
DM
19131 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19132 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19133 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19134 TCP_FASTOPEN): Define.
19135 (tcp_repair_opt): New structure.
19136 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19137 enum values.
19138 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19139 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19140 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19141 (tcp_cookie_transactions): New structure.
19142
d5e0b9bd
AB
191432013-01-09 Anton Blanchard <anton@samba.org>
19144
19145 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19146 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19147 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19148 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19149
0c07e3ea
JM
191502013-01-09 Joseph Myers <joseph@codesourcery.com>
19151
19152 * include/features.h (__USE_ANSI): Remove.
19153
232f7002
RM
191542013-01-09 Roland McGrath <roland@hack.frob.com>
19155
ad98e30c
RM
19156 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19157
232f7002
RM
19158 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19159
950c99ca
SP
191602013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19161
b5792741
SP
19162 * sysdeps/s390/fpu/libm-test-ulps: Update.
19163
47cf2278
SP
19164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19165
950c99ca
SP
19166 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19167 (__acr): Likewise.
19168 (__cpy): Likewise.
19169 (norm): Likewise.
19170 (denorm): Likewise.
19171 (__mp_dbl): Likewise.
19172 (__dbl_mp): Likewise.
19173 (add_magnitudes): Likewise.
19174 (sub_magnitudes): Likewise.
19175 (__add): Likewise.
19176 (__sub): Likewise.
19177 (__mul): Likewise.
19178 (__inv): Likewise.
19179 (__dvd): Likewise.
19180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19181 (__acr): Likewise.
19182 (__cpy): Likewise.
19183 (norm): Likewise.
19184 (denorm): Likewise.
19185 (__mp_dbl): Likewise.
19186 (__dbl_mp): Likewise.
19187 (add_magnitudes): Likewise.
19188 (sub_magnitudes): Likewise.
19189 (__add): Likewise.
19190 (__sub): Likewise.
19191 (__mul): Likewise.
19192 (__inv): Likewise.
19193 (__dvd): Likewise.
19194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19195 (__acr): Likewise.
19196 (__cpy): Likewise.
19197 (norm): Likewise.
19198 (denorm): Likewise.
19199 (__mp_dbl): Likewise.
19200 (__dbl_mp): Likewise.
19201 (add_magnitudes): Likewise.
19202 (sub_magnitudes): Likewise.
19203 (__add): Likewise.
19204 (__sub): Likewise.
19205 (__mul): Likewise.
19206 (__inv): Likewise.
19207 (__dvd): Likewise.
19208
eede9df9
JM
192092013-01-08 Joseph Myers <joseph@codesourcery.com>
19210
19211 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19212 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19213 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19214 2 && __USE_EXTERN_INLINES]: Likewise.
19215
c40ea3d9
AJ
192162013-01-08 Andreas Jaeger <aj@suse.de>
19217
19218 [BZ# 14985]
19219 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19220 Remove.
19221 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19222 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19223
2ccdea26
AB
192242013-01-07 Anton Blanchard <anton@samba.org>
19225
19226 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19227 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19228 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19229 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19230 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19231 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19232 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19233 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19235 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19236 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19237 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19238 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19239 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19240 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19241 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19242 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19243 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19244 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19245 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19246 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19247 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19248 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19249 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19250 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19251 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19252 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19253 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19255 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19256 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19258 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19259 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19260 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19261 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19262 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19263 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19264 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19265 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19266 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19267 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19268 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19269
a9708fed
JM
192702013-01-07 Joseph Myers <joseph@codesourcery.com>
19271
375607b9
JM
19272 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19273 (__MALLOC_PMT): Likewise.
19274 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19275 [__GNUC__], only on [_LIBC].
19276 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19277 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19278 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19279 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19280 forward declaration.
19281 (realloc_hook_ini): Likewise.
19282 (memalign_hook_ini): Likewise.
19283 (__libc_memalign): Do not use __MALLOC_PMT in variable
19284 declaration.
19285 (__libc_valloc): Likewise.
19286 (__libc_pvalloc): Likewise.
19287 (__libc_calloc): Likewise.
19288 (__posix_memalign): Likewise.
19289
a9708fed
JM
19290 [BZ #14996]
19291 * math/s_casinh.c: Include <float.h>.
19292 (__casinh): Do not do computation with squaring and square root
19293 for large arguments.
19294 * math/s_casinhf.c: Include <float.h>.
19295 (__casinhf): Do not do computation with squaring and square root
19296 for large arguments.
19297 * math/s_casinhl.c: Include <float.h>.
19298 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19299 (__casinhl): Do not do computation with squaring and square root
19300 for large arguments.
19301 * math/libm-test.inc (casin_test): Add more tests.
19302 (casinh_test): Likewise.
19303 * sysdeps/i386/fpu/libm-test-ulps: Update.
19304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19305
afec409a
L
193062013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19307
19308 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19309 (__x86_64_raw_data_cache_size): Likewise.
19310 (__x86_64_data_cache_size_half): Likewise.
19311 (__x86_64_raw_data_cache_size_half): Likewise.
19312 (__x86_64_shared_cache_size): Likewise.
19313 (__x86_64_raw_shared_cache_size): Likewise.
19314 (__x86_64_shared_cache_size_half): Likewise.
19315 (__x86_64_raw_shared_cache_size_half): Likewise.
19316 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19317 to ...
19318 (__x86_data_cache_size): This.
19319 (__x86_64_raw_data_cache_size): Renamed to ...
19320 (__x86_raw_data_cache_size): This.
19321 (__x86_64_data_cache_size_half): Renamed to ...
19322 (__x86_data_cache_size_half): This.
19323 (__x86_64_raw_data_cache_size_half): Renamed to ...
19324 (__x86_raw_data_cache_size_half): This.
19325 (__x86_64_shared_cache_size): Renamed to ...
19326 (__x86_shared_cache_size): This.
19327 (__x86_64_raw_shared_cache_size): Renamed to ...
19328 (__x86_raw_shared_cache_size): This.
19329 (__x86_64_shared_cache_size_half): Renamed to ...
19330 (__x86_shared_cache_size_half): This.
19331 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19332 (__x86_raw_shared_cache_size_half): This.
19333 * sysdeps/x86_64/memcpy.S: Updated.
19334 * sysdeps/x86_64/memset.S: Likewise.
19335 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19336 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19337 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19338
0b3986d0
DM
193392013-01-04 David S. Miller <davem@davemloft.net>
19340
19341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19342
e47686e9
AS
193432013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19344
d643bac1
AS
19345 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19346 1 to avoid redefinition warning.
19347 (__USE_GNU): Don't define.
19348 (init_signaling_nan): Protoize.
19349
e47686e9
AS
19350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19351
b18decba
SP
193522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19353
fffb407f
SP
19354 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19356 (__cpymn): Likewise.
19357 (norm): Remove commented code.
19358 (denorm): Likewise.
19359 (__mp_dbl): Likewise.
19360 (__inv): Likewise.
19361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19362 (__cpymn): Likewise.
19363 (norm): Remove commented code.
19364 (denorm): Likewise.
19365 (__mp_dbl): Likewise.
19366 (__inv): Likewise.
19367
b18decba
SP
19368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19369 mp_no value for 1.0 and 2.0.
19370 (norm): Use RADIXI instead of radixi.d.
19371 (denorm): Likewise.
19372 (__mul): Use 0.0 instead of zero.d.
19373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19374 mp_no value for 1.0 and 2.0.
19375 (norm): Use RADIXI instead of radixi.d.
19376 (denorm): Likewise.
19377 (__mul): Use 0.0 instead of zero.d.
19378
cdc1c96f
JM
193792013-01-04 Joseph Myers <joseph@codesourcery.com>
19380
19381 [BZ #14994]
19382 * math/s_casinh.c (__casinh): Reduce finite argument to first
19383 quadrant then set signs of results at the end.
19384 * math/s_casinhf.c (__casinhf): Likewise.
19385 * math/s_casinhl.c (__casinhl): Likewise.
19386 * math/libm-test.inc (casin_test): Add more tests.
19387 (casinh_test): Likewise.
19388 * sysdeps/i386/fpu/libm-test-ulps: Update.
19389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19390
302913e1
SP
193912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19392
6420d207
SP
19393 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19394
a9e48ab4
SP
19395 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19396
b7837264
SP
19397 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19398 declarations.
19399 (denorm): Likewise.
19400 (__mp_dbl): Likewise.
19401 (__inv): Likewise.
19402
f8af25d2
SP
19403 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19404 and adjust the header comment.
19405
302913e1
SP
19406 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19407 variable name from declaration.
19408
5d7dd1ca
L
194092013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19410
19411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19412 Initialize COMMON_CPUID_INDEX_7 element.
19413 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19414 (CPUID_RTM): Likewise.
19415 (HAS_RTM): Likewise.
19416 (COMMON_CPUID_INDEX_7): New enum.
19417
2f5f40f4
AS
194182013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19419
19420 [BZ #14981]
19421 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19422 size is zero, record memory as freed.
19423
4056f4a0
AJ
194242013-01-03 Andreas Jaeger <aj@suse.de>
19425
19426 * po/ia.po: Add new Interlingua translation.
19427
ab15736f 194282012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19429
19430 * locale/programs/localedef.c: Fix description of '--posix' flag.
19431
568035b7
JM
194322013-01-02 Joseph Myers <joseph@codesourcery.com>
19433
e6898b8d
JM
19434 * NEWS: Update dates in second copyright notice.
19435 * README: Update copyright dates in example.
19436 * manual/libc.texinfo: Update copyright dates.
19437 * scripts/test-installation.pl: Update copyright date in --version
19438 output.
19439
0e2f9562
JM
19440 * hurd/ctty-input.c: Fix copyright notice formatting.
19441 * hurd/ctty-output.c: Likewise.
19442 * hurd/dtable.c: Likewise.
19443 * hurd/hurd-raise.c: Likewise.
19444 * hurd/hurdprio.c: Likewise.
19445 * hurd/msgportdemux.c: Likewise.
19446 * misc/sys/file.h: Likewise.
19447 * misc/sys/ioctl.h: Likewise.
19448 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19449 * sysdeps/mach/hurd/chdir.c: Likewise.
19450 * sysdeps/mach/hurd/fchdir.c: Likewise.
19451 * sysdeps/mach/hurd/rename.c: Likewise.
19452 * sysdeps/mach/hurd/rmdir.c: Likewise.
19453 * sysdeps/mach/hurd/seekdir.c: Likewise.
19454 * sysdeps/mach/hurd/setsid.c: Likewise.
19455 * sysdeps/posix/wait3.c: Likewise.
19456
568035b7
JM
19457 * All files with FSF copyright notices: Update copyright dates
19458 using scripts/update-copyrights.
19459 * intl/plural.c: Regenerated.
19460 * locale/programs/charmap-kw.h: Likewise.
19461 * locale/programs/locfile-kw.h: Likewise.
19462
da08f647
SP
194632013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19464
0f5477af
SP
19465 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19466 four values.
19467
44e0d4c2
SP
19468 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19469 calculation loop and add branch prediction.
19470
4d55b4e5
SP
19471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19472 check access beyond bounds of m1np.
19473
da08f647
SP
19474 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19475 MPTWO.
19476 (__inv): Remove local variable MPTWO to use the global
19477 constant.
19478 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19480 variable MPTWO.
19481 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19482 MP3HALFS static const.
19483
8e051029
DM
194842013-01-01 David S. Miller <davem@davemloft.net>
19485
19486 * po/ca.po: Update from translation team.
19487
f4cf5f2d
JM
194882013-01-01 Joseph Myers <joseph@codesourcery.com>
19489
19490 * scripts/update-copyrights: New file.
19491 * Makeconfig: Reformat copyright notice.
19492 * ctype/ctype.h: Likewise.
19493 * debug/swprintf_chk.c: Likewise.
19494 * elf/dl-cache.c: Likewise.
19495 * elf/dl-debug.c: Likewise.
19496 * elf/dl-object.c: Likewise.
19497 * grp/initgroups.c: Likewise.
19498 * hurd/Makefile: Likewise.
19499 * hurd/hurd/signal.h: Likewise.
19500 * hurd/hurdfault.c: Likewise.
19501 * hurd/hurdioctl.c: Likewise.
19502 * hurd/hurdlookup.c: Likewise.
19503 * hurd/intr-msg.c: Likewise.
19504 * iconv/gconv_open.c: Likewise.
19505 * libio/swprintf.c: Likewise.
19506 * locale/lc-ctype.c: Likewise.
19507 * locale/nl_langinfo.c: Likewise.
19508 * mach/Machrules: Likewise.
19509 * mach/Makefile: Likewise.
19510 * malloc/obstack.h: Likewise.
19511 * manual/Makefile: Likewise.
19512 * manual/tsort.awk: Likewise.
19513 * misc/bits/stab.def: Likewise.
19514 * nis/nis_print_group_entry.c: Likewise.
19515 * nis/nis_table.c: Likewise.
19516 * nis/nss_compat/compat-pwd.c: Likewise.
19517 * nis/nss_compat/compat-spwd.c: Likewise.
19518 * po/Makefile: Likewise.
19519 * posix/fnmatch.c: Likewise.
19520 * posix/regex.h: Likewise.
19521 * resolv/Makefile: Likewise.
19522 * resolv/nss_dns/dns-network.c: Likewise.
19523 * resolv/res_hconf.c: Likewise.
19524 * scripts/gen-sorted.awk: Likewise.
19525 * soft-fp/soft-fp.h: Likewise.
19526 * stdio-common/printf.h: Likewise.
19527 * stdlib/monetary.h: Likewise.
19528 * stdlib/random.c: Likewise.
19529 * stdlib/random_r.c: Likewise.
19530 * sysdeps/generic/Makefile: Likewise.
19531 * sysdeps/gnu/Makefile: Likewise.
19532 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19536 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19539 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19542 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19543 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19544 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19545 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19546 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19547 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19548 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19550 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19552 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19553 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19554 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19560 * sysdeps/mach/hurd/errnos.awk: Likewise.
19561 * sysdeps/mach/hurd/fork.c: Likewise.
19562 * sysdeps/mach/hurd/getcwd.c: Likewise.
19563 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19564 * sysdeps/mach/hurd/mmap.c: Likewise.
19565 * sysdeps/mach/hurd/utimes.c: Likewise.
19566 * sysdeps/mach/hurd/xmknod.c: Likewise.
19567 * sysdeps/posix/profil.c: Likewise.
19568 * sysdeps/posix/readdir_r.c: Likewise.
19569 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19570 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19571 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19572 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19574 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19575 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19576 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19578 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19579 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19580 * sysdeps/pthread/lio_listio.c: Likewise.
19581 * sysdeps/sparc/dl-procinfo.h: Likewise.
19582 * sysdeps/unix/i386/sysdep.S: Likewise.
19583 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19584 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19585 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19586 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19588 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19589 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19590 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19591 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19592 * sysdeps/wordsize-32/divdi3.c: Likewise.
19593 * time/sys/time.h: Likewise.
19594 * wcsmbs/Makefile: Likewise.
19595
0549fbba
DM
195962013-01-01 David S. Miller <davem@davemloft.net>
19597
a141f1a7
DM
19598 * po/fr.po: Update from translation team.
19599
0549fbba
DM
19600 * catgets/gencat.c: Update copyright year.
19601 * csu/version.c: Likewise.
19602 * debug/catchsegv.sh: Likewise.
19603 * debug/pcprofiledump.c: Likewise.
19604 * debug/xtrace.sh: Likewise.
19605 * elf/ldconfig.c: Likewise.
19606 * elf/ldd.bash.in: Likewise.
19607 * elf/pldd.c: Likewise.
19608 * elf/sotruss.ksh: Likewise.
19609 * elf/sprof.c: Likewise.
19610 * iconv/iconv_prog.c: Likewise.
19611 * iconv/iconvconfig.c: Likewise.
19612 * locale/programs/locale.c: Likewise.
19613 * locale/programs/localedef.c: Likewise.
19614 * login/programs/pt_chown.c: Likewise.
19615 * malloc/memusage.sh: Likewise.
19616 * malloc/memusagestat.c: Likewise.
19617 * malloc/mtrace.pl: Likewise.
19618 * nscd/nscd.c: Likewise.
19619 * nss/getent.c: Likewise.
19620 * nss/makedb.c: Likewise.
19621 * posix/getconf.c: Likewise.
19622
18ea052c
SP
196232012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19624
19625 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19626 numbers.
19627
9c89fca6
MF
196282012-12-30 Mike Frysinger <vapier@gentoo.org>
19629
19630 * math/bits/mathcalls.h (modf): Use __nonnull.
19631
085ec079
SP
196322012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19633
19634 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19635 (split): Use macro CN instead of the bare value.
19636 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19637 could be used.
19638 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19639 instead of the bare value.
19640 (power1): Likewise.
19641
6d9f97e1
SP
196422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19643
d63f73be
SP
19644 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19645 __ATAN_TWOM.
19646 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19647
6d9f97e1
SP
19648 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19649 their values.
19650 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19651 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19652 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19653 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19654
4c4febf5
AJ
196552012-12-28 Andreas Jaeger <aj@suse.de>
19656
af5843ef
AJ
19657 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19658 values are from Linux 3.7.
19659
4c4febf5
AJ
19660 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19661 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19662
99136f82
SP
196632012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19664
2f216c3c 19665 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19666 TRUE case.
19667
99136f82
SP
19668 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19669 (norm): Likewise.
19670 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19671 variables with preprocessor constants.
19672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19673 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19674 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19675
7fffbdff
BH
196762012-12-27 Bruno Haible <bruno@clisp.org>
19677
19678 [BZ #14317]
19679 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19680 only if needed.
19681
b76eb5f0
SP
196822012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19683
31a7fe5c
SP
19684 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19685 and use variable directly.
19686 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19687
b76eb5f0
SP
19688 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19689 MPONE.
19690 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19691 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19692 variable MPONE.
19693 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19695 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19696 include directive. Remove local variable MPONE.
19697 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19698 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19699 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19700
2c8bfe7d
DM
197012012-12-25 David S. Miller <davem@davemloft.net>
19702
19703 * version.h (RELEASE): Set to "development".
19704 (VERSION): Set to "2.17.90".
19705 * NEWS: Add 2.18 section.
19706
147d03b0
DM
197072012-12-21 David S. Miller <davem@davemloft.net>
19708
19709 * po/hr.po: Update from translation team.
19710
a8ebb2b9
AK
197112012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19712
19713 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19714
95b4f1b6
SE
197152012-12-19 Steve Ellcey <sellcey@mips.com>
19716
b2d94007 19717 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19718
cedb2a90
MS
197192012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19720
19721 * manual/contrib.texi (Contributors): Spelling correction.
19722
bbf527d6
DM
197232012-12-15 David S. Miller <davem@davemloft.net>
19724
19725 * po/ru.po: Update from translation team.
19726
bc38c906
DM
197272012-12-13 David S. Miller <davem@davemloft.net>
19728
85429b1a
DM
19729 * NEWS: Mention IFUNC testsuite enhancements.
19730
d283e353
DM
19731 * po/pl.po: Update from translation team.
19732 * po/bg.po: Likewise.
19733
bc38c906
DM
19734 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19735 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19736
a181b0d7
DM
197372012-12-11 David S. Miller <davem@davemloft.net>
19738
4641d57e
DM
19739 * po/sv.po: Update from translation team.
19740
f7bc6495
DM
19741 * po/vi.po: Update from translation team.
19742
6fc9048f
DM
19743 * po/cs.po: Update from translation team.
19744
a181b0d7
DM
19745 * po/de.po: Update from translation team.
19746 * po/eo.po: Likewise.
19747 * po/nl.po: Likewise.
19748
f70bfe80
SP
197492012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19750
3c8b4190
SP
19751 [BZ #14246]
19752 * manual/argp.texi (Argp Helper Functions): Move node to follow
19753 Argp Parsing State.
19754
f70bfe80
SP
19755 [BZ #14872]
19756 * manual/conf.texi (Limits on File System Capacity): Mention if
19757 terminating null is included in the max size.
19758
188f0adf
AJ
197592012-12-10 Andreas Jaeger <aj@suse.de>
19760
19761 * po/cs.po: Update from translation team.
19762
56e7d3ad
SP
197632012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19764
19765 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19766 void pointer and cast to uintptr_t.
19767 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19768 path.
19769 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19770 * sysdeps/s390/s390-64/memset.S: Likewise.
19771
76f2d2ea 197722012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19773
19774 [BZ #14833]
19775 * menual/message.texi (Message Translation): Fix typos.
19776 (Helper programs for gettext): Likewise.
19777
67cbf9a2
AS
197782012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19779
19780 [BZ #14898]
19781 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19782 Change to -1.
19783
682d0e9a
DM
197842012-12-07 David S. Miller <davem@davemloft.net>
19785
19786 * po/libc.pot: Update.
19787
573cd484
RH
197882012-12-07 Richard Henderson <rth@redhat.com>
19789
7e9da188 19790 [BZ #10114]
573cd484
RH
19791 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19792 normal/normal case to before the switch.
19793 (_FP_DIV): Likewise.
19794
e933a943
MF
197952012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19796 Mike Frysinger <vapier@gentoo.org>
19797
19798 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19799 check for __NR_fadvise64_64.
19800
82123268
CM
198012012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19802
19803 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19804 0, not just to plain "0" as a statement.
19805 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19806 with cw.
19807
d9814526
JM
198082012-12-06 Joseph Myers <joseph@codesourcery.com>
19809
19810 * NEWS: Use sourceware.org in Bugzilla URL.
19811
7728c574
SP
198122012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19813
f16946dd
SP
19814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19815 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19816
5704bbcb
SP
19817 * stdio-common/tst-put-error.c (do_test): Add newline to the
19818 padded test to ensure flush.
19819
17aa0516
JL
198202012-12-05 Jeff Law <law@redhat.com>
19821
19822 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19823
363313b5
JM
198242012-12-05 Joseph Myers <joseph@codesourcery.com>
19825
effbd42a
JM
19826 * README: Don't refer to ports add-on as distributed separately.
19827 Mention AArch64 in list of systems supported in the ports add-on.
19828
87600365
JM
19829 * LICENSES: Add more non-FSF copyright and license notices.
19830
a0d7066a
JM
19831 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19832 ((unused)).
19833
66ca5a5b
JM
19834 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19835
363313b5
JM
19836 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19837 10000 as width of padded output.
19838
b37984ad
JM
198392012-12-04 Joseph Myers <joseph@codesourcery.com>
19840
9003570a
JM
19841 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19842
b37984ad
JM
19843 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19844 variable LX with __attribute__ ((unused)).
19845 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19846 Likewise.
19847 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19848 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19849 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19850 with __attribute__ ((unused)).
19851
c8df52ec
DM
198522012-12-04 David S. Miller <davem@abraco.davemloft.net>
19853
19854 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19855
b3b099af
JM
198562012-12-04 Joseph Myers <joseph@codesourcery.com>
19857
c33aa6e3
JM
19858 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19859 (CFLAGS-nldbl-acos.c): New variable.
19860 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19861 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19862 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19863 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19864 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19865 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19866 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19867 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19868 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19869 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19870 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19871 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19872 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19873 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19874 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19875 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19876 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19877 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19878 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19879 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19880 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19881 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19882 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19883 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19884 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19885 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19886 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19887 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19888 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19889 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19890 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19891 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19892 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19893 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19894 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19895 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19896 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19897 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19898 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19899 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19900 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19901 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19902 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19903 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19904 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19905 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19906 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19907 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19908 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19909 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19910 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19911 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19912 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19913 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19914 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19915 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19916 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19917 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19918 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19919 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19920 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19921 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19922 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19923 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19924 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19925 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19926 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19927 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19928 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19929 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19930 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19931 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19932 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19933 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19934 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19935 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19936 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19937 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19938 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19939 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19940 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19941 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19942 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19943 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19944 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19945 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19946 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19947 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19948 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19949 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19950 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19951 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19952 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19953 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19954 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19955 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19956 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19957
20f0018d
JM
19958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19959 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19960
b3b099af
JM
19961 [BZ #14914]
19962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19963 whole low double instead of just low 47 bits when splitting values
19964 into two parts.
19965
029264d1
AM
199662012-12-03 Allan McRae <allan@archlinux.org>
19967
19968 * manual/stdio.texi (Predefined Printf Handlers): Remove
19969 @hsep and @vsep usage.
19970
c9d6789e
MF
199712012-12-03 Mike Frysinger <vapier@gentoo.org>
19972
19973 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19974 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19975
4b7634a5
JL
199762012-12-03 Jeff Law <law@redhat.com>
19977
19978 * time/sys/time.h (settimeofday): Do not mark TV argument
19979 as __nonnull.
19980
eb6cbd24
MF
199812012-12-01 Mike Frysinger <vapier@gentoo.org>
19982
19983 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19984 when currently writing and seek to current position when not.
19985 * libio/Makefile (tests): Remove bug-fclose1.
19986 * libio/bug-fclose1.c: Delete.
19987
f638872a
JM
199882012-12-01 Joseph Myers <joseph@codesourcery.com>
19989
19990 * manual/arith.texi (feenableexcept): Fix typo.
19991 (fedisableexcept): Likewise.
19992
48085d14
RM
199932012-11-30 Roland McGrath <roland@hack.frob.com>
19994
19995 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19996 second, differently-typed declaration, rather than a cast.
19997
1a538b9f
SP
199982012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19999
20000 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20001 * include/rpc/svc.h: ... here.
20002
d07f2ff1 200032012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20004
20005 [BZ #13013]
20006 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20007 depending n and resplen2 to catch cases where answer
20008 equals answerp2.
20009
c93ec1f0
CD
200102012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20011
20012 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20013 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20014
37db69de
MF
200152012-11-29 Mike Frysinger <vapier@gentoo.org>
20016
20017 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20018
e10c4e4f
RM
200192012-11-29 Roland McGrath <roland@hack.frob.com>
20020
20021 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20022
2af1b328
JL
200232012-11-28 Jeff Law <law@redhat.com>
20024
20025 [BZ #13761]
20026 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20027 dataset_temporary. Track alloca usage into alloca_used.
20028 If dataset is large allocate and release it via malloc/free.
20029
111db5b1
FW
200302012-06-04 Florian Weimer <fweimer@redhat.com>
20031
f06cc227 20032 [BZ #14197]
111db5b1
FW
20033 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20034
dd694abd
DM
200352012-11-28 David S. Miller <davem@davemloft.net>
20036
20037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20038
9984dd01
JM
200392012-11-28 Joseph Myers <joseph@codesourcery.com>
20040
20041 [BZ #14803]
20042 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20043 of pi/2 rounded to nearest to 64 bits.
20044 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20045 nearest to 64 bits.
20046 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20047 bits.
20048
14bc93a9
JL
200492012-11-28 Jeff Law <law@redhat.com>
20050 Martin Osvald <mosvald@redhat.com>
20051
20052 [BZ #14889]
20053 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20054 * sunrpc/svc.c: Include time.h.
20055 (__svc_accept_failed): New function.
20056 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20057 any reason other than EINTR, call __svc_accept_failed.
20058 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20059 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20060
e3c6aa3a
AS
200612012-11-28 Andreas Schwab <schwab@suse.de>
20062
20063 * scripts/abilist.awk: Also handle indirect functions in .opd
20064 section.
20065
1bead169
JM
200662012-11-28 Joseph Myers <joseph@codesourcery.com>
20067
20068 [BZ #13881]
20069 * sysdeps/x86/fpu/powl_helper.c: New file.
20070 * sysdeps/x86/fpu/Makefile: Likewise.
20071 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20072 (p3): New object.
20073 (__ieee754_powl): Use __powl_helper for finite arguments except
20074 integer exponents below 8.
20075 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20076 (p3): New object.
20077 (__ieee754_powl): Use __powl_helper for finite arguments except
20078 integer exponents below 8.
20079 * math/libm-test.inc (pow_test): Add more tests and enable some
20080 previously disabled tests.
20081 * sysdeps/i386/fpu/libm-test-ulps: Update.
20082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20083
0817d63d
SP
200842012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20085 Carlos O'Donell <carlos_odonell@mentor.com>
20086
20087 * nss/makedb.c (is_prime): Assert that input is odd and greater
20088 than 4. Note that fact in a comment too.
20089 (next_prime): Add 4 to input.
20090
de2fd463
SP
200912012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20092
20093 [BZ #11741]
20094 * libio/Makefile (tests): Add test case tst-fwrite-error.
20095 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20096 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20097 * libio/tst-fwrite-error.c: New test case.
20098
c515fb51
L
200992012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20100
20101 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20102 before casting to void *.
20103 * include/libc-internal.h (__pointer_type): New macro.
20104 (__integer_if_pointer_type_sub): Likewise.
20105 (__integer_if_pointer_type): Likewise.
20106 (cast_to_integer): Likewise.
20107 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20108 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20109 before casting to atomic64_t.
20110 (atomic_exchange_acq): Likewise.
20111 (__arch_exchange_and_add_body): Likewise.
20112 (__arch_add_body): Likewise.
20113 (atomic_add_negative): Likewise.
20114 (atomic_add_zero): Likewise.
20115
4cf77aa9
JM
201162012-11-26 Joseph Myers <joseph@codesourcery.com>
20117
20118 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20119 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20120 (add_fdes): Likewise.
20121 (linear_search_fdes): Likewise.
20122 (binary_search_unencoded_fdes): Likewise.
20123
d260b3b4
AS
201242012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20125
20126 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20127
67060746
AC
201282012-11-24 Adam Conrad <adconrad@0c3.net>
20129
20130 * configure.in: Autodetect C++ header directories.
20131 * configure: Regenerated.
20132
800938a1
MF
201332012-11-23 Mike Frysinger <vapier@gentoo.org>
20134
20135 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20136
4e6e34e6
AS
201372012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20138
20139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20140
7c7feb47
JM
201412012-11-22 Joseph Myers <joseph@codesourcery.com>
20142
7184dcdf
JM
20143 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20144 LDBL_MANT_DIG == 106]: Disable some tests.
20145 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20146 Likewise.
20147 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20148 Likewise.
20149
0a42601f
JM
20150 [BZ #14871]
20151 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20152 input for small inputs. Return +/- pi/2 for large inputs.
20153 * math/libm-test.inc (atan_test): Add more tests.
20154
79c9b9fe
JM
20155 * sysdeps/generic/unwind-dw2-fde-glibc.c
20156 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20157 __attribute__ ((unused)).
20158
c60d3bf2
JM
20159 [BZ #14645]
20160 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20161 x * y if x and y are nonzero and z is zero.
20162
ef1e0867
JM
20163 [BZ #14811]
20164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20165 nonzero exponents with absolute value below 0x1p-117 to +/-
20166 0x1p-117.
20167
1468ded3
JM
20168 [BZ #14869]
20169 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20170 up arguments below 2**-450, not just those below 2**-500.
20171 * math/libm-test.inc (hypot_test): Add another test.
20172
8e27e3cc
JM
20173 [BZ #14868]
20174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20175 Return a+b for ratio over 2**120, not 2**60.
20176 * math/libm-test.inc (hypot_test): Add another test.
20177
c9c0279b
JM
20178 * math/libm-test.inc (clog_test): Use
20179 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20180 (clog10_test): Likewise.
20181
7c7feb47
JM
20182 [BZ #6778]
20183 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20184
fff1530e
AS
201852012-11-22 Andreas Schwab <schwab@suse.de>
20186
20187 * sysdeps/i386/fpu/libm-test-ulps: Update.
20188
94558d30
PT
201892012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20190
20191 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20192 printf output with newline.
20193
7e1be741
L
201942012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20195
6bfea974
L
20196 [BZ #14865]
20197 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20198 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20199 -z nodlopen, -z initfirst and -z execstack support.
20200 * configure: Regenerated.
20201
7e1be741
L
20202 * elf/elf.h (DF_1_NODIRECT): New macro.
20203 (DF_1_IGNMULDEF): Likewise.
20204 (DF_1_NOKSYMS): Likewise.
20205 (DF_1_NOHDR): Likewise.
20206 (DF_1_EDITED): Likewise.
20207 (DF_1_NORELOC): Likewise.
20208 (DF_1_SYMINTPOSE): Likewise.
20209 (DF_1_GLOBAUDIT): Likewise.
20210 (DF_1_SINGLETON): Likewise.
20211 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20212 DT_1_SUPPORTED_MASK bits.
20213 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20214
105ce2ce
CD
202152012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20216
20217 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20218
123be9de
TS
202192012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20220
d072f3f7
TS
20221 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20222 macro.
20223
123be9de
TS
20224 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20225 (sendmmsg): Move declarations...
20226 * socket/sys/socket.h: ... here.
20227 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20228 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20229 include it from...
20230 * socket/recvmmsg.c: ... this new file.
20231 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20232 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20233 definition of __sendmmsg hidden.
20234 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20235 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20236 Move ENOSYS stub into and include it from...
20237 * socket/sendmmsg.c: ... this new file.
20238 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20239 (sysdep_routines): Move recvmmsg and sendmmsg...
20240 * socket/Makefile (routines): ... here.
20241 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20242 (GLIBC_PRIVATE): Add __sendmmsg.
20243 * include/sys/socket.h (__sendmmsg): Add declarations.
20244 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20245 sendmmsg.
20246
cf9a5d18
JM
202472012-11-20 Joseph Myers <joseph@codesourcery.com>
20248
20249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20250 variable I1 with __attribute__ ((unused)).
20251 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20252
ecd4caf9
JM
202532012-11-19 Joseph Myers <joseph@codesourcery.com>
20254
be14d48f
JM
20255 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20256 DUMMY variables with __attribute__ ((unused)).
20257
ecd4caf9
JM
20258 * bits/byteswap.h: Include <bits/types.h>.
20259 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20260
986cab95
PT
202612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20262
20263 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20264 string_t. Do not manually set errno.
20265 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20266 length with __strnlen. Make sure to both set errno and return it on
20267 failure.
20268
6d33cc9d
DM
202692012-11-19 David S. Miller <davem@davemloft.net>
20270
20271 With help from Joseph Myers.
20272 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20273 very large arguments properly.
20274 * math/libm-test.inc (atan_test): New tests.
20275 (atan2_test): New tests.
20276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20278
ee663277
JM
202792012-11-19 Joseph Myers <joseph@codesourcery.com>
20280
877f2d8e
JM
20281 [BZ #14856]
20282 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20283 Define to 3.
20284
116fc08a
JM
20285 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20286 [POSIX] (EADDRNOTAVAIL): Likewise.
20287 [POSIX] (EAFNOSUPPORT): Likewise.
20288 [POSIX] (EALREADY): Likewise.
20289 [POSIX] (ECONNABORTED): Likewise.
20290 [POSIX] (ECONNREFUSED): Likewise.
20291 [POSIX] (ECONNRESET): Likewise.
20292 [POSIX] (EDESTADDRREQ): Likewise.
20293 [POSIX] (EDQUOT): Likewise.
20294 [POSIX] (EHOSTUNREACH): Likewise.
20295 [POSIX] (EIDRM): Likewise.
20296 [POSIX] (EISCONN): Likewise.
20297 [POSIX] (ELOOP): Likewise.
20298 [POSIX] (EMULTIHOP): Likewise.
20299 [POSIX] (ENETDOWN): Likewise.
20300 [POSIX] (ENETUNREACH): Likewise.
20301 [POSIX] (ENOBUFS): Likewise.
20302 [POSIX] (ENODATA): Likewise.
20303 [POSIX] (ENOLINK): Likewise.
20304 [POSIX] (ENOMSG): Likewise.
20305 [POSIX] (ENOPROTOOPT): Likewise.
20306 [POSIX] (ENOSR): Likewise.
20307 [POSIX] (ENOSTR): Likewise.
20308 [POSIX] (ENOTCONN): Likewise.
20309 [POSIX] (ENOTSOCK): Likewise.
20310 [POSIX] (EOPNOTSUPP): Likewise.
20311 [POSIX] (EOVERFLOW): Likewise.
20312 [POSIX] (EPROTO): Likewise.
20313 [POSIX] (EPROTONOSUPPORT): Likewise.
20314 [POSIX] (EPROTOTYPE): Likewise.
20315 [POSIX] (ESTALE): Likewise.
20316 [POSIX] (ETIME): Likewise.
20317 [POSIX] (ETXTBSY): Likewise.
20318 [POSIX] (EWOULDBLOCK): Likewise.
20319 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20320 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20321 [POSIX] (SEEK_CUR): Likewise.
20322 [POSIX] (SEEK_END): Likewise.
20323 [POSIX || UNIX98] (mode_t): Do not require.
20324 [POSIX] (off_t): Likewise.
20325 [POSIX] (pid_t): Likewise.
20326 [POSIX] (sys/stat.h): Do not allow header.
20327 [POSIX] (unistd.h): Likewise.
20328 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20329 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20330 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20331 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20332 require.
20333 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20334 sigevent): Specify elements.
20335 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20336 entry.
20337 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20338 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20339
a483863f
JM
20340 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20341 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20342 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20343 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20344 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20345 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20346 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20347 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20349 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20350 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20351 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20352 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20353 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20354 Likewise.
20355 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20356 Likewise.
20357 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20358 Likewise.
20359 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20360 Likewise.
20361 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20362 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20363 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20364 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20366 Specify lower bound on value.
20367 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20371 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20372 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20373 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20374 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20375 value.
20376 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20377 as optional.
20378 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20379 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20380 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20381 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20382 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20383 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20384 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20385 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20386 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20387 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20388 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20389 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20390 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20391 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20392 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20393 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20394 entry.
20395 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20396 optional.
20397 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20398 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20399 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20400 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20401 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20402 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20403 Likewise.
20404 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20405 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20406 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20407 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20408 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20409 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20410 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20411 as optional.
20412 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20413 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20414 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20415 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20416 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20417 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20418 specify as optional.
20419 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20420 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20421 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20422 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20423 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20424 [XPG3] (NL_LANGMAX): Likewise.
20425 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20426 [POSIX || XPG3] (NL_NMAX): Likewise.
20427 [POSIX || XPG3] (NL_SETMAX): Likewise.
20428 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20429 [XPG3] (NZERO): Likewise.
20430 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20431 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20432 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20433 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20434 (REG_ERANGE): Expect.
20435 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20436 optional-constant.
20437 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20438 Use (void) in prototype.
20439 [POSIX] (*_t): Allow.
20440 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20441 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20442 (WRDE_BADVAL): Expect.
20443
5ba924e3
JM
20444 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20445 expect.
20446 [XPG3 || XPG4] (O_RSYNC): Likewise.
20447 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20448 Likewise.
20449 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20450 [XPG3 || XPG4] (sigqueue): Likewise.
20451 [XPG3 || XPG4] (sigtimedwait): Likewise.
20452 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20453 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20454 [XPG3 || XPG4] (vsnprintf): Likewise.
20455 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20456 Likewise.
20457 [XPG3 || XPG4] (blksize_t): Likewise.
20458 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20459 Likewise.
20460 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20461 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20462 [XPG3 || XPG4] (struct itimerspec): Likewise.
20463 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20464 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20465 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20466 [XPG3 || XPG4] (clockid_t): Likewise.
20467 [XPG3 || XPG4] (timer_t): Likewise.
20468 [XPG3 || XPG4] (clock_getres): Likewise.
20469 [XPG3 || XPG4] (clock_gettime): Likewise.
20470 [XPG3 || XPG4] (clock_settime): Likewise.
20471 [XPG3 || XPG4] (nanosleep): Likewise.
20472 [XPG3 || XPG4] (timer_create): Likewise.
20473 [XPG3 || XPG4] (timer_delete): Likewise.
20474 [XPG3 || XPG4] (timer_gettime): Likewise.
20475 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20476 [XPG3 || XPG4] (timer_settime): Likewise.
20477 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20478 [XPG3 || XPG4] (getlogin_r): Likewise.
20479 [XPG3 || XPG4] (pread): Likewise.
20480 [XPG3 || XPG4] (pthread_atfork): Likewise.
20481 [XPG3 || XPG4] (pwrite): Likewise.
20482
ee663277
JM
20483 [BZ #14835]
20484 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20485 <bits/siginfo.h>.
20486
942caa16
PT
204872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20488
e19af380
PT
20489 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20490 finalizing MALLSTREAM.
20491
942caa16
PT
20492 * sysdeps/mach/hurd/syncfs.c: New file.
20493
cfde9b46
SP
204942012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20495
20496 [BZ #14719]
20497 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20498 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20499 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20500 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20501 (_nss_dns_gethostbyname4_r): Likewise.
20502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20503 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20504
f6da27e5
PH
205052012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20506
20507 [BZ #13763]
20508 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20509
6665d4a2
SM
205102012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20511
1f51ee92
SM
20512 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20513 * elf/cache.c (print_entry): Print ",AArch64" for
20514 FLAG_AARCH64_LIB64
20515
6665d4a2
SM
20516 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20517 * elf/cache.c (print_entry): Print ",hard-float" for
20518 FLAG_ARM_LIBHF.
20519
05b227bd
DM
205202012-11-18 David S. Miller <davem@davemloft.net>
20521
20522 With help from Joseph Myers.
20523 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20524 cutoff to 2**-13.
20525 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20526 cutoff to 2**-25.
20527 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20528 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20529 small.
20530 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20531 * math/libm-test.inc (y0_test): New tests.
20532 (y1_test): New tests.
20533 * sysdeps/i386/fpu/libm-test-ulps: Update.
20534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20536
786b0b67
AS
205372012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20538
20539 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20540 64-bit targets.
20541 * configure: Regenerated.
20542
8e18b86d
DM
205432012-11-17 David S. Miller <davem@davemloft.net>
20544
20545 [BZ #14811]
20546 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20547 nonzero exponents with absolute value below 0x1p-128 to +/-
20548 0x1p-128.
20549
531f1ae0
JM
205502012-11-17 Joseph Myers <joseph@codesourcery.com>
20551
12df29e2
JM
20552 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20553
150dc1a0
JM
20554 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20555
531f1ae0
JM
20556 * posix/getconf-speclist.c: New file.
20557 * posix/posix-envs.def: Likewise.
20558 * posix/confstr.c (START_ENV_GROUP): New macro.
20559 (END_ENV_GROUP): Likewise.
20560 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20561 (KNOWN_PRESENT_ENV_STRING): Likewise.
20562 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20563 (UNKNOWN_ENVIRONMENT): Likewise.
20564 (confstr): Include posix-envs.def instead of handling
20565 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20566 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20567 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20568 (END_ENV_GROUP): Likewise.
20569 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20570 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20571 (UNKNOWN_ENVIRONMENT): Likewise.
20572 (__sysconf): Include posix-envs.def instead of handling associated
20573 cases directly here.
20574 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20575 preprocessing getconf-speclist.c rather than running getconf or
20576 generating empty file.
20577
a93f9cbc
PT
205782012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20579
20580 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20581
d64d9f87
AL
205822012-11-16 Andrej Lajovic <natrij@gmail.com>
20583
20584 [BZ #14672]
20585 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20586
447885eb
DM
205872012-11-16 David S. Miller <davem@davemloft.net>
20588
20589 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20590 smaller than LDBL_EPSILON/2.0L, just return xm1.
20591
bcbf9830
L
205922012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20593
20594 * elf/tst-array1.c (init): Set constructor priority to 1000.
20595 (fini): Set destructor priority to 1000.
20596 * elf/tst-array2dep.c: Likewise.
20597
2b766585
SP
205982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20599
20600 [BZ #11741]
20601 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20602 (_IO_new_file_xsputn): Also return EOF if none of the input
20603 data was written when overflow failed.
20604 * libio/iopadn.c (_IO_padn): Likewise.
20605 * libio/iowpadn.c (_IO_wpadn): Likewise.
20606 * stdio-common/tst-put-error.c: Add copyright notice.
20607 (do_test): Add case for printing padded string.
20608 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20609 _IO_padn returned error.
20610 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20611 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20612 return EOF.
20613
b1848fde
SP
206142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20615
20616 * libio/libioP.h: Add comment note that the references to C++
20617 bits are now obsolete.
20618
2fd89785
MS
206192012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20620
20621 * math/libm-test.inc (check_complex): Use asprintf.
20622
e3ea5409
JM
206232012-11-14 Joseph Myers <joseph@codesourcery.com>
20624
20625 * debug/pcprofiledump.c (print_version): Update copyright year.
20626 * malloc/memusagestat.c (print_version): Likewise.
20627
2e64d265
L
206282012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20629
20630 [BZ #14831]
20631 * elf/Makefile (tests): Add tst-audit8.
20632 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20633 ($(objpfx)tst-audit8.out): New target.
20634 (tst-audit8-ENV): New variable.
20635 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20636 audit if l_reloc_result is NULL.
20637 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20638 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20639 * elf/tst-audit8.c: New file.
20640
c485e4d2
MS
206412012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20642
20643 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20644 * misc/Makefile (CFLAGS-select.c): Define.
20645 * posix/Makefile (CFLAGS-pause.c): Define.
20646
3a0d900a
DM
206472012-11-13 David S. Miller <davem@davemloft.net>
20648
20649 * crypt/Makefile: Move test targets after toplevel Rules
20650 inclusion. Grab any necessary sysdep routines when linking.
20651 * crypt/md5.c (md5_process_block): Remove define, we will always
20652 name it __md5_process_block.
20653 (md5_finish_ctx): Update md5_process_block call.
20654 (md5_stream): Likewise.
20655 (md5_process_bytes): Likewise.
20656 (md5_process_block): Rename to __md5_process_block and move to ...
20657 * crypt/md5-block.c: ... here.
20658 * crypt/sha256.c (sha256_process_block): Move to ...
20659 * crypt/sha256-block.c: ... here.
20660 * crypt/sha512.c (sha512_process_block): Move to ...
20661 * crypt/sha512-block.c: ... here.
20662 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20663 path.
20664 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20665 * sysdeps/sparc/sparc64/multiarch/Makefile
20666 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20667 crypt subdir.
20668 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20669 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20670 multiarch changes.
20671 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20672 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20673 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20674 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20675 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20676 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20677 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20678 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20679 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20680 file.
20681 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20682 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20683 file.
20684 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20685
8ca89318
JM
206862012-11-13 Joseph Myers <joseph@codesourcery.com>
20687
e27d476a
JM
20688 * timezone/tzselect.ksh: Update from tzcode git revision
20689 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20690 * timezone/zdump.c: Likewise.
20691 * timezone/zic.c: Likewise.
20692 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20693 in TZVERSION setting, not $(PKGVERSION).
20694 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20695 REPORT_BUGS_TO settings.
20696
8ca89318
JM
20697 [BZ #14838]
20698 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20699 macro.
20700
47594329
MS
207012012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20702
20703 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20704 detection to immediately after _FP_ROUND().
20705 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20706 bits are 0.
20707
640ac3f1
DM
207082012-11-11 David S. Miller <davem@davemloft.net>
20709
20710 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20711 inttypes.h
20712 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20713 __close rather than their public counterparts.
20714
3d2577bb
JM
207152012-11-10 Joseph Myers <joseph@codesourcery.com>
20716
20717 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20718 file.
20719 [UNIX98] (sem_timedwait): Do not expect.
20720 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20721 [XPG4 || UNIX98] (sockatmark): Do not expect.
20722 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20723 (clock_getcpuclockid): Do not expect.
20724 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20725 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20726 Do not expect.
20727 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20728 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20729 [UNIX98] (vwscanf): Likewise.
20730 [UNIX98] (vswscanf): Likewise.
20731
fb1ae1ee
JM
207322012-11-09 Joseph Myers <joseph@codesourcery.com>
20733
9ec6f8bd
JM
20734 * timezone/version.h: Remove file.
20735 * timezone/README: Do not refer to version.h.
20736 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20737 $(objpfx)version.h.
20738 ($(objpfx)zdump.o): Likewise.
c3f81911 20739 ($(objpfx)version.h): New target.
9ec6f8bd 20740
0aa8f8a1
JM
20741 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20742 2012i.
20743 * timezone/README: Don't mention modification to tzselect.ksh.
20744 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20745 work on unmodified tzselect.ksh. Substitute version numbers in
20746 tzselect.ksh.
20747
4e87147f
JM
20748 * Makefile (format-me): Remove.
20749 (INSTALL): Adjust indentation. Use commands directly instead of
20750 using $(format-me).
20751
8b748aed
JM
20752 * aclocal.m4 (ACX_PKGVERSION): New macro.
20753 (ACX_BUGURL): Likewise.
20754 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20755 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20756 (REPORT_BUGS_TO): Likewise.
20757 * configure: Regenerated.
20758 * config.h.in (PKGVERSION): New macro.
20759 (REPORT_BUGS_TO): Likewise.
20760 * config.make.in (PKGVERSION): New variable.
20761 (PKGVERSION_TEXI): Likewise.
20762 (REPORT_BUGS_TO): Likewise.
20763 (REPORT_BUGS_TEXI): Likewise.
20764 * Makefile (format-me): Use -I$(common-objpfx)manual.
20765 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20766 ($(common-objpfx)manual/%): New target.
20767 (manual/%): Remove target.
20768 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20769 (print_version): Use PKGVERSION.
20770 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20771 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20772 and REPORT_BUGS_TO.
20773 ($(objpfx)xtrace): Likewise.
20774 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20775 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20776 (print_version): Use PKGVERSION.
20777 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20778 (do_version): Use PKGVERSION.
20779 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20780 REPORT_BUGS_TO.
20781 (common-ldd-rewrite): Likewise.
20782 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20783 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20784 (print_version): Use PKGVERSION.
20785 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20786 * elf/pldd.c (argp_program_bug_address): Remove variable.
20787 (more_help): New function.
20788 (argp): Use more_help.
20789 (print_version): Use PKGVERSION.
20790 * elf/sln.c (main): Use PKGVERSION.
20791 (usage): Use REPORT_BUGS_TO.
20792 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20793 (top level): Use PKGVERSION.
20794 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20795 (print_version): Use PKGVERSION.
20796 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20797 (print_version): Use PKGVERSION.
20798 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20799 (print_version): Use PKGVERSION.
20800 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20801 (print_version): Use PKGVERSION.
20802 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20803 (print_version): Use PKGVERSION.
20804 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20805 (print_version): Use PKGVERSION.
20806 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20807 and BUGURL.
20808 ($(objpfx)memusage): Likewise.
20809 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20810 (do_version): Use PKGVERSION.
20811 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20812 (print_version): Use PKGVERSION.
20813 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20814 ($PKGVERSION): New variable.
20815 ($REPORT_BUGS_TO): Likewise.
20816 (usage): Use $REPORT_BUGS_TO.
20817 (top level): Use $PKGVERSION.
20818 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20819 ($(objpfx)pkgvers.texi): New rule.
20820 ($(objpfx)stamp-pkgvers): Likewise.
20821 * manual/install.texi: Include pkgvers.texi.
20822 (--with-pkgversion): Document new configure option.
20823 (--with-bugurl): Likewise.
20824 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20825 than necessarily for this particular distribution. Use
20826 REPORT_BUGS_TO for where to report bugs.
20827 * INSTALL: Regenerated.
20828 * manual/libc.texinfo: Include pkgvers.texi.
20829 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20830 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20831 (print_version): Use PKGVERSION.
20832 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20833 (print_version): Use PKGVERSION.
20834 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20835 (print_version): Use PKGVERSION.
20836 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20837 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20838 macro.
20839 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20840 (print_version): Use PKGVERSION.
20841 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20842 (print_version): Use PKGVERSION.
20843 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20844 and PKGVERSION.
20845
92e4b6a9
JM
20846 * timezone/checktab.awk: Update from tzcode 2012i.
20847 * timezone/ialloc.c: Likewise.
20848 * timezone/private.h: Likewise.
20849 * timezone/scheck.c: Likewise.
20850 * timezone/tzfile.h: Likewise.
20851 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20852 (TZVERSION): Hardcode tzcode version number.
20853 * timezone/zdump.c: Update from tzcode 2012i.
20854 * timezone/zic.c: Likewise.
20855 * timezone/version.h: New file.
20856 * timezone/README: Describe version.h. Update upstream location.
20857
9bde902c
JM
20858 [BZ #14824]
20859 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20860 (mktemp): Enable declaration.
20861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20864 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20865 Likewise.
20866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20867 Likewise.
20868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20869 Likewise.
20870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20871 Likewise.
20872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20873 Likewise.
20874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20875 Likewise.
20876
fb1ae1ee
JM
20877 [BZ #14821]
20878 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20879 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20880 for copies of such integer values.
20881 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20882 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20883
2c1adbcb
AJ
208842012-11-09 Andreas Jaeger <aj@suse.de>
20885
20886 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20887 definitions and declarations that are provided by
20888 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20889
d0f8457e
AK
208902012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20891
3a235abb 20892 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20893 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20894 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20895 definition.
20896
57241e26
MS
208972012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20898
20899 * elf/elf.h: Update comment before AArch64 relocations.
20900
60e8270d
DM
209012012-11-07 David S. Miller <davem@davemloft.net>
20902
20903 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20904 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20905 (__start_context): Declare.
20906 (__makecontext_ret): Delete.
20907 (__makecontext): Hook up __start_context instead of
20908 __makecontext_ret.
20909 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20910 (sysdep_routines): Add __start_context when in stdlib.
20911
0fbb0fbc
JM
209122012-11-07 Joseph Myers <joseph@codesourcery.com>
20913
20914 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20915 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20916 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20917 hardcoded "nm".
20918 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20919 (READELF): New variable. Use it instead of hardcoded "readelf".
20920
eb48db7e
L
209212012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20922
20923 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20924 * sysdeps/x86/Makefile: Here.
20925 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20926 * sysdeps/x86/tst-xmmymm.sh: This.
20927
05bcf62a
JM
209282012-11-07 Joseph Myers <joseph@codesourcery.com>
20929
c4b6cf53
JM
20930 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20931 expectations.
20932 [UNIX98] (pthread_barrier_t): Do not expect.
20933 [UNIX98] (pthread_barrierattr_t): Likewise.
20934 [UNIX98] (pthread_spinlock_t): Likewise.
20935 [UNIX98] (pthread_barrier_destroy): Likewise.
20936 [UNIX98] (pthread_barrier_init): Likewise.
20937 [UNIX98] (pthread_barrier_wait): Likewise.
20938 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20939 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20940 [UNIX98] (pthread_barrierattr_init): Likewise.
20941 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20942 [UNIX98] (pthread_getcpuclockid): Likewise.
20943 [UNIX98] (pthread_mutex_timedlock): Likewise.
20944 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20945 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20946 [UNIX98] (pthread_sigmask): Likewise.
20947 [UNIX98] (pthread_spin_destroy): Likewise.
20948 [UNIX98] (pthread_spin_init): Likewise.
20949 [UNIX98] (pthread_spin_lock): Likewise.
20950 [UNIX98] (pthread_spin_trylock): Likewise.
20951 [UNIX98] (pthread_spin_unlock): Likewise.
20952 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20953 Do not expect.
20954 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20955 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20956 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20957 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20958 [XPG3 || XPG4] (pthread_key_t): Likewise.
20959 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20960 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20961 [XPG3 || XPG4] (pthread_once_t): Likewise.
20962 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20963 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20964 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20965 [XPG3 || XPG4] (pthread_t): Likewise.
20966
cbe6e120
JM
20967 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20968 not expect.
20969 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20970
1b126443
JM
20971 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20972 Change function return type to int.
20973
b961a573
JM
20974 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20975 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20976 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20977 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20978 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20979 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20980 [!POSIX] (posix_madvise): Likewise.
20981 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20982 && !UNIX98].
20983 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20984 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20985 (mode_t): Likewise.
20986 (posix_mem_offset): Likewise.
20987 (posix_typed_mem_get_info): Likewise.
20988 (posix_typed_mem_open): Likewise.
20989
9e188909
JM
20990 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20991 Change condition to [XOPEN2K8].
20992
05bcf62a
JM
20993 * conform/conformtest.pl: Preprocess allow-header data with -x c
20994 instead of from stdin.
20995 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20996 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20997 [C99-based standards] (cerfc): Likewise.
20998 [C99-based standards] (cexp2): Likewise.
20999 [C99-based standards] (cexpm1): Likewise.
21000 [C99-based standards] (clog10): Likewise.
21001 [C99-based standards] (clog1p): Likewise.
21002 [C99-based standards] (clog2): Likewise.
21003 [C99-based standards] (clgamma): Likewise.
21004 [C99-based standards] (ctgamma): Likewise.
21005 [C99-based standards] (cerff): Likewise.
21006 [C99-based standards] (cerfcf): Likewise.
21007 [C99-based standards] (cexp2f): Likewise.
21008 [C99-based standards] (cexpm1f): Likewise.
21009 [C99-based standards] (clog10f): Likewise.
21010 [C99-based standards] (clog1pf): Likewise.
21011 [C99-based standards] (clog2f): Likewise.
21012 [C99-based standards] (clgammaf): Likewise.
21013 [C99-based standards] (ctgammaf): Likewise.
21014 [C99-based standards] (cerfl): Likewise.
21015 [C99-based standards] (cerfcl): Likewise.
21016 [C99-based standards] (cexp2l): Likewise.
21017 [C99-based standards] (cexpm1l): Likewise.
21018 [C99-based standards] (clog10l): Likewise.
21019 [C99-based standards] (clog1pl): Likewise.
21020 [C99-based standards] (clog2l): Likewise.
21021 [C99-based standards] (clgammal): Likewise.
21022 [C99-based standards] (ctgammal): Likewise.
21023 * conform/data/inttypes.h-data [C99-based standards]: Include
21024 stdint.h-data. Remove all expectations for stdint.h contents.
21025 [C99-based standards] (PRI*): Do not allow.
21026 [C99-based standards] (SCN*): Likewise.
21027 [C99-based standards] (*_t): Likewise.
21028 [C99-based-standards] (PRId8): Expect macro.
21029 [C99-based-standards] (PRIi8): Likewise.
21030 [C99-based-standards] (PRIo8): Likewise.
21031 [C99-based-standards] (PRIu8): Likewise.
21032 [C99-based-standards] (PRIx8): Likewise.
21033 [C99-based-standards] (PRIX8): Likewise.
21034 [C99-based-standards] (SCNd8): Likewise.
21035 [C99-based-standards] (SCNi8): Likewise.
21036 [C99-based-standards] (SCNo8): Likewise.
21037 [C99-based-standards] (SCNu8): Likewise.
21038 [C99-based-standards] (SCNx8): Likewise.
21039 [C99-based-standards] (PRIdLEAST8): Likewise.
21040 [C99-based-standards] (PRIiLEAST8): Likewise.
21041 [C99-based-standards] (PRIoLEAST8): Likewise.
21042 [C99-based-standards] (PRIuLEAST8): Likewise.
21043 [C99-based-standards] (PRIxLEAST8): Likewise.
21044 [C99-based-standards] (PRIXLEAST8): Likewise.
21045 [C99-based-standards] (SCNdLEAST8): Likewise.
21046 [C99-based-standards] (SCNiLEAST8): Likewise.
21047 [C99-based-standards] (SCNoLEAST8): Likewise.
21048 [C99-based-standards] (SCNuLEAST8): Likewise.
21049 [C99-based-standards] (SCNxLEAST8): Likewise.
21050 [C99-based-standards] (PRIdFAST8): Likewise.
21051 [C99-based-standards] (PRIiFAST8): Likewise.
21052 [C99-based-standards] (PRIoFAST8): Likewise.
21053 [C99-based-standards] (PRIuFAST8): Likewise.
21054 [C99-based-standards] (PRIxFAST8): Likewise.
21055 [C99-based-standards] (PRIXFAST8): Likewise.
21056 [C99-based-standards] (SCNdFAST8): Likewise.
21057 [C99-based-standards] (SCNiFAST8): Likewise.
21058 [C99-based-standards] (SCNoFAST8): Likewise.
21059 [C99-based-standards] (SCNuFAST8): Likewise.
21060 [C99-based-standards] (SCNxFAST8): Likewise.
21061 [C99-based-standards] (PRId16): Likewise.
21062 [C99-based-standards] (PRIi16): Likewise.
21063 [C99-based-standards] (PRIo16): Likewise.
21064 [C99-based-standards] (PRIu16): Likewise.
21065 [C99-based-standards] (PRIx16): Likewise.
21066 [C99-based-standards] (PRIX16): Likewise.
21067 [C99-based-standards] (SCNd16): Likewise.
21068 [C99-based-standards] (SCNi16): Likewise.
21069 [C99-based-standards] (SCNo16): Likewise.
21070 [C99-based-standards] (SCNu16): Likewise.
21071 [C99-based-standards] (SCNx16): Likewise.
21072 [C99-based-standards] (PRIdLEAST16): Likewise.
21073 [C99-based-standards] (PRIiLEAST16): Likewise.
21074 [C99-based-standards] (PRIoLEAST16): Likewise.
21075 [C99-based-standards] (PRIuLEAST16): Likewise.
21076 [C99-based-standards] (PRIxLEAST16): Likewise.
21077 [C99-based-standards] (PRIXLEAST16): Likewise.
21078 [C99-based-standards] (SCNdLEAST16): Likewise.
21079 [C99-based-standards] (SCNiLEAST16): Likewise.
21080 [C99-based-standards] (SCNoLEAST16): Likewise.
21081 [C99-based-standards] (SCNuLEAST16): Likewise.
21082 [C99-based-standards] (SCNxLEAST16): Likewise.
21083 [C99-based-standards] (PRIdFAST16): Likewise.
21084 [C99-based-standards] (PRIiFAST16): Likewise.
21085 [C99-based-standards] (PRIoFAST16): Likewise.
21086 [C99-based-standards] (PRIuFAST16): Likewise.
21087 [C99-based-standards] (PRIxFAST16): Likewise.
21088 [C99-based-standards] (PRIXFAST16): Likewise.
21089 [C99-based-standards] (SCNdFAST16): Likewise.
21090 [C99-based-standards] (SCNiFAST16): Likewise.
21091 [C99-based-standards] (SCNoFAST16): Likewise.
21092 [C99-based-standards] (SCNuFAST16): Likewise.
21093 [C99-based-standards] (SCNxFAST16): Likewise.
21094 [C99-based-standards] (PRId32): Likewise.
21095 [C99-based-standards] (PRIi32): Likewise.
21096 [C99-based-standards] (PRIo32): Likewise.
21097 [C99-based-standards] (PRIu32): Likewise.
21098 [C99-based-standards] (PRIx32): Likewise.
21099 [C99-based-standards] (PRIX32): Likewise.
21100 [C99-based-standards] (SCNd32): Likewise.
21101 [C99-based-standards] (SCNi32): Likewise.
21102 [C99-based-standards] (SCNo32): Likewise.
21103 [C99-based-standards] (SCNu32): Likewise.
21104 [C99-based-standards] (SCNx32): Likewise.
21105 [C99-based-standards] (PRIdLEAST32): Likewise.
21106 [C99-based-standards] (PRIiLEAST32): Likewise.
21107 [C99-based-standards] (PRIoLEAST32): Likewise.
21108 [C99-based-standards] (PRIuLEAST32): Likewise.
21109 [C99-based-standards] (PRIxLEAST32): Likewise.
21110 [C99-based-standards] (PRIXLEAST32): Likewise.
21111 [C99-based-standards] (SCNdLEAST32): Likewise.
21112 [C99-based-standards] (SCNiLEAST32): Likewise.
21113 [C99-based-standards] (SCNoLEAST32): Likewise.
21114 [C99-based-standards] (SCNuLEAST32): Likewise.
21115 [C99-based-standards] (SCNxLEAST32): Likewise.
21116 [C99-based-standards] (PRIdFAST32): Likewise.
21117 [C99-based-standards] (PRIiFAST32): Likewise.
21118 [C99-based-standards] (PRIoFAST32): Likewise.
21119 [C99-based-standards] (PRIuFAST32): Likewise.
21120 [C99-based-standards] (PRIxFAST32): Likewise.
21121 [C99-based-standards] (PRIXFAST32): Likewise.
21122 [C99-based-standards] (SCNdFAST32): Likewise.
21123 [C99-based-standards] (SCNiFAST32): Likewise.
21124 [C99-based-standards] (SCNoFAST32): Likewise.
21125 [C99-based-standards] (SCNuFAST32): Likewise.
21126 [C99-based-standards] (SCNxFAST32): Likewise.
21127 [C99-based-standards] (PRId64): Likewise.
21128 [C99-based-standards] (PRIi64): Likewise.
21129 [C99-based-standards] (PRIo64): Likewise.
21130 [C99-based-standards] (PRIu64): Likewise.
21131 [C99-based-standards] (PRIx64): Likewise.
21132 [C99-based-standards] (PRIX64): Likewise.
21133 [C99-based-standards] (SCNd64): Likewise.
21134 [C99-based-standards] (SCNi64): Likewise.
21135 [C99-based-standards] (SCNo64): Likewise.
21136 [C99-based-standards] (SCNu64): Likewise.
21137 [C99-based-standards] (SCNx64): Likewise.
21138 [C99-based-standards] (PRIdLEAST64): Likewise.
21139 [C99-based-standards] (PRIiLEAST64): Likewise.
21140 [C99-based-standards] (PRIoLEAST64): Likewise.
21141 [C99-based-standards] (PRIuLEAST64): Likewise.
21142 [C99-based-standards] (PRIxLEAST64): Likewise.
21143 [C99-based-standards] (PRIXLEAST64): Likewise.
21144 [C99-based-standards] (SCNdLEAST64): Likewise.
21145 [C99-based-standards] (SCNiLEAST64): Likewise.
21146 [C99-based-standards] (SCNoLEAST64): Likewise.
21147 [C99-based-standards] (SCNuLEAST64): Likewise.
21148 [C99-based-standards] (SCNxLEAST64): Likewise.
21149 [C99-based-standards] (PRIdFAST64): Likewise.
21150 [C99-based-standards] (PRIiFAST64): Likewise.
21151 [C99-based-standards] (PRIoFAST64): Likewise.
21152 [C99-based-standards] (PRIuFAST64): Likewise.
21153 [C99-based-standards] (PRIxFAST64): Likewise.
21154 [C99-based-standards] (PRIXFAST64): Likewise.
21155 [C99-based-standards] (SCNdFAST64): Likewise.
21156 [C99-based-standards] (SCNiFAST64): Likewise.
21157 [C99-based-standards] (SCNoFAST64): Likewise.
21158 [C99-based-standards] (SCNuFAST64): Likewise.
21159 [C99-based-standards] (SCNxFAST64): Likewise.
21160 [C99-based-standards] (PRIdMAX): Likewise.
21161 [C99-based-standards] (PRIiMAX): Likewise.
21162 [C99-based-standards] (PRIoMAX): Likewise.
21163 [C99-based-standards] (PRIuMAX): Likewise.
21164 [C99-based-standards] (PRIxMAX): Likewise.
21165 [C99-based-standards] (PRIXMAX): Likewise.
21166 [C99-based-standards] (SCNdMAX): Likewise.
21167 [C99-based-standards] (SCNiMAX): Likewise.
21168 [C99-based-standards] (SCNoMAX): Likewise.
21169 [C99-based-standards] (SCNuMAX): Likewise.
21170 [C99-based-standards] (SCNxMAX): Likewise.
21171 [C99-based-standards] (PRIdPTR): Likewise.
21172 [C99-based-standards] (PRIiPTR): Likewise.
21173 [C99-based-standards] (PRIoPTR): Likewise.
21174 [C99-based-standards] (PRIuPTR): Likewise.
21175 [C99-based-standards] (PRIxPTR): Likewise.
21176 [C99-based-standards] (PRIXPTR): Likewise.
21177 [C99-based-standards] (SCNdPTR): Likewise.
21178 [C99-based-standards] (SCNiPTR): Likewise.
21179 [C99-based-standards] (SCNoPTR): Likewise.
21180 [C99-based-standards] (SCNuPTR): Likewise.
21181 [C99-based-standards] (SCNxPTR): Likewise.
21182 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21183 allow.
21184 * conform/data/stdint.h-data: Update comments to clarify
21185 requirements.
21186 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21187 type.
21188 [C99-based standards] (INT8_MAX): Likewise.
21189 [C99-based standards] (INT16_MIN): Likewise.
21190 [C99-based standards] (INT16_MAX): Likewise.
21191 [C99-based standards] (INT32_MIN): Likewise.
21192 [C99-based standards] (INT32_MAX): Likewise.
21193 [C99-based standards] (INT64_MIN): Likewise.
21194 [C99-based standards] (INT64_MAX): Likewise.
21195 [C99-based standards] (UINT8_MAX): Likewise.
21196 [C99-based standards] (UINT16_MAX): Likewise.
21197 [C99-based standards] (UINT32_MAX): Likewise.
21198 [C99-based standards] (UINT64_MAX): Likewise.
21199 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21200 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21201 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21202 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21203 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21204 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21205 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21206 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21207 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21208 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21209 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21210 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21211 [C99-based standards] (INT_FAST8_MIN): Likewise.
21212 [C99-based standards] (INT_FAST8_MAX): Likewise.
21213 [C99-based standards] (INT_FAST16_MIN): Likewise.
21214 [C99-based standards] (INT_FAST16_MAX): Likewise.
21215 [C99-based standards] (INT_FAST32_MIN): Likewise.
21216 [C99-based standards] (INT_FAST32_MAX): Likewise.
21217 [C99-based standards] (INT_FAST64_MIN): Likewise.
21218 [C99-based standards] (INT_FAST64_MAX): Likewise.
21219 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21220 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21221 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21222 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21223 [C99-based standards] (INTPTR_MIN): Likewise.
21224 [C99-based standards] (INTPTR_MAX): Likewise.
21225 [C99-based standards] (UINTPTR_MAX): Likewise.
21226 [C99-based standards] (INTMAX_MIN): Likewise.
21227 [C99-based standards] (INTMAX_MAX): Likewise.
21228 [C99-based standards] (UINTMAX_MAX): Likewise.
21229 [C99-based standards] (PTRDIFF_MIN): Likewise.
21230 [C99-based standards] (PTRDIFF_MAX): Likewise.
21231 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21232 [C99-based standards] (SIZE_MAX): Likewise.
21233 [C99-based standards] (WCHAR_MAX): Likewise.
21234 [C99-based standards] (WINT_MAX): Likewise.
21235 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21236 constraint on value.
21237 [C99-based standards] (WCHAR_MIN): Likewise.
21238 [C99-based standards] (WINT_MIN): Likewise.
21239 [C99-based standards] (*_t): Allow.
21240 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21241 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21242 Include math.h-data and complex.h-data. Remove all expectations
21243 of math.h and complex.h contents.
21244 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21245 at end of line.
21246 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21247 (struct tm): Expect tag.
21248 [C99-based-standards] (wcstof): Expect function.
21249 [C99-based-standards] (wcstold): Likewise.
21250 [C99-based-standards] (wcstoll): Likewise.
21251 [C99-based-standards] (wcstoull): Likewise.
21252 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21253 macro-int-constant. Specify type.
21254 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21255 constraint on value.
21256 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21257 Specify type.
21258 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21259 Specify value.
21260 [ISO C standards]: Do not allow headers.
21261 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21262 wcs[abcdefghijklmnopqrstuvwxyz]*.
21263 [ISO C standards] (*_t): Do not allow.
21264 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21265 Expect function.
21266 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21267 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21268 Specify type.
21269 [ISO C standards]: Do not allow headers.
21270 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21271 is[abcdefghijklmnopqrstuvwxyz]*.
21272 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21273 to[abcdefghijklmnopqrstuvwxyz]*.
21274 [ISO C standards] (*_t): Do not allow.
21275 * conform/data/stdalign.h-data: New file.
21276 * conform/data/stdbool.h-data: Likewise.
21277 * conform/data/stdnoreturn.h-data: Likewise.
21278
7514feb8
RM
212792012-11-07 Roland McGrath <roland@hack.frob.com>
21280
21281 [BZ #14815]
21282 * manual/filesys.texi (Directory Entries): Typo fix.
21283 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21284
19b2ecfc
MS
212852012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21286
21287 * elf/elf.h (EM_AARCH64): New macro.
21288 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21289 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21290 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21291 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21292 (R_AARCH64_TLSDESC): Likewise.
21293 (NT_ARM_TLS): Likewise.
21294 (NT_ARM_HW_BREAK): Likewise.
21295 (NT_ARM_HW_WATCH): Likewise.
21296
60e235ee
JM
212972012-11-07 Joseph Myers <joseph@codesourcery.com>
21298
21299 [BZ #14811]
21300 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21301 (__ieee754_powl): Saturate nonzero exponents with absolute value
21302 below 0x1p-79 to +/- 0x1p-79.
21303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21304 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21305 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21306 nonzero exponents with absolute value below 0x1p-32 to +/-
21307 0x1p-32.
21308 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21309 (__ieee754_powl): Saturate nonzero exponents with absolute value
21310 below 0x1p-79 to +/- 0x1p-79.
21311 * math/libm-test.inc (pow_test): Add more tests.
21312
0ab234b7
AK
213132012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21314
21315 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21316 _dl_s390_cap_flags with kernel. Increase string length.
21317 (_dl_s390_platforms): Add z196 and zEC12.
21318
45832f74
JM
213192012-11-07 Joseph Myers <joseph@codesourcery.com>
21320
21321 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21322 Change XOPEN21K to XOPEN2K.
21323
19218757
MK
213242012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21325
21326 * string/memmove.c: Use memcpy when possible.
21327
c5f45721
AJ
213282012-11-06 Andreas Jaeger <aj@suse.de>
21329
21330 * po/eo.po: Update from translation team.
21331
82477c28
JM
213322012-11-06 Joseph Myers <joseph@codesourcery.com>
21333
21334 [BZ #14793]
21335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21336 exponent and small x and y exponents, scale x or y up. Increase
21337 by 2 the exponent used in scaling up.
21338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21340 * math/libm-test.inc (fma_test): Add more tests.
21341 (fma_test_towardzero): Likewise.
21342 (fma_test_downward): Likewise.
21343 (fma_test_upward): Likewise.
21344
99252c8c
JM
213452012-11-05 Joseph Myers <joseph@codesourcery.com>
21346
acfa885f
JM
21347 [BZ #14805]
21348 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21349 fenv_t *.
21350
99252c8c
JM
21351 [BZ #14801]
21352 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21353 namespace for names of struct fields.
21354 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21355 fenv_t fields.
21356 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21357 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21358
d6d98dea
ST
213592012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21360
21361 [BZ #3665]
21362 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21363
e10bb107
TS
213642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21365
21366 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21367 PTR_DEMANGLE.
21368
21369 [BZ #5246]
21370 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21371 PTR_DEMANGLE.
21372
a0c2940d
JM
213732012-11-04 Joseph Myers <joseph@codesourcery.com>
21374
21375 [BZ #14797]
21376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21377 definitely overflow as x * y not x * y + z.
21378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21379 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21380 * math/libm-test.inc (fma_test): Add more tests.
21381 (fma_test_towardzero): Likewise.
21382 (fma_test_downward): Likewise.
21383 (fma_test_upward): Likewise.
21384
b830319d
TS
213852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21386
21387 [BZ #157]
21388
21389 * include/stub-tag.h: Remove file.
21390 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21391 '#include' of it.
21392 * manual/maint.texi (Porting): Don't reference it.
21393 * Makerules ($(objpfx)stubs): Likewise.
21394 * dirent/closedir.c: Don't include <stub-tag.h>.
21395 * dirent/dirfd.c: Likewise.
21396 * dirent/fdopendir.c: Likewise.
21397 * dirent/getdents.c: Likewise.
21398 * dirent/getdents64.c: Likewise.
21399 * dirent/opendir.c: Likewise.
21400 * dirent/readdir.c: Likewise.
21401 * dirent/readdir64.c: Likewise.
21402 * dirent/readdir64_r.c: Likewise.
21403 * dirent/readdir_r.c: Likewise.
21404 * dirent/rewinddir.c: Likewise.
21405 * dirent/seekdir.c: Likewise.
21406 * dirent/telldir.c: Likewise.
21407 * gmon/profil.c: Likewise.
21408 * grp/setgroups.c: Likewise.
21409 * inet/if_index.c: Likewise.
21410 * io/access.c: Likewise.
21411 * io/chdir.c: Likewise.
21412 * io/chmod.c: Likewise.
21413 * io/chown.c: Likewise.
21414 * io/close.c: Likewise.
21415 * io/dup.c: Likewise.
21416 * io/dup2.c: Likewise.
21417 * io/dup3.c: Likewise.
21418 * io/euidaccess.c: Likewise.
21419 * io/faccessat.c: Likewise.
21420 * io/fchdir.c: Likewise.
21421 * io/fchmod.c: Likewise.
21422 * io/fchmodat.c: Likewise.
21423 * io/fchown.c: Likewise.
21424 * io/fchownat.c: Likewise.
21425 * io/fcntl.c: Likewise.
21426 * io/flock.c: Likewise.
21427 * io/fstatfs.c: Likewise.
21428 * io/fstatfs64.c: Likewise.
21429 * io/fstatvfs.c: Likewise.
21430 * io/fstatvfs64.c: Likewise.
21431 * io/futimens.c: Likewise.
21432 * io/fxstat.c: Likewise.
21433 * io/fxstat64.c: Likewise.
21434 * io/fxstatat.c: Likewise.
21435 * io/fxstatat64.c: Likewise.
21436 * io/getcwd.c: Likewise.
21437 * io/isatty.c: Likewise.
21438 * io/lchmod.c: Likewise.
21439 * io/lchown.c: Likewise.
21440 * io/link.c: Likewise.
21441 * io/linkat.c: Likewise.
21442 * io/lseek.c: Likewise.
21443 * io/lseek64.c: Likewise.
21444 * io/lxstat64.c: Likewise.
21445 * io/mkdir.c: Likewise.
21446 * io/mkdirat.c: Likewise.
21447 * io/mkfifo.c: Likewise.
21448 * io/mkfifoat.c: Likewise.
21449 * io/open.c: Likewise.
21450 * io/open64.c: Likewise.
21451 * io/openat.c: Likewise.
21452 * io/openat64.c: Likewise.
21453 * io/pipe.c: Likewise.
21454 * io/pipe2.c: Likewise.
21455 * io/poll.c: Likewise.
21456 * io/posix_fadvise.c: Likewise.
21457 * io/posix_fadvise64.c: Likewise.
21458 * io/posix_fallocate.c: Likewise.
21459 * io/posix_fallocate64.c: Likewise.
21460 * io/read.c: Likewise.
21461 * io/readlink.c: Likewise.
21462 * io/readlinkat.c: Likewise.
21463 * io/rmdir.c: Likewise.
21464 * io/sendfile.c: Likewise.
21465 * io/sendfile64.c: Likewise.
21466 * io/statfs.c: Likewise.
21467 * io/statfs64.c: Likewise.
21468 * io/statvfs.c: Likewise.
21469 * io/statvfs64.c: Likewise.
21470 * io/symlink.c: Likewise.
21471 * io/symlinkat.c: Likewise.
21472 * io/ttyname.c: Likewise.
21473 * io/ttyname_r.c: Likewise.
21474 * io/umask.c: Likewise.
21475 * io/unlink.c: Likewise.
21476 * io/unlinkat.c: Likewise.
21477 * io/utime.c: Likewise.
21478 * io/utimensat.c: Likewise.
21479 * io/write.c: Likewise.
21480 * io/xmknod.c: Likewise.
21481 * io/xmknodat.c: Likewise.
21482 * io/xstat.c: Likewise.
21483 * io/xstat64.c: Likewise.
21484 * login/getpt.c: Likewise.
21485 * login/grantpt.c: Likewise.
21486 * login/unlockpt.c: Likewise.
21487 * math/e_acoshl.c: Likewise.
21488 * math/e_acosl.c: Likewise.
21489 * math/e_asinl.c: Likewise.
21490 * math/e_atan2l.c: Likewise.
21491 * math/e_atanhl.c: Likewise.
21492 * math/e_coshl.c: Likewise.
21493 * math/e_expl.c: Likewise.
21494 * math/e_fmodl.c: Likewise.
21495 * math/e_gammal_r.c: Likewise.
21496 * math/e_hypotl.c: Likewise.
21497 * math/e_j0l.c: Likewise.
21498 * math/e_j1l.c: Likewise.
21499 * math/e_jnl.c: Likewise.
21500 * math/e_lgammal_r.c: Likewise.
21501 * math/e_log10l.c: Likewise.
21502 * math/e_log2l.c: Likewise.
21503 * math/e_logl.c: Likewise.
21504 * math/e_powl.c: Likewise.
21505 * math/e_rem_pio2l.c: Likewise.
21506 * math/e_sinhl.c: Likewise.
21507 * math/e_sqrtl.c: Likewise.
21508 * math/fclrexcpt.c: Likewise.
21509 * math/fedisblxcpt.c: Likewise.
21510 * math/feenablxcpt.c: Likewise.
21511 * math/fegetenv.c: Likewise.
21512 * math/fegetexcept.c: Likewise.
21513 * math/fegetround.c: Likewise.
21514 * math/feholdexcpt.c: Likewise.
21515 * math/fesetenv.c: Likewise.
21516 * math/fesetround.c: Likewise.
21517 * math/feupdateenv.c: Likewise.
21518 * math/fgetexcptflg.c: Likewise.
21519 * math/fraiseexcpt.c: Likewise.
21520 * math/fsetexcptflg.c: Likewise.
21521 * math/ftestexcept.c: Likewise.
21522 * math/k_cosl.c: Likewise.
21523 * math/k_rem_pio2l.c: Likewise.
21524 * math/k_sinl.c: Likewise.
21525 * math/k_tanl.c: Likewise.
21526 * math/s_asinhl.c: Likewise.
21527 * math/s_atanl.c: Likewise.
21528 * math/s_cbrtl.c: Likewise.
21529 * math/s_erfl.c: Likewise.
21530 * math/s_expm1l.c: Likewise.
21531 * math/s_log1pl.c: Likewise.
21532 * math/s_tanhl.c: Likewise.
21533 * misc/acct.c: Likewise.
21534 * misc/brk.c: Likewise.
21535 * misc/chflags.c: Likewise.
21536 * misc/chroot.c: Likewise.
21537 * misc/fchflags.c: Likewise.
21538 * misc/fgetxattr.c: Likewise.
21539 * misc/flistxattr.c: Likewise.
21540 * misc/fremovexattr.c: Likewise.
21541 * misc/fsetxattr.c: Likewise.
21542 * misc/fsync.c: Likewise.
21543 * misc/ftruncate.c: Likewise.
21544 * misc/futimes.c: Likewise.
21545 * misc/futimesat.c: Likewise.
21546 * misc/getdomain.c: Likewise.
21547 * misc/getdtsz.c: Likewise.
21548 * misc/gethostid.c: Likewise.
21549 * misc/gethostname.c: Likewise.
21550 * misc/getloadavg.c: Likewise.
21551 * misc/getpagesize.c: Likewise.
21552 * misc/getsysstats.c: Likewise.
21553 * misc/getxattr.c: Likewise.
21554 * misc/gtty.c: Likewise.
21555 * misc/ioctl.c: Likewise.
21556 * misc/lgetxattr.c: Likewise.
21557 * misc/listxattr.c: Likewise.
21558 * misc/llistxattr.c: Likewise.
21559 * misc/lremovexattr.c: Likewise.
21560 * misc/lsetxattr.c: Likewise.
21561 * misc/lutimes.c: Likewise.
21562 * misc/madvise.c: Likewise.
21563 * misc/mincore.c: Likewise.
21564 * misc/mlock.c: Likewise.
21565 * misc/mlockall.c: Likewise.
21566 * misc/mmap.c: Likewise.
21567 * misc/mprotect.c: Likewise.
21568 * misc/msync.c: Likewise.
21569 * misc/munlock.c: Likewise.
21570 * misc/munlockall.c: Likewise.
21571 * misc/munmap.c: Likewise.
21572 * misc/preadv.c: Likewise.
21573 * misc/preadv64.c: Likewise.
21574 * misc/ptrace.c: Likewise.
21575 * misc/pwritev.c: Likewise.
21576 * misc/pwritev64.c: Likewise.
21577 * misc/readv.c: Likewise.
21578 * misc/reboot.c: Likewise.
21579 * misc/remap_file_pages.c: Likewise.
21580 * misc/removexattr.c: Likewise.
21581 * misc/revoke.c: Likewise.
21582 * misc/select.c: Likewise.
21583 * misc/setdomain.c: Likewise.
21584 * misc/setegid.c: Likewise.
21585 * misc/seteuid.c: Likewise.
21586 * misc/sethostid.c: Likewise.
21587 * misc/sethostname.c: Likewise.
21588 * misc/setregid.c: Likewise.
21589 * misc/setreuid.c: Likewise.
21590 * misc/setxattr.c: Likewise.
21591 * misc/sstk.c: Likewise.
21592 * misc/stty.c: Likewise.
21593 * misc/swapoff.c: Likewise.
21594 * misc/swapon.c: Likewise.
21595 * misc/sync.c: Likewise.
21596 * misc/syncfs.c: Likewise.
21597 * misc/syscall.c: Likewise.
21598 * misc/truncate.c: Likewise.
21599 * misc/ualarm.c: Likewise.
21600 * misc/usleep.c: Likewise.
21601 * misc/ustat.c: Likewise.
21602 * misc/utimes.c: Likewise.
21603 * misc/vhangup.c: Likewise.
21604 * misc/writev.c: Likewise.
21605 * posix/_exit.c: Likewise.
21606 * posix/alarm.c: Likewise.
21607 * posix/execve.c: Likewise.
21608 * posix/fexecve.c: Likewise.
21609 * posix/fork.c: Likewise.
21610 * posix/fpathconf.c: Likewise.
21611 * posix/getaddrinfo.c: Likewise.
21612 * posix/getegid.c: Likewise.
21613 * posix/geteuid.c: Likewise.
21614 * posix/getgid.c: Likewise.
21615 * posix/getgroups.c: Likewise.
21616 * posix/getlogin.c: Likewise.
21617 * posix/getlogin_r.c: Likewise.
21618 * posix/getpgid.c: Likewise.
21619 * posix/getpid.c: Likewise.
21620 * posix/getppid.c: Likewise.
21621 * posix/getresgid.c: Likewise.
21622 * posix/getresuid.c: Likewise.
21623 * posix/getsid.c: Likewise.
21624 * posix/getuid.c: Likewise.
21625 * posix/glob64.c: Likewise.
21626 * posix/nanosleep.c: Likewise.
21627 * posix/pathconf.c: Likewise.
21628 * posix/pause.c: Likewise.
21629 * posix/posix_madvise.c: Likewise.
21630 * posix/pread.c: Likewise.
21631 * posix/pread64.c: Likewise.
21632 * posix/pwrite.c: Likewise.
21633 * posix/pwrite64.c: Likewise.
21634 * posix/sched_getaffinity.c: Likewise.
21635 * posix/sched_getp.c: Likewise.
21636 * posix/sched_gets.c: Likewise.
21637 * posix/sched_primax.c: Likewise.
21638 * posix/sched_primin.c: Likewise.
21639 * posix/sched_rr_gi.c: Likewise.
21640 * posix/sched_setaffinity.c: Likewise.
21641 * posix/sched_setp.c: Likewise.
21642 * posix/sched_sets.c: Likewise.
21643 * posix/sched_yield.c: Likewise.
21644 * posix/setgid.c: Likewise.
21645 * posix/setlogin.c: Likewise.
21646 * posix/setpgid.c: Likewise.
21647 * posix/setresgid.c: Likewise.
21648 * posix/setresuid.c: Likewise.
21649 * posix/setsid.c: Likewise.
21650 * posix/setuid.c: Likewise.
21651 * posix/sleep.c: Likewise.
21652 * posix/spawni.c: Likewise.
21653 * posix/sysconf.c: Likewise.
21654 * posix/times.c: Likewise.
21655 * posix/wait.c: Likewise.
21656 * posix/wait3.c: Likewise.
21657 * posix/wait4.c: Likewise.
21658 * posix/waitpid.c: Likewise.
21659 * resolv/gai_sigqueue.c: Likewise.
21660 * resource/getpriority.c: Likewise.
21661 * resource/getrlimit.c: Likewise.
21662 * resource/getrusage.c: Likewise.
21663 * resource/nice.c: Likewise.
21664 * resource/setpriority.c: Likewise.
21665 * resource/setrlimit.c: Likewise.
21666 * resource/ulimit.c: Likewise.
21667 * rt/aio_cancel.c: Likewise.
21668 * rt/aio_fsync.c: Likewise.
21669 * rt/aio_read.c: Likewise.
21670 * rt/aio_sigqueue.c: Likewise.
21671 * rt/aio_suspend.c: Likewise.
21672 * rt/aio_write.c: Likewise.
21673 * rt/clock_getres.c: Likewise.
21674 * rt/clock_gettime.c: Likewise.
21675 * rt/clock_nanosleep.c: Likewise.
21676 * rt/clock_settime.c: Likewise.
21677 * rt/lio_listio.c: Likewise.
21678 * rt/mq_close.c: Likewise.
21679 * rt/mq_getattr.c: Likewise.
21680 * rt/mq_notify.c: Likewise.
21681 * rt/mq_open.c: Likewise.
21682 * rt/mq_receive.c: Likewise.
21683 * rt/mq_send.c: Likewise.
21684 * rt/mq_setattr.c: Likewise.
21685 * rt/mq_timedreceive.c: Likewise.
21686 * rt/mq_timedsend.c: Likewise.
21687 * rt/mq_unlink.c: Likewise.
21688 * rt/shm_open.c: Likewise.
21689 * rt/shm_unlink.c: Likewise.
21690 * rt/timer_create.c: Likewise.
21691 * rt/timer_delete.c: Likewise.
21692 * rt/timer_getoverr.c: Likewise.
21693 * rt/timer_gettime.c: Likewise.
21694 * rt/timer_settime.c: Likewise.
21695 * setjmp/__longjmp.c: Likewise.
21696 * setjmp/setjmp.c: Likewise.
21697 * signal/kill.c: Likewise.
21698 * signal/killpg.c: Likewise.
21699 * signal/raise.c: Likewise.
21700 * signal/sigaction.c: Likewise.
21701 * signal/sigaltstack.c: Likewise.
21702 * signal/sigblock.c: Likewise.
21703 * signal/sigignore.c: Likewise.
21704 * signal/sigintr.c: Likewise.
21705 * signal/signal.c: Likewise.
21706 * signal/sigpause.c: Likewise.
21707 * signal/sigpending.c: Likewise.
21708 * signal/sigqueue.c: Likewise.
21709 * signal/sigreturn.c: Likewise.
21710 * signal/sigset.c: Likewise.
21711 * signal/sigsetmask.c: Likewise.
21712 * signal/sigstack.c: Likewise.
21713 * signal/sigsuspend.c: Likewise.
21714 * signal/sigtimedwait.c: Likewise.
21715 * signal/sigvec.c: Likewise.
21716 * signal/sigwait.c: Likewise.
21717 * signal/sigwaitinfo.c: Likewise.
21718 * signal/sysv_signal.c: Likewise.
21719 * socket/accept.c: Likewise.
21720 * socket/accept4.c: Likewise.
21721 * socket/bind.c: Likewise.
21722 * socket/connect.c: Likewise.
21723 * socket/getpeername.c: Likewise.
21724 * socket/getsockname.c: Likewise.
21725 * socket/getsockopt.c: Likewise.
21726 * socket/isfdtype.c: Likewise.
21727 * socket/listen.c: Likewise.
21728 * socket/recv.c: Likewise.
21729 * socket/recvfrom.c: Likewise.
21730 * socket/recvmsg.c: Likewise.
21731 * socket/send.c: Likewise.
21732 * socket/sendmsg.c: Likewise.
21733 * socket/sendto.c: Likewise.
21734 * socket/setsockopt.c: Likewise.
21735 * socket/shutdown.c: Likewise.
21736 * socket/sockatmark.c: Likewise.
21737 * socket/socket.c: Likewise.
21738 * socket/socketpair.c: Likewise.
21739 * stdio-common/ctermid.c: Likewise.
21740 * stdio-common/cuserid.c: Likewise.
21741 * stdio-common/remove.c: Likewise.
21742 * stdio-common/rename.c: Likewise.
21743 * stdio-common/renameat.c: Likewise.
21744 * stdio-common/tempname.c: Likewise.
21745 * stdlib/getcontext.c: Likewise.
21746 * stdlib/makecontext.c: Likewise.
21747 * stdlib/setcontext.c: Likewise.
21748 * stdlib/swapcontext.c: Likewise.
21749 * stdlib/system.c: Likewise.
21750 * streams/fattach.c: Likewise.
21751 * streams/fdetach.c: Likewise.
21752 * streams/getmsg.c: Likewise.
21753 * streams/getpmsg.c: Likewise.
21754 * streams/putmsg.c: Likewise.
21755 * streams/putpmsg.c: Likewise.
21756 * sysdeps/unix/bsd/getpt.c: Likewise.
21757 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21758 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21759 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21761 Likewise.
21762 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21763 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21764 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21765 * sysvipc/msgctl.c: Likewise.
21766 * sysvipc/msgget.c: Likewise.
21767 * sysvipc/msgrcv.c: Likewise.
21768 * sysvipc/msgsnd.c: Likewise.
21769 * sysvipc/semctl.c: Likewise.
21770 * sysvipc/semget.c: Likewise.
21771 * sysvipc/semop.c: Likewise.
21772 * sysvipc/semtimedop.c: Likewise.
21773 * sysvipc/shmat.c: Likewise.
21774 * sysvipc/shmctl.c: Likewise.
21775 * sysvipc/shmdt.c: Likewise.
21776 * sysvipc/shmget.c: Likewise.
21777 * termios/tcdrain.c: Likewise.
21778 * termios/tcflow.c: Likewise.
21779 * termios/tcflush.c: Likewise.
21780 * termios/tcgetattr.c: Likewise.
21781 * termios/tcgetpgrp.c: Likewise.
21782 * termios/tcsendbrk.c: Likewise.
21783 * termios/tcsetattr.c: Likewise.
21784 * termios/tcsetpgrp.c: Likewise.
21785 * time/adjtime.c: Likewise.
21786 * time/clock.c: Likewise.
21787 * time/getitimer.c: Likewise.
21788 * time/gettimeofday.c: Likewise.
21789 * time/setitimer.c: Likewise.
21790 * time/settimeofday.c: Likewise.
21791 * time/stime.c: Likewise.
21792 * time/time.c: Likewise.
21793
217942012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21795
a20492cf
PT
21796 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21797 /usr/old/bin.
21798
72e182e3
PT
21799 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21800 instead of spaces.
21801 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21802
fbeafede
JM
218032012-11-03 Joseph Myers <joseph@codesourcery.com>
21804
5b5b04d6
JM
21805 [BZ #14796]
21806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21807 FE_TONEAREST before applying Dekker multiplication and Knuth
21808 addition. Clear inexact exceptions and check for exact zero
21809 results afterwards.
21810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21811 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21813 * math/libm-test.inc (fma_test): Add more tests.
21814 (fma_test_towardzero): Likewise.
21815 (fma_test_downward): Likewise.
21816 (fma_test_upward): Likewise.
21817 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21818 function.
21819 (libc_fesetround): New macro.
21820 (libc_fesetroundf): Likewise.
21821 (libc_fesetroundl): Likewise.
21822 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21823 function.
21824 (libc_fesetround_387): Likewise.
21825 (libc_fesetroundf): New macro.
21826 (libc_fesetround): Likewise.
21827 (libc_fesetroundl): Likewise.
21828 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21829 function.
21830 (libc_fesetroundf): New macro.
21831 (libc_fesetround): Likewise.
21832 (libc_fesetroundl): Likewise.
21833 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21834 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21835 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21836 libm_hidden_ver.
21837 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21838 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21839 libm_hidden_def.
21840 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21841 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21842 libm_hidden_ver.
21843 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21844 libm_hidden_def.
21845
fbeafede
JM
21846 [BZ #3439]
21847 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21848 integer constant usable in #if and use that to give value to enum
21849 constant.
21850 (FE_DIVBYZERO): Likewise.
21851 (FE_UNDERFLOW): Likewise.
21852 (FE_OVERFLOW): Likewise.
21853 (FE_INVALID): Likewise.
21854 (FE_INVALID_SNAN): Likewise.
21855 (FE_INVALID_ISI): Likewise.
21856 (FE_INVALID_IDI): Likewise.
21857 (FE_INVALID_ZDZ): Likewise.
21858 (FE_INVALID_IMZ): Likewise.
21859 (FE_INVALID_COMPARE): Likewise.
21860 (FE_INVALID_SOFTWARE): Likewise.
21861 (FE_INVALID_SQRT): Likewise.
21862 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21863 (FE_TONEAREST): Likewise.
21864 (FE_TOWARDZERO): Likewise.
21865 (FE_UPWARD): Likewise.
21866 (FE_DOWNWARD): Likewise.
21867 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21868 (FE_DIVBYZERO): Likewise.
21869 (FE_OVERFLOW): Likewise.
21870 (FE_UNDERFLOW): Likewise.
21871 (FE_INEXACT): Likewise.
21872 (FE_TONEAREST): Likewise.
21873 (FE_DOWNWARD): Likewise.
21874 (FE_UPWARD): Likewise.
21875 (FE_TOWARDZERO): Likewise.
21876 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21877 (FE_UNDERFLOW): Likewise.
21878 (FE_OVERFLOW): Likewise.
21879 (FE_DIVBYZERO): Likewise.
21880 (FE_INVALID): Likewise.
21881 (FE_TONEAREST): Likewise.
21882 (FE_TOWARDZERO): Likewise.
21883 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21884 (FE_OVERFLOW): Likewise.
21885 (FE_UNDERFLOW): Likewise.
21886 (FE_DIVBYZERO): Likewise.
21887 (FE_INEXACT): Likewise.
21888 (FE_TONEAREST): Likewise.
21889 (FE_TOWARDZERO): Likewise.
21890 (FE_UPWARD): Likewise.
21891 (FE_DOWNWARD): Likewise.
21892 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21893 (FE_DIVBYZERO): Likewise.
21894 (FE_OVERFLOW): Likewise.
21895 (FE_UNDERFLOW): Likewise.
21896 (FE_INEXACT): Likewise.
21897 (FE_TONEAREST): Likewise.
21898 (FE_DOWNWARD): Likewise.
21899 (FE_UPWARD): Likewise.
21900 (FE_TOWARDZERO): Likewise.
21901
105ca950
CM
219022012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21903
21904 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21905
a542b389
AS
219062012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21907
21908 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21909 commands. Quote $PWD.
21910 (blacklist_exports): Don't use remove_newlines. Replace "declare
21911 -x" by "export".
21912 (remove_newlines): Remove.
21913
f62c8abc
L
219142012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21915
21916 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21917 * stdlib/stdlib.h (atof): Moved to ...
21918 * include/bits/stdlib-float.h: Here. New file.
21919 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21920 * stdlib/bits/stdlib-float.h: New file.
21921 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21922 -mno-sse -mno-mmx.
21923 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21924 <xmmintrin.h>.
21925
0155d5b2
JM
219262012-11-02 Joseph Myers <joseph@codesourcery.com>
21927
a68d0680
JM
21928 * conform/conformtest.pl (@headers): Add fenv.h.
21929 * conform/data/fenv.h-data: New file.
21930 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21931 include of <math/fenv.h>.
21932
caf7f573
JM
21933 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21934 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21935 && !UNIX98]. Enables tests for XOPEN2K8.
21936 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21937 POSIX2008]: Likewise.
21938
6c073ad6
JM
21939 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21940 (struct rusage): Do not expect type or its members.
21941
0155d5b2
JM
21942 [BZ #3439]
21943 * math/math.h (FP_NAN): Define macro to integer constant usable in
21944 #if and use that to give value to enum constant.
21945 (FP_INFINITE): Likewise.
21946 (FP_ZERO): Likewise.
21947 (FP_SUBNORMAL): Likewise.
21948 (FP_NORMAL): Likewise.
21949
b5dcacb4
AS
219502012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21951
21952 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21953 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21954 arguments.
21955
f7934be8
RM
219562012-11-02 Roland McGrath <roland@hack.frob.com>
21957
21958 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21959 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21960 autoconf-time if not.
21961 * configure.in: Remove AC_PREREQ.
21962
d7d08bde
TMQMF
219632012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21964
21965 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21966 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21967 of the internal implementation.
21968
dcdae19a
JM
219692012-11-02 Joseph Myers <joseph@codesourcery.com>
21970
21971 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21972 except include of <misc/sys/syslog.h>.
21973
d6cffd3e
AS
219742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21975
21976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21977 function returns with a NULL context exit with zero.
21978
b3563932
TMQMF
219792012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21980
21981 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21982
b288a93d
L
219832012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21984
21985 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21986 (run_program_cmd): This.
21987 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21988 (tst_langinfo): New variable. Use it.
21989
a2421a68
SAS
219902012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21991
21992 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21993 floating point opcodes.
21994
6f796e1b
TS
219952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21996
7402596b
TS
21997 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21998 variable.
21999
d0d4f868
TS
22000 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22001
6f796e1b
TS
22002 * sysdeps/mach/hurd/powerpc: Remove directory.
22003 * sysdeps/mach/powerpc: Likewise.
22004
4da224a2
AS
220052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22006
22007 * scripts/check-local-headers.sh: Ignore c++ headers.
22008
341dd673
TS
220092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22010
22011 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22012 __libc_cleanup_region_start argument.
22013
473611b2
JM
220142012-11-01 Joseph Myers <joseph@codesourcery.com>
22015
22016 [BZ #14784]
22017 [BZ #14785]
22018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22019 x * y using scaling, not as x * y + z.
22020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22022 * math/libm-test.inc (fma_test): Add more tests.
22023 (fma_test_towardzero): Likewise.
22024 (fma_test_downward): Likewise.
22025 (fma_test_upward): Likewise.
22026
4078da3d
TS
220272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22028
22029 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22030
903252aa
JM
220312012-10-31 Joseph Myers <joseph@codesourcery.com>
22032
22033 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22034 New variable.
22035
cbc818d0
TS
220362012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22037
22038 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22039
5a03cb1e
AS
220402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22041
22042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22043 Fix sort order.
22044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22045 Likewise.
22046
90aff2ff
TMQMF
220472012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22048
22049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22050 Fix the order of the list for glibc 2.17.
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22052 Likewise.
22053
1818fcb7
AS
220542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22055
22056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22057
ef82f4da
JM
220582012-10-31 Joseph Myers <joseph@codesourcery.com>
22059
16a0e2ec
JM
22060 [BZ #14610]
22061 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22062 for low part of x being zero before using __atanl (y).
22063 * math/libm-test.inc (atan2_test): Add another test.
22064
0eb69512
JM
22065 * manual/install.texi (Configuring and compiling): Document
22066 general use of test-wrapper and test-wrapper-env.
22067 * INSTALL: Regenerated.
22068
ef82f4da
JM
22069 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22070 (__fma): Do not extract and scale down low bits on after-rounding
22071 systems when result rounded to normal precision would have normal
22072 exponent.
22073 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22074 (__fmal): Do not extract and scale down low bits on after-rounding
22075 systems when result rounded to normal precision would have normal
22076 exponent.
22077 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22078 (__fmal): Do not extract and scale down low bits on after-rounding
22079 systems when result rounded to normal precision would have normal
22080 exponent.
22081 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22082 macro.
22083 (fma_test): Add more tests.
22084 (fma_test_towardzero): Likewise.
22085 (fma_test_downward): Likewise.
22086 (fma_test_upward): Likewise.
22087
954ef0d9
L
220882012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22089
22090 * sysdeps/i386/tininess.h: Renamed to ...
22091 * sysdeps/x86/tininess.h: This.
22092 * sysdeps/x86_64/tininess.h: Removed.
22093
df61ffb2
JM
220942012-10-30 Joseph Myers <joseph@codesourcery.com>
22095
22096 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22097 input. Use $(build-program-cmd).
22098 ($(objpfx)tst-array1-static.out): Likewise.
22099 ($(objpfx)tst-array2.out): Likewise.
22100 ($(objpfx)tst-array3.out): Likewise.
22101 ($(objpfx)tst-array4.out): Likewise.
22102 ($(objpfx)tst-array5.out): Likewise.
22103 ($(objpfx)tst-array5-static.out): Likewise.
22104
01767843
CM
221052012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22106
47cc1490
CM
22107 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22108 if defined.
22109
01767843
CM
22110 * nss/nsswitch.h (nss_interface_function): Provide new
22111 macro for use with NSS functions.
22112 * grp/initgroups.c: Use new macro.
22113 * nss/getXXbyYY.c: Likewise.
22114 * nss/getXXbyYY_r.c: Likewise.
22115 * nss/getXXent.c: Likewise.
22116 * nss/getXXent_r.c: Likewise.
22117 * sysdeps/posix/getaddrinfo.c: Likewise.
22118
8321aa97
AJ
221192012-10-30 Andreas Jaeger <aj@suse.de>
22120
22121 * po/ru.po: Update Russion translation from translation project.
22122
2a27fd6d
JM
221232012-10-30 Joseph Myers <joseph@codesourcery.com>
22124
8627a232
JM
22125 [BZ #14152]
22126 [BZ #14783]
22127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22128 result and shift together with sticky bit instead of replicating
22129 round-to-nearest rounding.
22130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22131 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22132 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22133 missing underflow exceptions.
22134 (fma_test_towardzero): Add more tests.
22135 (fma_test_downward): Likewise.
22136 (fma_test_upward): Likewise.
22137
2a27fd6d
JM
22138 [BZ #14047]
22139 * sysdeps/generic/tininess.h: New file.
22140 * sysdeps/i386/tininess.h: Likewise.
22141 * sysdeps/sh/tininess.h: Likewise.
22142 * sysdeps/x86_64/tininess.h: Likewise.
22143 * stdlib/tst-strtod-underflow.c: Likewise.
22144 * stdlib/tst-tininess.c: Likewise.
22145 * stdlib/strtod_l.c: Include <tininess.h>.
22146 (round_and_return): Do not set errno for exact underflow cases.
22147 Force an underflow exception when setting errno for underflow.
22148 Determine underflow based on rounding to normal precision if
22149 TININESS_AFTER_ROUNDING.
22150 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22151 ERANGE for exact underflow cases.
22152 * stdlib/Makefile (tests): Add tst-tininess and
22153 tst-strtod-underflow.
22154 ($(objpfx)tst-tininess): Use $(link-libm).
22155 ($(objpfx)tst-strtod-underflow): Likewise.
22156
e7170363
AJ
221572012-10-30 Andreas Jaeger <aj@suse.de>
22158
e5088dc6
AJ
22159 [BZ#14767]
22160 * elf/Makefile (tests): Remove conditional for have-initfini-array
22161 since this is now always required and the variable does not exist
22162 anymore.
22163 (tests-static): Likewise.
22164 (modules-names): Likewise.
22165
e7170363 22166 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22167
22168 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22169 merged with constructor/destructor.
22170 (init_array): Likewise.
22171 * elf/tst-array2dep.c (fini_array): Likewise.
22172 (init_array): Likewise.
22173
60457d8a
MF
221742012-10-29 Mike Frysinger <vapier@gentoo.org>
22175
22176 * manual/message.texi: Delete @cartouche tags.
22177
8bece752
PT
221782012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22179
94ce799f
PT
22180 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22181 EOPNOTSUPP.
22182 * sysdeps/mach/hurd/fsync.c: Likewise.
22183
8bece752
PT
22184 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22185 [_POSIX_REALTIME_SIGNALS]: Change condition to
22186 [_POSIX_REALTIME_SIGNALS > 0].
22187
86ebe6b1
AJ
221882012-10-27 Andreas Jaeger <aj@suse.de>
22189
22190 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22191 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22193 [__WORDSIZE != 64]: Likewise.
22194
54399c08
L
221952012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22196
22197 * iconvdata/tst-table.sh: Remove ${SHELL}.
22198 * iconvdata/tst-tables.sh: Likewise.
22199
e2211bed
DM
222002012-10-25 David S. Miller <davem@davemloft.net>
22201
22202 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22203 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22204 of strtoull.
22205
f303f97c
DM
22206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22207 ifunc-impl-list.c
22208 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22209 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22210 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22211 file.
22212
1e9d84cd
RM
222132012-10-25 Roland McGrath <roland@hack.frob.com>
22214
22215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22216 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22217 __getdirentries.
22218
df381762
JM
222192012-10-25 Joseph Myers <joseph@codesourcery.com>
22220 Jim Blandy <jimb@codesourcery.com>
22221
22222 * scripts/cross-test-ssh.sh: New file.
22223 * manual/install.texi (Configuring and compiling): Document use of
22224 cross-test-ssh.sh.
22225 * INSTALL: Regenerated.
22226
bff64913
PT
222272012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22228
22229 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22230 EOPNOTSUPP.
22231
25fe8932
JM
222322012-10-25 Joseph Myers <joseph@codesourcery.com>
22233
22234 * Makeconfig (run-program-prefix): Fix comment.
22235
cc1290d0
JM
222362012-10-24 Joseph Myers <joseph@codesourcery.com>
22237 Jim Blandy <jimb@codesourcery.com>
22238
22239 * Makeconfig (test-wrapper): New variable,
22240 (test-wrapper-env): Likewise.
22241 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22242 (run-built-tests): Define to yes.
22243 (run-program-prefix): Use $(test-wrapper).
22244 (built-program-cmd): Likewise.
22245 * Rules (make-test-out): Use $(test-wrapper-env) and
22246 $(host-built-program-cmd).
22247 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22248 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22249 tst-pathopt.sh.
22250 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22251 $(test-wrapper-env) to tst-rtld-load-self.sh.
22252 ($(objpfx)order2.out): Use $(test-wrapper).
22253 ($(objpfx)tst-initorder.out): Likewise.
22254 ($(objpfx)tst-initorder2.out): Likewise.
22255 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22256 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22257 (test_wrapper_env): New variable. Use it to run ld.so.
22258 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22259 Use it to run ld.so.
22260 (test_wrapper_env): Likewise.
22261 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22262 $(test-wrapper) to run-iconv-test.sh.
22263 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22264 (ICONV): Use $test_wrapper.
22265 * posix/Makefile ($(objpfx)globtest.out): Pass
22266 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22267 globtest.sh, not $(run-program-prefix).
22268 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22269 (test_wrapper): Likewise.
22270 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22271 set together with run_via_rtld_prefix.
22272 (run_program_prefix): Define in terms of test_wrapper and
22273 run_via_rtld_prefix.
22274
6e6249d0
RM
222752012-10-24 Roland McGrath <roland@hack.frob.com>
22276
22277 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22278 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22279 Targets removed.
22280
22281 [BZ #14743]
22282 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22283 Declare __clock_getres, __clock_gettime, __clock_settime,
22284 __clock_nanosleep, and __clock_getcpuclockid.
22285 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22286 Remove librt_hidden_def (clock_gettime).
22287 * sysdeps/unix/clock_gettime.c: Likewise.
22288 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22289 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22290 * rt/clock_getres.c: Define __clock_getres as an alias.
22291 * sysdeps/posix/clock_getres.c: Likewise.
22292 * rt/clock_settime.c: Define __clock_settime as an alias.
22293 * sysdeps/unix/clock_settime.c: Likewise.
22294 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22295 * sysdeps/unix/clock_nanosleep.c: Likewise.
22296 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22297 * rt/clock-compat.c: New file.
22298 * rt/Makefile (librt-routines): Add clock-compat and move
22299 $(clock-routines) to ...
22300 (routines): ... here, new variable.
22301 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22302 Don't add get_clockfreq here.
22303 * rt/Versions (libc: GLIBC_2.17): New version set.
22304 Add clock_* symbols here.
22305 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22306 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22307 (GLIBC_2.17): Add clock_* symbols.
22308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22310 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22312 Likewise.
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22314 Likewise.
22315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22319 * NEWS: Mention the move.
22320
22321 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22322 Use __open, __read, __close rather than their public counterparts.
22323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22324 (__get_clockfreq_via_cpuinfo): Likewise.
22325 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22326 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22327
22328 * config.h.in (HAVE_IFUNC): New #undef.
22329 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22330 was successful.
22331 * configure: Regenerated.
22332
0cae3f4b
MF
223332012-10-24 Mike Frysinger <vapier@gentoo.org>
22334
22335 * configure.in: Move READELF check to start of file.
22336 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22337 libc_cv_asm_gnu_indirect_function in the process.
22338 * configure: Regenerated.
22339
8175a253
MF
223402012-10-24 Mike Frysinger <vapier@gentoo.org>
22341
22342 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22343 send the output to /dev/null.
22344 (libc_cv_cc_with_libunwind): Likewise.
22345 (libc_cv_as_noexecstack): Likewise.
22346 * configure: Regenerate.
22347
0708a7d1
JM
223482012-10-24 Joseph Myers <joseph@codesourcery.com>
22349
10b40d85
JM
22350 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22351
0708a7d1
JM
22352 * posix/globtest.sh (TMPDIR): Do not set.
22353 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22354 (testout): Likewise.
22355
9fddec1a
AJ
223562012-10-24 Andreas Jaeger <aj@suse.de>
22357
3a8db22f
AJ
22358 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22359 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22360 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22361 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22362 posix_fadvise64, posix_fallocate64.
22363
9fddec1a
AJ
22364 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22365 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22366 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22367 Likewise.
22368 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22369 Likewise.
22370 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22371
22372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22373 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22374 <bits/fcntl-linux.h>.
22375 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22376
22377 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22378 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22379 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22380 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22381 [__WORDSIZE != 64]: Likewise.
22382
ebfd1bbd
JM
223832012-10-23 Joseph Myers <joseph@codesourcery.com>
22384
03ac099f
JM
22385 * Makeconfig (run-built-tests): New variable.
22386 * Rules [$(cross-compiling) = yes]: Change condition to
22387 [$(run-built-tests) = no].
22388 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22389 to [$(run-built-tests) = yes].
22390 * elf/Makefile [$(cross-compiling) = no]: Likewise
22391 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22392 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22393 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22394 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22395 * io/Makefile [$(cross-compiling) = no]: Likewise.
22396 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22397 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22398 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22399 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22400 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22401 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22402 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22403 * string/Makefile [$(cross-compiling) = no]: Likewise.
22404
ebfd1bbd
JM
22405 * posix/Makefile ($(objpfx)globtest.out): Pass
22406 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22407 $(rtld-installed-name).
22408 * posix/globtest.sh (elf_objpfx): Remove variable.
22409 (rtld_installed_name): Likewise.
22410 (library_path): Likewise.
22411 (run_program_prefix): New variable. Use for running globtest
22412 binary.
22413
166bca24
JB
224142012-10-23 Jim Blandy <jimb@codesourcery.com>
22415 Joseph Myers <joseph@codesourcery.com>
22416
22417 * Makeconfig (host-built-program-cmd): New variable.
22418 * elf/Makefile (tst-stackguard1-ARGS): Use
22419 $(host-built-program-cmd).
22420 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22421 (tst-spawn-ARGS): Likewise.
22422 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22423
88866099
JM
224242012-10-23 Joseph Myers <joseph@codesourcery.com>
22425 Jim Blandy <jimb@codesourcery.com>
22426
22427 * Makeconfig (run-via-rtld-prefix): New variable.
22428 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22429 (built-program-cmd): Likewise.
22430
b4b4c296
AJ
224312012-10-22 Andreas Jaeger <aj@suse.de>
22432
22433 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22434 __O_RSYNC if it exists, otherwise to O_SYNC.
22435
6fb54a22
JB
224362012-10-22 Jim Blandy <jimb@codesourcery.com>
22437 Joseph Myers <joseph@codesourcery.com>
22438
22439 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22440 /dev/null.
22441 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22442 from /dev/null
22443 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22444 /dev/null.
22445
481b90b9
AJ
224462012-10-22 Andreas Jaeger <aj@suse.de>
22447
2a0e2669
AJ
22448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22449 Define always.
22450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22451
76e38f9a
AJ
22452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22453 bits/fcntl-linux.h.
22454
7cd37b43
AJ
22455 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22456 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22457
481b90b9
AJ
22458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22459 to __O_LARGEFILE.
22460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22461 to __O_LARGEFILE.
22462
aba75984
JB
224632012-10-21 Jim Blandy <jimb@codesourcery.com>
22464 Joseph Myers <joseph@codesourcery.com>
22465
22466 * config.make.in (NM): New variable.
22467
88d4247f
AJ
224682012-10-21 Andreas Jaeger <aj@suse.de>
22469
22470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22471 definitions and declarations that are provided by
22472 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22473
f2eed205
L
224742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22475
22476 [BZ #14683]
22477 * elf/Makefile (tests-static): Add tst-leaks1-static.
22478 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22479 ($(objpfx)tst-leaks1-static): New rule.
22480 ($(objpfx)tst-leaks1-static-mem): Likewise.
22481 (tst-leaks1-static-ENV): New macro.
22482 * elf/dl-open.c (dl_open_worker): Check the main application
22483 only if SHARED is defined.
22484 * elf/tst-leaks1-static.c: New file.
22485
335e6931
AJ
224862012-10-20 Andreas Jaeger <aj@suse.de>
22487
22488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22489 generic values for Linux.
22490 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22491 and declarations that are provided by <bits/fcntl-linux.h> and
22492 include <bits/fcntl-linux.h>.
22493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22495
ac5c94d3
RM
224962012-10-20 Roland McGrath <roland@hack.frob.com>
22497
22498 * io/fcntl.h: Move include of <bits/types.h> to the top and
22499 include it unconditionally.
22500
de54b33a
L
225012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22502
228cfb01
L
22503 * wcsmbs/Makefile (tests-ifunc): New variable.
22504 (tests): Add $(tests-ifunc).
22505 * wcsmbs/test-wcschr-ifunc.c: New file.
22506 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22507 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22508 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22509 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22510 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22511
69f07e5f
L
22512 * string/Makefile (tests-ifunc): New variable.
22513 (tests): Add $(tests-ifunc).
22514 * string/test-memccpy.c (TEST_NAME): New macro.
22515 * string/test-memchr.c (TEST_NAME): Likewise.
22516 * string/test-memcmp.c (TEST_NAME): Likewise.
22517 * string/test-memcpy.c (TEST_NAME): Likewise.
22518 * string/test-memmem.c (TEST_NAME): Likewise.
22519 * string/test-memmove.c (TEST_NAME): Likewise.
22520 * string/test-memset.c (TEST_NAME): Likewise.
22521 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22522 * string/test-stpcpy.c (TEST_NAME): Likewise.
22523 * string/test-stpncpy.c (TEST_NAME): Likewise.
22524 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22525 * string/test-strcasestr.c (TEST_NAME): Likewise.
22526 * string/test-strcat.c (TEST_NAME): Likewise.
22527 * string/test-strchr.c (TEST_NAME): Likewise.
22528 * string/test-strcmp.c(TEST_NAME): Likewise.
22529 * string/test-strcpy.c (TEST_NAME): Likewise.
22530 * string/test-strcspn.c (TEST_NAME): Likewise.
22531 * string/test-strlen.c (TEST_NAME): Likewise.
22532 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22533 * string/test-strncmp.c (TEST_NAME): Likewise.
22534 * string/test-strncpy.c (TEST_NAME): Likewise.
22535 * string/test-strnlen.c (TEST_NAME): Likewise.
22536 * string/test-strpbrk.c (TEST_NAME): Likewise.
22537 * string/test-strrchr.c (TEST_NAME): Likewise.
22538 * string/test-strspn.c (TEST_NAME): Likewise.
22539 * string/test-strstr.c (TEST_NAME): Likewise.
22540 * string/test-bcopy-ifunc.c: New file.
22541 * string/test-bzero-ifunc.c: Likewise.
22542 * string/test-memccpy-ifunc.c: Likewise.
22543 * string/test-memchr-ifunc.c: Likewise.
22544 * string/test-memcmp-ifunc.c: Likewise.
22545 * string/test-memcpy-ifunc.c: Likewise.
22546 * string/test-memmem-ifunc.c: Likewise.
22547 * string/test-memmove-ifunc.c: Likewise.
22548 * string/test-mempcpy-ifunc.c: Likewise.
22549 * string/test-memset-ifunc.c: Likewise.
22550 * string/test-rawmemchr-ifunc.c: Likewise.
22551 * string/test-stpcpy-ifunc.c: Likewise.
22552 * string/test-stpncpy-ifunc.c: Likewise.
22553 * string/test-strcasecmp-ifunc.c: Likewise.
22554 * string/test-strcasestr-ifunc.c: Likewise.
22555 * string/test-strcat-ifunc.c: Likewise.
22556 * string/test-strchr-ifunc.c: Likewise.
22557 * string/test-strchrnul-ifunc.c: Likewise.
22558 * string/test-strcmp-ifunc.c: Likewise.
22559 * string/test-strcpy-ifunc.c: Likewise.
22560 * string/test-strcspn-ifunc.c: Likewise.
22561 * string/test-strlen-ifunc.c: Likewise.
22562 * string/test-strncasecmp-ifunc.c: Likewise.
22563 * string/test-strncat-ifunc.c: Likewise.
22564 * string/test-strncmp-ifunc.c: Likewise.
22565 * string/test-strncpy-ifunc.c: Likewise.
22566 * string/test-strnlen-ifunc.c: Likewise.
22567 * string/test-strpbrk-ifunc.c: Likewise.
22568 * string/test-strrchr-ifunc.c: Likewise.
22569 * string/test-strspn-ifunc.c: Likewise.
22570 * string/test-strstr-ifunc.c: Likewise.
22571
de54b33a
L
22572 * debug/Makefile (tests-ifunc): New variable.
22573 (tests): Add $(tests-ifunc).
22574 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22575 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22576 * debug/test-stpcpy_chk-ifunc.c: New file.
22577 * debug/test-strcpy_chk-ifunc.c: Likewise.
22578
88481c16
SP
225792012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22580
22581 [BZ #13601]
22582 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22583 header is not read in.
22584
135948bd
JM
225852012-10-19 Joseph Myers <joseph@codesourcery.com>
22586
89f1c388
JM
22587 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22588 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22589 directly. Pass built executable to script as
22590 $(built-program-cmd).
22591 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22592 $testprogram without using LD_LIBRARY_PATH and $ldso.
22593
e40a0d21
JM
22594 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22595 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22596 $(rtld-installed-name).
22597 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22598 (rtld_installed_name): Likewise.
22599 (library_path): Likewise.
22600 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22601 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22602 $(run-program-prefix) to tst-tables.sh.
22603 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22604 it to run tst-table-from and tst-table-to.
22605 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22606 Pass it to tst-table.sh.
22607 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22608 $(run-program-prefix) to tst-gettext.sh.
22609 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22610 tst-translit.sh.
22611 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22612 tst-gettext2.sh.
22613 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22614 to run tst-gettext.
22615 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22616 to run tst-gettext2.
22617 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22618 to run tst-translit.
22619 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22620 $(run-program-prefix) to tst-mtrace.sh.
22621 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22622 to run tst-mtrace.
22623 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22624 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22625 $(rtld-installed-name).
22626 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22627 (rtld_installed_name): Likewise.
22628 (run_program_prefix): New variable. Use it to run wordexp-test.
22629
728e272a
JM
22630 * Makeconfig (ARCH): Remove all definitions.
22631 (machine): Likewise.
22632 [ARCH]: Remove conditional code.
22633 [!objdir]: Give error.
22634 [!objdir] (objpfx): Remove.
22635 [!objdir] (common-objpfx): Likewise.
22636 [!objdir] (common-objdir): Likewise.
22637 * configure.in (config_makefile): Remove. Hardcode Makefile in
22638 AC_CONFIG_FILES call.
22639 * configure: Regenerated.
22640
d528cdcf
JM
22641 [BZ #13888]
22642 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22643 or TMPDIR.
22644 (testout): Likewise.
22645
135948bd
JM
22646 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22647 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22648 $(rtld-installed-name).
22649 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22650 (rtld_installed_name): Likwise.
22651 (runit): Remove function.
22652 (run_getconf): New variable, Use it for running getconf binary.
22653
38c78296
L
226542012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22655
22656 [BZ #14716]
22657 * string/test-memmem.c (check_result): New function.
22658 (do_one_test): Use it.
22659 (check1): New function.
22660 (test_main): Use it.
22661
d077f65f
MT
226622012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22663
22664 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22665
ced52c71
JM
226662012-10-18 Joseph Myers <joseph@codesourcery.com>
22667
22668 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22669 (_G_LSEEK64): Likewise.
22670 (_G_MMAP64): Likewise.
22671 (_G_FSTAT64): Likewise.
22672 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22673 (_G_LSEEK64): Likewise.
22674 (_G_MMAP64): Likewise.
22675 (_G_FSTAT64): Likewise.
22676 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22677 unconditional. Call __mmap64 directly.
22678 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22679 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22680 __lseek64 directly.
22681 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22682 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22683 __mmap64 directly.
22684 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22685 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22686 __lseek64 directly.
22687 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22688 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22689 __lseek64 directly.
22690 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22691 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22692 __lseek64 directly.
22693 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22694 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22695 __fxstat64 directly.
22696 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22697 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22698 unconditional.
22699 (freopen64) [!_G_OPEN64]: Remove conditional code.
22700 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22701 unconditional.
22702 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22703 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22704 unconditional.
22705 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22706 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22707 unconditional.
22708 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22709 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22710 unconditional.
22711 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22712 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22713 unconditional.
22714 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22715 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22716 unconditional.
22717 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22718 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22719 unconditional.
22720 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22721
b741de23
SP
227222012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22723
22724 [BZ #12140]
22725 * manual/memory.texi (Malloc Tunable Parameters): Add note
22726 about free list pointers overwriting some perturb bytes.
22727 Wording suggested by Roland McGrath.
22728
f9b9d9c9
JM
227292012-10-17 Joseph Myers <joseph@codesourcery.com>
22730
22731 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22732 (lgamma_test): Likewise.
22733 (tgamma_test): Likewise.
22734
172a631a
FW
227352012-10-16 Florian Weimer <fweimer@redhat.com>
22736
22737 [BZ #14700]
22738 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22739 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22740
e9f37252
MK
227412012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22742
22743 * NEWS: Mention BZ #14716.
22744 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22745 when removing AVAILABLE1_USES_J macro.
22746
d394eb74
L
227472012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22748
22749 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22750 (__bswap_64): __uint64_t for unsigned 64-bit int.
22751
ca38dc17
AS
227522012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22753
22754 * include/string.h (memmem): Declare libc hidden alias.
22755 * string/memmem.c (memmem): Define libc hidden alias.
22756 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22757 __read, __close instead of open, read, close.
22758
9a387d1f
L
227592012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22760
ac49ecaf
L
22761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22762 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22763 global and hidden.
22764 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22765 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22766 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22767 Likewise.
22768 (__rawmemchr_sse2): Likewise.
22769 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22770 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22771 (__strchr_sse2): Likewise.
22772 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22773 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22774 (__strcasecmp_sse2): Likewise.
22775 (__strncasecmp_sse2): Likewise.
22776 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22777 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22778 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22779 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22780 (__strrchr_sse2): Likewise.
22781 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22782 ifunc-impl-list.c.
22783 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22784 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22785 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22786 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22787 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22788 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22789 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22790 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22791 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22792 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22793 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22794 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22795 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22796 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22797 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22798 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22799 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22800 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22801 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22802 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22803 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22804 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22805 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22806 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22807 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22808 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22809 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22810 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22811 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22812 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22813
b090e8ea
L
22814 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22815 global and hidden.
22816 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22817 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22818 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22819 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22820 Likewise.
22821 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22822 Likewise.
22823 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22824 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22825 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22826 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22827 ifunc-impl-list.c.
22828 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22829 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22830 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22831 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22832 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22833 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22834 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22835 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22836 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22837 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22838 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22839 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22840 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22841 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22842 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22843 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22844 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22845 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22846 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22847 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22848 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22849 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22850 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22851 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22852 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22853 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22854 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22855 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22856 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22857 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22858 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22859 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22860 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22861 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22862 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22863 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22864 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22865 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22866 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22867 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22868 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22869
11dd4af6
L
22870 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22871 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22872 * include/ifunc-impl-list.h: New file.
22873 * misc/ifunc-impl-list.c: Likewise.
22874 * misc/Makefile (routines): Add ifunc-impl-list.
22875 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22876 * string/test-string.h: Include <ifunc-impl-list.h>.
22877 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22878 impl_array): New variables.
22879 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22880 are defined.
22881 (test_init): Call __libc_ifunc_impl_list to initialize
22882 func_list if TEST_IFUNC and TEST_NAME are defined.
22883
9a387d1f
L
22884 * string/Makefile (strop-tests): Add bcopy and bzero.
22885 * string/test-bcopy.c: New file.
22886 * string/test-bzero.c: Likewise.
22887 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22888 defined.
22889 * string/test-memset.c: Support bzero test if TEST_BZERO is
22890 defined.
22891 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22892 __libc_memmove.
22893 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22894 __libc_memset.
22895 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22896 of memset.
22897
472371b9
JM
228982012-10-10 Joseph Myers <joseph@codesourcery.com>
22899
1e4a9536
JM
22900 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22901 * configure: Regenerated.
22902
d173d12e
JM
22903 * Makeconfig (+link-static-before-libc): Don't include
22904 $(link-static-libc).
22905
472371b9
JM
22906 * libio/libio.h (_IO_pos_t): Remove.
22907
89a3ad0b
AO
229082012-10-10 Alexandre Oliva <aoliva@redhat.com>
22909
22910 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22911 McGrath.
22912
e7451425
AO
229132012-10-10 Alexandre Oliva <aoliva@redhat.com>
22914
22915 * crypt/crypt-entry.c: Include fips-private.h.
22916 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22917 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22918 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22919 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22920
4ba74a35
AO
229212012-10-10 Alexandre Oliva <aoliva@redhat.com>
22922
22923 * crypt/crypt-private.h: Include stdbool.h.
22924 (_ufc_setup_salt_r): Return bool.
22925 * crypt/crypt-entry.c: Include errno.h.
22926 (__crypt_r): Return NULL with EINVAL for bad salt.
22927 * crypt/crypt_util.c (bad_for_salt): New.
22928 (_ufc_setup_salt_r): Check that salt is long enough and within
22929 the specified alphabet.
22930 * crypt/badsalttest.c: New file.
22931 * crypt/Makefile (tests): Add it.
22932 ($(objpfx)badsalttest): New.
22933
f96f1242
MK
229342012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22935
22936 * NEWS: Add entry for BZ #14602.
22937
0e8e0c1c
JM
229382012-10-09 Joseph Myers <joseph@codesourcery.com>
22939
22940 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22941 type-generic.
22942 * math/libm-test.inc: Update comment listing what functions and
22943 macros are tested.
22944 (isgreater_test): New function.
22945 (isgreaterequal_test): Likewise.
22946 (isless_test): Likewise.
22947 (islessequal_test): Likewise.
22948 (islessgreater_test): Likewise.
22949 (isunordered_test): Likewise.
22950 (main): Call the new functions.
22951
273edc5e
RM
229522012-10-09 Roland McGrath <roland@hack.frob.com>
22953
b8493de0
RM
22954 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22955 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22956 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22957 * sysdeps/i386/configure: Regenerated.
22958 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22959 * sysdeps/mach/configure: Regenerated.
22960 * sysdeps/mach/hurd/configure: Regenerated.
22961 * sysdeps/powerpc/configure: Regenerated.
22962 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22963 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22964 * sysdeps/s390/s390-32/configure: Regenerated.
22965 * sysdeps/s390/s390-64/configure: Regenerated.
22966 * sysdeps/sh/configure: Regenerated.
22967 * sysdeps/sparc/configure: Regenerated.
22968 * sysdeps/unix/sysv/linux/configure: Regenerated.
22969 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22970 * sysdeps/x86_64/configure: Regenerated.
22971
273edc5e
RM
22972 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22973 defined. Don't check if MAP is NULL.
22974
c8450f70
JM
229752012-10-09 Joseph Myers <joseph@codesourcery.com>
22976
22977 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22978 (_G_stat64): Likewise.
22979 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22980 (_G_stat64): Likewise.
22981 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22982 instead of struct _G_stat64.
22983 * libio/fileops.c (mmap_remap_check): Likewise.
22984 (decide_maybe_mmap): Likewise.
22985 (_IO_new_file_seekoff): Likewise.
22986 (_IO_file_stat): Likewise.
22987 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22988 _G_off64_t.
22989 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22990 instead of struct _G_stat64.
22991 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22992
57e605ba
MK
229932012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22994
22995 [BZ #14602]
22996 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22997 Replace with ...
22998 (CHECK_EOL): New macro.
22999 (two_way_short_needle): Check beginning of haystack for EOL. Use
23000 CHECK_EOL.
23001 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23002 Replace with CHECK_EOL.
23003 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23004 Replace with CHECK_EOL.
23005
ef1bb361
JM
230062012-10-08 Joseph Myers <joseph@codesourcery.com>
23007
23008 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23009 type-generic.
23010 * math/libm-test.inc: Update comment listing what functions and
23011 macros are tested.
23012 (finite_test): New function.
23013 (isinf_test): Likewise.
23014 (isnan_test): Likewise.
23015 (fpclassify_test): Test subnormal input.
23016 (isfinite_test): Likewise.
23017 (isnormal_test): Likewise.
23018 (main): Call the new functions.
23019
55f11534
JN
230202012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23021
23022 [BZ #14660]
23023 * Makerules (%.dynsym): Force C locale when running
23024 $(OBJDUMP) --dynamic-syms.
23025
1ab29350
AS
230262012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23027
23028 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23029 <stdint.h>.
23030
f1ecb7ef
DM
230312012-10-06 David S. Miller <davem@davemloft.net>
23032
23033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23034 upper 32-bits of the length value in %o2 since we use branch-on-register
23035 tests which consider the entire 64-bit register.
23036
5d41d91a
L
230372012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23038
23039 * string/test-strstr.c (check2): Add a test for page boundary.
23040
3baddb72
DM
230412012-10-05 David S. Miller <davem@davemloft.net>
23042
23043 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23044 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23045 file.
23046 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23047 sysdep_routines.
23048 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23049 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23050 and bzero when HWCAP_SPARC_CRYPTO is present.
23051
9cee5585
L
230522012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23053
d7e0dab9
L
23054 [BZ #14602]
23055 * string/test-strstr.c (check2): New function.
23056 (test_main): Call check2.
23057
03759f47
L
23058 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23059 and bug-strchr1.
23060 * string/bug-strcasestr1.c (do_test): Moved to ...
23061 * string/test-strcasestr.c (check1): Here. New function.
23062 (do_one_test): Break out result checking code into ...
23063 (check_result): This. New function.
23064 (do_one_test): Call check_result.
23065 (test_main): Call check1.
23066 * string/bug-strchr1.c (do_test): Moved to ...
23067 * string/test-strchr.c (check1): Here. New function.
23068 (do_one_test): Break out result checking code into ...
23069 (check_result): This. New function.
23070 (do_one_test): Call check_result.
23071 (test_main): Call check1.
23072 * string/bug-strstr1.c (main): Moved to ...
046f153e 23073 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23074 (do_one_test): Break out result checking code into ...
23075 (check_result): This. New function.
23076 (do_one_test): Call check_result.
23077 (test_main): Call check1.
23078 * string/bug-strcasestr1.c: Removed.
23079 * string/bug-strchr1.c: Likewise.
23080 * string/bug-strstr1.c: Likewise.
23081
53cea63e
L
23082 * elf/Makefile (dl-routines): Add hwcaps.
23083 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23084 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23085 (_dl_important_hwcaps): Moved to ...
23086 * elf/dl-hwcaps.c: Here. New file.
23087 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23088
9cee5585 23089 [BZ #14557]
bb859b06
L
23090 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23091 if IS_IN_rtld isn't defined.
23092
9cee5585
L
23093 * elf/dl-support.c (_dl_sysinfo_map): New.
23094 Include "get-dynamic-info.h" and "setup-vdso.h".
23095 (_dl_non_dynamic_init): Call setup_vdso.
23096 * elf/dynamic-link.h: Don't include <assert.h>.
23097 (elf_get_dynamic_info): Moved to ...
23098 * elf/get-dynamic-info.h: Here. New file.
23099 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23100 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23101 * elf/setup-vdso.h: Here. New file.
23102 * elf/rtld.c: Include "setup-vdso.h".
23103 (dl_main): Call setup_vdso.
23104
23c31b76
JM
231052012-10-05 Joseph Myers <joseph@codesourcery.com>
23106
28234b07
JM
23107 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23108 creal in comment listing functions tested. List finite, isinf,
23109 isnan, isless, islessequal, isgreater, isgreaterequal,
23110 islessgreater, isunordered, lgamma_r and pow10 as functions and
23111 macros not tested. Mention which functions not tested are aliases
23112 for other functions. Fix typo. Note that signs of NaNs are not
23113 tested.
23114
23c31b76
JM
23115 * scripts/config.guess: Update from config.git.
23116 * scripts/config.sub: Likewise.
23117
9043e228
RM
231182012-10-04 Roland McGrath <roland@hack.frob.com>
23119
23120 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23121 * misc/madvise.c (madvise): Renamed to __madvise.
23122 Make madvise a weak alias.
23123 * include/sys/mman.h: Declare __madvise.
23124 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23125 * sysdeps/unix/syscalls.list
23126 (madvise): Make __madvise the strong name, and madvise a weak alias.
23127 * sysdeps/unix/sysv/linux/syscalls.list
23128 (madvise, mmap): Remove redundant entries.
23129 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23130 * malloc/malloc.c (mtrim): Likewise.
23131 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23132
f57f8055
RM
231332012-10-03 Roland McGrath <roland@hack.frob.com>
23134
23135 * sysdeps/mach/hurd/dl-cache.c: File removed.
23136 * config.h.in (USE_LDCONFIG): New #undef.
23137 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23138 * configure: Regenerated.
23139 * elf/Makefile (dl-routines): Add dl-cache only under
23140 [$(use-ldconfig) = yes].
23141 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23142 cache on [USE_LDCONFIG].
23143 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23144 [USE_LDCONFIG].
23145 * elf/rtld.c (dl_main): Likewise.
23146
5bb0c10a
PT
231472012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23148
23149 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23150 _SC_LEVEL4_CACHE_LINESIZE.
23151
010188c6
RM
231522012-10-03 Roland McGrath <roland@hack.frob.com>
23153
23154 * sysdeps/unix/bsd/confstr.h: File removed.
23155
b6c5ec07
AO
231562012-10-02 Alexandre Oliva <aoliva@redhat.com>
23157
23158 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23159 sys/sdt-config.h.
23160
408223d4
RM
231612012-10-02 Roland McGrath <roland@hack.frob.com>
23162
23163 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23164 Make 'mapoff' field ElfW(Off) rather than off_t.
23165
bb9510dc
DL
231662012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23167
fc997c6e
DL
23168 * nscd/Makefile: Remove nscd-cflags and all its users.
23169 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23170 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23171
bb9510dc
DL
23172 [BZ #10631]
23173 * malloc.c (malloc_printerr): Clarify error message.
23174
05699367
L
231752012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23176
23177 [BZ #14648]
23178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23179 Set bit_FMA_Usable if FMA is supported.
23180 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23181 macro.
23182 (bit_FMA4_Usable): Updated.
23183 (index_FMA_Usable): New macro.
23184 (CPUID_FMA): Likewise
23185 (HAS_FMA): Defined with bit_FMA_Usable.
23186
51367701
RM
231872012-10-01 Roland McGrath <roland@hack.frob.com>
23188
23189 * bits/types.h (__swblk_t): Type removed.
23190 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23191 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23193 (__SWBLK_T_TYPE): Likewise.
23194 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23195 (__SWBLK_T_TYPE): Likewise.
23196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23197 (__SWBLK_T_TYPE): Likewise.
23198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23199 (__SWBLK_T_TYPE): Likewise.
23200
4d57bf63 232012012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23202 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23203
23204 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23205 (xdr_mapname): Use YPMAXMAP as maxsize.
23206 (xdr_peername): Use YPMAXPEER as maxsize.
23207 (xdr_keydat): Use YPAXRECORD as maxsize.
23208 (xdr_valdat): Use YPMAXRECORD as maxsize.
23209
93c65d43
RM
232102012-10-01 Roland McGrath <roland@hack.frob.com>
23211
497a03d6
RM
23212 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23213
93c65d43
RM
23214 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23215 * csu/init-first.c: ... here.
23216 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23217 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23218 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23219 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23220 * sysdeps/i386/init-first.c: File removed.
23221 * sysdeps/sh/init-first.c: File removed.
23222
bec749fd
JM
232232012-10-01 Joseph Myers <joseph@codesourcery.com>
23224
23225 [BZ #14645]
23226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23227 if x * y might underflow to zero and z is zero.
23228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23230 * math/libm-test.inc (min_subnorm_value): New variable.
23231 (fma_test): Add more tests.
23232 (fma_test_towardzero): Likewise.
23233 (fma_test_downward): Likewise
23234 (fma_test_upward): Likewise.
23235 (initialize): Set min_subnorm_value.
23236
8ec5b013
JM
232372012-09-29 Joseph Myers <joseph@codesourcery.com>
23238
23239 [BZ #14638]
23240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23241 0 + 0.
23242 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23243 mode for addition resulting in exact zero.
23244 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23246 exact 0 + 0.
23247 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23249 * math/libm-test.inc (fma_test): Add more tests.
23250 (fma_test_towardzero): New function.
23251 (fma_test_downward): Likewise.
23252 (fma_test_upward): Likewise.
23253 (main): Call the new functions.
23254
b1fa802e
DM
232552012-09-28 David S. Miller <davem@davemloft.net>
23256
23257 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23258
d3b9fd9e
RM
232592012-09-28 Roland McGrath <roland@hack.frob.com>
23260
ea4d37b3
RM
23261 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23262 instead of SIGALRM.
23263
ac51c949
RM
23264 * sysdeps/gnu/_G_config.h: Moved to ...
23265 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23266 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23267 * sysdeps/generic/_G_config.h: ... here.
23268
28c195f7
RM
23269 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23270
848917f9
RM
23271 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23272
6bacf05b
RM
23273 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23274 Conditionalize target on [libnss_test1.so-version].
23275
91363dbb
RM
23276 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23277
cc87f7d8
RM
23278 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23279 (elfobjdir): Move out of conditionals.
23280
b1c608fe
RM
23281 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23282 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23283 (__nss_lookup_function): Conditionalize label remove_from_tree on
23284 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23285
1d9a6d96
DM
232862012-09-28 David S. Miller <davem@davemloft.net>
23287
23288 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23289 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23290 file.
23291 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23292 sysdep_routines.
23293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23295 when HWCAP_SPARC_CRYPTO is present.
23296
72581615
PT
232972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23298
23299 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23300
715a900c
JL
233012012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23302
23303 [BZ #6530]
23304 * stdio-common/vfprintf.c (process_string_arg): Revert
23305 2000-07-22 change.
23306
233072011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23308
23309 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23310 for testcase.
23311 * stdio-common/tst-sprintf.c: Include <locale.h>
23312 (main): Test sprintf's handling of incomplete multibyte
23313 characters.
23314
9bac1d86
L
233152012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23316
23317 * elf/dl-runtime.c (VERSYMIDX): Removed.
23318 * elf/dl-version.c (VERSYMIDX): Likewise.
23319 * elf/do-rel.h (VERSYMIDX): Likewise.
23320 (VALIDX): Likewise.
23321 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23322 * elf/rtld.c (VALIDX): Likewise.
23323 (ADDRIDX): Likewise.
9bac1d86
L
23324 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23325 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23326 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23327 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23328 (VALIDX): Likewise.
23329 (ADDRIDX): Likewise.
9bac1d86 23330
b31606c0
PT
233312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23332
23333 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23334
11541177
JL
233352012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23336
23337 [BZ #11438]
23338 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23339 to global scope.
23340 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23341 addresses are in the same scope as 192.0.2/24.
23342 * posix/gai.conf: Document new scope table defaults.
23343
adb26fae
SP
233442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23345
23346 [BZ #5298]
23347 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23348 for ftell. Compute offsets from write pointers instead.
23349 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23350
4573c6b0
SP
233512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23352
23353 [BZ #14543]
23354 * libio/Makefile (tests): New test case tst-fseek.
23355 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23356 combination works in wide mode.
23357 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23358 state when the external buffer state changes.
23359
aa9bbfe6
DM
233602012-09-27 David S. Miller <davem@davemloft.net>
23361
23362 [BZ #14376]
23363 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23364 pass reloc->r_addend in as the 'high' argument to
23365 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23366
784421e7
DM
23367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23368
c39bc8b8
PT
233692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23370
23371 * rt/tst-aio2.c: Include <pthread.h>.
23372 * rt/tst-aio3.c: Likewise.
23373
1ccc2399
SE
233742012-09-27 Steve Ellcey <sellcey@mips.com>
23375
23376 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23377
31ed4153
L
233782012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23379
25f5f885
L
23380 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23381 contents on [SHARED].
31ed4153 23382
b7bfe116
MP
233832012-09-26 Marek Polacek <polacek@redhat.com>
23384
23385 [BZ #14530]
23386 [BZ #13741]
23387 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23388 for C++ and GCC <4.3 as well as for non GCC compilers.
23389
43c4edba
MT
233902012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23391
23392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23393
6a1bf82f
RM
233942012-09-25 Roland McGrath <roland@hack.frob.com>
23395
23396 * Makefile.in (all, install): Declare with .PHONY.
23397 Reported by Michael Hope <michael.hope@linaro.org>.
23398
8ad11b9a
TMQMF
233992012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23400
23401 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23402 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23403 system header.
23404 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23405 Likewise.
23406 (sydep_routines): Add the new and the internal functions.
23407 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23408 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23410 (GLIBC_2.17): Add the new function.
23411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23412 (GLIBC_2.17): Likewise.
23413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23414 (GLIBC_2.17): Likewise.
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23416 (GLIBC_2.17): Likewise.
23417 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23418
7e2fca8d
AM
234192012-09-25 Alan Modra <amodra@gmail.com>
23420
23421 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23422 Add release barrier before setting once_control to say
23423 initialisation is done. Add hints on lwarx. Use macro in
23424 place of isync.
23425 (clear_once_control): Add release barrier.
23426
b87c4b24
JM
234272012-09-25 Joseph Myers <joseph@codesourcery.com>
23428
d032e0d2
JM
23429 [BZ #13629]
23430 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23431 specially.
23432 * math/s_clog10.c (__clog10): Likewise.
23433 * math/s_clog10f.c (__clog10f): Likewise.
23434 * math/s_clog10l.c (__clog10l): Likewise.
23435 * math/s_clogf.c (__clogf): Likewise.
23436 * math/s_clogl.c (__clogl): Likewise.
23437 * math/Makefile (libm-calls): Add x2y2m1.
23438 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23439 (__x2y2m1): Likewise.
23440 (__x2y2m1l): Likewise.
23441 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23442 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23447 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23448 * sysdeps/i386/fpu/libm-test-ulps: Update.
23449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23450
b87c4b24
JM
23451 [BZ #14621]
23452 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23453 int as type of variable DEPTH.
23454 (glob): Use size_t instead of int as type of variables NEWCOUNT
23455 and OLD_PATHC.
23456
6d3bf199
LD
234572012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23458
22bf5c17
LD
23459 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23460 Add s_sincosf-sse2.
23461 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23462 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23463 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23464 macros for using routine as __sincosf_ia32.
23465 Use macro for function declaration and weak_alias.
23466 * sysdeps/i386/fpu/libm-test-ulps: Update.
23467
23468 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23470
23471 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23472 subnormal argument.
23473 * math/s_cexpf.c (__cexpf): Likewise.
23474 * math/s_csinf.c (__csinf): Likewise.
23475 * math/s_csinhf.c (__csinhf): Likewise.
23476 * math/s_ctanf.c (__ctanf): Likewise.
23477 * math/s_ctanhf.c (__ctanhf): Likewise.
23478 * math/s_ccosh.c (__ccoshf): Likewise.
23479 * math/s_cexp.c (__cexpl): Likewise.
23480 * math/s_csin.c (__csin): Likewise.
23481 * math/s_csinh.c (__csinh): Likewise.
23482 * math/s_ctan.c (__ctan): Likewise.
23483 * math/s_ctanh.c (ctanh): Likewise.
23484 * math/s_ccoshl.c (__ccoshl): Likewise.
23485 * math/s_cexpl.c (__cexpl): Likewise.
23486 * math/s_csinl.c (__csinl): Likewise.
23487 * math/s_csinhl.c (__csinhl): Likewise.
23488 * math/s_ctanl.c (__ctanl): Likewise.
23489 * math/s_ctanhl.c (__ctanhl): Likewise.
23490
203e5603
JM
234912012-09-25 Joseph Myers <joseph@codesourcery.com>
23492
23493 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23494 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23495 (_IO_off_t): Define to __off_t, not _G_off_t.
23496 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23497 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23498 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23499 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23500 type of __dummy and __dummy2 fields.
23501 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23502 (_G_ssize_t): Likewise.
23503 (_G_off_t): Likewise.
23504 (_G_pid_t): Likewise.
23505 (_G_uid_t): Likewise.
23506 (_G_wchar_t): Likewise.
23507 (_G_wint_t): Likewise.
23508 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23509 (_G_ssize_t): Likewise.
23510 (_G_off_t): Likewise.
23511 (_G_pid_t): Likewise.
23512 (_G_uid_t): Likewise.
23513 (_G_wchar_t): Likewise.
23514 (_G_wint_t): Likewise.
23515 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23516 (_G_ssize_t): Likewise.
23517 (_G_off_t): Likewise.
23518 (_G_pid_t): Likewise.
23519 (_G_uid_t): Likewise.
23520 (_G_wchar_t): Likewise.
23521 (_G_wint_t): Likewise.
23522
9fab36eb
SP
235232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23524
23525 * malloc/arena.c: Include malloc-sysdep.h.
23526 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23527 is sufficient to shrink the heap or an unmap is needed.
23528 * sysdeps/generic/malloc-sysdep.h: New file. Define
23529 new function check_may_shrink_heap.
23530 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23531 new function check_may_shrink_heap.
23532
2b4f00d1
SP
235332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23534
23535 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23536 comments.
23537
9a9028b1
DL
235382012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23539
57c69bef
DL
23540 * catgets/test-gencat.sh: Add "set -e".
23541 * elf/tst-pathopt.sh: Likewise.
23542 * grp/tst_fgetgrent.sh: Likewise.
23543 * iconvdata/run-iconv-test.sh: Likewise.
23544 * intl/tst-gettext.sh: Likewise.
23545 * intl/tst-gettext2.sh: Likewise.
23546 * intl/tst-gettext4.sh: Likewise.
23547 * intl/tst-gettext6.sh: Likewise.
23548 * intl/tst-translit.sh: Likewise.
23549 * io/ftwtest-sh: Likewise.
23550 * libio/test-freopen.sh: Likewise.
23551 * malloc/tst-mtrace.sh: Likewise.
23552 * posix/globtest.sh: Likewise.
23553 * posix/tst-getconf.sh: Likewise.
23554 * posix/wordexp-tst.sh: Likewise.
23555 * stdio-common/tst-printf.sh: Likewise.
23556 * stdio-common/tst-unbputc.sh: Likewise.
23557 * stdlib/tst-fmtmsg.sh: Likewise.
23558 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23559 * catgets/Makefile: Do not specify -e option when running
23560 testsuite shell scripts.
23561 * elf/Makefile: Likewise.
23562 * grp/Makefile: Likewise.
23563 * iconvdata/Makefile: Likewise.
23564 * intl/Makefile: Likewise.
23565 * io/Makefile: Likewise.
23566 * libio/Makefile: Likewise.
23567 * malloc/Makefile: Likewise.
23568 * posix/Makefile: Likewise.
23569 * stdio-common/Makefile: Likewise.
23570 * stdlib/Makefile: Likewise.
23571 * sysdeps/x86_64/Makefile: Likewise.
23572
9a9028b1
DL
23573 * io/ftwtest-sh: Add copyright header.
23574 * posix/globtest.sh: Likewise.
23575 * posix/tst-getconf.sh: Likewise.
23576 * posix/wordexp-tst.sh: Likewise.
23577 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23578
ced6f16e
L
235792012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23580
94b32c39
L
23581 [BZ #13679]
23582 * Makeconfig (+link): Defined as $(+link-static) if
23583 $(build-shared) isn't yes.
23584 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23585 isn't yes.
23586 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23587
189e935b
L
23588 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23589
ced6f16e
L
23590 [BZ #14562]
23591 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23592 new chunk size with MALLOC_ALIGN_MASK.
23593
a9f8e53a
JM
235942012-09-24 Joseph Myers <joseph@codesourcery.com>
23595
23596 [BZ #5044]
23597 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23598 <rounding-mode.h>.
23599 (__printf_fphex): Determine rounding using get_rounding_mode and
23600 round_away.
23601 * stdio-common/tst-printf-round.c (struct hex_test): New
23602 structure.
23603 (hex_tests): New variable.
23604 (test_hex_in_one_mode): New function.
23605 (do_test): Also run tests for hex float output.
23606
43153109
JM
236072012-09-21 Joseph Myers <joseph@codesourcery.com>
23608
23609 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23610 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23611 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23612 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23613 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23614 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23615 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23616 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23617
8a26625d
JM
236182012-09-20 Joseph Myers <joseph@codesourcery.com>
23619
23620 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23621 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23622 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23623 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23624
f3fd569c
DL
236252012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23626
23627 [BZ #14579]
23628 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23629 mode only.
23630 * elf/tst-rtld-load-self.sh: New test.
23631 * elf/Makefile: Run it.
23632
63bbedd4
JM
236332012-09-18 Joseph Myers <joseph@codesourcery.com>
23634
23635 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23636 (tst-writev-ENV): Remove.
23637 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23638
626f8b6a
CM
236392012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23640
23641 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23642
b7aaa4d6
JM
236432012-09-17 Joseph Myers <joseph@codesourcery.com>
23644
23645 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23646 unconditional.
23647 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23648 Likewise.
23649 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23650 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23651 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23652 Likewise.
23653
65513990
L
236542012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23655
23656 [BZ #14587]
23657 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23658 * config.make.in (have-cpp-asm-debuginfo): Removed.
23659 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23660 * configure: Regenerated.
23661
784761be
JM
236622012-09-14 Joseph Myers <joseph@codesourcery.com>
23663
23664 [BZ #5044]
23665 * stdio-common/printf_fp.c: Include <stdbool.h> and
23666 <rounding-mode.h>.
23667 (___printf_fp): Determine rounding using get_rounding_mode and
23668 round_away.
23669 * stdio-common/tst-printf-round.c: New file.
23670 * stdio-common/Makefile (tests): Add tst-printf-round.
23671 (link-libm): New variable.
23672 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23673
9503345f
L
236742012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23675
23676 [BZ #14576]
23677 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23678 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23679 Likewise.
23680 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23681 Likewise.
23682
ad35fc00
JM
236832012-09-13 Joseph Myers <joseph@codesourcery.com>
23684
23685 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23686 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23687 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23688 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23689
6c9b0f68
JM
236902012-09-12 Joseph Myers <joseph@codesourcery.com>
23691
23692 [BZ #14518]
23693 * include/rounding-mode.h: New file.
23694 * sysdeps/generic/get-rounding-mode.h: Likewise.
23695 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23696 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23697 (MAX_VALUE): New macro.
23698 (MIN_VALUE): Likewise.
23699 (overflow_value): New function.
23700 (underflow_value): Likewise.
23701 (round_and_return): Use overflow_value and underflow_value to
23702 determine return values in overflow and underflow cases. Use
23703 round_away to determine rounding depending on rounding mode.
23704 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23705 determine return values in overflow and underflow cases.
23706 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23707 (struct test_results): New structure.
23708 (struct test): Use struct test_results to store expected results
23709 for all rounding modes.
23710 (TEST): Include expected results for all rounding modes.
23711 (test_in_one_mode): New function.
23712 (do_test): Use test_in_one_mode to compute and check results.
23713 Check results for all rounding modes.
23714 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23715 $(link-libm).
23716
19fcedd5
AM
237172012-12-09 Allan McRae <allan@archlinux.org>
23718
1e9d84cd 23719 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23720
8bbfd2f1
JM
237212012-09-11 Joseph Myers <joseph@codesourcery.com>
23722
23723 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23724 (_G_int32_t): Likewise.
23725 (_G_uint16_t): Likewise.
23726 (_G_uint32_t): Likewise.
23727 (_G_HAVE_BOOL): Likewise.
23728 (_G_HAVE_ATEXIT): Likewise.
23729 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23730 (_G_HAVE_IO_FILE_OPEN): Likewise.
23731 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23732 (_G_int32_t): Likewise.
23733 (_G_uint16_t): Likewise.
23734 (_G_uint32_t): Likewise.
23735 (_G_HAVE_BOOL): Likewise.
23736 (_G_HAVE_ATEXIT): Likewise.
23737 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23738 (_G_HAVE_IO_FILE_OPEN): Likewise.
23739 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23740 (_G_int32_t): Likewise.
23741 (_G_uint16_t): Likewise.
23742 (_G_uint32_t): Likewise.
23743 (_G_HAVE_BOOL): Likewise.
23744 (_G_HAVE_ATEXIT): Likewise.
23745 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23746 (_G_HAVE_IO_FILE_OPEN): Likewise.
23747
b1dc5912
L
237482012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23749
23750 * csu/libc-tls.c: Update copyright years.
23751
0e886ef9
JM
237522012-09-10 Joseph Myers <joseph@codesourcery.com>
23753
28361c5e
JM
23754 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23755 [!_G_USING_THUNKS]: Remove conditional code.
23756 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23757 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23758
0e886ef9
JM
23759 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23760 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23761 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23762 (_G_VTABLE_LABEL_PREFIX): Likewise.
23763 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23764 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23765 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23766 (_G_VTABLE_LABEL_PREFIX): Likewise.
23767 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23768 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23769 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23770 (_G_VTABLE_LABEL_PREFIX): Likewise.
23771 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23772
bcba7aa2
L
237732012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23774
23775 * libio/Makefile: Include ../Makeconfig before tests.
23776 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23777 only if $(build-shared) is yes.
23778
06585ee8
L
23779 * iconv/gconv_db.c: Update copyright years.
23780
80ccd52c
LD
237812012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23782
23783 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23784 unwind info if defined PIC. Fix special cases description.
23785 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23786
23787 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23788 DP_HI_MASK entry.
23789 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23790
691bc9c1
L
237912012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23792
3d9b46b3
L
23793 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23794
de2139a9
L
23795 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23796 is NULL.
23797
5ca78dd0
L
23798 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23799 (LDLIBS-tst-chk4): This.
23800 (LDFLAGS-tst-chk5): Renamed to ...
23801 (LDLIBS-tst-chk5): This.
23802 (LDFLAGS-tst-chk6): Renamed to ...
23803 (LDLIBS-tst-chk6): This.
23804 (LDFLAGS-tst-lfschk4): Renamed to ...
23805 (LDLIBS-tst-lfschk4): This.
23806 (LDFLAGS-tst-lfschk5): Renamed to ...
23807 (LDLIBS-tst-lfschk5): This.
23808 (LDFLAGS-tst-lfschk6): Renamed to ...
23809 (LDLIBS-tst-lfschk6): This.
23810
691bc9c1
L
23811 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23812 on $(common-objpfx)soversions.mk.
23813
65cafb1c
JM
238142012-09-07 Joseph Myers <joseph@codesourcery.com>
23815
23816 [BZ #10014]
23817 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23818 example host name.
23819
c78ab094
SP
238202012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23821
23822 * malloc/arena.c (arena_get_retry): New function that gets
23823 another arena for the caller to try its request on.
23824 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23825 current arena cannot fulfill the request.
23826 (__libc_memalign): Likewise.
23827 (__libc_memalign): Likewise.
23828 (__libc_pvalloc): Likewise.
23829 (__libc_calloc): Likewise.
23830
01f49f59
JT
238312012-09-05 John Tobey <john.tobey@gmail.com>
23832
23833 [BZ #13542]
23834 * manual/arith.texi (Operations on Complex): Fix description
23835 of carg branch cut.
23836
4c23fed5
JM
238372012-09-06 Joseph Myers <joseph@codesourcery.com>
23838
1d3c8572
JM
23839 [BZ #10014]
23840 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23841 host name.
23842
4c23fed5
JM
23843 [BZ #10038]
23844 * manual/memory.texi (Memory): Make order of menu items match
23845 order of sections.
23846
04570aaa
L
238472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23848
23849 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23850 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23851 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23852
b80af2f4
L
238532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23854
23855 * csu/libc-tls.c (static_dtv): Renamed to ...
23856 (_dl_static_dtv): This. Make it global.
23857 (_dl_initial_dtv): Removed.
23858 (__libc_setup_tls): Updated.
23859 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23860 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23861 DL_INITIAL_DTV.
23862
2abe9f15
PM
238632012-09-06 Petr Machata <pmachata@redhat.com>
23864
23865 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23866 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23867 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23868 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23869
0948c3af
L
238702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 [BZ #14545]
23873 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23874 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23875 freeing dtv[-1].
23876
a5055ad1
L
238772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23878
23879 [BZ #14544]
23880 * Makeconfig (link-static-before-libc): Replace $(+prector)
23881 with $(+prectorT).
23882 (link-static-after-libc): Replace $(+postctor) with
23883 $(+postctorT).
23884 (link-bounded): Replace $(+prector)/$(+postctor) with
23885 $(+prectorT)/$(+postctorT).
23886 (+prectorT): New macro.
23887 (+postctorT): Likewise.
23888
ed8c2ecd
JM
238892012-09-06 Joseph Myers <joseph@codesourcery.com>
23890
23891 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23892 (round_str): Handle values above the maximum for IBM long double
23893 as inexact.
23894 * stdlib/tst-strtod-round.c (tests): Regenerated.
23895
14c996c8
AK
238962012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23897
23898 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23899 assembler flag.
23900 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23901 zarch_nohighgprs around the zarch optimized routines.
23902 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23903 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23904 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23905 for zarch.
23906
430d6ce6
DM
239072012-09-05 David S. Miller <davem@davemloft.net>
23908
23909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23910
ff04dda4
DM
23911 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23912 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23913 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23914 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23915 entries.
23916
24d4e01b
AO
239172012-09-05 Alexandre Oliva <aoliva@redhat.com>
23918
23919 * malloc/arena.c: Fold copyright years.
23920 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23921
61d58174
AO
239222012-09-05 Alexandre Oliva <aoliva@redhat.com>
23923
23924 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23925
20196a5e
AO
239262012-09-05 Alexandre Oliva <aoliva@redhat.com>
23927
23928 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23929
5c447383
AO
239302012-09-05 Alexandre Oliva <aoliva@redhat.com>
23931
23932 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23933 change internal state upon failure.
23934
fad64255
AO
239352012-09-05 Alexandre Oliva <aoliva@redhat.com>
23936
23937 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23938 * malloc/memusage.c (mmap): Likewise.
23939 (mmap64, mremap): Likewise. Adjust name in comment.
23940
1ffb8c90
SP
239412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23942
23943 * libio/fileops.c: Fix typos in comments.
23944 * libio/oldfileops.c: Likewise.
23945 * libio/wfileops.c: Likewise.
23946
6ef9cc37
SP
239472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23948
23949 [BZ #1349]
23950 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23951 (tst-malloc-usable-ENV): Set environment for test case.
23952 * malloc/hooks.c (malloc_check_get_size): New function to get
23953 requested size.
23954 * malloc/malloc.c (musable): Use malloc_check_get_size.
23955 * malloc/tst-malloc-usable.c: New test case.
23956
4d038ae3
AS
239572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23958
23959 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23960
c4e85184
AM
239612012-09-05 Allan McRae <allan@archlinux.org>
23962
b9dafc56 23963 [BZ #13966]
c4e85184
AM
23964 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23965 determine header location.
23966 * configure: Regenerated.
23967
e1343020
AS
239682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23969
23970 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23971 float format.
23972 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23973 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23974 format.
e1343020
AS
23975 (test): Regenerate.
23976
0a9f1987
DM
239772012-09-04 David S. Miller <davem@davemloft.net>
23978
23979 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23980 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23981 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23982
29237804
FW
239832012-09-04 Florian Weimer <fweimer@redhat.com>
23984
23985 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23986 failures.
23987
edb3cb88
FW
23988 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23989
60160d83
JM
239902012-09-04 Joseph Myers <joseph@codesourcery.com>
23991
23992 [BZ #9914]
23993 * libio/iogetdelim.c: Include <limits.h>.
23994 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23995 + len + 1 would overflow.
23996
bcd6c8dc
AJ
239972012-09-03 Andreas Jaeger <aj@suse.de>
23998
23999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24000 * sysdeps/i386/fpu/libm-test-ulps: Update.
24001
4ffffbd2
LD
240022012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24003
24004 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24005 Add s_sinf-sse2, s_conf-sse2.
24006
24007 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24008 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24009 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24010 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24011
24012 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24013 for using routine as __sinf_ia32.
24014 Use macro for function declaration and weak_alias.
24015 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24016 for using routine as __cosf_ia32.
24017 Use macro for function declaration and weak_alias.
24018
24019 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24020 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24021
24022 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24023 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24025
24026 * math/libm-test.inc (cos_test): Add more test cases.
24027 (sin_test): Likewise.
24028 (sincos_test): Likewise.
24029
511fa286
AK
240302012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24031
24032 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24033 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24034 hidden.
24035 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24036
5f30cfec
L
240372012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24038
24039 [BZ #14538]
24040 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24041 first element of the GOT.
24042 (elf_machine_load_address): Return the difference between
24043 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24044
0786794f
AM
240452012-09-01 Allan McRae <allan@archlinux.org>
24046
5f30cfec
L
24047 [BZ #13412]
24048 * configure.in (AWK): Require gawk version 3.0 or later.
24049 * configure: Regenerated.
0786794f 24050
26889eac
JM
240512012-09-01 Joseph Myers <joseph@codesourcery.com>
24052
24053 * sysdeps/unix/sysv/linux/kernel-features.h
24054 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24055 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24056 [__NR_clock_getres]: Make code unconditional.
24057 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24058 (clock_getcpuclockid): Remove code left unreachable by removal of
24059 conditionals.
24060 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24061 code unconditional.
24062 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24063 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24064 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24065 Make code unconditional.
24066 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24067 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24068 * sysdeps/unix/sysv/linux/clock_settime.c
24069 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24070 conditional code.
24071 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24072 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24073
d22e28b0
L
240742012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24075
24076 [BZ #14476]
24077 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24078 scripts/test-installation.pl.
24079
24080 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24081 and $ld_so_version if it is set.
24082
050af9c4
SP
240832012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24084
24085 [BZ #14516]
24086 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24087 failure if reading from procfs failed.
24088 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24089
ad845c0b
JM
240902012-08-27 Joseph Myers <joseph@codesourcery.com>
24091
24092 * sysdeps/unix/sysv/linux/kernel-features.h
24093 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24094 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24095 Remove conditional code.
24096 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24097 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24098 Remove conditional code.
24099 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24100 * sysdeps/unix/sysv/linux/i386/fxstat.c
24101 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24103 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24104 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24106 * sysdeps/unix/sysv/linux/i386/lxstat.c
24107 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24109 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24110 Remove conditional code.
24111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24112 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24113 Remove conditional code.
24114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24115 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24116 <kernel-features.h>.
24117 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24118 Remove.
24119 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24120 Remove conditional code.
24121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24122 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24123 Remove conditional.
24124
5dbf56af
MF
241252012-08-27 Mike Frysinger <vapier@gentoo.org>
24126
24127 [BZ #5400]
24128 * NEWS: Add fixed bug number.
24129
d6e70f43
JM
241302012-08-27 Joseph Myers <joseph@codesourcery.com>
24131
7efb4737
JM
24132 [BZ #14519]
24133 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24134 underflowing exponent in case of negative sign.
24135 * stdlib/tst-strtod-round-data: Add more tests.
24136 * stdlib/tst-strtod-round.c (tests): Regenerated.
24137
af92131a
JM
24138 [BZ #3479]
24139 * stdlib/strtod_l.c (NDIG): Remove.
24140 (HEXNDIG): Likewise.
24141 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24142 smallest representable value.
24143 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24144 lie within an exact representation of 1/2 ulp of the result.
24145 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24146 unconditionally.
24147 (TENS_P9_IDX): Define unconditionally.
24148 (TENS_P9_SIZE): Likewise.
24149 (TENS_P10_IDX): Likewise.
24150 (TENS_P10_SIZE): Likewise.
24151 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24152 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24153 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24154 entries for 10^2^13 and 10^2^14.
24155 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24156 (TENS_P13_IDX): Define.
24157 (TENS_P13_SIZE): Likewise.
24158 (TENS_P14_IDX): Likewise.
24159 (TENS_P14_SIZE): Likewise.
24160 (_fpioconst_pow10): Change array size to
24161 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24162 unconditional.
24163 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24164 1024]: Add entries for 10^2^13 and 10^2^14.
24165 [LAST_POW10 > _LAST_POW10]: Remove #error.
24166 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24167 (_fpioconst_pow10): Change array size to
24168 FPIOCONST_POW10_ARRAY_SIZE.
24169 * stdlib/gen-fpioconst.c: New file.
24170 * stdlib/gen-tst-strtod-round.c: Likewise.
24171 * stdlib/tst-strtod-round-data: Likewise.
24172 * stdlib/tst-strtod-round.c: Likewise.
24173 * stdlib/Makefile (tests): Add tst-strtod-round.
24174
d6e70f43
JM
24175 [BZ #14459]
24176 * stdlib/strtod_l.c: Include <stdint.h>.
24177 (NDEBUG): Do not define.
24178 (round_and_return): Change EXPONENT parameter to type intmax_t.
24179 Rearrange calculations to avoid internal overflow possibilities.
24180 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24181 Rearrange calculations to avoid internal overflow possibilities.
24182 Assert that number fits inside MPNSIZE limbs.
24183 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24184 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24185 calculations and add assertions to avoid internal overflow
24186 possibilities. Add casts to avoid signed/unsigned operations.
24187 * stdlib/tst-strtod-overflow.c: New file.
24188 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24189
1f529f7d
MP
241902012-08-25 Marek Polacek <polacek@redhat.com>
24191
24192 * time/time.h: Fix some typos in comments.
24193
59a629f1
RM
241942012-08-23 Roland McGrath <roland@hack.frob.com>
24195
24196 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24197 * posix/tst-rfc3484-2.c: Likewise.
24198 * posix/tst-rfc3484-3.c: Likewise.
24199
d3bafbc9
SM
242002012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24201
24202 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24203 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24204
4efcc022
JM
242052012-08-23 Joseph Myers <joseph@codesourcery.com>
24206
24207 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24208 #include of fxstatat64.c.
24209
3cc3ef96
RM
242102012-08-22 Roland McGrath <roland@hack.frob.com>
24211
f04e2132
RM
24212 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24213 * shadow/getspent_r.c: Likewise.
24214 * shadow/getspnam.c: Likewise.
24215 * shadow/getspnam_r.c: Likewise.
24216 * gshadow/getsgent.c: Likewise.
24217 * gshadow/getsgent_r.c: Likewise.
24218 * gshadow/getsgnam.c: Likewise.
24219 * gshadow/getsgnam_r.c: Likewise.
24220 * inet/getnetbyad.c: Likewise.
24221 * inet/getnetbyad_r.c: Likewise.
24222 * inet/getnetbynm.c: Likewise.
24223 * inet/getnetbynm_r.c: Likewise.
24224 * inet/getnetent.c: Likewise.
24225 * inet/getnetent_r.c: Likewise.
24226 * inet/getproto.c: Likewise.
24227 * inet/getproto_r.c: Likewise.
24228 * inet/getprtent.c: Likewise.
24229 * inet/getprtent_r.c: Likewise.
24230 * inet/getprtname.c: Likewise.
24231 * inet/getprtname_r.c: Likewise.
24232 * inet/getrpcbyname.c: Likewise.
24233 * inet/getrpcbyname_r.c: Likewise.
24234 * inet/getrpcbynumber.c: Likewise.
24235 * inet/getrpcbynumber_r.c: Likewise.
24236 * inet/getrpcent.c: Likewise.
24237 * inet/getrpcent_r.c: Likewise.
24238 * inet/getaliasent.c: Likewise.
24239 * inet/getaliasent_r.c: Likewise.
24240 * inet/getaliasname.c: Likewise.
24241 * inet/getaliasname_r.c: Likewise.
24242 * nscd/getgrgid_r.c: Likewise.
24243 * nscd/getgrnam_r.c: Likewise.
24244 * nscd/gethstbyad_r.c: Likewise.
24245 * nscd/gethstbynm3_r.c: Likewise.
24246 * nscd/getpwnam_r.c: Likewise.
24247 * nscd/getpwuid_r.c: Likewise.
24248 * nscd/getsrvbynm_r.c: Likewise.
24249 * nscd/getsrvbypt_r.c: Likewise.
24250 * nscd/gai.c: Likewise.
24251
c53d909c
RM
24252 * configure.in (build_nscd): New substituted variable, set
24253 by --disable-build-nscd and defaults to $use_nscd.
24254 * configure: Regenerated.
24255 * config.make.in (build-nscd): New substituted variable.
24256 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24257 Change conditional to require [$(build-nscd) = yes] as well.
24258 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24259
3cc3ef96
RM
24260 [BZ# 13696]
24261 * configure.in (use_nscd): New substituted variable, set by
24262 --disable-nscd. If enabled, define USE_NSCD.
24263 * configure: Regenerated.
24264 * config.h.in: Add USE_NSCD.
24265 * config.make.in (use-nscd): New substituted variable.
24266 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24267 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24268 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24269 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24270 (CFLAGS-getgrnam_r.c): Likewise.
24271 (CFLAGS-initgroups.c): Likewise.
24272 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24273 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24274 Variables removed.
24275 * inet/getnetgrent_r.c
24276 (nscd_setnetgrent): New function, broken out of ...
24277 (setnetgrent): ... here. Call it.
24278 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24279 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24280 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24281 * nscd/Makefile (routines, aux): Move definitions after include of
24282 Makeconfig. Conditionalize on [$(use-nscd) != no].
24283 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24284 Conditionalize on [USE_NSCD].
24285 (is_nscd, nscd_init_cb): Likewise.
24286 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24287 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24288 * nss/nss_db/db-init.c: Likewise.
24289 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24290 [USE_NSCD].
24291 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24292 (make_request): Use it.
24293 (cache_valid_p): New function.
24294 (__check_pf): Use it.
24295 * NEWS: Add item for --disable-nscd.
24296
07e51550
DL
242972012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24298
24299 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24300 to support sed >= 4.2.1-20-ga9bf076.
24301 * configure: Regenerated.
24302
35a5b08b
RM
243032012-08-22 Roland McGrath <roland@hack.frob.com>
24304
24305 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24306 Conditionalize whole body on [IREL].
24307
8479f23a
JL
243082012-08-22 Jeff Law <law@redhat.com>
24309
24310 [BZ #14505]
24311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24312 if the family is PF_UNSPEC.
24313
48da0b21
MF
243142012-08-22 Mike Frysinger <vapier@gentoo.org>
24315
24316 * Makerules (lib-version): Rename from V.
24317 (install-lib-nosubdir): Change V to lib-version.
24318
15d0da8c
WS
243192012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24320
24321 [BZ #14252]
24322 * powerpc32/power6/wcschr.c: New file.
24323 * powerpc32/power6/wcscpy.c: New file.
24324 * powerpc32/power6/wcsrchr.c: New file.
24325 * powerpc64/power6/wcschr.c: New file.
24326 * powerpc64/power6/wcscpy.c: New file.
24327 * powerpc64/power6/wcsrchr.c: New file.
24328
bcca0895
MK
243292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24330
24331 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24332 (two_way_short_needle): Use it.
5a4aaa33
RM
24333 * string/strstr.c (AVAILABLE1_USES_J): Define.
24334 * string/strcasestr.c: Likewise.
99677e57
MK
24335
24336 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24337 array references.
24338 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24339
400726de
MK
24340 [BZ #11607]
24341 * NEWS: Add an entry.
24342 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24343 define their defaults.
24344 (two_way_short_needle): Detect end-of-string on-the-fly.
24345 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24346 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24347 * string/bug-strcasestr1.c: New test.
24348 * string/Makefile: Run it.
24349
20a71f2c
MK
243502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24351
24352 [BZ #11607]
24353 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24354 the first character.
24355
21ad0558
RM
243562012-08-21 Roland McGrath <roland@hack.frob.com>
24357
24358 * csu/elf-init.c (__libc_csu_irel): Function removed.
24359 * csu/libc-start.c (apply_irel): New function.
24360 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24361
0e1d9911
JM
243622012-08-21 Joseph Myers <joseph@codesourcery.com>
24363
24364 * sysdeps/unix/sysv/linux/kernel-features.h
24365 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24366 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24367 <kernel-features.h>.
24368 [__NR_fadvise64_64]: Make code unconditional.
24369 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24370 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24371 !__NR_fadvise64_64)]: Likewise.
24372 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24373 !__NR_fadvise64_64))]: Likewise.
24374 [__NR_fadvise64]: Make code unconditional.
24375 [!__NR_fadvise64]: Remove conditional code.
24376 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24377 <kernel-features.h>.
24378 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24379 unconditional.
24380 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24381 conditional code.
24382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24383 not include <kernel-features.h>.
24384 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24385 unconditional.
24386 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24387 conditional code.
24388 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24389 include <kernel-features.h>.
24390 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24391 unconditional.
24392 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24393 conditional code.
24394
14a50c9d
WS
243952012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24396
24397 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24398 slight instruction rearrangements per scrollpipe analysis.
24399 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24400
c0f4faf0
RM
244012012-08-20 Roland McGrath <roland@hack.frob.com>
24402
696da859
RM
24403 * manual/syslog.texi (syslog; vsyslog, closelog):
24404 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24405 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24406
c0f4faf0
RM
24407 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24408 DSOCAPS to match condition on defining it.
24409
348363b2
JM
244102012-08-20 Joseph Myers <joseph@codesourcery.com>
24411
a35cbf28
JM
24412 * sysdeps/unix/sysv/linux/kernel-features.h
24413 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24415 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24416 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24418 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24419 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24421 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24422 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24423
445f7ecd
JM
24424 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24425 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24426
348363b2
JM
24427 * sysdeps/unix/sysv/linux/kernel-features.h
24428 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24429 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24430 unconditional.
24431 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24432 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24433 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24434 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24435 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24436 Make code unconditional.
24437 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24438 (__mmap64) [!__NR_mmap2]: Likewise.
24439 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24440 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24441 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24442 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24443 [__NR_mmap2]: Make code unconditional.
24444 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24445 (__mmap64) [!__NR_mmap2]: Likewise.
24446
bc5bc0e5
AK
244472012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24448
24449 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24450
88d506de
AJ
244512012-08-18 Andreas Jaeger <aj@suse.de>
24452
24453 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24454
493387d2
MF
244552012-08-18 Mike Frysinger <vapier@gentoo.org>
24456
24457 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24458 * include/unistd.h (__have_sock_cloexec): Likewise.
24459 (__have_pipe2): Likewise.
24460 (__have_dup3): Likewise.
24461
a277af22
MF
244622012-08-18 Mike Frysinger <vapier@gentoo.org>
24463
24464 [BZ #9685]
24465 * include/unistd.h (__have_pipe2): Change define into an extern int.
24466 (__have_dup3): Likewise.
24467 * socket/have_sock_cloexec.c: Include fcntl.h.
24468 (__have_pipe2): New variable.
24469 (__have_dup3): Likewise.
24470
fdab8fd3
MF
244712012-08-17 Mike Frysinger <vapier@gentoo.org>
24472
24473 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24474
31035e80
MP
244752012-08-17 Marek Polacek <polacek@redhat.com>
24476
24477 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24478 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24479
3bd9e993
RM
244802012-08-17 Roland McGrath <roland@hack.frob.com>
24481
c91c505f
RM
24482 * configure.in: Add AC_SUBST for sysheaders.
24483 * configure: Regenerated.
24484 * config.make.in (sysheaders): New substituted variable.
24485
7c6f9d53
RM
24486 * sysdeps/unix/mkfifo.c: Moved ...
24487 * sysdeps/posix/mkfifo.c: ... here.
24488 * sysdeps/unix/mkfifoat.c: Moved ...
24489 * sysdeps/posix/mkfifoat.c: ... here.
24490
24491 * sysdeps/unix/utime.c: Moved ...
24492 * sysdeps/posix/utime.c: ... here.
24493
24494 * sysdeps/unix/time.c: Moved ...
24495 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24496 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24497 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24498
24499 * sysdeps/unix/nice.c: Moved ...
24500 * sysdeps/posix/nice.c: ... here.
24501
24502 * sysdeps/unix/alarm.c: Moved ...
24503 * sysdeps/posix/alarm.c: ... here.
24504
3bd9e993
RM
24505 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24506
d1f09384
JL
245072012-08-17 Jeff Law <law@redhat.com>
24508
24509 * intl/Makefile (codeset_mo): New variable.
24510 ($(codeset_mo)): New target.
24511 (tst-codeset.out): Depend on that. Remove explicit rule.
24512 (tst-gettext3.out, tst-gettext5.out): Likewise.
24513 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24514 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24515 * intl/tst-codeset.sh: Remove.
24516 * intl/tst-gettext3.sh: Likewise.
24517 * intl/tst-gettext5.sh: Likewise.
24518
2ae1ae5c
RM
245192012-08-17 Roland McGrath <roland@hack.frob.com>
24520
c31fdb83
RM
24521 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24522 * sysdeps/unix/syscalls.list: ... here.
24523
a0844057
RM
24524 * sysdeps/posix/getaddrinfo.c
24525 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24526 (gaiconf_init, gaiconf_reload): Use them.
24527 [!_STATBUF_ST_NSEC]
24528 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24529 Define using time_t rather than struct timespec.
24530
750c1f2a
RM
24531 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24532 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24533 Macros removed.
24534 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24535 [!NO_THREADS].
24536 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24537 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24538 Likewise.
24539
2ae1ae5c
RM
24540 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24541 __libc_cleanup_push argument.
24542
e66a42f5
RM
24543 * bits/param.h: New file.
24544 * misc/sys/param.h: New file.
24545 * include/sys/param.h: New file.
24546 * misc/Makefile (headers): Add bits/param.h.
24547 * sysdeps/generic/sys/param.h: File removed.
24548 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24549 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24550 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24551 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24552
b7c08a66
RM
24553 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24554 last change.
24555
b2e1c562
RM
24556 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24557 [_IO_MTSAFE_IO].
24558 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24559 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24560 New macros.
24561
c75ccd4c
RM
24562 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24563 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24564 rather than -D_IO_MTSAFE_IO conditionally.
24565 * stdio-common/Makefile (CPPFLAGS): Likewise.
24566 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24567 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24568 Use $(libio-mtsafe).
24569 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24570 of -D_IO_MTSAFE_IO.
24571 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24572 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24573 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24574 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24575 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24576 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24577 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24578 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24579 (CFLAGS-fread_u_chk.c): Likewise.
24580 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24581 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24582 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24583 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24584 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24585 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24586 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24587 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24588 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24589
24590 * libio/Makefile: Test [$(libc-reentrant) = yes]
24591 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24592
24593 * Makeconfig
24594 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24595 * sysdeps/pthread/configure: File removed.
24596 * sysdeps/pthread/Makeconfig: New file.
24597 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24598 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24599
d9195db8
GB
246002012-08-16 Gary Benson <gbenson@redhat.com>
24601
24602 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24603 unmapping the first object in a namespace.
24604
86466cd9
RM
246052012-08-16 Roland McGrath <roland@hack.frob.com>
24606
24607 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24608 (__internal_setnetgrent): ... this. Add internal_function to
24609 definition. Add libc_hidden_def.
24610 (setnetgrent): Update caller.
24611 (internal_endnetgrent): Renamed to ...
24612 (__internal_endnetgrent): ... this. Add internal_function to
24613 definition. Add libc_hidden_def.
24614 (endnetgrent): Update caller.
24615 (internal_getnetgrent_r): Renamed to ...
24616 (__internal_getnetgrent_r): ... this. Add internal_function to
24617 definition. Add libc_hidden_def.
24618 (__getnetgrent_r): Update caller.
24619 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24620
c3c8283c
JM
246212012-08-16 Joseph Myers <joseph@codesourcery.com>
24622
24623 * stdlib/longlong.h: Update from GCC.
24624
db1ee0a8
RM
246252012-08-16 Roland McGrath <roland@hack.frob.com>
24626
24627 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24628 on _QL, which is set by umul_ppmm but never used.
24629 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24630 variables, which are set by GMP macros but never used.
24631 * stdio-common/_itowa.c (_itowa): Likewise.
24632 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24633 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24634
30f69637
CD
246352012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24636
24637 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24638 struct La_sh_regs is not constant.
24639 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24640 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24641 and struct La_sparc64_regs are not constant.
24642
93a78ac4
JM
246432012-08-16 Joseph Myers <joseph@codesourcery.com>
24644
24645 * sysdeps/unix/sysv/linux/kernel-features.h
24646 (__ASSUME_POSIX_TIMERS): Remove.
24647 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24648 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24649 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24650 Make code unconditional.
24651 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24652 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24653 Make code unconditional.
24654 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24655 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24656 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24657 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24658 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24659 Make code unconditional.
24660 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24661 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24662 (__libc_missing_posix_timers): Remove.
24663
dd924cd7
RM
246642012-08-15 Roland McGrath <roland@hack.frob.com>
24665
4b4f2771
RM
24666 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24667 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24668
601c888b
RM
24669 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24670
176790a7
RM
24671 * elf/dl-sym.c: Include <stdlib.h>.
24672
329bc018
RM
24673 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24674 constants, which avoids warnings in 32-bit builds.
24675
e04e272d
RM
24676 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24677 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24678
952bf94a
RM
24679 * misc/lseek.c: File moved to ...
24680 * io/lseek.c: ... here.
24681
7c99b50a
RM
24682 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24683
dd924cd7
RM
24684 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24685 shifting LEN more than 31 bits at once.
24686
b3f479a8
LD
246872012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24688
24689 [BZ #14195]
8c4ae0d4
RM
24690 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24691 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24692 * string/test-strncasecmp.c (check1): Renamed to...
24693 (bz12205): ...this.
24694 (bz14195): Add new testcase for two empty input strings and N > 0.
24695 (test_main): Call new testcase, adapt for renamed function.
24696
9c55864e
AJ
246972012-08-15 Andreas Jaeger <aj@suse.de>
24698
24699 [BZ #14090]
24700 * crypt/md5test2.c: New test, based on test supplied by Serge
24701 Belyshev <belyshev@depni.sinp.msu.ru>.
24702 * crypt/Makefile (xtests): Add md5test-giant..
24703 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24704
02dcb6c5
PE
247052012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24706
24707 [BZ #14090]
24708 * crypt/md5.c (md5_process_block): Don't assume the buffer
24709 length is less than 2**32.
24710 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24711 length is less than 2**64.
24712
a3f95dcc
RM
247132012-08-15 Roland McGrath <roland@hack.frob.com>
24714
be75d758
RM
24715 * string/str-two-way.h: Include <sys/param.h>.
24716 (MAX): Macro removed.
24717
7312ca90
RM
24718 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24719 Move #define and #undef of memmove to just before and after
24720 including <string.h>.
24721
9a0a5486
RM
24722 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24723 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24724 and after including <string.h>. Move declarations of
24725 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24726 to before #include "string/memmove.c".
24727
67cc348d
RM
24728 * include/dirent.h: Declare __getdirentries.
24729
a3f95dcc
RM
24730 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24731 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24732
ca98e171
MF
247332012-08-14 Mike Frysinger <vapier@gentoo.org>
24734
24735 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24736 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24737 * sysdeps/i386/configure: Regenerated.
24738 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24739 STABS_CURRENT_FILE, and STABS_FUN.
24740 (END): Remove call to STABS_FUN_END.
24741 (STABS_CURRENT_FILE1): Delete.
24742 (STABS_CURRENT_FILE): Likewise.
24743 (STABS_FUN): Likewise.
24744 (STABS_FUN_END): Likewise.
24745 (STABS_FUN2): Likewise.
24746 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24747 * sysdeps/x86_64/configure: Regenerated.
24748
5908bf46
RM
247492012-08-14 Roland McGrath <roland@hack.frob.com>
24750
24751 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24752 * elf/dl-lookup.c: Likewise.
5908bf46 24753
f2c05b9e
JM
247542012-08-14 Joseph Myers <joseph@codesourcery.com>
24755
24756 * sysdeps/unix/sysv/linux/kernel-features.h
24757 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24758 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24759 unconditionally.
24760 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24761 unconditionally.
24762 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24763 condition on __ASSUME_CLONE_THREAD_FLAGS.
24764
e11f5155
AJ
247652012-08-14 Andreas Jaeger <aj@suse.de>
24766
24767 * sysdeps/i386/fpu/libm-test-ulps: Update.
24768
51a9ba86
MK
247692012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24770
2fdd4f78
AJ
24771 * include/atomic.h (atomic_exchange_and_add): Split into ...
24772 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24773 New atomic macros.
51a9ba86 24774
ba6cba9e
MT
247752012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24776
24777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24778
42443a47
JL
247792012-08-13 Jeff Law <law@redhat.com>
24780
24781 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24782 null byte in the output string.
24783
121dce05
JM
247842012-08-10 Joseph Myers <joseph@codesourcery.com>
24785
24786 * sysdeps/unix/sysv/linux/kernel-features.h
24787 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24788 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24789 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24790 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24791 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24792 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24793 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24794
bf51f568
JL
247952012-08-09 Jeff Law <law@redhat.com>
24796
24797 [BZ #13939]
24798 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24799 When avoid_arena is set, don't retry in the that arena. Pick the
24800 next one, whatever it might be.
24801 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24802 (arena_lock): Pass in new parameter to arena_get2.
24803 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24804 arena_get2.
24805 (__libc_malloc): Unify retrying after main arena failure with
24806 __libc_memalign version.
24807 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24808
f85fa270
L
248092012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24810
24811 [BZ #14166]
24812 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24813 to __redirect_strstr.
24814 (__strstr_sse42): Use typeof __redirect_strstr.
24815 (__strstr_ia32): Likewise.
24816 (__libc_strstr): New prototype.
24817 (strstr): Renamed to ...
24818 (__libc_strstr): This.
24819 (strstr): New strong alias of __libc_strstr.
24820 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24821 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24822 __redirect_time.
24823 Include <time.h>.
24824 (__libc_time): New prototype.
24825 (time_ifunc): Replace time with __libc_time.
24826 (time): New strong alias and hidden definition of __libc_time.
24827 (__GI_time): Remove strong alias.
24828 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24829 Include <stddef.h>.
24830 (memmove): Redefined to __redirect_memmove.
24831 (__memmove_sse2): Use typeof __redirect_memmove.
24832 (__memmove_ssse3): Likewise.
24833 (__memmove_ssse3_back): Likewise.
24834 (__libc_memmove): New prototype.
24835 (memmove): Renamed to ...
24836 (__libc_memmove): This.
24837 (memmove): New strong alias of __libc_memmove.
24838
33b4a91e
MS
248392012-08-08 Mark Salter <msalter@redhat.com>
24840
24841 * elf/elf.h
24842 (R_MN10300_TLS_GD): Define.
24843 (R_MN10300_TLS_LD): Likewise.
24844 (R_MN10300_TLS_LDO): Likewise.
24845 (R_MN10300_TLS_GOTIE): Likewise.
24846 (R_MN10300_TLS_IE): Likewise.
24847 (R_MN10300_TLS_LE): Likewise.
24848 (R_MN10300_TLS_DTPMOD): Likewise.
24849 (R_MN10300_TLS_DTPOFF): Likewise.
24850 (R_MN10300_TLS_TPOFF): Likewise.
24851 (R_MN10300_SYM_DIFF): Likewise.
24852 (R_MN10300_ALIGN): Likewise.
24853 (R_MN10300_NUM): Update.
24854
b36137f1
JM
248552012-08-08 Joseph Myers <joseph@codesourcery.com>
24856
24857 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24858 Remove.
24859
cdd915fd
RM
248602012-08-08 Roland McGrath <roland@hack.frob.com>
24861
a2433aac
RM
24862 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24863
cdd915fd
RM
24864 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24865 sysdeps/unix -> sysdeps/posix move.
24866 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24867
bf9b740a
AM
248682012-08-07 Allan McRae <allan@archlinux.org>
24869
24870 [BZ #14303]
24871 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24872 (SUNOS_CPP): Likewise.
24873 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24874 not found.
24875 (open_input): Call CPP using execvp.
24876
93df14ee
JM
248772012-08-07 Joseph Myers <joseph@codesourcery.com>
24878
24879 * sysdeps/unix/sysv/linux/kernel-features.h
24880 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24881 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24882 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24883 (__ASSUME_WAITID_SYSCALL): Likewise.
24884 * sysdeps/unix/sysv/linux/dl-execstack.c
24885 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24886 code unconditional.
24887 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24888 conditional code.
24889 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24890 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24891 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24892 code.
24893 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24894 unconditional.
24895 [__ASSUME_WAITID_SYSCALL]: Likewise.
24896 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24897
d34689de
RM
248982012-08-07 Roland McGrath <roland@hack.frob.com>
24899
a281decc
RM
24900 * sysdeps/unix/closedir.c: Renamed to ...
24901 * sysdeps/posix/closedir.c: ... here.
24902 * sysdeps/unix/dirfd.c: Renamed to ...
24903 * sysdeps/posix/dirfd.c: ... here.
24904 * sysdeps/unix/dirstream.h: Renamed to ...
24905 * sysdeps/posix/dirstream.h: ... here.
24906 * sysdeps/unix/fdopendir.c: Renamed to ...
24907 * sysdeps/posix/fdopendir.c: ... here.
24908 * sysdeps/unix/opendir.c: Renamed to ...
24909 * sysdeps/posix/opendir.c: ... here.
24910 * sysdeps/unix/readdir.c: Renamed to ...
24911 * sysdeps/posix/readdir.c: ... here.
24912 * sysdeps/unix/readdir_r.c: Renamed to ...
24913 * sysdeps/posix/readdir_r.c: ... here.
24914 * sysdeps/unix/rewinddir.c: Renamed to ...
24915 * sysdeps/posix/rewinddir.c: ... here.
24916 * sysdeps/unix/seekdir.c: Renamed to ...
24917 * sysdeps/posix/seekdir.c: ... here.
24918 * sysdeps/unix/telldir.c: Renamed to ...
24919 * sysdeps/posix/telldir.c: ... here.
24920 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24921 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24922 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24923 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24924
22895b47
RM
24925 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24926 * bits/fcntl.h: ... here.
24927
707a53b6
RM
24928 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24929 not 0.
24930 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24931 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24932 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24933 (struct flock): Move l_start, l_len to the beginning.
24934 Use __pid_t for l_pid.
24935 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24936 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24937 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24938 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24939 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24940 [__USE_LARGEFILE64] (struct flock64): New type.
24941 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24942
f0bd3e25
RM
24943 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24944 * bits/dirent.h: ... here.
24945
d34689de
RM
24946 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24947 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24948
6dad2c06
JM
249492012-08-07 Joseph Myers <joseph@codesourcery.com>
24950
24951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24952 Change from 2.6.0 to 2.6.16.
24953 * sysdeps/unix/sysv/linux/configure: Regenerated.
24954 * sysdeps/unix/sysv/linux/kernel-features.h
24955 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24956 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24957 version.
24958 (__ASSUME_UTIMES): Likewise.
24959 (__ASSUME_CLONE_STOPPED): Remove.
24960 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24961 architectures, not kernel version.
24962 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24963 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24964 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24965 (__ASSUME_WAITID_SYSCALL): Likewise.
24966 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24967 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24968 * README: State 2.6.16 as minimum Linux kernel version. Do not
24969 refer to older versions.
24970
03af9520
RM
249712012-08-06 Roland McGrath <roland@hack.frob.com>
24972
8e49df1d
RM
24973 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24974 Define alphasort64 as an alias.
24975 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24976 Define versionsort64 as an alias.
24977 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24978 Define scandir64 as an alias.
24979 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24980 Define scandirat64 as an alias.
24981 * dirent/alphasort64.c (alphasort64):
24982 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24983 * dirent/versionsort64.c: Likewise.
24984 * dirent/scandir64.c: Likewise.
24985 * dirent/scandirat64.c: Likewise.
24986 * sysdeps/wordsize-64/alphasort.c: File removed.
24987 * sysdeps/wordsize-64/alphasort64.c: File removed.
24988 * sysdeps/wordsize-64/scandir.c: File removed.
24989 * sysdeps/wordsize-64/scandir64.c: File removed.
24990 * sysdeps/wordsize-64/scandirat.c: File removed.
24991 * sysdeps/wordsize-64/scandirat64.c: File removed.
24992 * sysdeps/wordsize-64/versionsort.c: File removed.
24993 * sysdeps/wordsize-64/versionsort64.c: File removed.
24994 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24995 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24996 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24997 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24998 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24999 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25000 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25001 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25002
25003 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25005 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25007 [defined __arch64__ || defined __sparcv9]
25008 (__INO_T_MATCHES_INO64_T): New macro.
25009 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25010 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25011 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25012 * sysdeps/unix/sysv/linux/bits/dirent.h
25013 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25014 (_DIRENT_MATCHES_DIRENT64): New macro.
25015
03af9520
RM
25016 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25017 Define lockf64 as an alias.
25018 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25019 Define fseeko64 as an alias.
25020 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25021 Define ftello64 as an alias.
25022 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25023 Define _IO_fgetpos64 and fgetpos64 as aliases.
25024 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25025 Define _IO_fsetpos64 and fsetpos64 as aliases.
25026 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25027 Conditionalize body on this.
25028 * libio/fseeko64.c: Likewise.
25029 * libio/ftello64.c: Likewise.
25030 * libio/iofgetpos64.c: Likewise.
25031 * libio/iofsetpos64.c: Likewise.
25032 * sysdeps/wordsize-64/lockf.c: File removed.
25033 * sysdeps/wordsize-64/lockf64.c: File removed.
25034 * sysdeps/wordsize-64/fseeko.c: File removed.
25035 * sysdeps/wordsize-64/fseeko64.c: File removed.
25036 * sysdeps/wordsize-64/ftello.c: File removed.
25037 * sysdeps/wordsize-64/ftello64.c: File removed.
25038 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25039 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25040 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25041 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25043 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25044 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25045 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25046 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25047 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25049 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25050 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25051 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25052
25053 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25054 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25055 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25056 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25057 [defined __arch64__ || defined __sparcv9]
25058 (__OFF_T_MATCHES_OFF64_T): New macro.
25059 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25060 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25062 (__OFF_T_MATCHES_OFF64_T): New macro.
25063
c5757acd
L
250642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25065
25066 * stdlib/secure-getenv.c (__secure_getenv): Replace
25067 GLIBC_2_16 with GLIBC_2_17.
25068
3a31811e
L
250692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25070
25071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25072 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25073
faa2bccb
DM
250742012-08-03 David S. Miller <davem@davemloft.net>
25075
25076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25077
85fe1997
JM
250782012-08-03 Joseph Myers <joseph@codesourcery.com>
25079
25080 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25081 Remove.
25082 (__ASSUME_CORRECT_SI_PID): Likewise.
25083 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25084 (__ASSUME_TMPFS_NAME): Likewise.
25085 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25086 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25087 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25088 (HAVE_AUX_SECURE): Make definition unconditional.
25089 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25090 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25091
4f75b7a0
RM
250922012-08-03 Roland McGrath <roland@hack.frob.com>
25093
25094 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25095 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25096 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25097 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25098 __eloop_threshold instead of SYMLOOP_MAX.
25099
25100 * sysdeps/generic/eloop-threshold.h: New file.
25101 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25102 of MAXSYMLINKS.
25103 * elf/chroot_canon.c (chroot_canon): Likewise.
25104
7aab07e4
JM
251052012-08-03 Joseph Myers <joseph@codesourcery.com>
25106
25107 [BZ #13717]
25108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25109 Change to 2.6.0 everywhere.
25110 * sysdeps/unix/sysv/linux/configure: Regenerated.
25111 * sysdeps/unix/sysv/linux/kernel-features.h
25112 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25113 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25114 kernel versions.
25115 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25116 (__ASSUME_FUTEX_REQUEUE): Remove.
25117 (__ASSUME_STATFS64): Define unconditionally.
25118 (__ASSUME_AT_SECURE): Likewise.
25119 (__ASSUME_CORRECT_SI_PID): Likewise.
25120 (__ASSUME_TGKILL): Define without depending on kernel version for
25121 i386.
25122 (__ASSUME_UTIMES): Likewise.
25123 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25124 kernel version.
25125 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25126 (__ASSUME_TMPFS_NAME): Likewise.
25127 * README: Update reference to Linux kernel versions.
25128
b67e9372
MP
251292012-08-02 Marek Polacek <polacek@redhat.com>
25130
1f529f7d 25131 [BZ# 14150]
b67e9372
MP
25132 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25133 libc_cv_asm_type_prefix with %.
25134 * configure: Regenerated.
d2441631
RM
25135 * include/libc-symbols.h: Remove comment about
25136 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25137 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25138 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25139 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25140 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25141 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25142 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25143 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25144 * elf/tst-unique2mod1.c: Likewise.
25145 * elf/tst-unique1mod2.c: Likewise.
25146 * elf/tst-unique1mod1.c: Likewise.
25147 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25148 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25149 Replace ASM_TYPE_DIRECTIVE with .type.
25150 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25151 * sysdeps/i386/sysdep.h: Likewise.
25152 * sysdeps/x86_64/sysdep.h: Likewise.
25153 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25155 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25156 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25157 * sysdeps/powerpc/powerpc32/sysdep.h:
25158 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25159 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25160 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25161 * sysdeps/i386/fpu/e_powf.S: Likewise.
25162 * sysdeps/i386/fpu/e_expl.S: Likewise.
25163 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25164 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25165 * sysdeps/i386/fpu/e_pow.S: Likewise.
25166 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25168 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25169 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25170 * sysdeps/i386/fpu/e_log2.S: Likewise.
25171 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25172 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25173 * sysdeps/i386/fpu/e_powl.S: Likewise.
25174 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25175 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25176 * sysdeps/i386/fpu/e_logl.S: Likewise.
25177 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25178 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25179 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25180 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25181 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25182 * sysdeps/i386/fpu/e_log.S: Likewise.
25183 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25184 * sysdeps/i386/fpu/e_logf.S: Likewise.
25185 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25186 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25187 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25188 * sysdeps/i386/fpu/e_log10.S: Likewise.
25189 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25190 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25191 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25192 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25193 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25194 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25195 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25196 * sysdeps/i386/i686/strtok.S: Likewise.
25197 * sysdeps/i386/i386-mcount.S: Likewise.
25198 * sysdeps/i386/strtok.S: Likewise.
25199 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25200 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25201 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25202 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25203 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25204 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25205 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25206 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25207 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25208 * sysdeps/x86_64/_mcount.S: Likewise.
25209 * sysdeps/x86_64/strtok.S: Likewise.
25210 * sysdeps/sh/_mcount.S: Likewise.
25211
2747bf9a
RM
252122012-08-01 Roland McGrath <roland@hack.frob.com>
25213
25214 * libio/iofopen.c: Include <fcntl.h>.
25215 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25216 (_IO_fopen64, fopen64): Define as aliases.
25217 * libio/iofopen64.c: Include <fcntl.h>.
25218 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25219 Conditionalize body on this.
25220 * sysdeps/wordsize-64/iofopen.c: File removed.
25221 * sysdeps/wordsize-64/iofopen64.c: File removed.
25222
3fb791b8
MP
252232012-08-01 Marek Polacek <polacek@redhat.com>
25224
25225 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25226 Use dlfcn directly instead of a variable.
25227 (binfmt-subdir): Do not define.
25228 (dlfcn): Likewise.
25229
a9f1039f
JM
252302012-08-01 Joseph Myers <joseph@codesourcery.com>
25231
23bddc06
JM
25232 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25233 Remove all definitions.
25234 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25235 <kernel-features.h>.
25236 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25237 (miss_F_GETOWN_EX): Remove all definitions.
25238 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25239 macro definition.
25240 [!__ASSUME_FCNTL64]: Remove conditional code.
25241 [__ASSUME_FCNTL64]: Make code unconditional.
25242 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25243 <kernel-features.h>.
25244 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25245 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25246 (lockf64) [__NR_fcntl64]: Make code unconditional.
25247 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25248
a9f1039f
JM
25249 * sysdeps/unix/sysv/linux/kernel-features.h
25250 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25251 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25252 Make code unconditional.
25253 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25254 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25256 [__NR_vfork]: Make code unconditional.
25257 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25258 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25260 [__NR_vfork]: Make code unconditional.
25261 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25262 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25263
09c0ee5f
RM
252642012-08-01 Roland McGrath <roland@hack.frob.com>
25265
48aec5b9
RM
25266 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25267 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25268
cd97c966
RM
25269 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25270 Define mkstemp64 as an alias.
3f55550c
RM
25271 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25272 Define mkstemps64 as an alias.
cd97c966
RM
25273 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25274 Define mkostemp64 as an alias.
b8625cfc
RM
25275 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25276 Define mkostemps64 as an alias.
cd97c966
RM
25277 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25278 Conditionalize body on this.
25279 * misc/mkostemp64.c: Likewise.
b8625cfc 25280 * misc/mkostemps64.c: Likewise.
3f55550c 25281 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25282 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25283 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25284 * sysdeps/wordsize-64/mkostemp.c: File removed.
25285 * sysdeps/wordsize-64/mkstemp.c: File removed.
25286 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25287 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25288 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25289 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25290
09c0ee5f
RM
25291 [BZ #14138]
25292 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25293 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25294 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25295 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25296
25297 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25298 compat_symbol macros from <shlib-compat.h> rather than the underlying
25299 default_symbol_version and symbol_version macros, so that DEFAULT
25300 lines in shlib-versions are respected.
25301 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25302
7e66ee51
FW
253032012-08-01 Florian Weimer <fweimer@redhat.com>
25304
25305 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25306 Declare with warn_unused_result.
25307 (setgid, setregid, setegid, setresgid): Likewise.
25308 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25309 Likewise.
25310 * WUR-REPORT: Remove set*id functions.
25311
d2a54255
PT
253122012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25313
25314 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25315
7ecdb005
RM
253162012-07-31 Roland McGrath <roland@hack.frob.com>
25317
b4180a5e 25318 [BZ #10191]
789bd351
RM
25319 * include/sys/socket.h (__libc_accept, __libc_accept4):
25320 Add attribute_hidden.
25321 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25322
40ce302d
RM
25323 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25324 use of PTR_MANGLE.
25325 * inet/getnetgrent_r.c (setup): Likewise.
25326
7ecdb005
RM
25327 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25328
e2eabb2c
DM
253292012-07-31 David S. Miller <davem@davemloft.net>
25330
25331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25332
d0419dbf
JM
253332012-07-31 Joseph Myers <joseph@codesourcery.com>
25334
25335 [BZ #13629]
25336 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25337 value between 1.0 and 2.0 and smaller part has absolute value less
25338 than 1.0.
25339 * math/s_clog10.c (__clog10): Likewise.
25340 * math/s_clog10f.c (__clog10f): Likewise.
25341 * math/s_clog10l.c (__clog10l): Likewise.
25342 * math/s_clogf.c (__clogf): Likewise.
25343 * math/s_clogl.c (__clogl): Likewise.
25344 * math/libm-test.inc (clog_test): Add more tests.
25345 (clog10_test): Likewise.
25346 * sysdeps/i386/fpu/libm-test-ulps: Update.
25347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25348
2bc13872
FW
253492012-07-31 Florian Weimer <fweimer@redhat.com>
25350
25351 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25352 Exit with zero in case no suitable GID is found, and write a
25353 message to standard error.
25354
bea9b193
RM
253552012-07-30 Roland McGrath <roland@hack.frob.com>
25356
25357 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25358 rather than to 1.
25359 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25360 (MAXPATHLEN): Removed.
25361 (NOGROUP, NODEV): New macros.
25362 (setbit, clrbit, isset, isclr): New macros.
25363 (howmany, roundup, powerof2): New macros.
25364 (DEV_BSIZE): New macro.
25365
25366 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25367 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25368
25369 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25370 definition on [!__NO_LONG_DOUBLE_MATH].
25371
25372 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25373 PTR_MANGLE and PTR_DEMANGLE.
25374
25375 * socket/accept4.c (accept4): Rename to __libc_accept4.
25376 Define accept4 as a weak alias.
25377
25378 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25379 on [_DIRENT_HAVE_D_TYPE].
25380 * io/ftw.c (ftw_dir): Likewise.
25381
25382 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25383
25384 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25385
25386 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25387 Use the BSD numbers rather than the arbitrary ones we had.
25388 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25389 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25390 (SIGXCPU, SIGXFSZ): New macros.
25391 (_NSIG): Now 32.
25392
25393 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25394 initializer on [_LIBC_REENTRANT].
25395
25396 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25397 definitions inside [_POSIX_MAPPED_FILES].
25398
25399 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25400
25401 * dirent/opendir.c: Include <fcntl.h>.
25402
25403 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25404 (__libc_getspecific): Likewise.
25405 (__libc_key_create): Likewise.
25406
25407 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25408 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25409 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25410 (tmpfile64): Define as alias.
25411 * sysdeps/wordsize-64/tmpfile.c: File removed.
25412 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25414 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25415
25416 * stdio-common/vfscanf.c: Include <stdbool.h>.
25417 * nss/makedb.c: Likewise.
25418 * stdio-common/_i18n_number.h: Likewise.
25419 * argp/argp-help.c: Likewise.
25420 * posix/wordexp.c: Likewise.
25421 * sysdeps/posix/spawni.c: Likewise.
25422 * nss/nss_files/files-initgroups.c: Likewise.
25423 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25424 * nss/nss_files/files-initgroups.c: Likewise.
25425 * nss/nss_db/db-netgrp.c: Likewise.
25426 * nss/nss_db/db-initgroups.c: Likewise.
25427 * io/fchmodat.c: Include <sys/stat.h>.
25428
25429 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25430 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25431
25432 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25433 [HAVE_MMAP].
25434
25435 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25436 Add multiple inclusion protection.
25437
e5abc686
DM
254382012-07-27 David S. Miller <davem@davemloft.net>
25439
25440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25441
815e6fa3
GB
254422012-07-27 Gary Benson <gbenson@redhat.com>
25443
25444 [BZ #14298]
25445 * elf/rtld.c: Include <stap-probe.h>.
25446 (dl_main): Added static probes "init_start" and "init_complete".
25447 * elf/dl-load.c: Include <stap-probe.h>.
25448 (lose): Take new parameter "nsid".
25449 Added static probe "map_failed".
25450 (_dl_map_object_from_fd): Pass namespace id to lose.
25451 Added static probe "map_start".
25452 (open_verify): Pass namespace id to lose.
25453 * elf/dl-open.c: Include <stap-probe.h>.
25454 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25455 and "reloc_complete".
25456 * elf/dl-close.c: Include <stap-probe.h>.
25457 (_dl_close_worker): Added static probes "unmap_start" and
25458 "unmap_complete".
25459 * elf/rtld-debugger-interface.txt: New file documenting the above.
25460
9f98c16c
RM
254612012-07-26 Roland McGrath <roland@hack.frob.com>
25462
25463 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25464 rather than a string variable.
25465 * sunrpc/rpc_main.c (h_output): Likewise.
25466 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25467
f3c22df3
PT
254682012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25469
25470 * inet/check_native.c: New file.
25471
3129cfc6
JM
254722012-07-26 Joseph Myers <joseph@codesourcery.com>
25473
da865e95
JM
25474 [BZ #13629]
25475 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25476 if larger part has absolute value 1.0.
25477 * math/s_clog10.c (__clog10): Likewise.
25478 * math/s_clog10f.c (__clog10f): Likewise.
25479 * math/s_clog10l.c (__clog10l): Likewise.
25480 * math/s_clogf.c (__clogf): Likewise.
25481 * math/s_clogl.c (__clogl): Likewise.
25482 * math/libm-test.inc (clog_test): Add more tests.
25483 (clog10_test): Likewise.
25484 * sysdeps/i386/fpu/libm-test-ulps: Update.
25485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25486
3129cfc6
JM
25487 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25488 (pltexit): Likewise.
25489 (La_regs): Likewise.
25490 (La_retval): Likewise.
25491 (int_retval): Likewise.
25492 Update #error for removed macros to refer only to definitions in
25493 tst-audit.h.
25494 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25495 macro.
25496 (pltexit): Likewise.
25497 (La_regs): Likewise.
25498 (La_retval): Likewise.
25499 (int_retval): Likewise.
25500 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25501 macro.
25502 (pltexit): Likewise.
25503 (La_regs): Likewise.
25504 (La_retval): Likewise.
25505 (int_retval): Likewise.
25506 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25507 macro.
25508 (pltexit): Likewise.
25509 (La_regs): Likewise.
25510 (La_retval): Likewise.
25511 (int_retval): Likewise.
25512 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25513 macro.
25514 (pltexit): Likewise.
25515 (La_regs): Likewise.
25516 (La_retval): Likewise.
25517 (int_retval): Likewise.
25518 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25519 macro.
25520 (pltexit): Likewise.
25521 (La_regs): Likewise.
25522 (La_retval): Likewise.
25523 (int_retval): Likewise.
25524 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25525 macro.
25526 (pltexit): Likewise.
25527 (La_regs): Likewise.
25528 (La_retval): Likewise.
25529 (int_retval): Likewise.
25530 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25531 macro definitions in tst-audit.h.
25532 * sysdeps/i386/tst-audit.h: New file.
25533 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25534 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25535 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25536 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25537 * sysdeps/sh/tst-audit.h: Likewise.
25538 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25539 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25540 * sysdeps/x86_64/tst-audit.h: Likewise.
25541
bfc07087
AJ
255422012-07-26 Andreas Jaeger <aj@suse.de>
25543
b1b2aaf8
AJ
25544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25545 ptrace.
25546
25547 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25548 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25549 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25550 PTRACE_O_MASK.
25551 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25552 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25553 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25554
bfc07087
AJ
25555 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25556 value.
25557
25558 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25559 _sigsys.
25560 (si_call_addr, si_syscall, si_arch): Define new macro.
25561 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25562 _sigsys.
25563 (si_call_addr, si_syscall, si_arch): Define new marcro.
25564 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25565 _sigsys.
25566 (si_call_addr, si_syscall, si_arch): Define new macro.
25567 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25568 _sigsys.
25569 (si_call_addr, si_syscall, si_arch): Define new macro.
25570
89b4b02f
JM
255712012-07-25 Joseph Myers <joseph@codesourcery.com>
25572
25573 [BZ #13717]
25574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25575 Change to 2.4.21 where previously 2.4.1.
25576 * sysdeps/unix/sysv/linux/configure: Regenerated.
25577 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25578 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25579 Linux kernel version.
25580 (__ASSUME_STD_AUXV): Remove.
25581 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25582 kernel version.
25583 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25584 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25585 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25586 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25587 (__ASSUME_NETLINK_SUPPORT): Likewise.
25588 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25589 (__no_netlink_support): Remove conditional definition.
25590 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25591 Remove.
25592 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25593 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25594 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25595 (if_nameindex_ioctl): Remove.
25596 (if_nameindex_netlink): Do not handle __no_netlink_support.
25597 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25598 code.
25599 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25600 Remove conditional code.
25601 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25602 code.
25603 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25604 unconditional.
25605 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25606 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25607 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25608 Remove.
25609 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25610 [!__ASSUME_STD_AUXV]: Remove conditional code.
25611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25612 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25613 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25615 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25616 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25617 code.
25618 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25620 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25621 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25622 conditional code.
25623 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25625 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25626 code.
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25628 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25629 conditional code.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25631 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25632 code unconditional.
25633 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25634 conditional code.
25635 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25636 unconditional.
25637 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25638 conditional code.
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25640 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25641 unconditional.
25642 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25643 conditional code.
25644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25645 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25646 code unconditional.
25647 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25648 conditional code.
25649 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25650 unconditional.
25651 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25652 conditional code.
25653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25654 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25655 code unconditional.
25656 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25657 conditional code.
25658 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25659 unconditional.
25660 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25661 conditional code.
25662
842a39cd
AS
256632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25664
25665 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25666 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25667 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25668 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25669 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25670 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25671 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25672 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25673 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25674 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25675 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25676 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25677 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25678 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25679 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25680 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25681 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25682 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25683 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25685 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25686 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25687 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25688
84b3fd84
FW
256892012-07-25 Florian Weimer <fweimer@redhat.com>
25690
25691 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25692 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25693 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25694 Introduce __libc_secure_getenv.
0c7936d5
FW
25695 * stdlib/Versions (2.17): Add secure_getenv
25696 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25697 * stdlib/secure-getenv.c: Rename __secure_getenv to
25698 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25699 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25700 * stdlib/tst-secure-getenv.c: New.
25701 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25702 * manual/startup.texi (Environment Access): Document
25703 secure_getenv.
84b3fd84
FW
25704 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25705 __libc_secure_getenv.
25706 * inet/ruserpass.c (ruserpass): Likewise.
25707 * malloc/mtrace.c (mtrace): Likewise.
25708 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25709 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25710 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25711 * sysdeps/posix/tempname.c: Likewise. Evaluate
25712 HAVE_SECURE_GETENV.
25713 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25714 __secure_getenv to __libc_secure_getenv.
84b3fd84 25715 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25717 Likewise.
25718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25719 Likewise.
25720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25727
56e49b71
JM
257282012-07-25 Joseph Myers <joseph@codesourcery.com>
25729
25730 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25731 (struct La_i86_retval): Likewise.
25732 (struct La_x86_64_regs): Likewise.
25733 (struct La_x86_64_retval): Likewise.
25734 (struct La_x32_regs): Likewise.
25735 (struct La_x32_retval): Likewise.
25736 (struct La_ppc32_regs): Likewise.
25737 (struct La_ppc32_retval): Likewise.
25738 (struct La_ppc64_regs): Likewise.
25739 (struct La_ppc64_retval): Likewise.
25740 (struct La_sh_regs): Likewise.
25741 (struct La_sh_retval): Likewise.
25742 (struct La_s390_32_regs): Likewise.
25743 (struct La_s390_32_retval): Likewise.
25744 (struct La_s390_64_regs): Likewise.
25745 (struct La_s390_64_retval): Likewise.
25746 (struct La_sparc32_regs): Likewise.
25747 (struct La_sparc32_retval): Likewise.
25748 (struct La_sparc64_regs): Likewise.
25749 (struct La_sparc64_retval): Likewise.
25750 (struct audit_ifaces): Remove architecture-specific pltenter and
25751 pltexit members.
25752 * sysdeps/i386/ldsodefs.h: New file.
25753 * sysdeps/powerpc/ldsodefs.h: Likewise.
25754 * sysdeps/s390/ldsodefs.h: Likewise.
25755 * sysdeps/sh/ldsodefs.h: Likewise.
25756 * sysdeps/sparc/ldsodefs.h: Likewise.
25757 * sysdeps/x86_64/ldsodefs.h: Likewise.
25758
354691b7
MP
257592012-07-25 Marek Polacek <polacek@redhat.com>
25760
25761 [BZ #6808]
25762 * math/libm-test.inc (yn_test): Add another test.
25763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25764 to ERANGE when the result is +-Inf.
25765 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25766 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25767 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25768 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25769
bf9e2071
JM
257702012-07-24 Joseph Myers <joseph@codesourcery.com>
25771
25772 * conform/data/time.h-data (NULL): Use macro-constant. Require
25773 equal to 0.
25774 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25775 clock_t.
25776 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25777
57633811
TS
257782012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25779
25780 * configure.in <sysdeps resolving>: Correct printing
25781 Implies_before.
25782 * configure: Regenerate.
25783
c23c33b0
TS
257842012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25785
25786 * math/w_ilogb.c: Include <limits.h>.
25787 * math/w_ilogbl.c: Likewise.
25788
b5982523
JM
257892012-07-20 Joseph Myers <joseph@codesourcery.com>
25790
25791 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25792 va_copy. Document allowing for unavailable va_copy only as
25793 pre-C99 compatibility.
25794 * manual/string.texi (Copying and Concatenation): Use va_copy
25795 instead of __va_copy in concat example.
25796
ac4ea442
PT
257972012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25798
25799 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25800 (__sendto): Use create_address_port. Initialize APORT and deallocate
25801 it if not null.
25802
f98eafbd
PT
25803 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25804 with O_NOLINK passed to __file_name_lookup.
25805
898c7aab
PT
25806 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25807 with O_NOLINK passed to __file_name_lookup.
25808
0ced335a
PT
25809 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25810 negative N or less than NGIDS.
25811
b3404dbd
PT
25812 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25813 type to string_t. Set ERANGE as errno and return it if NAME is not big
25814 enough. Use memcpy instead of strncpy.
25815
0f48659e
JM
258162012-07-20 Joseph Myers <joseph@codesourcery.com>
25817
25818 * elf/Makefile (check-data): Remove.
25819 (localplt.data): New vpath directive.
25820 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25821 instead of $(check-data).
25822 * scripts/data/localplt-generic.data: Move to ...
25823 * sysdeps/generic/localplt.data: ... here.
25824 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25825 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25826 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25828 ... here.
25829 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25831 ... here.
25832 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25834 ... here.
25835 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25837 ... here.
25838 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25840 ... here.
25841 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25843 ... here.
25844
d37cbdaa
AZ
258452012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25846
25847 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25848 PPC32 and PPC64 files.
25849 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25850 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25851
46f85fc2
AK
258522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25853
25854 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25855 __makecontext_ret to ...
25856 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25857 ... here and call exit if uc_link is NULL. New file.
25858 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25859 __makecontext_ret.S.
25860 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25861 __makecontext_ret to ...
25862 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25863 ... here and call exit if uc_link is NULL. New file.
25864 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25865 __makecontext_ret.S.
25866
08f43f9b
AK
258672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25868
25869 * elf/elf.h (R_390_IRELATIVE): New definition.
25870 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25871 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25872 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25873 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25874 (elf_machine_lazy_rel): Likewise.
25875 * sysdeps/s390/dl-irel.h: New file.
25876 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25877 * sysdeps/s390/s390-64/memset.S: New asm code.
25878 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25879 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25880 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25881 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25882 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25883 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25884 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25885 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25886 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25887 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25888 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25889 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25890 * sysdeps/s390/s390-32/memset.S: New asm code.
25891 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25892
3b05db33
MP
258932012-07-17 Marek Polacek <polacek@redhat.com>
25894
25895 [BZ #14349]
25896 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25897 * sysdeps/s390/s390-64/configure.in: Likewise.
25898 * sysdeps/sparc/configure.in: Likewise.
25899 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25900 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25901 * sysdeps/i386/configure.in: Likewise.
25902 * sysdeps/x86_64/configure.in: Likewise.
25903 * sysdeps/sh/configure.in: Likewise.
25904 * sysdeps/s390/s390-32/configure: Regenerated.
25905 * sysdeps/s390/s390-64/configure: Likewise.
25906 * sysdeps/x86_64/configure: Likewise.
25907 * sysdeps/sh/configure: Likewise.
25908 * sysdeps/powerpc/powerpc64/configure: Likewise.
25909 * sysdeps/powerpc/powerpc32/configure: Likewise.
25910 * sysdeps/sparc/configure: Likwise.
25911 * sysdeps/i386/configure: Likewise.
25912
a66877c6
MP
25913 * elf/dl-open.c: Comment fixes.
25914
cfc82fd8
JM
259152012-07-17 Joseph Myers <joseph@codesourcery.com>
25916
bd29910a
JM
25917 * Makefile [CXX] (check-data): Remove.
25918 [CXX] (c++-types.data): New vpath directive.
25919 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25920 vpath. Do not allow for C++ type data being missing.
25921 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25922 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25923 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25924 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25925 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25926 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25927 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25929 ... here.
25930 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25932 ... here.
25933 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25935 ... here.
25936 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25938 ... here.
25939 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25941 ... here.
25942 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25944 ... here.
25945 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25947 ... here.
25948 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25950
cfc82fd8
JM
25951 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25952 definitions to architecture-specific files.
25953 (TLS_IE): Likewise.
25954 (TLS_LD): Likewise.
25955 (TLS_GD): Likewise.
25956 * sysdeps/i386/tls-macros.h: New file.
25957 * sysdeps/powerpc/tls-macros.h: Likewise.
25958 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25959 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25960 * sysdeps/sh/tls-macros.h: Likewise.
25961 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25962 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25963 * sysdeps/x86_64/tls-macros.h: Likewise.
25964
f7db3170
TS
259652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25966
07cbfc23
TS
25967 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25968 zero value for regular exit case.
25969
f7db3170
TS
25970 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25971 (__start_context): Preserve zero value for regular exit case.
25972
dc97c227
TS
259732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25974 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25975
25976 * manual/setjmp.texi (setcontext): Clarify normal process
25977 termination when uc_link is the null pointer.
25978 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25979 exit call.
25980
d0cd7d02
AS
259812012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25982
25983 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25984 preprocessor. Test for each exception mask separately.
25985
dd318934
AJ
259862012-07-16 Andreas Jaeger <aj@suse.de>
25987
25988 * po/ru.po: Update from translation team.
25989
8048311a
JM
259902012-07-15 Joseph Myers <joseph@codesourcery.com>
25991
25992 * conform/data/string.h-data (NULL): Use macro-constant. Require
25993 equal to 0.
25994 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25995 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25996 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25997 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25999
b637d46e
AJ
260002012-07-13 Andreas Jaeger <aj@suse.de>
26001
26002 * po/fr.po: Update from translation team.
26003
541428fe
MP
260042012-07-12 Marek Polacek <polacek@redhat.com>
26005
26006 [BZ #14173]
26007 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26008 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26009 loop condition.
26010
ec332e94
JM
260112012-07-12 Joseph Myers <joseph@codesourcery.com>
26012
26013 [BZ #13717]
26014 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26015 Change to 2.4.1 where previously 2.4.0.
26016 * sysdeps/unix/sysv/linux/configure: Regenerated.
26017 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26018 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26019 version.
26020 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26021 (__ASSUME_AT_CLKTCK): Remove.
26022 (__ASSUME_AT_PAGESIZE): Likewise.
26023 (__ASSUME_AT_XID): Likewise.
26024 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26025 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26026 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26027 unconditionally.
26028 (HAVE_AUX_PAGESIZE): Likewise.
26029 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26030 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26031 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26032
7b6e99be
JB
260332012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26034
26035 [BZ #14307]
26036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26037 the temporary buffer used to invoke __gethostbyname2_r,
26038 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26039 host_data / struct gaih_addrtuple.
26040 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26041 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26042 header file nss/nsswitch.h.
26043 * nss/nsswitch.h (global scope): Add definition of implementation
26044 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26045 resolv/nss_dns/dns-host.c).
26046
608404eb
AJ
260472012-07-11 Andreas Jaeger <aj@suse.de>
26048
26049 * po/fr.po: Update from translation team.
26050
71220aca
AJ
26051 * po/sv.po: Update from translation team
26052 * po/fr.po: Another update from translation team.
26053
28cfe843
AZ
260542012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26055
26056 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26057 for subnormals or multiply small sinh result by itself.
26058 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26060
6b90f981
DM
260612012-07-11 David S. Miller <davem@davemloft.net>
26062
26063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26064
c6825772
AS
260652012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26066
26067 [BZ #14347]
26068 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26069 (INTERNAL_MARK): Shift it here.
26070
7b8e0d49
MP
260712012-07-10 Marek Polacek <polacek@redhat.com>
26072
26073 [BZ #14151]
26074 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26075 libc_cv_asm_global_directive with .globl.
26076 * configure: Regenerated.
26077 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26078 with .globl.
26079 * sysdeps/i386/configure: Regenerated.
26080 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26081 with .globl.
26082 * sysdeps/x86_64/configure: Regenerated.
26083 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26084 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26085 * elf/tst-unique2mod2.c: Likewise.
26086 * elf/tst-unique2mod1.c: Likewise.
26087 * elf/tst-unique1mod2.c: Likewise.
26088 * elf/tst-unique1mod1.c: Likewise.
26089 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26090 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26091 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26092 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26093 * sysdeps/mach/sysdep.h: Likewise.
26094 * sysdeps/i386/sysdep.h: Likewise.
26095 * sysdeps/i386/i386-mcount.S: Likewise.
26096 * sysdeps/x86_64/_mcount.S: Likewise.
26097 * sysdeps/x86_64/sysdep.h: Likewise.
26098 * sysdeps/sh/_mcount.S: Likewise.
26099 * sysdeps/sh/sysdep.h: Likewise.
26100 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26101 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26102 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26103 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26104 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26105 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26106 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26107 * locale/localeinfo.h: Likewise.
26108 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26109 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26110
6c55cda3
RM
261112012-07-09 Roland McGrath <roland@hack.frob.com>
26112
26113 [BZ #14336]
26114 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26115 system".
26116 * manual/message.texi (The Uniforum approach): Likewise.
26117 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26118 (glibc iconv Implementation): Likewise.
26119
638a572e
JM
261202012-07-09 Joseph Myers <joseph@codesourcery.com>
26121
26122 [BZ #14337]
26123 * math/s_clog.c (__clog): Avoid scaling a value down where that
26124 could result in underflow.
26125 * math/s_clog10.c (__clog10): Likewise.
26126 * math/s_clog10f.c (__clog10f): Likewise.
26127 * math/s_clog10l.c (__clog10l): Likewise.
26128 * math/s_clogf.c (__clogf): Likewise.
26129 * math/s_clogl.c (__clogl): Likewise.
26130 * math/libm-test.inc (clog_test): Add more tests.
26131 (clog10_test): Likewise.
26132 * sysdeps/i386/fpu/libm-test-ulps: Update.
26133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26134
261f4859
AS
261352012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26136
0abaf3e4
AS
26137 [BZ #14283]
26138 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26139 by 7 not 8 to examine high bit of fractional part.
26140
261f4859
AS
26141 [BZ #14042]
26142 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26143 for call to __mcount_internal.
26144 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26145 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26146 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26147
f17ac40d
JM
261482012-07-06 Joseph Myers <joseph@codesourcery.com>
26149
9ad63c23
JM
26150 [BZ #14154]
26151 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26152 approximation for values within 0x1p-13f of an odd multiple of
26153 pi/4.
26154 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26155 exception. Add more tests.
26156 * sysdeps/i386/fpu/libm-test-ulps: Update.
26157
f17ac40d
JM
26158 [BZ #6778]
26159 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26160 inputs and return -1 for them. Do not check for +Inf in case not
26161 reachable for +Inf.
26162 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26163 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26164 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26165 and return -1 for them. Do not check for +Inf in case not
26166 reachable for +Inf.
26167 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26168 define.
26169 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26170 and return -1 for them. Do not check for +Inf in case not
26171 reachable for +Inf.
26172 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26173 spurious underflow.
26174 * sysdeps/i386/fpu/libm-test-ulps: Update.
26175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26176
fb21f89b
MF
261772012-07-06 Mike Frysinger <vapier@gentoo.org>
26178
26179 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26180
cdfe2c5e
JM
261812012-07-05 Joseph Myers <joseph@codesourcery.com>
26182
26183 [BZ #14157]
26184 [BZ #14331]
26185 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26186 could result in spurious underflow. Scale down values above
26187 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26188 * math/s_csqrtf.c (__csqrtf): Likewise.
26189 * math/s_csqrtl.c (__csqrtl): Likewise.
26190 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26191 spurious underflow.
26192 * sysdeps/i386/fpu/libm-test-ulps: Update.
26193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26194
70d35b67
AS
261952012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26196
704bc459
AS
26197 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26198 xopen-msg.sed.
26199 * catgets/xopen-msg.awk: New file.
26200 * catgets/xopen-msg.sed: Removed.
26201
70d35b67
AS
26202 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26203 po2text.sed.
26204 * intl/po2test.awk: New file.
26205 * intl/po2test.sed: Removed.
26206
ca61cf32
JM
262072012-07-04 Joseph Myers <joseph@codesourcery.com>
26208
26209 [BZ #14328]
26210 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26211 or multiply small sinh result by itself.
26212 * math/s_ctanf.c (__ctanf): Likewise.
26213 * math/s_ctanh.c (__ctanh): Likewise.
26214 * math/s_ctanhf.c (__ctanhf): Likewise.
26215 * math/s_ctanhl.c (__ctanhl): Likewise.
26216 * math/s_ctanl.c (__ctanl): Likewise.
26217 * math/libm-test.inc (ctan_test_tonearest): New function.
26218 (ctan_test_towardzero): Likewise.
26219 (ctan_test_downward): Likewise.
26220 (ctan_test_upward): Likewise.
26221 (ctanh_test_tonearest): Likewise.
26222 (ctanh_test_towardzero): Likewise.
26223 (ctanh_test_downward): Likewise.
26224 (ctanh_test_upward): Likewise.
26225 (main): Call these new functions.
26226 * sysdeps/i386/fpu/libm-test-ulps: Update.
26227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26228
ca48a46a
MF
262292012-07-03 Mike Frysinger <vapier@gentoo.org>
26230
26231 * .gitignore: Delete /ports entry.
26232
9d63d37d
AJ
262332012-07-03 Andreas Jaeger <aj@suse.de>
26234
26235 * po/bg.po: Update from translation team.
26236 * po/cs.po: Likewise.
26237 * po/de.po: Likewise.
26238 * po/hr.po: Likewise.
26239 * po/nl.pl: Likewise.
26240 * po/pl.po: Likewise.
26241 * po/vi.po: Likewise.
26242
370ca3d2
JM
262432012-07-03 Joseph Myers <joseph@codesourcery.com>
26244
95f5a9a8
JM
26245 * Makeconfig [!+link] (+link-before-libc): New variable.
26246 [!+link] (+link-after-libc): Likewise.
26247 [!+link] (+link-tests): Likewise.
26248 [!+link] (+link): Define in terms of $(+link-before-libc) and
26249 $(+link-after-libc).
26250 [!+link-static] (+link-static-before-libc): New variable.
26251 [!+link-static] (+link-static-after-libc): Likewise.
26252 [!+link-static] (+link-static-tests): Likewise.
26253 [!+link-static] (+link-static): Define in terms of
26254 $(+link-static-before-libc) and $(+link-static-after-libc).
26255 [build-shared] (link-libc-before-gnulib): New variable.
26256 [build-shared] (link-libc-tests): Likewise.
26257 [build-shared] (link-libc): Define in terms of
26258 $(link-libc-before-gnulib).
26259 [!build-shared] (link-libc-tests): New variable.
26260 (link-libc-static-tests): New variable.
26261 [!gnulib] (gnulib-arch): New variable.
26262 [!gnulib] (gnulib-tests): Likewise.
26263 [!gnulib] (static-gnulib-arch): Likewise.
26264 [!gnulib] (static-gnulib-tests): Likewise.
26265 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26266 Define with "=" instead of ":=".
26267 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26268 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26269 * Rules (binaries-all-notests): New variable.
26270 (binaries-all-tests): Likewise.
26271 (binaries-static-notests): Likewise.
26272 (binaries-static-tests): Likewise.
26273 (binaries-all): Define using $(binaries-all-notests) and
26274 $(binaries-all-tests).
26275 (binaries-static): Define using $(binaries-static-notests) and
26276 $(binaries-static-tests).
26277 (binaries-shared-tests): New variable.
26278 (binaries-shared-notests): Likewise.
26279 (binaries-shared): Remove variable.
26280 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26281 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26282 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26283 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26284 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26285 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26286 * elf/Makefile (sln-modules): New variable.
26287 (extra-objs): Add $(sln-modules:=.o).
26288 (ldconfig-modules): Add static-stubs.
26289 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26290 * elf/static-stubs.c: New file.
26291
7a845b2c
JM
26292 [BZ #14283]
26293 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26294 by 7 not 8 to examine high bit of fractional part. Use volatile
26295 variables when splitting into final array of floats if
26296 __FLT_EVAL_METHOD__ != 0.
26297 * math/libm-test.inc (cos_test): Add another test.
26298 (sin_test): Likewise.
26299 * sysdeps/i386/fpu/libm-test-ulps: Update.
26300
e2283f38
JM
26301 [BZ #14273]
26302 * math/libm-test.inc (cosh_test): Add more tests.
26303
370ca3d2
JM
26304 * version.h (RELEASE): Set to "development".
26305 (VERSION): Set to "2.16.90".
26306
ee9247c3
CD
263072012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26308
26309 * NEWS: Update copyright. Remove last-updated date.
26310 Mention math library bug fixes and timezone data changes.
26311 * README: Mention GNU/Hurd, x32, and HPPA support status.
26312
4648c381
TS
263132012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26314
26315 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26316
aac78a43
AJ
263172012-06-27 Andreas Jaeger <aj@suse.de>
26318
26319 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26320
ed3dbfad
AJ
263212012-06-25 Andreas Jaeger <aj@suse.de>
26322
26323 * sysdeps/s390/fpu/libm-test-ulps: Update.
26324
4d0ee855
AS
263252012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26326 Thomas Schwinge <thomas@codesourcery.com>
26327
26328 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26329 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26331 fanotify_mark.
26332
af1bce34
TS
263332012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26334
a9fa33ba
TS
26335 * sysdeps/mach/start.c: Remove file.
26336 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26337 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26338 * sysdeps/sh/init-first.c: Likewise.
26339
58f902b8
TS
26340 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26341 registers for frame unwinding purposes, add CFI directives.
26342 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26343 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26344 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26345 Likewise.
26346
1518f58b
TS
26347 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26348 __fortify_fail returning.
26349 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26350
db9b5059
TS
26351 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26352 sysdeps/sh/____longjmp_chk.S.
26353 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26354 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26355 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26356 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26357
967705fe
TS
26358 * sysdeps/sh/abort-instr.h: New file.
26359 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26360 process in case exit returns.
26361
a9def8c4
TS
26362 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26363 initialize the GOT register before use.
26364
2a649725
TS
26365 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26366 calculation of ARGC > 4.
26367
af1bce34
TS
26368 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26369 meaningful names to some local labels.
26370
d230f50a
KK
263712012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26372 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26373
26374 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26375 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26376 (__arch_compare_and_exchange_val_16_acq): Likewise.
26377 (__arch_compare_and_exchange_val_32_acq): Likewise.
26378 (atomic_exchange_and_add): Fix gUSA sequence.
26379 (atomic_add): Likewise.
26380 (atomic_add_negative): Likewise.
26381 (atomic_add_zero): Likewise.
26382 (atomic_bit_test_set): Likewise.
26383
0479b305
AS
263842012-06-22 Andreas Schwab <schwab@redhat.com>
26385
26386 [BZ #13579]
26387 * include/link.h (struct link_map): Add l_free_initfini.
26388 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26389 l_initfini.
26390 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26391 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26392 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26393 set.
26394
0e3933b9
CD
263952012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26396
26397 * configure.in: Use AC_LANG_SOURCE.
26398 * configure: Regenerate.
26399
4248b1b1
RM
264002012-06-22 Roland McGrath <roland@hack.frob.com>
26401
26402 * configure.in (libc_cv_localstatedir): New substituted variable.
26403 * configure: Regenerated.
26404 * config.make.in (localstatedir): New variable, substituted from
26405 libc_cv_localstatedir.
26406 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26407 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26408 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26409 * sysdeps/gnu/configure: Regenerated.
26410
006dd861
JL
264112012-06-21 Jeff Law <law@redhat.com>
26412
26413 [BZ #14277]
26414 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26415 free. Simplify list management for _LIBC case.
26416
79662d42
JM
264172012-06-21 Joseph Myers <joseph@codesourcery.com>
26418
b7abb4bf
JM
26419 [BZ #14273]
26420 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26421 Clear sign bit of 64-bit integer value before comparing against
26422 overflow value.
26423
79662d42
JM
26424 * sysdeps/mach/configure: Regenerated.
26425
1f150908
L
264262012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26427
26428 [BZ #14278]
26429 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26430
28363bbf
JL
264312012-06-21 Jeff Law <law@redhat.com>
26432
26433 [BZ #13882]
26434 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26435 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26436 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26437 * elf/dl-open.c (dl_open_worker): Likewise.
26438
09615db4
CD
264392012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26440
26441 * scripts/list-sources.sh: Scan PORTS for translations.
26442 * po/libc.pot: Regenerated.
26443
2174c6dd
AJ
264442012-06-21 Andreas Jaeger <aj@suse.de>
26445
26446 [BZ #12194]
26447 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26448 warning.
26449 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26450 * bits/byteswap-16.h (__bswap_16): Likewise.
26451 * bits/byteswap.h (__bswap_constant_16): Likewise.
26452
3ee947b1
L
264532012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26454
26455 [BZ #14117]
a2f34833
L
26456 * sysdeps/i386/fpu_control.h: Removed.
26457 * sysdeps/x86_64/fpu_control.h: Moved to ...
26458 * sysdeps/x86/fpu_control.h: Here.
26459
3ee947b1
L
26460 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26461 (_FPU_SETCW): Likewise.
26462
ed1825f8
L
264632012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26464
25f1282a
L
26465 [BZ #14117]
26466 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26467 * sysdeps/x86/fpu/bits/mathinline.h: This.
26468 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26469
ed1825f8
L
26470 [BZ #14050]
26471 [BZ #14117]
26472 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26473 functions if __x86_64__ is defined.
26474
36d54b74
CLT
264752012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26476
26477 * string/endian.h: Add !__ASSEMBLER__ condition for including
26478 conversion interfaces.
26479
10285c21
JM
264802012-06-15 Joseph Myers <joseph@codesourcery.com>
26481
26482 [BZ #14241]
26483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26484 of ABS(x) in calculating zero to negative powers other than odd
26485 integers.
26486 * math/libm-test.inc (pow_test): Add more tests.
26487
06c5abbd
AJ
264882012-06-15 Andreas Jaeger <aj@suse.de>
26489
26490 * manual/contrib.texi (Contributors): Update entry of Liubov
26491 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26492 Machado Filho.
26493
a3aeac40
CH
264942012-06-15 Cyril Hrubis <metan@ucw.cz>
26495
26496 * string/string.h: Add __wur to GNU version of strerror_r.
26497
49bdf4c1
L
264982012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26499
26500 [BZ #14229]
26501 * string/Makefile (tests): Add tst-strtok_r.
26502 * string/tst-strtok_r.c: New file.
26503 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26504 RAX_LP/RDX_LP on SAVE_PTR.
26505
834f9b8d
RM
265062012-06-14 Roland McGrath <roland@hack.frob.com>
26507
26508 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26509
75fa1921
JM
265102012-06-14 Joseph Myers <joseph@codesourcery.com>
26511
26512 * libm_test.inc (csqrt_test): Allow more spurious underflow
26513 exceptions.
26514 (j0_test): Likewise.
26515 (j1_test): Likewise.
26516 (y0_test): Likewise.
26517 (y1_test): Likewise.
26518
771766df
CD
265192012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26520
26521 * po/Makefile (libc.pot): Use UTF-8 charset.
26522
ceb9e56b
PP
265232012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26524
26525 [BZ #14210]
26526 Suppress sign-conversion warning from FD_SET.
26527 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26528 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26529 not unsigned long int.
26530 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26531
ddb28975
L
265322012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26533
26534 [BZ #14050]
26535 [BZ #14117]
26536 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26537 __extern_always_inline instead of __extern_inline.
26538 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26539 (__signbit): Likewise.
26540 (__signbitl): Support C++ namespace.
26541 (lrintf): New inline function.
26542 (lrint): Likewise.
26543 (llrintf): Likewise.
26544 (llrint): Likewise.
26545 (fmaxf): Likewise.
26546 (fmax): Likewise.
26547 (fminf): Likewise.
26548 (fmin): Likewise.
26549 (rint): Likewise.
26550 (rintf): Likewise.
26551 (ceil): Likewise.
26552 (ceilf): Likewise.
26553 (floor): Likewise.
26554 (floorf): Likewise.
26555 (nearbyint): Likewise.
26556 (nearbyintf): Likewise.
26557
d7b4fb26
TS
265582012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26559
26560 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26561 non-default versions.
26562
eb55f5c2
RM
265632012-06-11 Roland McGrath <roland@hack.frob.com>
26564
26565 [BZ #14218]
26566 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26567
366af02c
TS
265682012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26569
99ff6e5c
TS
26570 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26571 (FE_UPWARD, FE_DOWNWARD): Don't define.
26572 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26573 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26574
366af02c
TS
26575 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26576 reading it.
26577 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26578 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26579
793ea851
KK
265802012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26581
26582 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26583 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26584 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26585 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26586
a728a38f
L
265872012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26588
26589 [BZ #14117]
c08010c7
L
26590 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26591 * sysdeps/i386/fpu/Implies: New file.
26592 * sysdeps/x86_64/fpu/Implies: Likewise.
26593 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26594 * sysdeps/x86/fpu/bits/fenv.h: This.
26595
a728a38f
L
26596 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26597 __SSE_MATH__.
26598
6e230d11
SP
265992012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26600
26601 [BZ #14134]
26602 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26603 character 0xffff that matches the last element of the
26604 conversion table.
26605
1b671feb
AZ
266062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26607
26608 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26609 fmodl commit.
26610
6043738b
AZ
266112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26612
26613 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26614 values higher than 25.6283.
26615
34ae0b32
AZ
266162012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26617
26618 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26619 subnormal exponent extraction and add some __builtin_expect.
26620 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26621 Fix for subnormal mantissa calculation.
26622
1214ec8f
MF
266232012-06-04 Mike Frysinger <vapier@gentoo.org>
26624
26625 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26626 cpu2 is -1 and errno is not ENOSYS.
26627
f3d1f93c
L
266282012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26629
26630 [BZ #14117]
0e4a3cd7
L
26631 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26632 * sysdeps/x86/bits/string.h: This.
26633 * sysdeps/x86_64/bits/string.h: Removed.
26634
6704c645
L
26635 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26636 if not compiling for x86-64, but compiling for >= i486.
26637
48495318
L
26638 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26639 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26640
14adcbfc
L
26641 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26642 New macro from Linux kernel 3.4.0.
26643 (FP_XSTATE_MAGIC2): Likewise.
26644 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26645 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26646 (struct _fpx_sw_bytes): New struct.
26647 (struct _xsave_hdr): Likewise.
26648 (struct _ymmh_state): Likewise.
26649 (struct _xstate): Likewise.
26650
68e408ab
L
26651 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26652 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26653 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26654 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26655 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26656 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26657
f3d1f93c
L
26658 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26659 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26660 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26661 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26662 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26663 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26664
d9dc34cd
TMQMF
266652012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26666
26667 [BZ #13743]
26668 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26669 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26670 (sysdep_headers): Include sys/platform/ppc.h.
26671 * sysdeps/powerpc/test-gettimebase.c: Test for
26672 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26673 * manual/Makefile (appendices): Include platform.texi.
26674 * manual/contrib.texi (Contributors): Update @node pointers.
26675 * manual/maint.texi (Maintenance): Likewise.
26676 (Platform): New node.
26677 * manual/platform.texi: New file. Document the new features.
26678
4af3879c
SP
266792012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26680 Jakub Jelinek <jakub@redhat.com>
26681
26682 [BZ #14188]
26683 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26684 where __builtin_expect is unavailable.
26685
2fd6ff13
DM
266862012-06-03 David S. Miller <davem@davemloft.net>
26687
26688 * stdlib/longlong.h: Updated from GCC.
26689
173f7220
AS
266902012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26691
26692 [BZ #14042]
26693 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26694 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26695 __mcount_internal.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26697 (GLIBC_2.16): Likewise.
26698
f34a1c6f
L
266992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26700
26701 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26702
88a4576f
JM
267032012-06-01 Joseph Myers <joseph@codesourcery.com>
26704
ea32bcdd
JM
26705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26706 (default-abi): New variable.
26707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26708 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26709 variable.
26710 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26711 Likewise.
26712 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26713 Likewise.
26714 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26715 Likewise.
26716
88a4576f
JM
26717 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26718 definition. Document in comment.
26719
402fe938
DM
267202012-06-01 David S. Miller <davem@davemloft.net>
26721
26722 * stdlib/longlong.h: Updated from GCC.
26723
3553723f
L
267242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26725
26726 [BZ #14117]
3bd872c4
L
26727 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26728 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26729 sys/debugreg.h sys/io.h here.
26730 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26731 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26732 sys/io.h.
26733 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26734 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26735 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26736 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26737 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26738 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26739
3553723f
L
26740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26741 Define only if __x86_64__ is defined.
26742
4842e4fe
JM
267432012-06-01 Joseph Myers <joseph@codesourcery.com>
26744
c5bfe3d5
JM
26745 [BZ #14048]
26746 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26747 Use int64_t for variable i.
26748 * math/libm-test.inc (fmod_test): Add more tests.
26749
4842e4fe
JM
26750 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26751 z computation is not scheduled after fetestexcept.
26752 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26753 Use math_force_eval instead of asm to ensure calculation scheduled
26754 before exception test.
26755 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26756 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26757
efb73488
AJ
267582012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26759
26760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26761 computation is not scheduled after fetestexcept.
26762
29bcce7c
L
267632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26764
26765 [BZ #14117]
26766 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26767 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26768
73a68f94
AZ
267692012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26770
26771 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26772 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26773
67b6df78
L
267742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26775
edf2933a 26776 [BZ #14117]
ebc64a18
L
26777 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26778 <bits/wordsize.h>.
26779 (__WCHAR_MIN): Support __WORDSIZE == 64.
26780 (__WCHAR_MAX): Likewise.
26781
edf2933a
L
26782 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26783 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26784
57c6cf40
L
26785 [BZ #14183]
26786 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26787 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26788
67b6df78 26789 [BZ #14117]
8eb6281e
L
26790 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26791 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26792
aac639f4
L
26793 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26794 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26795
67b6df78
L
26796 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26797 Defined to 1 if __x86_64__ isn't defined.
26798 (_STAT_VER_LINUX_OLD): New.
26799 (st_atime): Remove duplicate.
26800 (st_mtime): Likewise.
26801 (st_ctime): Likewise.
26802
1c2cfe81
DM
268032012-05-31 David S. Miller <davem@davemloft.net>
26804
26805 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26806 entries.
26807
5be8418c
AS
268082012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26809
e7725326
AS
26810 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26811 gen-libm-test.pl.
26812
5be8418c
AS
26813 [BZ #14132]
26814 * elf/dl-reloc.c: Include <_itoa.h>.
26815 (_dl_reloc_bad_type): Remove use of INTUSE.
26816 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26817 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26818 * stdio-common/psiginfo.c (psiginfo): Likewise.
26819 * stdio-common/psignal.c (psignal): Likewise.
26820 * string/strsignal.c (strsignal): Likewise.
26821 * include/signal.h (_sys_siglist): Declare hidden proto.
26822 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26823 INTVARDEF with libc_hidden_data_def.
26824 * stdio-common/itoa-udigits.c: Likewise.
26825 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26826 (_itoa_lower_digits_internal): Remove declaration.
26827 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26828 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26829 (_sys_sigabbrev_internal): Remove aliases.
26830 (_sys_siglist): Define hidden alias.
26831
507352f1
MT
268322012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26833
26834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26835 bits/sysctl.h.
26836
42bbb1c3
L
268372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26838
26839 [BZ #14117]
6bd784b6
L
26840 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26841 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26842
8bca20f0
L
26843 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26844 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26845 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26846 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26848 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26849
f9e890a9
L
26850 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26851 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26852 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26853
471101a1
L
26854 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26855 with __addr.
26856 (insw): Likewise.
26857 (insl): Likewise.
26858 (outsb): Likewise.
26859 (outsw): Likewise.
26860 (outsl): Likewise.
26861
6451c862
L
26862 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26863 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26864 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26865
a254b8c9
L
26866 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26867 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26868 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26869 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26870 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26871 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26872
b8dfdd92
L
26873 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26874 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26875
578cd270
L
26876 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26877 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26878
de662f5f
L
26879 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26882
25653439
L
26883 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26884 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26885 to ...
26886 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26887
6bad24a0
L
26888 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26889 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26890 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26891
42bbb1c3
L
26892 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26893 for x86-64.
26894 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26895
2d10d547
JM
268962012-05-31 Joseph Myers <joseph@codesourcery.com>
26897
26898 * math/math.h (M_El): Use two more decimal places.
26899 (M_LOG2El): Likewise.
26900 (M_LOG10El): Likewise.
26901 (M_LN2l): Likewise.
26902 (M_LN10l): Likewise.
26903 (M_PIl): Likewise.
26904 (M_PI_2l): Likewise.
26905 (M_PI_4l): Likewise.
26906 (M_1_PIl): Likewise.
26907 (M_2_PIl): Likewise.
26908 (M_2_SQRTPIl): Likewise.
26909 (M_SQRT2l): Likewise.
26910 (M_SQRT1_2l): Likewise.
26911
f230c29b
DM
269122012-05-31 David S. Miller <davem@davemloft.net>
26913
26914 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26915 values between float registers.
26916 * sysdeps/sparc/sparc64/memset.S: Likewise.
26917 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26918
fed806c3
MF
269192012-05-31 Mike Frysinger <vapier@gentoo.org>
26920
26921 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26922 -D_FORTIFY_SOURCE=1.
26923 (CPPFLAGS-tst-longjmp_chk.c): Define.
26924 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26925 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26926 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26927 CFLAGS-tst-wchar-h.c.
26928
30917259
MP
269292012-05-31 Marek Polacek <polacek@redhat.com>
26930
26931 [BZ #14132]
26932 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26933 __endmntent_internal): Remove declaration.
26934 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26935 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26936 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26937
1c58d5dc
DM
269382012-05-30 David S. Miller <davem@davemloft.net>
26939
26940 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26941 (___Q_simulate_exceptions): Use real FP ops rather than writing
26942 into the %fsr.
26943 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26944 Likewise.
26945
7dc00e0d
L
269462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26947
26948 [BZ #14117]
0bd53985
L
26949 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26950 * sysdeps/x86/bits/xtitypes.h: This.
26951
3a257e66
L
26952 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26953 * sysdeps/x86/bits/wordsize.h: This.
26954
62f62904
L
26955 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26956 * sysdeps/x86/bits/huge_vall.h: This.
26957
404fe9d9
L
26958 * sysdeps/i386/bits/select.h: Removed.
26959 * sysdeps/x86_64/bits/select.h: Renamed to ...
26960 * sysdeps/x86/bits/select.h: This.
26961
d48d0446
L
26962 * sysdeps/i386/bits/setjmp.h: Removed.
26963 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26964 * sysdeps/x86/bits/setjmp.h: This.
26965
7dc00e0d
L
26966 * sysdeps/i386/bits/mathdef.h: Removed.
26967 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26968 * sysdeps/x86/bits/mathdef.h: This.
26969
03277f8f
AS
269702012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26971
26972 [BZ #14132]
26973 * include/sys/socket.h (__connect_internal)
26974 (__libc_sa_len_internal): Remove declaration.
26975 (__connect, __libc_sa_len): Declare hidden_proto.
26976 (SA_LEN): Remove use of INTUSE.
26977 * socket/connect.c: Add libc_hidden_def.
26978 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26979 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26980 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26981 alias.
26982 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26983 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26984 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26985 of adding _internal alias.
26986
13764867
L
269872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26988
26989 [BZ #14117]
6bd97696
L
26990 * sysdeps/i386/bits/link.h: Removed.
26991 * sysdeps/i386/bits/linkmap.h: Likewise.
26992 * sysdeps/x86_64/bits/link.h: Renamed to ...
26993 * sysdeps/x86/bits/link.h: This.
26994 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26995 * sysdeps/x86/bits/linkmap.h: This.
26996
f726f0bb
L
26997 * sysdeps/i386/bits/endian.h: Removed.
26998 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26999 * sysdeps/x86/bits/endian.h: This.
27000
13764867
L
27001 * sysdeps/i386/bits/byteswap.h: Removed.
27002 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27003 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27004 * sysdeps/x86/bits/byteswap.h: This.
27005 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27006 * sysdeps/x86/bits/byteswap-16.h: This.
27007 * sysdeps/i386/Implies: Add x86.
27008 * sysdeps/x86_64/Implies: Likewise.
27009
ae251b0b
DM
270102012-05-30 David S. Miller <davem@davemloft.net>
27011
27012 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27013 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27014 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27015 (FP_TRAPPING_EXCEPTIONS): Define.
27016 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27017 (FP_TRAPPING_EXCEPTIONS): Define.
27018 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27019 subnormals only when inexact has been signalled or underflow
27020 exceptions are enabled.
27021 (_FP_PACK_CANONICAL): Likewise.
27022
d5c90867
L
270232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27024
27025 [BZ #14183]
27026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27027 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27028
63f1549e
RH
270292012-05-30 Richard Henderson <rth@twiddle.net>
27030
8d8f2279
RH
27031 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27032 with #ifndef NOT_IN_libc.
27033
63f1549e
RH
27034 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27035 marked to avoid plt entry.
27036
0ab0291b
L
270372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 [BZ #14112]
27040 * Makeconfig (default-abi): New macro.
27041 (abi-includes): Likewise.
27042 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27043 $(abi-$(default-abi)-lib-soname) for soname if defined.
27044 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27045 abi-variants.
27046 * Makefile (installed-stubs): Likewise.
27047 * include/stubs-biarch.h: Removed.
27048 * scripts/lib-names.awk: Only handle one library at a time.
27049 * scripts/soversions.awk: Remove WORDSIZE support.
27050 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27051 entries.
27052 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27053 Removed.
27054 (syscall-list-default-condition): Likewise.
27055 (syscall-list-default-condition): Likewise.
27056 (syscall-list-includes): Likewise.
27057 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27058 syscall-list-* with abi-*. Handle undefined abi-variants.
27059 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27060 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27061 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27062 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27063 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27064 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27065 Removed.
27066 (syscall-list-32-options): Likewise.
27067 (syscall-list-32-condition): Likewise.
27068 (syscall-list-64-options): Likewise.
27069 (syscall-list-64-condition): Likewise.
27070 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27071 macro.
27072 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27073 Renamed to ...
27074 (abi-*): This.
27075 (abi-64-ld-soname): New macro.
27076 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27077 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27078 Renamed to ...
27079 (abi-*): This.
27080 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27081 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27082
4da0431d
JM
270832012-05-30 Joseph Myers <joseph@codesourcery.com>
27084
3a85279c
JM
27085 * sysdeps/unix/sysv/linux/kernel-features.h
27086 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27087 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27088 include <kernel-features.h>.
27089 [!__NR_ftruncate64]: Remove conditional code.
27090 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27091 [__NR_ftruncate64]: Make code unconditional.
27092 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27093 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27094 include <kernel-features.h>.
27095 [!__NR_ftruncate64]: Remove conditional code.
27096 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27097 [__NR_ftruncate64]: Make code unconditional.
27098 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27100 include <kernel-features.h>.
27101 [!__NR_ftruncate64]: Remove conditional code.
27102 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27103 [__NR_ftruncate64]: Make code unconditional.
27104 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27106 include <kernel-features.h>.
27107 [!__NR_ftruncate64]: Remove conditional code.
27108 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27109 [__NR_ftruncate64]: Make code unconditional.
27110 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27111
4da0431d
JM
27112 * configure.in (libc_cv_fpie): Weaken to a compile test using
27113 LIBC_TRY_CC_OPTION.
27114 * configure: Regenerated.
27115
11ef492c
AK
271162012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27117
27118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27122 Refreshed.
27123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27129 Refreshed.
27130
d66ef399
DM
271312012-05-27 David S. Miller <davem@davemloft.net>
27132
27133 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27134 (___Q_zero): New.
27135 (__Q_simulate_exceptions): Return void. Change to simulate
27136 exceptions by writing into the %fsr.
27137 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27138 (__Qp_handle_exceptions): Likewise.
27139 (numbers): Delete.
27140 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27141 __Qp_handle_exceptions.
27142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27143 __Qp_handle_exceptions.
27144 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27145 as unused and give dummy FP_RND_NEAREST initializer.
27146 (FP_INHIBIT_RESULTS): Define.
27147 (___Q_simulate_exceptions): Update declaration.
27148 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27149 formatting.
27150 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27151 as unused and give dummy FP_RND_NEAREST initializer.
27152 (__Qp_handle_exceptions): Update declaration.
27153 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27154 formatting.
27155
04fb54b5
TS
271562012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27157
27158 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27159 the temporary FPU control word.
27160 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27161 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27162 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27163 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27164 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27165 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27166 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27167 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27168 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27169 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27170 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27171
3f99608f
KK
271722012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27173
27174 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27175 fields.
27176
65a4de4e
CLT
271772012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27178
27179 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27180 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27181 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27182 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27183 Likewise.
27184 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27185 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27186 Likewise.
27187
15749d40
UD
271882012-05-27 Ulrich Drepper <drepper@gmail.com>
27189
27190 * po/h.po: Update from translation team.
27191
25dbcb27
AS
271922012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27193
3d3f8e55
AS
27194 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27195
25dbcb27
AS
27196 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27197 handling of denormals.
27198 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27199 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27200 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27201 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27204 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27205 Likewise.
27206
7ad47a80 272072012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27208
27209 [BZ #14152]
27210 * math/libm-test.inc (fma_test): Don't always expect underflow
27211 exception.
27212
9c6ea9fa
SP
272132012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27214
27215 [BZ #12416]
27216 * elf/tst-execstack.c: Include stackinfo.h.
27217 (do_test): Adjust test case to ensure that pthread_getattr_np
27218 behaviour remains the same after marking stack executable.
27219
a8239222
JM
272202012-05-25 Joseph Myers <joseph@codesourcery.com>
27221
27222 * sysdeps/unix/sysv/linux/kernel-features.h
27223 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27224 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27225 kernel-features.h.
27226 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27227 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27228 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27229 kernel-features.h.
27230 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27231 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27232
918b5606
L
272332012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27234
27235 * configure.in: Define the default includes to being none.
27236 * configure: Regenerated.
27237
3a097cc7
RM
272382012-05-25 Roland McGrath <roland@hack.frob.com>
27239
8422c9a5
RM
27240 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27241 * sysdeps/x86_64/setjmp.S: Likewise.
27242 * sysdeps/i386/bsd-setjmp.S: Likewise.
27243 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27244 * sysdeps/i386/setjmp.S: Likewise.
27245 * sysdeps/i386/__longjmp.S: Likewise.
27246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27247 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27248
3a097cc7
RM
27249 * include/stap-probe.h: New file.
27250 * configure.in: Handle --enable-systemtap.
27251 * configure: Regenerated.
27252 * config.h.in (USE_STAP_PROBE): New #undef.
27253 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27254 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27255 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27256
21708942
JM
272572012-05-25 Joseph Myers <joseph@codesourcery.com>
27258
27259 [BZ #13717]
27260 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27261 to 2.4.0 where earlier.
27262 * sysdeps/unix/sysv/linux/configure: Regenerated.
27263 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
27272 [__ASSUME_32BITUIDS]: Make code unconditional.
27273 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27274 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27275 <kernel-features.h>.
27276 [__ASSUME_32BITUIDS]: Make code unconditional.
27277 [!__ASSUME_32BITUIDS]: Remove conditional code.
27278 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27279 <kernel-features.h>.
27280 [__ASSUME_32BITUIDS]: Make code unconditional.
27281 [!__ASSUME_32BITUIDS]: Remove conditional code.
27282 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27283 <kernel-features.h>.
27284 [__ASSUME_32BITUIDS]: Make code unconditional.
27285 [!__ASSUME_32BITUIDS]: Remove conditional code.
27286 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27287 <kernel-features.h>.
27288 [__ASSUME_32BITUIDS]: Make code unconditional.
27289 [!__ASSUME_32BITUIDS]: Remove conditional code.
27290 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27291 <kernel-features.h>.
27292 [__ASSUME_32BITUIDS]: Make code unconditional.
27293 [!__ASSUME_32BITUIDS]: Remove conditional code.
27294 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27295 <kernel-features.h>.
27296 [__ASSUME_32BITUIDS]: Make code unconditional.
27297 [!__ASSUME_32BITUIDS]: Remove conditional code.
27298 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27299 <kernel-features.h>.
27300 [__ASSUME_32BITUIDS]: Make code unconditional.
27301 [!__ASSUME_32BITUIDS]: Remove conditional code.
27302 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27303 <kernel-features.h>.
27304 [__ASSUME_32BITUIDS]: Make code unconditional.
27305 [!__ASSUME_32BITUIDS]: Remove conditional code.
27306 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27307 <kernel-features.h>.
27308 [__ASSUME_32BITUIDS]: Make code unconditional.
27309 [!__ASSUME_32BITUIDS]: Remove conditional code.
27310 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27311 <kernel-features.h>.
27312 [__ASSUME_32BITUIDS]: Make code unconditional.
27313 [!__ASSUME_32BITUIDS]: Remove conditional code.
27314 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27315 <kernel-features.h>.
27316 [__NR_setresgid] (__setresgid): Do not declare.
27317 [__ASSUME_32BITUIDS]: Make code unconditional.
27318 [!__ASSUME_32BITUIDS]: Remove conditional code.
27319 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27320 <kernel-features.h>.
27321 [__NR_setresuid] (__setresuid): Do not declare.
27322 [__ASSUME_32BITUIDS]: Make code unconditional.
27323 [!__ASSUME_32BITUIDS]: Remove conditional code.
27324 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27325 <kernel-features.h>.
27326 [__ASSUME_32BITUIDS]: Make code unconditional.
27327 [!__ASSUME_32BITUIDS]: Remove conditional code.
27328 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27329 <kernel-features.h>.
27330 [__ASSUME_32BITUIDS]: Make code unconditional.
27331 [!__ASSUME_32BITUIDS]: Remove conditional code.
27332 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27333 <kernel-features.h>.
27334 [__ASSUME_32BITUIDS]: Make code unconditional.
27335 [!__ASSUME_32BITUIDS]: Remove conditional code.
27336 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27337 <kernel-features.h>.
27338 [__ASSUME_32BITUIDS]: Make code unconditional.
27339 [!__ASSUME_32BITUIDS]: Remove conditional code.
27340 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27341 <kernel-features.h>.
27342 [__ASSUME_32BITUIDS]: Make code unconditional.
27343 [!__ASSUME_32BITUIDS]: Remove conditional code.
27344 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27345 <kernel-features.h>.
27346 [__ASSUME_32BITUIDS]: Make code unconditional.
27347 [!__ASSUME_32BITUIDS]: Remove conditional code.
27348 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27349 <kernel-features.h>.
27350 [__ASSUME_32BITUIDS]: Make code unconditional.
27351 [!__ASSUME_32BITUIDS]: Remove conditional code.
27352 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27353 <kernel-features.h>.
27354 [__ASSUME_32BITUIDS]: Make code unconditional.
27355 [!__ASSUME_32BITUIDS]: Remove conditional code.
27356 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27357 <kernel-features.h>.
27358 [__ASSUME_32BITUIDS]: Make code unconditional.
27359 [!__ASSUME_32BITUIDS]: Remove conditional code.
27360 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27361 <kernel-features.h>.
27362 [__ASSUME_32BITUIDS]: Make code unconditional.
27363 [!__ASSUME_32BITUIDS]: Remove conditional code.
27364 * sysdeps/unix/sysv/linux/kernel-features.h
27365 (__ASSUME_SETRESUID_SYSCALL): Remove.
27366 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27367 (__ASSUME_32BITUIDS): Likewise.
27368 (__ASSUME_LDT_WORKS): Likewise.
27369 (__ASSUME_O_DIRECTORY): Likewise.
27370 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27371 architecture but not kernel version.
27372 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27373 (__ASSUME_MMAP2_SYSCALL): Likewise.
27374 (__ASSUME_STAT64_SYSCALL): Likewise.
27375 (__ASSUME_IPC64): Likewise.
27376 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27377 <kernel-features.h>.
27378 [__ASSUME_32BITUIDS]: Make code unconditional.
27379 [!__ASSUME_32BITUIDS]: Remove conditional code.
27380 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27381 <kernel-features.h>.
27382 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27383 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27384 132096]: Remove conditional code.
27385 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27386 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27387 <kernel-features.h>.
27388 [__ASSUME_32BITUIDS]: Make code unconditional.
27389 [!__ASSUME_32BITUIDS]: Remove conditional code.
27390 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27391 <kernel-features.h>.
27392 [__ASSUME_32BITUIDS]: Make code unconditional.
27393 [!__ASSUME_32BITUIDS]: Remove conditional code.
27394 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27395 <kernel-features.h>.
27396 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27397 unconditional.
27398 (__setresgid): Do not declare.
27399 [__ASSUME_32BITUIDS]: Make code unconditional.
27400 [!__ASSUME_32BITUIDS]: Remove conditional code.
27401 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27402 <kernel-features.h>.
27403 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27404 unconditional.
27405 (__setresuid): Do not declare.
27406 [__ASSUME_32BITUIDS]: Make code unconditional.
27407 [!__ASSUME_32BITUIDS]: Remove conditional code.
27408 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27409 <kernel-features.h>.
27410 [__ASSUME_32BITUIDS]: Make code unconditional.
27411 [!__ASSUME_32BITUIDS]: Remove conditional code.
27412 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27413 <kernel-features.h>.
27414 [__ASSUME_32BITUIDS]: Make code unconditional.
27415 [!__ASSUME_32BITUIDS]: Remove conditional code.
27416
a386f1cc
RH
274172012-05-25 Richard Henderson <rth@twiddle.net>
27418
27419 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27420 dl_hwcap to ifunc resolver.
27421 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27422 elf_ifunc_invoke.
27423 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27424 dl_hwcap to ifunc resolver.
27425 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27426
b6550497
JM
274272012-05-24 Joseph Myers <joseph@codesourcery.com>
27428
27429 [BZ #14153]
27430 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27431 for |x| <= 2**-26, not 2**-57.
27432 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27433 exception.
27434
b0bc23a1
JL
274352012-05-24 Jeff Law <law@redhat.com>
27436
27437 * stdio-common/Makefile (tests): Add bug25.
27438 * stdio-common/bug25.c: New test.
27439
347c92e9
L
274402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27441
27442 [BZ #13576]
27443 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27444 multiple of MALLOC_ALIGNMENT in size.
27445 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27446
6bcc8b3f
JM
274472012-05-24 Joseph Myers <joseph@codesourcery.com>
27448
27449 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27450 Require >= 256.
27451 (FILENAME_MAX): Use macro-int-constant.
27452 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27453 (_IOFBF): Use macro-int-constant.
27454 (_IOLBF): Likewise.
27455 (_IONBF): Likewise.
27456 (SEEK_CUR): Likewise.
27457 (SEEK_END): Likewise.
27458 (SEEK_SET): Likewise.
27459 (TMP_MAX): Likewise.
27460 (EOF): Use macro-int-constant. Require < 0.
27461 (NULL): Use macro-constant. Require == 0.
27462 (stdin): Require type to be FILE *.
27463 (stdout): Likewise.
27464 (stderr): Likewise.
27465 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27466 macro-int-constant.
27467 (EXIT_SUCCESS): Likewise.
27468 (NULL): Use macro-constant. Require == 0.
27469 (RAND_MAX): Use macro-int-constant.
27470 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27471 [C99-based standards] (strtof): Require function.
27472 [C99-based standards] (strtold): Likewise.
27473 [C99-based standards] (strtoll): Likewise.
27474 [C99-based standards] (strtoull): Likewise.
27475 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27476 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27477 [ISO || ISO99 || ISO11] (math.h): Likewise.
27478 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27479 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27481
d18ea0c5
AS
274822012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27483
27484 [BZ #14132]
56d25bb8
AS
27485 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27486 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27487 * intl/dgettext.c (DCGETTEXT): Likewise.
27488 * intl/gettext.c (DCGETTEXT): Likewise.
27489 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27490 * posix/regex_internal.h (gettext): Likewise.
27491 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27492 Remove declaration.
27493 * include/argz.h (__argz_count_internal)
27494 (__argz_stringify_internal): Remove declaration.
27495 (__argz_count, __argz_stringify): Declare hidden proto.
27496 * intl/dcgettext.c: Remove use of INTDEF.
27497 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27498 * string/argz-stringify.c: Likewise.
27499 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27500 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27501 Declare hidden proto.
d18ea0c5
AS
27502 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27503 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27504 Declare hidden proto.
27505 * include/stdio.h (__asprintf_internal): Don't declare.
27506 (__asprintf): Don't define as macro. Declare hidden proto.
27507 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27508 (__fsetlocking): Declare hidden proto.
27509 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27510 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27511 hidden proto.
27512 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27513 (_IO_setlinebuf): Remove use of INTUSE.
27514 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27515 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27516 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27517 Remove declaration.
27518 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27519 (_IO_do_flush): Remove use of INTUSE.
27520 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27521 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27522 (_IO_adjust_column, _IO_least_wmarker)
27523 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27524 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27525 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27526 (_IO_default_doallocate, _IO_wdefault_doallocate)
27527 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27528 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27529 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27530 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27531 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27532 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27533 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27534 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27535 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27536 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27537 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27538 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27539 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27540 proto.
27541 (_IO_flush_all_internal, _IO_adjust_column_internal)
27542 (_IO_default_uflow_internal, _IO_default_finish_internal)
27543 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27544 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27545 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27546 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27547 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27548 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27549 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27550 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27551 (_IO_file_close_internal, _IO_file_close_it_internal)
27552 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27553 (_IO_file_init_internal, _IO_file_attach_internal)
27554 (_IO_file_fopen_internal, _IO_file_read_internal)
27555 (_IO_file_sync_internal, _IO_file_seek_internal)
27556 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27557 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27558 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27559 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27560 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27561 (_IO_list_all_internal, _IO_link_in_internal)
27562 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27563 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27564 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27565 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27566 (_IO_do_write_internal, _IO_padn_internal)
27567 (_IO_getline_info_internal, _IO_getline_internal)
27568 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27569 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27570 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27571 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27572 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27573 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27574 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27575 with libc_hidden_ver, remove use of INTUSE.
27576 * libio/genops.c: Likewise.
27577 * libio/freopen.c: Likewise.
27578 * libio/freopen64.c: Likewise.
27579 * libio/iofclose.c: Likewise.
27580 * libio/iofdopen.c: Likewise.
27581 * libio/iofflush.c: Likewise.
27582 * libio/iofflush_u.c: Likewise.
27583 * libio/iofgets.c: Likewise.
27584 * libio/iofgets_u.c: Likewise.
27585 * libio/iofopen.c: Likewise.
27586 * libio/iofopncook.c: Likewise.
27587 * libio/iofread.c: Likewise.
27588 * libio/iofread_u.c: Likewise.
27589 * libio/ioftell.c: Likewise.
27590 * libio/iofwrite.c: Likewise.
27591 * libio/iogetline.c: Likewise.
27592 * libio/iogets.c: Likewise.
27593 * libio/iogetwline.c: Likewise.
27594 * libio/iopadn.c: Likewise.
27595 * libio/iopopen.c: Likewise.
27596 * libio/ioseekoff.c: Likewise.
27597 * libio/ioseekpos.c: Likewise.
27598 * libio/iosetbuffer.c: Likewise.
27599 * libio/iosetvbuf.c: Likewise.
27600 * libio/ioungetc.c: Likewise.
27601 * libio/ioungetwc.c: Likewise.
27602 * libio/iovdprintf.c: Likewise.
27603 * libio/iovsprintf.c: Likewise.
27604 * libio/iovsscanf.c: Likewise.
27605 * libio/memstream.c: Likewise.
27606 * libio/obprintf.c: Likewise.
27607 * libio/oldfileops.c: Likewise.
27608 * libio/oldiofclose.c: Likewise.
27609 * libio/oldiofdopen.c: Likewise.
27610 * libio/oldiofopen.c: Likewise.
27611 * libio/oldiopopen.c: Likewise.
27612 * libio/oldstdfiles.c: Likewise.
27613 * libio/putc.c: Likewise.
27614 * libio/setbuf.c: Likewise.
27615 * libio/setlinebuf.c: Likewise.
27616 * libio/stdfiles.c: Likewise.
27617 * libio/strops.c: Likewise.
27618 * libio/vasprintf.c: Likewise.
27619 * libio/vscanf.c: Likewise.
27620 * libio/vsnprintf.c: Likewise.
27621 * libio/vswprintf.c: Likewise.
27622 * libio/wfiledoalloc.c: Likewise.
27623 * libio/wfileops.c: Likewise.
27624 * libio/wgenops.c: Likewise.
27625 * libio/wmemstream.c: Likewise.
27626 * libio/wstrops.c: Likewise.
27627 * libio/__fpurge.c: Likewise.
27628 * libio/__fsetlocking.c: Likewise.
27629 * assert/assert.c: Likewise.
27630 * debug/fgets_chk.c: Likewise.
27631 * debug/fgets_u_chk.c: Likewise.
27632 * debug/fread_chk.c: Likewise.
27633 * debug/fread_u_chk.c: Likewise.
27634 * debug/gets_chk.c: Likewise.
27635 * debug/obprintf_chk.c: Likewise.
27636 * debug/vasprintf_chk.c: Likewise.
27637 * debug/vdprintf_chk.c: Likewise.
27638 * debug/vsnprintf_chk.c: Likewise.
27639 * debug/vsprintf_chk.c: Likewise.
27640 * malloc/mtrace.c: Likewise.
27641 * misc/error.c: Likewise.
27642 * misc/syslog.c: Likewise.
27643 * stdio-common/asprintf.c: Likewise.
27644 * stdio-common/fxprintf.c: Likewise.
27645 * stdio-common/getw.c: Likewise.
27646 * stdio-common/isoc99_fscanf.c: Likewise.
27647 * stdio-common/isoc99_scanf.c: Likewise.
27648 * stdio-common/isoc99_vfscanf.c: Likewise.
27649 * stdio-common/isoc99_vscanf.c: Likewise.
27650 * stdio-common/isoc99_vsscanf.c: Likewise.
27651 * stdio-common/printf-prs.c: Likewise.
27652 * stdio-common/printf_fp.c: Likewise.
27653 * stdio-common/printf_fphex.c: Likewise.
27654 * stdio-common/printf_size.c: Likewise.
27655 * stdio-common/putw.c: Likewise.
27656 * stdio-common/scanf.c: Likewise.
27657 * stdio-common/sprintf.c: Likewise.
27658 * stdio-common/tmpfile.c: Likewise.
27659 * stdio-common/vfprintf.c: Likewise.
27660 * stdio-common/vfscanf.c: Likewise.
27661 * stdlib/strfmon_l.c: Likewise.
27662 * sunrpc/openchild.c: Likewise.
27663 * sunrpc/xdr_stdio.c: Likewise.
27664 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27665 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27666
d6c33fda
RM
276672012-05-24 Roland McGrath <roland@hack.frob.com>
27668
c1487492
RM
27669 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27670
27671 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27672 in the third column, to generate for the shared library an IFUNC
27673 that uses _dl_vdso_vsym.
27674 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27675 * Makeconfig (object-suffixes-noshared): New variable.
27676
27677 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27678 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27679 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27680 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27681
d6c33fda
RM
27682 [BZ #14132]
27683 * include/sys/time.h (__gettimeofday): Remove macro.
27684 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27685 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27686 Remove INTDEF.
27687 (__gettimeofday): Add libc_hidden_def.
27688 (gettimeofday): Add libc_hidden_weak.
27689 * sysdeps/mach/gettimeofday.c: Likewise.
27690 * sysdeps/posix/gettimeofday.c: Likewise.
27691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27692 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27694 (__gettimeofday_internal): Remove strong_alias.
27695 (__gettimeofday): Add libc_hidden_def.
27696 (gettimeofday): Add libc_hidden_weak.
27697 * sysdeps/unix/syscalls.list (gettimeofday):
27698 Remove __gettimeofday_internal alias.
27699
b5a2bbe6
L
277002012-05-24 Daniel Jacobowitz <drow@false.org>
27701 H.J. Lu <hongjiu.lu@intel.com>
27702
27703 [BZ #12495]
27704 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27705 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27706 (largebin_index_32_big): New.
27707 (largebin_index): Use it for 16-byte alignment.
27708 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27709 correction with front_misalign.
27710
cfba4fda
L
277112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27712
7f907421
L
27713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27715 Likewise.
27716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27717 Likewise.
27718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27719 Likewise.
27720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27721 Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27723 Likewise.
27724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27725 Likewise.
27726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27727 Likewise.
27728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27729 Likewise.
27730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27731 Likewise.
27732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27733 Likewise.
27734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27735 Likewise.
27736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27737 Likewise.
27738
cfba4fda
L
27739 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27740 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27741
80bad0cc
JM
277422012-05-24 Joseph Myers <joseph@codesourcery.com>
27743
7a25eb06
JM
27744 [BZ #10846]
27745 [BZ #14036]
27746 * math/libm-test.inc (exp_test): Add test from bug 14036.
27747 (pow_test): Add test from bug 10846.
27748
795405f9
JM
27749 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27750 and other flags.
27751 (special_function): Do not include flags in test name.
27752 (parse_args): Likewise.
27753 * sysdeps/i386/fpu/libm-test-ulps: Update.
27754 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27755 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27756 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27758
80bad0cc
JM
27759 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27760 exceptions.
27761 * math/libm-test.inc ("Philosophy"): Update comment about
27762 exception testing.
27763 (UNDERFLOW_EXCEPTION): New macro.
27764 (UNDERFLOW_EXCEPTION_OK): Likewise.
27765 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27766 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27767 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27768 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27769 (INVALID_EXCEPTION_OK): Update value.
27770 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27771 (OVERFLOW_EXCEPTION_OK): Likewise.
27772 (IGNORE_ZERO_INF_SIGN): Likewise.
27773 (test_exceptions): Handle underflow exceptions.
27774 (acos_test): Update for underflow exception expectations.
27775 (cexp_test): Likewise.
27776 (clog_test): Likewise.
27777 (clog10_test): Likewise.
27778 (csqrt_test): Likewise.
27779 (ctan_test): Likewise.
27780 (ctanh_test): Likewise.
27781 (exp_test): Likewise.
27782 (exp10_test): Likewise.
27783 (exp2_test): Likewise.
27784 (expm1_test): Likewise.
27785 (fma_test): Likewise.
27786 (j0_test): Likewise.
27787 (jn_test): Likewise.
27788 (nexttoward_test): Likewise.
27789 (pow_test): Likewise.
27790 (scalbn_test): Likewise.
27791 (scalbln_test): Likewise.
27792 (tan_test): Likewise.
27793 (y1_test): Likewise.
27794 * sysdeps/i386/fpu/libm-test-ulps: Update.
27795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27796
9e0e3d0b
DM
277972012-05-23 David S. Miller <davem@davemloft.net>
27798
27799 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27800 (__libc_sigaction): Remove unused local variables.
27801
ccd0a08f
L
278022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27803
27804 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27805
62bdf9a6
PE
278062012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27807
f8591f80
PE
27808 mktime: avoid signed integer overflow
27809 * time/mktime.c (__mktime_internal): Do not mishandle the case
27810 where diff == INT_MIN.
27811
94c7d826
PE
27812 mktime: simplify computation of average
27813 * time/mktime.c (ranged_convert): Use new time_t_avg function
27814 instead of rolling our own (probably-slower) code.
27815
ce73d683
PE
27816 mktime: do not assume signed right shift propagates sign bit
27817 * time/mktime.c (isdst_differ): New static function.
27818 (__mktime_internal): No need to normalize tm_isdst now.
27819 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27820 tm_isdst values.
27821
72a22e59
PE
27822 mktime: merge another wrapv change from gnulib
27823 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27824 from some compilers.
27825
68605433
PE
27826 mktime: remove incorrect attempt at unusual arithmetics
27827 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27828 The code didn't really work on such machines anyway.
27829 (TYPE_MINIMUM): Assume two's complement.
27830 (twos_complement_arithmetic): Verify that long_int and time_t
27831 are two's complement (or unsigned, in the latter case).
27832
03cf7fe3
PE
27833 mktime: check signed shifts on long_int and time_t, too
27834 * time/mktime.c (SHR): Check that shifts work as desired
27835 on the types long_int and time_t too, as SHR is used on
27836 such types.
27837
f04dfbc2
PE
27838 mktime: do not assume 'long' is wide enough
27839 * time/mktime.c (verify): Move decl up.
27840 (long_int): New type.
27841 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27842 to remove assumption in the code that 'long' is wide enough to
27843 store year values. This assumption is not true on x32 and on
27844 some non-glibc platforms.
27845
62bdf9a6
PE
27846 mktime: merge wrapv change from gnulib
27847 * time/mktime.c (WRAPV): New macro.
27848 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27849 (guess_time_tm, __mktime_internal): Do not assume that signed
27850 integer overflow wraps around; modern compilers generate code
27851 where this assumption is no longer valid.
27852
5e292e4f
L
278532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27854
27855 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27856 Replace "jmp L(pseudo_end)" with "ret".
27857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27858 Likewise.
27859
8caf8c87
AJ
278602012-05-23 Andreas Jaeger <aj@suse.de>
27861
27862 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27863 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27864
1a09dc56
AJ
278652012-05-23 Andreas Jaeger <aj@suse.de>
27866 Maximilian Attems <max@stro.at>
27867
27868 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27869 New macros.
27870
1c87aba0
L
278712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27872
27873 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27874 code so that pseudo_end is just ret and the stack pointer is
27875 correct also for static library in error case.
27876
40e45bd5
JM
278772012-05-23 Joseph Myers <joseph@codesourcery.com>
27878
c2670533
JM
27879 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27880 move to syscalls.list.
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27885
40e45bd5
JM
27886 * manual/install.texi (Running make install): Do not mention Linux
27887 kernel version for which pt_chown is not needed.
27888 (Linux): Do not mention problems with nscd with 2.0 kernels.
27889 * INSTALL: Regenerated.
27890
be08eda5
AJ
278912012-05-23 Andreas Jaeger <aj@suse.de>
27892
27893 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27894 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27895 macro.
27896 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27897 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27898 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27899 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27900 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27901 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27902 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27903 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27904 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27905 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27906 * sysdeps/unix/sysv/linux/bits/in.h
27907 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27908
a6a056bb
RM
279092012-05-22 Roland McGrath <roland@hack.frob.com>
27910
27911 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27912 (PREPARE_VERSION): Just use assert instead, it will be elided
27913 under [NDEBUG] anyway.
27914
c9009328
L
279152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 * sysdeps/unix/sysv/linux/Makefile: Include
27918 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27919 (sysdep_routines): Remove sysctl.
c9009328
L
27920 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27921 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27922 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27923 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27924 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27925
73338355
AJ
279262012-05-22 Andreas Jaeger <aj@suse.de>
27927
27928 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27929 that pseudo_end is just ret and the stack pointer is correct also
27930 for static library in error case.
27931
d44638b0
PP
279322012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27933
27934 [BZ #14122]
27935 * nss/nsswitch.c (defconfig_entries): New variable.
27936 (__nss_database_lookup): Don't leak defconfig entries.
27937 (nss_parse_service_list): Don't leak on error paths.
27938 (free_database_entries): New function.
27939 (free_defconfig): New function.
27940 (free_mem): Move common code to free_database_entries.
27941
31a39bd8
L
279422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27943
da0331a8
L
27944 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27945 Add arch_prctl.
27946 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27947
31a39bd8
L
27948 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27949 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27951 New macro.
27952 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27953 (INTERNAL_SYSCALL_TYPES): Likewise.
27954 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27955 (LOAD_REGS_TYPES_[1-6]): Likewise.
27956 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27957 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27958
45470df3
AZ
279592012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27960
27961 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27962 copysignl for GLIBC_2_0.
27963 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27964 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27966 logbl for GLIBC_2_0.
27967 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27968 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27969
98a61bcb
L
279702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27971
a4f6e481
L
27972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27973 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27974
f63d5db6
L
27975 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27976 Use "neg %eax".
27977
98a61bcb
L
27978 * time/mktime.c: Update copyright years.
27979
95770f14
PE
279802012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27981
6226efbd
PE
27982 mktime: merge comment-quoting-style change from gnulib
27983 * time/mktime.c: Quote 'like this' in comments.
27984 The GNU coding standards suggest that we no longer quote `like this',
27985 as "`" and "'" are typically rendered asymmetrically nowadays.
27986 The typical gnulib style is to quote 'like this' when quoting
27987 code, and "like this" when quoting English.
27988
b99e4f78
PE
27989 * time/mktime.c (compile-command): Add "-I.".
27990
643e01e6
PE
27991 mktime: merge mktime-internal.h change from gnulib
27992 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27993
2554247d
PE
27994 mktime: merge time_r change from gnulib
27995 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27996
826dd0ab
PE
27997 mktime: merge DEBUG change from gnulib
27998 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27999 case system <time.h> has a #define.
28000
bd83aabe
PE
28001 mktime: merge <sys/types.h> change from gnulib
28002 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28003 since <time.t> is now guaranteed to define time_t.
28004
95770f14
PE
28005 mktime: merge HAVE_CONFIG_H change from gnulib
28006 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28007
5e1a27a9
L
280082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28009
0e44a77e
L
28010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28011 Use "neg %eax".
28012
5e1a27a9
L
28013 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28014 __rlim_t cast.
28015 (struct rusage): Use anonymous union to pad each field to
28016 __syscall_slong_t.
28017
46259bec
DM
280182012-05-21 David S. Miller <davem@davemloft.net>
28019
28020 * Makefules (o-iterator): Remove .s cases.
28021 (compile-command.s): Delete.
28022 (COMPILE.s): Delete.
28023 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28024
59f0c22e
JM
280252012-05-21 Joseph Myers <joseph@codesourcery.com>
28026
28027 * configure.in (libc_cv_predef_stack_protector): Only consider
28028 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28029 * configure: Regenerated.
28030
20c07380
L
280312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28032
bbb3154b
L
28033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28034 New macro. Use R*LP on int and pointer.
28035 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28036 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28037 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28038 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28039
20c07380
L
28040 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28041 [__WORDSIZE_TIME64_COMPAT32] instead of
28042 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28043 (struct utmp): Likewise.
28044 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28045 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28046 Renamed to ...
28047 (__WORDSIZE_TIME64_COMPAT32): This.
28048 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28049 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28050 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28051 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28052 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28053 (__WORDSIZE_TIME64_COMPAT32): New macro.
28054
d8d1017e
AJ
280552012-05-21 Andreas Jaeger <aj@suse.de>
28056
28057 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28058 only if [SHARED]. Add prototype for __wcschr_ia32.
28059
6c7fb145
RM
280602012-05-21 Roland McGrath <roland@hack.frob.com>
28061
28062 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28063 of %rbp unmolested in the jmp_buf while mangling the low bits.
28064 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28065 unmolested high bits of %rbp while demangling the low bits.
28066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28067
66274218
AJ
280682012-05-21 Andreas Jaeger <aj@suse.de>
28069
07c58f8f
AJ
28070 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28071 * sunrpc/svc_simple.c: Use it for registerrpc.
28072 * sunrpc/xcrypt.c: Use it for passwd2des.
28073
66274218
AJ
28074 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28075
61f65140
L
280762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28077
28078 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28079 Don't define if [__SYSCALL_WORDSIZE != 32].
28080 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28081 New macro.
28082
5fefb436
AJ
280832012-05-21 Bruno Haible <bruno@clisp.org>
28084 Andreas Jaeger <aj@suse.de>
28085
28086 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28087 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28088 inptr and inend for must_buffer_ch.
28089 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28090 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28091 * stdio-common/Makefile (tests): Remove bug15.
28092 (bug15-ENV): Remove macro.
28093 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28094 anymore.
28095
d8e272ab
AJ
280962012-05-19 Andreas Jaeger <aj@suse.de>
28097 Roland McGrath <roland@hack.frob.com>
28098
28099 * manual/contrib.texi: Completely rewritten. It contains now an
28100 alphabetical list of contributors and their contributions.
28101
4a56a162
RH
281022012-05-21 Richard Henderson <rth@twiddle.net>
28103
28104 * misc/getauxval.c (__getauxval): Use unsigned long int.
28105 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28106 (getauxval): Use unsigned long int.
28107
d024d23c
L
281082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28109
28110 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28111
cbc00a03
RM
281122012-05-21 Roland McGrath <roland@hack.frob.com>
28113
28114 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28115 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28116 __alignof__ (long double).
28117
478143fa
AZ
281182012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28119
28120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28121
c7683a6d
RH
281222012-05-20 Richard Henderson <rth@twiddle.net>
28123
28124 * misc/getauxval.c: New file.
28125 * misc/sys/auxv.h: New file.
28126 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28127 (routines): Add getauxval.
28128 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28129 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28130 * elf/dl-sysdep.c (_dl_auxv): Remove.
28131 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28132 * elf/dl-support.c (_dl_auxv): New variable.
28133 (_dl_aux_init): Initialize it.
28134 * manual/startup.texi (Auxiliary Vector): New node.
28135 * sysdeps/generic/bits/hwcap.h: New file.
28136 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28137 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28138 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28139 * sysdeps/sparc/sysdep.h: ... here. Include it.
28140 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28143 Update.
c7683a6d
RH
28144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28147 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28152
a6f1845d
AZ
281532012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28154
28155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28156
cbcbe830
DM
281572012-05-19 David S. Miller <davem@davemloft.net>
28158
28159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28160
e0b16cc2
JM
281612012-05-19 Joseph Myers <joseph@codesourcery.com>
28162
28163 [BZ #14123]
28164 * math/s_ccosh.c: Include <float.h>
28165 (__ccosh): Avoid internal overflow calculating sinh and cosh
28166 values before multiplying by sin and cos values.
28167 * math/s_ccoshf.c: Likewise.
28168 * math/s_ccoshl.c: Likewise.
28169 * math/s_csin.c: Likewise.
28170 * math/s_csinf.c: Likewise.
28171 * math/s_csinl.c: Likewise.
28172 * math/s_csinh.c: Likewise.
28173 * math/s_csinhf.c: Likewise.
28174 * math/s_csinhl.c: Likewise.
28175 * math/libm-test.inc (ccos_test): Add more tests.
28176 (ccosh_test): Likewise.
28177 (csin_test): Likewise.
28178 (csinh_test): Likewise.
28179 * sysdeps/i386/fpu/libm-test-ulps: Update.
28180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28181
6ad13e08
L
281822012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28183
f66f0ce8
L
28184 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28185 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28186
6ad13e08
L
28187 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28188
b1d072a7
JM
281892012-05-19 Joseph Myers <joseph@codesourcery.com>
28190
28191 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28192 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28193 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28194 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28195 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28196 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28197 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28198 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28199 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28200 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28201 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28202 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28203 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28204 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28205 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28206 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28207 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28208 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28209 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28210 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28211 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28212 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28213 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28214 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28215 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28216 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28217 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28218 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28219 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28220 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28221 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28222
9eae47cb
AJ
282232012-05-18 Andreas Jaeger <aj@suse.de>
28224
28225 * csu/.gitignore: Delete.
28226
bb07f69f
L
282272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28228
28229 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28230 (timex): Use __syscall_slong_t.
28231
e6bdb741
AJ
282322012-05-18 Andreas Jaeger <aj@suse.de>
28233 Carlos O'Donell <carlos_odonell@mentor.com>
28234
28235 * manual/install.texi (Configuring and compiling): Update
28236 description about files modified in the source directory.
d6c33fda 28237 * INSTALL: Regenerated.
e6bdb741 28238
1b74487e
L
282392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28240
28241 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28242 value. Use "or" to set return value to -1.
28243 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28244 negate return value.
28245
a88b64b9
TMQMF
282462012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28247
28248 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28249 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28250 failure if the compiler has Graphite support disabled.
28251 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28252 Likewise.
28253 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28254 CFLAGS-memmove.c): Likewise.
28255 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28256 Likewise.
28257
3707636e
L
282582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28259
610b8622
L
28260 * sysdeps/x86_64/x32/_itoa.h: New file.
28261
7cd195df
L
28262 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28263 getdents system call only if kernel and user dirents have the
28264 same d_ino and d_off.
28265
94b07d20
L
28266 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28267 LLONG_MAX != LONG_MAX.
28268 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28269 (_fitoa_word): Likewise.
28270
18298070
L
28271 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28272 years.
28273 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28274 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28275 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28276
553c7ea4
L
28277 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28278 include <bits/wordsize.h>. Check __x86_64__ instead of
28279 __WORDSIZE.
28280 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28281 if __x86_64__ is defined. Use anonymous union on fpstate.
28282
3707636e
L
28283 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28284 anonymous union.
28285
b53ef01a
AS
282862012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28287
37fb1dc0
AS
28288 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28289 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28290 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28291 Refer to _rtld_local_ro instead of _rtld_global_ro.
28292 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28293 Likewise.
28294 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28295 Likewise.
28296 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28297 Likewise.
28298 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28299 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28300 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28301
b53ef01a
AS
28302 * sysdeps/powerpc/powerpc32/dl-machine.c
28303 (__elf_machine_runtime_setup) [PROF]: Don't reference
28304 _dl_prof_resolve.
28305
7a185db2
AJ
283062012-05-18 Andreas Jaeger <aj@suse.de>
28307
28308 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28309 function only available for GCCs before 3.4 since GCC 3.4
28310 introduced a builtin.
28311 (lrint): Likewise.
28312 (llrintf): Likewise.
28313 (llrint): Likewise.
28314 (fmaxf): Likewise.
28315 (fmax): Likewise.
28316 (fminf): Likewise.
28317 (fmin): Likewise.
28318 (rint): Likewise.
28319 (rintf): Likewise.
28320 (nearbyint): Likewise.
28321 (nearbyintf): Likewise.
28322 (ceil): Likewise.
28323 (ceilf): Likewise.
28324 (floor): Likewise.
28325 (floorf): Likewise.
28326
3e5aef87
L
283272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28328
428bd707
L
28329 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28330 on both fields and cast pointer to __syscall_ulong_t.
28331
3e5aef87
L
28332 * bits/types.h (__fsword_t): New type.
28333 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28334 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28336 (__FSWORD_T_TYPE): Likewise.
28337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28338 (__FSWORD_T_TYPE): Likewise.
28339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28340 (__FSWORD_T_TYPE): Likewise.
28341 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28342 (__FSWORD_T_TYPE): Likewise.
28343 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28344 __SWORD_TYPE with __fsword_t.
28345 (statfs64): Likewise.
28346
1ba7c3dc
DM
283472012-05-17 David S. Miller <davem@davemloft.net>
28348
28349 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28350
59910343
AJ
283512012-05-17 Andreas Jaeger <aj@suse.de>
28352
28353 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28354 warning.
28355
2e4c1e9e
L
283562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28357
28358 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28359
de7f5ce7
AJ
283602012-05-17 Andreas Jaeger <aj@suse.de>
28361
28362 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28363 when it is used.
28364
286abc3d
CM
283652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28366
28367 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28368
477cc68e
L
283692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28370
28371 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28372 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28373
1a0994f5
CD
283742012-05-17 Andreas Jaeger <aj@suse.de>
28375 Carlos O'Donell <carlos_odonell@mentor.com>
28376
28377 [BZ #14059]
28378 * sysdeps/x86_64/multiarch/init-arch.h
28379 (bit_YMM_Usable): Rename to...
28380 (bit_AVX_Usable): ... this.
28381 (bit_FMA4_Usable): New macro.
28382 (bit_XMM_state): New macro.
28383 (bit_YMM_state): New macro.
28384 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28385 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28386 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28387 (CPUID_OSXSAVE): New macro.
28388 (CPUID_AVX): New macro.
28389 (CPUID_FMA4): New macro.
28390 (index_YMM_Usable): Rename to...
28391 (index_AVX_Usable): ... this.
28392 (HAS_AVX): Use HAS_ARCH_FEATURE.
28393 (HAS_FMA4): Likewise.
28394 (HAS_YMM_USABLE): Remove.
28395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28396 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28397 are present.
28398 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28399 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28400 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28401 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28402 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28403
0af797de
CM
284042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28405
28406 * math/libm-test.c: Support platforms without multiple rounding modes.
28407 * math/bug-nextafter.c: Support platforms without FP exceptions.
28408 * math/bug-nexttoward.c: Likewise.
28409 * math/test-fenv.c: Likewise.
28410 * math/test-misc.c: Likewise.
28411 * stdlib/bug-getcontext.c: Likewise.
28412
e39745ff
AJ
284132012-05-17 Andreas Jaeger <aj@suse.de>
28414
28415 * manual/examples/search.c (critter_cmp): Change signature to
28416 avoid warnings.
28417 * manual/string.texi (Collation Functions): Likewise.
28418
48970aba
L
284192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28420
28421 * bits/types.h: Fold copyright years.
28422 * bits/typesizes.h: Likewise.
28423 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28427 * time/time.h: Likewise.
28428
bedee953
PP
284292012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28430
28431 [BZ #208]
28432 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28433 in instead of returning them. Return void.
28434 (__libc_mallinfo): Accumulate over all arenas.
28435 (__malloc_stats): Adjust for change in int_mallinfo interface.
28436
61653dfb
RM
284372012-05-16 Roland McGrath <roland@hack.frob.com>
28438
30b99d79
RM
28439 [BZ #10375]
28440 * configure.in (NM): Add AC_CHECK_TOOL for it.
28441 (libc_extra_cflags): New substituted variable.
28442 Check for -fstack-protector being used implicitly.
28443 * configure: Regenerated.
28444 * config.make.in (config-extra-cflags): New variable,
28445 gets @libc_extra_cflags@.
28446 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28447
61653dfb
RM
28448 [BZ #10375]
28449 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28450 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28451 * configure: Regenerated.
28452 * config.make.in (CPPUNDEFS): New substituted variable.
28453 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28454 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28455 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28456
661768bb
L
284572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28458
28459 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28460 (mq_attr): Use __syscall_slong_t.
28461
d4261567
L
284622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28463
28464 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28465 Check __x86_64__ instead of __WORDSIZE.
28466 (_STAT_VER_LINUX): Likewise.
28467 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28468 __syscall_ulong_t and __syscall_slong_t.
28469 (stat64): Likewise.
28470
cf3ff365
L
284712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28474
76cf3e4d
L
284752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28476
28477 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28478
a637753a
L
284792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28480
28481 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28482 __syscall_ulong_t.
28483
d5e05119
L
28484 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28485 include <bits/wordsize.h>. Check __x86_64__ instead of
28486 __WORDSIZE.
28487 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28488 defined.
28489 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28490
f62ee380
L
28491 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28492 include <bits/wordsize.h>. Check __x86_64__ instead of
28493 __WORDSIZE.
28494 (user_regs_struct): Use "__extension__ unsigned long long"
28495 instead of "unsigned long" if __x86_64__ is defined.
28496 (user): Likewise. Pad after pointer field if __ILP32__ is
28497 defined.
28498
4e124ced
JM
284992012-05-16 Joseph Myers <joseph@codesourcery.com>
28500
6a3951a0
JM
28501 * configure.in (makeinfo): Require version 4.5 or later. Allow
28502 versions 5 to 9.
28503 * configure: Regenerated.
28504 * manual/install.texi (texinfo): Increase version requirement to
28505 4.5 or later.
28506 * INSTALL: Regenerated.
28507
4e124ced
JM
28508 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28509
953ca31a
L
285102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28511
28512 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28513
617aca05
L
28514 * sysdeps/x86_64/x32/ffs.c: New file.
28515
5762f7ae
L
28516 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28517 __syscall_ulong_t.
28518 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28519 defined. Use __syscall_ulong_t.
28520 (shminfo): Use __syscall_ulong_t.
28521 (shm_info): Likewise.
28522
a26b6856
L
28523 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28524 __syscall_ulong_t.
28525
cb2b9ef7
L
28526 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28527 <bits/wordsize.h>.
28528 (msgqnum_t): Use __syscall_ulong_t.
28529 (msglen_t): Likewise.
28530 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28531 __syscall_ulong_t.
28532
34683bb0
L
28533 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28534 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28535
84a68786
L
28536 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28537
48baa5f1
L
28538 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28539 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28540
180be88b
L
28541 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28542 __syscall_slong_t.
28543
5e90c8ad
L
28544 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28545 include <bits/wordsize.h>. Check __x86_64__ instead of
28546 __WORDSIZE.
28547
23dfb58b
L
28548 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28549 "unsigned long long int" if __x86_64__ is defined.
28550 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28551
ce5d54b0
L
28552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28553 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28554 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28555
13dc9eac
L
28556 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28557 <stdint.h>.
28558 (GET_PC): Cast to uintptr_t first.
28559 (GET_FRAME): Likewise.
28560 (GET_STACK): Likewise.
28561
a7895d15
L
28562 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28563 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28564 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28565 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28566 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28567 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28568 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28569 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28570 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28571 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28572 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28573 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28574 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28575 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28576 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28577 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28578 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28579 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28580 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28581 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28582 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28583 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28584 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28585 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28586 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28587 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28588 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28589 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28590 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28591
656416c9
AS
285922012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28593
5bd66283
AS
28594 * Makerules (+depfiles): Also collect depfiles from .oS in
28595 $(extra-objs).
28596 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28597 .oS, $(libnldbl-routines)).
28598
656416c9
AS
28599 * Makerules (native-compile-mkdep-flags): Define.
28600 * sunrpc/Makefile (extra-objs): Add $(addprefix
28601 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28602 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28603 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28604 calling $(make-target-directory).
28605
a46f2169
L
286062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28607
28608 * bits/types.h (__snseconds_t): Removed.
28609 * time/time.h (struct timespec): Replace __snseconds_t with
28610 __syscall_slong_t.
28611 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28612 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28613 Likewise.
28614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28615 (__SNSECONDS_T_TYPE): Likewise.
28616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28617 (__SNSECONDS_T_TYPE): Likewise.
28618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28619 (__SNSECONDS_T_TYPE): Likewise.
28620
6af6528b
L
286212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28622
28623 * sysdeps/mach/hurd/bits/typesizes.h
28624 (__SYSCALL_SLONG_TYPE): New macro.
28625 (__SYSCALL_ULONG_TYPE): Likewise.
28626
de986b56
L
286272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28628
28629 * bits/types.h (__syscall_slong_t): New type.
28630 (__syscall_ulong_t): Likewise.
28631
28632 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28633 (__SYSCALL_ULONG_TYPE): Likewise.
28634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28635 (__SYSCALL_SLONG_TYPE): Likewise.
28636 (__SYSCALL_ULONG_TYPE): Likewise.
28637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28638 (__SYSCALL_SLONG_TYPE): Likewise.
28639 (__SYSCALL_ULONG_TYPE): Likewise.
28640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28641 (__SYSCALL_SLONG_TYPE): Likewise.
28642 (__SYSCALL_ULONG_TYPE): Likewise.
28643
85736dc7
L
286442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28645
28646 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28647 Add sigaltstack-offsets.sym.
28648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28649 <sigaltstack-offsets.h>.
28650 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28651 longjmp_msg pointer.
28652 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28653 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28654 signal stack.
28655 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28656
cc03b296
JM
286572012-05-15 Joseph Myers <joseph@codesourcery.com>
28658
a9538892
JM
28659 * elf/stackguard-macros.h: Remove file.
28660 * sysdeps/generic/stackguard-macros.h: New file.
28661 * sysdeps/i386/stackguard-macros.h: Likewise.
28662 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28663 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28664 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28665 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28666 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28667 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28668 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28669 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28670 <elf/stackguard-macros.h>.
28671
cc03b296
JM
28672 [BZ #14109]
28673 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28674 __aligned__ in attribute.
28675 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28676 (gregset_t): Likewise.
28677
93171016
L
286782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28679
28680 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28681 * sysdeps/x86_64/64/Implies-after: Here. New file.
28682 * sysdeps/x86_64/x32/Implies-after: New file.
28683
d86813a0
L
286842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28685
28686 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28687 and access return value for _dl_profile_fixup. Use R10_LP to
28688 load frame size.
28689
2953ec75
L
286902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28691
28692 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28693
3b550e9e
L
286942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28695
28696 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28697 * sysdeps/x86_64/x32/sysdep.h: New file.
28698
eda41706
L
286992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28700
28701 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28702 * sysdeps/x86_64/setjmp.S: Likewise.
28703
9ea01d93
AZ
287042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28705
28706 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28707 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28708 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28710 remove unused global constant.
28711
02a91938
CM
287122012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28713
28714 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28715 include of <not-cancel.h>.
28716
6540185f
RM
287172012-05-15 Roland McGrath <roland@hack.frob.com>
28718
28719 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28720
509072a0
AJ
287212012-05-15 Jeff Law <law@redhat.com>
28722 Andreas Jaeger <aj@suse.de>
28723
28724 [BZ #13594]
28725 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28726 out from...
28727 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28728 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28729 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28730 code changing __hst_map_handle.map.
28731
ba75122d
RM
287322012-05-15 Roland McGrath <roland@hack.frob.com>
28733
28734 * configure.in (sysnames): Look for Implies-before and Implies-after
28735 files.
28736 * configure: Regenerated.
28737
890d8bd8
L
287382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28739
28740 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28741 8-byte data alignment with LP_SIZE alignment.
28742
f6ee6623
L
287432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28744
28745 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28746 into R10_LP.
28747
ea2626f6
L
287482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28749
28750 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28751
085f715e
L
287522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28753
28754 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28755 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28756 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28757 Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28759
be8498fc
L
287602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28761
28762 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28763 (stackinfo_sub_sp): Likewise.
28764
70bc83b9
L
287652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28766
28767 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28768 RAX_LP.
28769
9bc0b730
L
287702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28771
28772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28773 into R*_LP.
28774
6d2850e7
L
287752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28776
28777 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28778 sizes into R*_LP.
28779
3cb84561
L
287802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28781
28782 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28783
54e2ed81
L
287842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28785
28786 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28787 into R11_LP and load __x86_64_shared_cache_size_half into
28788 R8_LP.
28789
8a17f349
L
287902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28791
28792 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28793 R8_LP.
28794
777b1eea
AZ
287952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28796
28797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28798 logb for POWER7.
28799 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28800 logbf for POWER7.
28801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28802 logbl for POWER7.
28803 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28804 powerpc32/power7/fpu/s_logb.c via #include.
28805 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28806 powerpc32/power7/fpu/s_logbf.c via #include.
28807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28808 powerpc32/power7/fpu/s_logbl.c via #include.
28809
d20d4ac2
JM
288102012-05-15 Joseph Myers <joseph@codesourcery.com>
28811
28812 * README.libm: Remove file.
28813
6cdef1ab
L
288142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28815
28816 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28817 count for x32. Use R*_LP and omit operand-size suffix.
28818
0b254d8f
L
288192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28820
28821 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28822 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28823 * sysdeps/x86_64/x32/shlib-versions: New file.
28824
ceb809dc
RM
288252012-05-14 Roland McGrath <roland@hack.frob.com>
28826
28827 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28828 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28829 Use _dl_fatal_printf instead.
28830
37f1abd4
JM
288312012-05-14 Joseph Myers <joseph@codesourcery.com>
28832
28833 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28834 set if not set by the user. Do not allow for being unset.
28835 * sysdeps/unix/sysv/linux/configure: Regenerated.
28836
11de3a33
L
288372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28838
28839 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28840 the `q' suffix from lea and replace .quad with ASM_ADDR.
28841
e02f153a
L
288422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28843
28844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28845 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28846 instead of $17.
28847 (PTR_DEMANGLE): Likewise.
28848
520ae0fd
L
288492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28850
28851 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28852 (LP_OP): Likewise.
28853 (ASM_ADDR): Likewise.
28854 (RAX_LP): Likewise.
28855 (RBP_LP): Likewise.
28856 (RBX_LP): Likewise.
28857 (RCX_LP): Likewise.
28858 (RDI_LP): Likewise.
28859 (RSI_LP): Likewise.
28860 (RSP_LP): Likewise.
28861 (R8_LP): Likewise.
28862 (R9_LP): Likewise.
28863 (R10_LP): Likewise.
28864 (R10_LP): Likewise.
28865 (R11_LP): Likewise.
28866 (R12_LP): Likewise.
28867 (R13_LP): Likewise.
28868 (R14_LP): Likewise.
28869 (R15_LP): Likewise.
28870
b985be81
L
288712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28872
28873 * sysdeps/x86_64/x32/dl-machine.h: New file.
28874
6a4888ff
AJ
288752012-05-14 Andreas Jaeger <aj@suse.de>
28876
28877 * manual/Makefile (subdir): Remove export of subdir.
28878 (all): Remove target.
28879 (.PHONY): Remove all from list.
28880 (mkinstalldirs): Remove.
28881 (.PHONY): Remove installdirs from list.
28882 ($(inst_infodir)/libc.info): Use make-target-directory.
28883 (installdirs): Remove.
28884 (subdir_%): Remove.
28885 (glibc-targets): Remove.
28886 (lib): Remove.
28887 (stubs): Remove.
28888 ($(objpfx)stubs ../po/manual.pot): Remove.
28889 ($(objpfx)stamp%): Remove.
28890 (make-target-directory): Remove.
28891 (subdir_install): Remove.
28892 (routines): Remove.
28893 (aux): Remove.
28894 (sources): Remove.
28895 (objects): Remove.
28896 (headers): Remove.
28897
28898 [BZ #13750]
28899 * manual/.gitignore: Remove, it's not needed anymore.
28900 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28901 all files in it.
28902 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28903 directory.
28904 (texis): Renamed to $(objpfx)texis.
28905 (texis-path): New, contains path to generated files.
28906 (chapters.%): Use texis-path for complete path, add extra argument
28907 libc-texinfo.sh.
28908 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28909 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28910 (summary,texi, stamp-summary): Use complete path of
28911 files. Generate files in build dir.
28912 (dir-add.texi): Build in build dir.
28913 (libm-err.texi,stamp-libm-err): Likewise.
28914 (version.texi, stamp-version): Likewise.
28915 (.%c.texi): Likewise.
28916 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28917 (mostlyclean): Remove target.
28918 (realclean): Remove target.
28919 (generated): Add new variable with contents from mostlyclean and
28920 realclean, remove entries duplicated in common-mostlyclean, add
28921 stamp-libm-err and stamp-version.
28922 (generated-dirs): Add libc directory.
28923 ($(inst_infodir)/libc.info): Install files from build dir.
28924
28925 * manual/install.texi (Configuring and compiling): Adjust since
28926 the info files are not part of the tar ball anymore.
28927
7ac77294
AJ
289282012-05-14 Andreas Jaeger <aj@suse.de>
28929
28930 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28931 variable.
28932
ffb7875d
JM
289332012-05-14 Joseph Myers <joseph@codesourcery.com>
28934
28935 [BZ #13717]
28936 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28937 to 2.2.0 where earlier.
28938 * sysdeps/unix/sysv/linux/configure: Regenerated.
28939 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28940 Remove conditional code.
28941 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28942 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28943 Remove conditional code.
28944 [!__NR_lchown]: Likewise.
28945 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28946 [__NR_lchown]: Likewise.
28947 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28948 comment referencing __ASSUME_LCHOWN_SYSCALL.
28949 * sysdeps/unix/sysv/linux/i386/sigaction.c
28950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28952 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28953 Remove conditional code.
28954 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28955 (__protocol_available): Remove #if 0 code.
28956 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28957 conditional code.
28958 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28959 * sysdeps/unix/sysv/linux/kernel-features.h
28960 (__ASSUME_GETCWD_SYSCALL): Don't define.
28961 (__ASSUME_REALTIME_SIGNALS): Likewise.
28962 (__ASSUME_PREAD_SYSCALL): Likewise.
28963 (__ASSUME_PWRITE_SYSCALL): Likewise.
28964 (__ASSUME_POLL_SYSCALL): Likewise.
28965 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28966 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28967 non-SPARC.
28968 (__ASSUME_SIOCGIFNAME): Don't define.
28969 (__ASSUME_MSG_NOSIGNAL): Likewise.
28970 (__ASSUME_SENDFILE): Define unconditionally.
28971 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28972 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28973 conditional code.
28974 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28975 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28976 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28977 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28978 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28979 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28980 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28982 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28985 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28988 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28991 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28997 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29005 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29006 Remove conditional code.
29007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29008 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29009 Remove conditional code.
29010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29011 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29012 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29013 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29014 Remove conditional code.
29015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29016 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29017 Remove conditional code.
29018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29019 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29020 Remove conditional code.
29021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29022 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29023 Remove conditional code.
29024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29025 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29026 Remove conditional code.
29027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29028 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29029 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29031 * sysdeps/unix/sysv/linux/sigaction.c
29032 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29033 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29034 * sysdeps/unix/sysv/linux/sigpending.c
29035 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29036 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29037 * sysdeps/unix/sysv/linux/sigprocmask.c
29038 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29039 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29040 * sysdeps/unix/sysv/linux/sigsuspend.c
29041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29044 (__libc_missing_rt_sigs): Remove.
29045 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29046 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29047 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29048 Remove conditional code.
29049 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29050 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29051 return 1.
29052 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29053 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29054 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29055 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29056
1bfb7291
AJ
290572012-05-14 Andreas Jaeger <aj@suse.de>
29058
caae5a81
AJ
29059 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29060 it's not used in glibc.
29061 (__coshm1): Likewise.
29062 (__acosh1p): Likewise.
29063 (__sgn): Likewise.
29064
1bfb7291
AJ
29065 * manual/string.texi (Copying and Concatenation): Add missing
29066 variable in concat example.
29067 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29068
c044d724
L
290692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29070
144c5467 29071 [BZ #14103]
c044d724
L
29072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29073 __builtin_clzl with __builtin_clzll.
29074
2523c62b
L
290752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29076
29077 [BZ #14104]
29078 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29079 libc_freeres_ptr.
29080
d7bb4c42
LD
290812012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29082
29083 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29084 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29085 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29086 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29087
9dc4e1fb
MF
290882012-05-14 Mike Frysinger <vapier@gentoo.org>
29089
29090 * NEWS: Update ia64 info.
29091
c7df0112
AS
290922012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29093
29094 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29095 used as bcopy.
29096
dc70356c
TS
290972012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29098
29099 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29100 * sysdeps/unix/syscalls.list (dup3): Likewise.
29101 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29102 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29103
9fb1a21f
L
291042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29105
29106 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29107 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29108
4822a2a5
L
291092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29110
29111 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29112 thread pointer.
29113 (TLS_IE): Use mov/add instead of movq/addq to load thread
29114 pointer.
29115 (TLS_GD_PREFIX): New.
29116 (TLS_GD): Use it.
29117
842b81d6
DM
291182012-05-11 David S. Miller <davem@davemloft.net>
29119
29120 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29121 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29122 (_FPU_SETCW): Likewise.
29123
1cf463cd
L
291242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29125
29126 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29127 is 32-byte aligned.
29128
60cc4a18
AS
291292012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29130
29131 [BZ #11837]
29132 * iconvdata/gb18030.c: Update tables.
29133 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29134 characters specially.
29135 (BODY for TO_LOOP): Add encoding of missing ranges.
29136
febb44a4
TS
291372012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29138
29139 [BZ #13673]
29140 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29141 * sysdeps/mach/hurd/dup3.c: Likewise.
29142 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29143 * sysdeps/powerpc/memmove.c:: Likewise.
29144
0a10fb9e
L
291452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29146
29147 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29148 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29149
df8a552f
L
291502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29151
29152 * elf/elf.h (R_X86_64_RELATIVE64): New.
29153 (R_X86_64_NUM): Updated.
29154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29155 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29156 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29157 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29158 tst-quad1pie tst-quad2pie
29159 (modules-names): Add tst-quadmod1 tst-quadmod2.
29160 ($(objpfx)tst-quad1): New dependency.
29161 ($(objpfx)tst-quad2): Likewise.
29162 ($(objpfx)tst-quad1pie): Likewise.
29163 ($(objpfx)tst-quad2pie): Likewise.
29164 * sysdeps/x86_64/tst-quad1.c: New file.
29165 * sysdeps/x86_64/tst-quad1pie.c: New file.
29166 * sysdeps/x86_64/tst-quad2.c: Likewise.
29167 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29168 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29169 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29170 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29171 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29172
f34d6f84
ST
291732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29174
f42d41d1
ST
29175 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29176 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29177 * streams/stropts.h (t_scalar_t): Define type.
29178
3c3571fc
ST
29179 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29180 (_PATH_PRESERVE): Set to "/var/lib".
29181 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29182
61f06bd3
ST
29183 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29184 instead of int.
29185
918d4d71
ST
29186 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29187 if __dir_mkfile succeeded.
29188
f34d6f84
ST
29189 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29190 checking for _hurd_dtablesize. Unlock it right after having
29191 finished _hurd_dtable allocation.
29192
10589b4a
TS
291932012-05-10 Thomas Schwinge <thomas@schwinge.name>
29194
674cdbc7
TS
29195 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29196 * sysdeps/mach/hurd/configure: Regenerated.
29197 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29198 special-casing to...
29199 * sysdeps/gnu/configure.in: ... this new file.
29200 * sysdeps/unix/sysv/linux/configure: Regenerated.
29201 * sysdeps/gnu/configure: New generated file.
29202
8e41b99f
TS
29203 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29204 for Linux: use nsec instead of usec, as well as:
29205 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29206 members of type struct timespec.
29207 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29208 New macros.
29209 (struct stat64): Likewise.
29210 (_STATBUF_ST_NSEC): New macro.
29211 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29212
10589b4a
TS
29213 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29214 __strtoul_internal rather than strtoul.
29215
63643c85
PT
292162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29217
29218 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29219 and reject them.
29220
3faebe6a
ST
292212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29222
29223 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29224 which preserves existing values.
29225 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29226
c6474b07
PT
292272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29228
29229 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29230 TIMEOUT values. Return EINVAL for NFDS values either negative or
29231 greater than FD_SETSIZE.
29232
1043890b
ST
292332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29234
29235 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29236 allocated, call __vm_protect to finish enabling the existing space, and
29237 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29238 allocate the remainder.
29239
37ed8b9b
PT
292402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29241
29242 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29243 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29244
db653660
ST
292452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29246
37ed8b9b
PT
29247 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29248 sysdeps/mach/hurd/readlink.c.
b29d4053 29249
db653660
ST
29250 * posix/tst-sysconf.c (posix_options): Only use
29251 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29252 _POSIX_SYNCHRONIZED_IO when they are defined
29253 * sysdeps/mach/hurd/bits/posix_opt.h:
29254 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29255 (_XOPEN_REALTIME): Undefine macro.
29256 (_XOPEN_REALTIME_THREADS): Undefine macro.
29257 (_XOPEN_SHM): Undefine macro.
29258 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29259 macro to -1.
29260 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29261 macro to -1.
29262 (_POSIX_ASYNC_IO): Undefine macro.
29263 (_POSIX_PRIORITIZED_IO): Undefine macro.
29264 (_POSIX_SPIN_LOCKS): Define macro to -1.
29265
ee16e894
ST
29266 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29267 SA_NODEFER, SA_RESETHAND.
29268 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29269 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29270 F_DUPFD_CLOEXEC.
29271
6103ae3b
TS
292722012-05-10 Thomas Schwinge <thomas@schwinge.name>
29273
29274 * elf/Makefile (pldd-modules): Define unconditionally.
29275
80b4e5f3
TS
292762012-05-10 Thomas Schwinge <thomas@schwinge.name>
29277
29278 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29279
edadcbd6
ST
292802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29281
29282 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29283 Return ENOENT when name is empty.
29284 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29285
80694780
TS
292862012-05-10 Thomas Schwinge <thomas@schwinge.name>
29287
1792c087
TS
29288 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29289
80694780
TS
29290 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29291
6b645f0d
ST
292922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29293
80694780
TS
29294 Fix mlock in all cases except non-readable pages.
29295 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29296 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29297
6b645f0d
ST
29298 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29299 (__mkdir): When path is `/', just fail with EEXIST.
29300 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29301
e468f8a3
TS
293022012-05-10 Thomas Schwinge <thomas@schwinge.name>
29303
29304 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29305 <sys/uio.h> (for writev).
29306 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29307 and <sys/param.h> (for MIN).
29308
a4186cff
PT
293092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29310
29311 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29312 REQUESTED_TIME. Properly set the remaining time and return EINTR
29313 if interrupted.
29314
510bbf14
TS
293152012-05-10 Thomas Schwinge <thomas@schwinge.name>
29316
29317 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29318 Depend on against $(link-rpcuserlibs).
29319
5d5722e8
ST
293202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29321
a4186cff
PT
29322 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29323 (__libc_stack_end): Do not use attribute_relro.
29324 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29325 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29326 to libthread-provided value.
a4186cff
PT
29327 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29328 attribute_relro.
5d5722e8 29329
37233df9
TS
293302012-05-10 Thomas Schwinge <thomas@schwinge.name>
29331
be971a2b
TS
29332 [BZ #3748]
29333 * bits/libc-lock.h (__libc_once_get): New macro.
29334 * sysdeps/mach/bits/libc-lock.h: Likewise.
29335 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29337 instead of using implementation details.
29338
37233df9
TS
29339 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29340 * libio/freopen.c: Likewise.
29341 * libio/freopen64.c: Likewise.
29342 * misc/syslog.c: Likewise.
29343 * nscd/connections.c: Likewise.
29344 * nscd/netgroupcache.c: Likewise.
29345 * sysdeps/posix/getcwd.c: Likewise.
29346
38de94a5
RM
293472012-05-10 Roland McGrath <roland@hack.frob.com>
29348
29349 * math/w_ilogbf.c: Add #include <limits.h>.
29350
67530489
ST
293512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29352
a4186cff 29353 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29354 path instead of returning without unlocking.
29355
67530489
ST
29356 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29357 immediate-write ioctls.
29358 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29359
5aa3a74a
TS
293602012-05-10 Thomas Schwinge <thomas@schwinge.name>
29361
18bad2ae
TS
29362 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29363 __builtin_frame_address instead of making assumptions about the
29364 location of the return address relative to DATA. Force early load of
29365 the return address.
29366 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29367 __builtin_frame_address.
29368
5aa3a74a
TS
29369 dup3 for GNU Hurd.
29370 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29371 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29372 implement dup3 and do some further code clean-ups.
29373 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29374 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29375
ecd0de9a
ST
293762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29377
cd9fa985
ST
29378 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29379
a4186cff
PT
29380 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29381 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29382 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29383 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29384 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29385 d->port.lock.
802ca5a5 29386
a4186cff
PT
29387 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29388 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29389 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29390
bcf55240
TS
293912012-05-10 Thomas Schwinge <thomas@schwinge.name>
29392
6960eb42
TS
29393 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29394 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29395 definitions.
29396
eb43375f
TS
29397 accept4 for GNU Hurd.
29398 * include/sys/socket.h (__libc_accept4): New prototype.
29399 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29400 to implement __libc_accept4.
29401 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29402 __libc_accept4.
29403 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29404
bcf55240
TS
29405 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29406 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29407 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29408 signal-defines.sym.
29409
6178c55b
ST
294102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29411
a4186cff 29412 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29413
6f080c2f
TS
294142012-05-10 Thomas Schwinge <thomas@schwinge.name>
29415
29416 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29417 assertion on O_CLOEXEC flag.
29418 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29419 * hurd/intern-fd.c: Likewise.
29420 * hurd/port2fd.c: Likewise.
29421
bcfe3a54
ST
294222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29423
29424 [BZ #3906]
29425 * bits/in.h (IPV6_PKTINFO): Define new macro.
29426 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29427
89c9aa49
AZ
294282012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29429
29430 [BZ #13954]
29431 [BZ #13955]
29432 [BZ #13956]
29433 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29435 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29436 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29438 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29439 * math/libm-test.inc (logb_test) : Additional logb tests.
29440
021db4be
AJ
294412012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29442 Andreas Jaeger <aj@suse.de>
29443
29444 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29445 * configure: Regenerated.
29446 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29447 * config.make.in (link-obsolete-rpc): New substituted variable.
29448 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29449 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29450 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29451 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29452 so that libc.a contains the symbols.
29453 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29454 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29455 * sunrpc/auth_none.c: Likewise.
29456 * sunrpc/auth_unix.c: Likewise.
29457 * sunrpc/authdes_prot.c: Likewise.
29458 * sunrpc/authuxprot.c: Likewise.
29459 * sunrpc/clnt_gen.c: Likewise.
29460 * sunrpc/clnt_perr.c: Likewise.
29461 * sunrpc/clnt_raw.c: Likewise.
29462 * sunrpc/clnt_simp.c: Likewise.
29463 * sunrpc/clnt_tcp.c: Likewise.
29464 * sunrpc/clnt_udp.c: Likewise.
29465 * sunrpc/clnt_unix.c: Likewise.
29466 * sunrpc/des_crypt.c: Likewise.
29467 * sunrpc/des_soft.c: Likewise.
29468 * sunrpc/get_myaddr.c: Likewise.
29469 * sunrpc/key_call.c: Likewise.
29470 * sunrpc/key_prot.c: Likewise.
29471 * sunrpc/netname.c: Likewise.
29472 * sunrpc/pm_getmaps.c: Likewise.
29473 * sunrpc/pm_getport.c: Likewise.
29474 * sunrpc/pmap_clnt.c: Likewise.
29475 * sunrpc/pmap_prot.c: Likewise.
29476 * sunrpc/pmap_prot2.c: Likewise.
29477 * sunrpc/pmap_rmt.c: Likewise.
29478 * sunrpc/publickey.c: Likewise.
29479 * sunrpc/rpc_cmsg.c: Likewise.
29480 * sunrpc/rpc_common.c: Likewise.
29481 * sunrpc/rpc_dtable.c: Likewise.
29482 * sunrpc/rpc_prot.c: Likewise.
29483 * sunrpc/rpc_thread.c: Likewise.
29484 * sunrpc/rtime.c: Likewise.
29485 * sunrpc/svc.c: Likewise.
29486 * sunrpc/svc_auth.c: Likewise.
29487 * sunrpc/svc_raw.c: Likewise.
29488 * sunrpc/svc_run.c: Likewise.
29489 * sunrpc/svc_tcp.c: Likewise.
29490 * sunrpc/svc_udp.c: Likewise.
29491 * sunrpc/svc_unix.c: Likewise.
29492 * sunrpc/svcauth_des.c: Likewise.
29493 * sunrpc/xcrypt.c: Likewise.
29494 * sunrpc/xdr.c: Likewise.
29495 * sunrpc/xdr_array.c: Likewise.
29496 * sunrpc/xdr_float.c: Likewise.
29497 * sunrpc/xdr_intXX_t.c: Likewise.
29498 * sunrpc/xdr_mem.c: Likewise.
29499 * sunrpc/xdr_rec.c: Likewise.
29500 * sunrpc/xdr_ref.c: Likewise.
29501 * sunrpc/xdr_sizeof.c: Likewise.
29502 * sunrpc/xdr_stdio.c: Likewise.
29503
b5c086a2
RM
295042012-05-10 Roland McGrath <roland@hack.frob.com>
29505
29506 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29507 change. Update copyright years.
29508
6d74dd09
JM
295092012-05-10 Joseph Myers <joseph@codesourcery.com>
29510
29511 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29512
28e72501
MK
295132012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29514 Joseph Myers <joseph@codesourcery.com>
29515 Paul Pluzhnikov <ppluzhnikov@google.com>
29516
29517 [BZ #14012]
29518 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29519 requiring rpcgen.
29520 [cross-compiling] (extra-libs): Likewise.
29521 [cross-compiling] (extra-libs-others): Likewise.
29522 [cross-compiling] (librpcsvc-routines): Likewise.
29523 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29524 [cross-compiling] (omit-deps): Likewise.
29525 (sunrpc-CPPFLAGS): New variable.
29526 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29527 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29528 (cross-rpcgen-objs): New variable.
29529 (extra-objs): Append $(cross-rpcgen-objs).
29530 ($(cross-rpcgen-objs)): New rule.
29531 ($(objpfx)cross-rpcgen): Likewise.
29532 (rpcgen-cmd): Define to use $(built-program-file). Expand
29533 comment.
29534 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29535 ($(objpfx)x%.stmp): Likewise.
29536 * sunrpc/proto.h [IS_IN_build] (_): Define.
29537 [IS_IN_build] (_libc_intl_domainname): Likewise.
29538
c8c59454
L
295392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29540
29541 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29542 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29543 and R_X86_64_TPOFF64.
29544
6f27cd16
JM
295452012-05-10 Joseph Myers <joseph@codesourcery.com>
29546
29547 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29548 sysdeps/unix/sysv/syscalls.list.
29549 (stime): Likewise.
29550 (utime): Likewise.
29551 * sysdeps/unix/sysv/syscalls.list: Remove file.
29552
02467e1c
PE
295532012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29554
29555 [BZ #3440]
29556 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29557 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29558 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29559 (__LC_IDENTIFICATION): Make these macros useful in #if
29560 expressions, as required by C99.
29561
da392631
AS
295622012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29563
29564 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29565 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29566 after this.
29567
8115f29b
L
295682012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29569
29570 * stdlib/longlong.h: Updated from GCC.
29571
bdd74070
AJ
295722012-05-09 Andreas Jaeger <aj@suse.de>
29573
edfe0dbe
AJ
29574 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29575 default is first entry.
29576 (run_mode): Set type.
29577 (main): Remove informal message about syslog.
29578 (options): Fix typo.
29579
bcfe3a54
ST
29580 [BZ #14053]
29581 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29582 to asm.
bcfe3a54
ST
29583 (lrint): Likewise.
29584 (llrintf): Likewise.
29585 (llrint): Likewise.
29586 (rint): Likewise.
29587 (rintf): Likewise.
29588 (nearbyint): Likewise.
29589 (nearbyintf): Likewise.
bdd74070 29590
91d8d69e
AJ
295912012-05-09 Andreas Jaeger <aj@suse.de>
29592 Pedro Alves <palves@redhat.com>
29593
29594 * nscd/nscd.c (run_mode): Use enum.
29595 (main): Cleanup coding style issue.
29596
bb90b80b
AJ
295972012-05-09 Alexandre Oliva <aoliva@redhat.com>
29598 Andreas Jaeger <aj@suse.de>
29599
bcfe3a54
ST
29600 * nscd/nscd.c (go_background): Replaced with...
29601 (run_mode): ... this.
bb90b80b 29602 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29603 (options): Add -F --foreground.
29604 (main): Implement it.
29605 (parse_opt): Parse it.
bb90b80b 29606
1a4b75a1
AJ
296072012-05-09 Andreas Jaeger <aj@suse.de>
29608
29609 [BZ #14083]
29610 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29611 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29612 -Wconversion warning.
29613 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29614 Likewise.
29615
b1cc2472
JM
296162012-05-09 Joseph Myers <joseph@codesourcery.com>
29617
29618 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29619 == 0.
29620 (LC_ALL): Use macro-int-constant.
29621 (LC_COLLATE): Likewise.
29622 (LC_CTYPE): Likewise.
29623 (LC_MESSAGES): Likewise.
29624 (LC_MONETARY): Likewise.
29625 (LC_NUMERIC): Likewise.
29626 (LC_TIME): Likewise.
29627 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29628 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29629 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29630 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29631 Specify type.
29632 [C99-based standards] (float_t): Expect type.
29633 [C99-based standards] (double_t): Expect type.
29634 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29635 type.
29636 [C99-based standards] (HUGE_VALL): Likewise.
29637 [C99-based standards] (INFINITY): Likewise.
29638 [C99-based standards] (NAN): Likewise.
29639 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29640 [C99-based standards] (FP_NAN): Likewise.
29641 [C99-based standards] (FP_NORMAL): Likewise.
29642 [C99-based standards] (FP_SUBNORMAL): Likewise.
29643 [C99-based standards] (FP_ZERO): Likewise.
29644 [C99-based standards] (FP_FAST_FMA): Use
29645 optional-macro-int-constant. Specify type. Require == 1.
29646 [C99-based standards] (FP_FAST_FMAF): Likewise.
29647 [C99-based standards] (FP_FAST_FMAL): Likewise.
29648 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29649 [C99-based standards] (FP_ILOGBNAN): Likewise.
29650 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29651 Specify type.
29652 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29653 [C99-based standards] (math_errhandling): Specify type.
29654 [ISO99 || ISO11] (signgam): Do not allow.
29655 [non-C99-based standards] (copysignf): Do not allow.
29656 [non-C99-based standards] (exp2f): Likewise.
29657 [non-C99-based standards] (log2f): Likewise.
29658 [non-C99-based standards] (modff): Allow.
29659 [non-C99-based standards] (erff): Do not allow.
29660 [non-C99-based standards] (erfcf): Likewise.
29661 [non-C99-based standards] (gammaf): Likewise.
29662 [non-C99-based standards] (hypotf): Likewise.
29663 [non-C99-based standards] (j0f): Likewise.
29664 [non-C99-based standards] (j1f): Likewise.
29665 [non-C99-based standards] (jnf): Likewise.
29666 [non-C99-based standards] (lgammaf): Likewise.
29667 [non-C99-based standards] (tgammaf): Likewise.
29668 [non-C99-based standards] (y0f): Likewise.
29669 [non-C99-based standards] (y1f): Likewise.
29670 [non-C99-based standards] (ynf): Likewise.
29671 [non-C99-based standards] (isnanf): Likewise.
29672 [non-C99-based standards] (acoshf): Likewise.
29673 [non-C99-based standards] (asinhf): Likewise.
29674 [non-C99-based standards] (atanhf): Likewise.
29675 [non-C99-based standards] (cbrtf): Likewise.
29676 [non-C99-based standards] (expm1f): Likewise.
29677 [non-C99-based standards] (ilogbf): Likewise.
29678 [non-C99-based standards] (log1pf): Likewise.
29679 [non-C99-based standards] (logbf): Likewise.
29680 [non-C99-based standards] (nextafterf): Likewise.
29681 [non-C99-based standards] (remainderf): Likewise.
29682 [non-C99-based standards] (rintf): Likewise.
29683 [non-C99-based standards] (scalbf): Likewise.
29684 [non-C99-based standards] (copysignl): Likewise.
29685 [non-C99-based standards] (exp2l): Likewise.
29686 [non-C99-based standards] (log2l): Likewise.
29687 [non-C99-based standards] (modfl): Allow.
29688 [non-C99-based standards] (erfl): Do not allow.
29689 [non-C99-based standards] (erfcl): Likewise.
29690 [non-C99-based standards] (gammal): Likewise.
29691 [non-C99-based standards] (hypotl): Likewise.
29692 [non-C99-based standards] (j0l): Likewise.
29693 [non-C99-based standards] (j1l): Likewise.
29694 [non-C99-based standards] (jnl): Likewise.
29695 [non-C99-based standards] (lgammal): Likewise.
29696 [non-C99-based standards] (tgammal): Likewise.
29697 [non-C99-based standards] (y0l): Likewise.
29698 [non-C99-based standards] (y1l): Likewise.
29699 [non-C99-based standards] (ynl): Likewise.
29700 [non-C99-based standards] (isnanl): Likewise.
29701 [non-C99-based standards] (acoshl): Likewise.
29702 [non-C99-based standards] (asinhl): Likewise.
29703 [non-C99-based standards] (atanhl): Likewise.
29704 [non-C99-based standards] (cbrtl): Likewise.
29705 [non-C99-based standards] (expm1l): Likewise.
29706 [non-C99-based standards] (ilogbl): Likewise.
29707 [non-C99-based standards] (log1pl): Likewise.
29708 [non-C99-based standards] (logbl): Likewise.
29709 [non-C99-based standards] (nextafterl): Likewise.
29710 [non-C99-based standards] (remainderl): Likewise.
29711 [non-C99-based standards] (rintl): Likewise.
29712 [non-C99-based standards] (scalbl): Likewise.
29713 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29714 [non-C99-based standards] (FP_*): Do not allow.
29715 [C99-based standards] (FP_*): Change to
29716 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29717 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29718 allow.
29719 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29720 (SIG_ERR): Likewise.
29721 [X/Open-based standards] (SIG_HOLD): Likewise.
29722 (SIG_IGN): Likewise.
29723 (SIGABRT): Use macro-int-constant. Specify type. Require
29724 positive value.
29725 (SIGFPE): Likewise.
29726 (SIGILL): Likewise.
29727 (SIGINT): Likewise.
29728 (SIGSEGV): Likewise.
29729 (SIGTER): Likewise.
29730 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29731 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29732 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29733 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29734 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29735 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29736 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29737 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29738 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29739 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29740 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29741 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29742 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29743 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29744 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29745 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29746 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29747 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29748 [X/Open-based standards] (SIGTRAP): Likewise.
29749 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29750 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29751 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29752 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29753 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29754 allow.
29755
b9f1922d
IW
297562012-05-08 Ian Wienand <ianw@vmware.com>
29757
29758 [BZ #14080]
29759 * time/tzset.c (__tzset_parse_tz): Update default rules for
29760 daylight time changes in the Energy Policy Act of 2005.
29761
1db86e88
AJ
297622012-05-09 Andreas Jaeger <aj@suse.de>
29763
29764 [BZ #13983]
29765 * elf/ldconfig.c (parse_conf): Change string to make clear that
29766 ldconfig only issued a warning if ld.so.conf does not exist.
29767
dee4a4e3
DM
297682012-05-08 David S. Miller <davem@davemloft.net>
29769
ee0db190
DM
29770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29771 movxtod instead of popping the value on the stack.
29772
dee4a4e3
DM
29773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29774
6a43ec98
CD
297752012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29776
29777 * config.h.in: Add HAVE_ARM_PCS_VFP.
29778
05c2c961
RMG
297792012-05-08 Roland Mc Grath <roland@hack.frob.com>
29780
bcfe3a54
ST
29781 [BZ #13979]
29782 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29783 checking but the checks are disabled for any reason.
05c2c961 29784
4b30f61a
L
297852012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29786
29787 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29788 and ELF64_R_TYPE with ELFW(R_TYPE).
29789
eee2bc67
JM
297902012-05-08 Joseph Myers <joseph@codesourcery.com>
29791
7ea5391a
JM
29792 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29793 (ulimit): Likewise.
29794
eee2bc67
JM
29795 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29796 (settimeofday): Likewise.
29797
abb66a67
MF
297982012-05-08 Mike Frysinger <vapier@gentoo.org>
29799
29800 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29801 a struct th_u2 inside the union, and move tu_block/tu_code into
29802 a new th_u3 union of tu_block/tu_code inside of that. Move
29803 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29804 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29805 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29806 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29807 (th_stuff): Change to th_u1.tu_stuff.
29808 (th_data): Define.
29809 (th_msg): Change to th_u1.th_u2.tu_data.
29810
7f18b530
DM
298112012-05-07 David S. Miller <davem@davemloft.net>
29812
05760585
DM
29813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29814
7f18b530
DM
29815 [BZ #14074]
29816 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29817 (SETUP_PIC_REG): Use it.
29818 (SETUP_PIC_REG_LEAF): Use it.
29819
495fd99f
JM
298202012-05-07 Joseph Myers <joseph@codesourcery.com>
29821
29822 [BZ #13885]
29823 [BZ #13923]
29824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29825 USE_AS_EXPM1L.
29826 (EXPL_FINITE): Likewise.
29827 (FLDLOG): Likewise.
29828 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29829 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29830 e_expl.S.
29831 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29832 USE_AS_EXPM1L.
29833 (EXPL_FINITE): Likewise.
29834 (FLDLOG): Likewise.
29835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29836 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29837 e_expl.S.
29838 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29839 test of -max_value argument for long double.
29840 * sysdeps/i386/fpu/libm-test-ulps: Update.
29841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29842
6693d694
DM
298432012-05-06 David S. Miller <davem@davemloft.net>
29844
29845 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29846 quad soft-float symbols whose references which are compiler
29847 generated.
29848 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29849
6c23e11c
JM
298502012-05-06 Joseph Myers <joseph@codesourcery.com>
29851
d8b82cad
JM
29852 [BZ #13884]
29853 [BZ #13914]
29854 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29855 USE_AS_EXP10L.
29856 (EXPL_FINITE): Likewise.
29857 (FLDLOG): Likewise.
29858 (c0): Likewise.
29859 (c1): Likewise.
29860 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29861 Adjust comments for base varying.
29862 (__expl_finite): Change alias to EXPL_FINITE.
29863 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29864 e_expl.S.
29865 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29866 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29867 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29868 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29869 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29870 USE_AS_EXP10L.
29871 (EXPL_FINITE): Likewise.
29872 (FLDLOG): Likewise.
29873 (c0): Likewise.
29874 (c1): Likewise.
29875 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29876 Adjust comments for base varying.
29877 (__expl_finite): Change alias to EXPL_FINITE.
29878 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29879 tests for bugs.
29880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29881
6c23e11c
JM
29882 [BZ #14064]
29883 * math/libm-test.inc (check_float_internal): Correct ulp
29884 calculation for subnormal expected results.
29885
29ba805c
AJ
298862012-05-06 Andreas Jaeger <aj@suse.de>
29887
29888 * Makeconfig (+math-flags): New, set to -frounding-math.
29889 (+cflags): Add +math-flags so that all of glibc gets compiled with
29890 it.
29891
29892 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29893
7b17aeda
JM
298942012-05-05 Joseph Myers <joseph@codesourcery.com>
29895
5779f134
JM
29896 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29897 Disable one test.
29898
41498f4d
JM
29899 [BZ #13787]
29900 [BZ #13922]
29901 [BZ #14036]
29902 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29903 (__ieee754_expl): Allow for and saturate large arguments.
29904 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29905 (u_threshold): Likewise.
29906 (__exp): Call __ieee754_exp before checking for overflow and
29907 underflow.
29908 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29909 (u_threshold): Likewise.
29910 (__expf): Call __ieee754_expf before checking for overflow and
29911 underflow.
29912 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29913 (u_threshold): Likewise.
29914 (__expl): Call __ieee754_expl before checking for overflow and
29915 underflow.
29916 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29917 (__ieee754_expl): Allow for and saturate large arguments.
29918 * math/libm-test.inc (exp_test): Add another test. Do not allow
29919 missing overflow exception on overflow.
29920 (expm1_test): Do not allow missing overflow exception on overflow.
29921
6698b8bf
JM
29922 * sysdeps/i386/fpu/e_expl.c: Move to ...
29923 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29924 rather than using inline asm.
29925 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29926 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29927 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29928
7b17aeda
JM
29929 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29930 (nice): Likewise.
29931 (poll): Likewise.
29932 (signal): Likewise.
29933 (time): Likewise.
29934 (times): Likewise.
29935
f7c85819
JM
299362012-05-04 Joseph Myers <joseph@codesourcery.com>
29937
29938 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29939 sysdeps/unix/common/syscalls.list.
29940 (fchmod): Likewise.
29941 (fchown): Likewise.
29942 (ftruncate): Likewise.
29943 (getrusage): Likewise.
29944 (gettimeofday): Likewise.
29945 (setpgid): Likewise.
29946 (setregid): Likewise.
29947 (setreuid): Likewise.
29948 (sigaction): Likewise.
29949 (truncate): Likewise.
29950 (vhangup): Likewise.
29951 * sysdeps/unix/common/syscalls.list: Remove file.
29952 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29953 * sysdeps/unix/sysv/linux/Implies: Likewise.
29954
336270d0
L
299552012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29956
29957 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29959 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29960 Moved to ...
29961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29962 Here.
29963 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29964 to ...
29965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29966 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29967 to ...
29968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29969 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29970 to ...
29971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29972 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29973 to ...
29974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29975 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29976 to ...
29977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29978 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29979 to ...
29980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29981 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29982 to ...
29983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29984 Here.
29985 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29986 to ...
29987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29988 Here.
29989 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29990 to ...
29991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29992 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29993 Moved to ...
29994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29995 Here.
29996 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29997 to ...
29998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29999
d128e450
JM
300002012-05-04 Joseph Myers <joseph@codesourcery.com>
30001
fa8ee516
JM
30002 * sysdeps/unix/common/bits/dirent.h: Remove file.
30003 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30004
d128e450
JM
30005 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30006 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30007 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30008 * sysdeps/unix/bsd/isatty.c: Likewise.
30009 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30010 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30011 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30012
ff8faaf0 300132012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30014
62881be4 30015 [BZ #13563]
31dc8730
AZ
30016 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30017 long double comparison inaccuracies.
30018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30020
6fef930c
AS
300212012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30022
30023 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30024 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30025
8f203e6c
JM
300262012-05-04 Joseph Myers <joseph@codesourcery.com>
30027
30028 [BZ #14049]
30029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30030 nonzero digits before rounding a hex value.
30031 * stdlib/tst-strtod.c (tests): Add another test.
30032
5197d9c2
AK
300332012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30034
30035 * sysdeps/s390/fpu/libm-test-ulps: Update.
30036
f0c1dedf
AJ
300372012-05-03 Andreas Jaeger <aj@suse.de>
30038
30039 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30040 does not get optimized out.
30041 (malloc_opt_barrier): New.
30042
a65ef2ae 300432012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30044 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30045
2b942cb7 30046 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30047 intermediate file deletion.
2b942cb7 30048 (generated): Add .symlist files.
a65ef2ae 30049
54b71e02
JM
300502012-05-03 Joseph Myers <joseph@codesourcery.com>
30051
30052 [BZ #13775]
30053 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30054 Redirect under this condition.
30055 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30056 [__USE_GNU] (__dprintf_chk): Not under this condition.
30057 [__USE_GNU] (__vdprintf_chk): Likewise.
30058 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30059 under this condition.
30060 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30061 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30062 [__USE_XOPEN2K8] (vdprintf): Likewise.
30063 [__USE_GNU] (__dprintf_chk): Not under this condition.
30064 [__USE_GNU] (__vdprintf_chk): Likewise.
30065 [__USE_GNU] (dprintf): Likewise.
30066 [__USE_GNU] (vdprintf): Likewise.
30067
d3dfcc41
RM
300682012-05-03 Roland McGrath <roland@hack.frob.com>
30069
30070 * elf/Makefile (common-generated): Set this instead of generated for
30071 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30072 $(all-built-dso)-derived lists.
30073
7ac30cc5
AJ
300742012-05-03 Andreas Jaeger <aj@suse.de>
30075
0c51e550
AJ
30076 * sysdeps/i386/fpu/libm-test-ulps: Update.
30077
7ac30cc5
AJ
30078 * FAQ: Removed.
30079 * FAQ.in: Likewise.
30080 * scripts/gen-FAQ.pl: Likewise.
30081 * manual/install.texi (Installation): Point to online location of
30082 FAQ.
30083 * Makefile (files-for-dist): Remove FAQ.
30084 (FAQ): Remove.
30085
d4c2917f
AM
300862012-05-02 Allan McRae <allan@archlinux.org>
30087
30088 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30089 (LDFLAGS-reldepmod5.so): Likewise.
30090 (LDFLAGS-reldep6mod1.so): Likewise.
30091 (LDFLAGS-reldep6mod4.so): Likewise.
30092 (LDFLAGS-reldep8mod3.so): Likewise.
30093 (LDFLAGS-unload4mod1.so): Likewise.
30094 (LDFLAGS-unload4mod2.so): Likewise.
30095 (LDFLAGS-tst-initorder): Likewise.
30096 (LDFLAGS-tst-initordera2.so): Likewise.
30097 (LDFLAGS-tst-initordera3.so): Likewise.
30098 (LDFLAGS-tst-initordera4.so): Likewise.
30099 (LDFLAGS-tst-initorderb2.so): Likewise.
30100 (LDFLAGS-noload): Likewise.
30101 (LDFLAGS-next): Likewise.
30102 (LDFLAGS-order2mod1.so): Likewise.
30103 (LDFLAGS-order2mod2.so): Likewise.
30104 (LDFLAGS-tst-initorder2): Likewise.
30105 (LDFLAGS-tst-initorder2a.so): Likewise.
30106 (LDFLAGS-tst-initorder2b.so): Likewise.
30107 (LDFLAGS-tst-initorder2c.so): Likewise.
30108 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30109
d77f993f
DM
301102012-05-02 David S. Miller <davem@davemloft.net>
30111
30112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30113
171a70b4
PP
301142012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30115
30116 [BZ #14055]
30117 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30118
0be196ad
AJ
301192012-05-02 Andreas Jaeger <aj@suse.de>
30120
30121 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30122 since we manipulate rounding mode.
30123 (CPPFLAGS-test-idouble.c): Likewise.
30124 (CPPFLAGS-test-ifloat.c): Likewise.
30125 (CFLAGS-test-ldouble.c): Likewise.
30126 (CFLAGS-test-double.c): Likewise.
30127 (CFLAGS-test-float.c): Likewise.
30128 (CFLAGS-test-misc.c): Likewise.
30129 (CFLAGS-test-test-fenv.c): Likewise.
30130
4f9d04aa
AZ
301312012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30132
2b942cb7
RM
30133 [BZ #2550]
30134 [BZ #2570]
30135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30136 comparisons to determine direction to adjust input.
4f9d04aa 30137
82a79e7d
RM
301382012-05-01 Roland McGrath <roland@hack.frob.com>
30139
f5a01ca9
RM
30140 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30141 output to the target.
30142
90fe4186
RM
30143 * scripts/localplt.awk: New file.
30144 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30145 (check-localplt-CFLAGS): Variable removed.
30146 ($(all-built-dso:=.jmprel)): New static pattern rule.
30147 (generated): Add those targets.
30148 (localplt-built-dso): New variable.
30149 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30150
30151 * elf/check-localplt.c: File removed.
30152
82397ed6
RM
30153 * scripts/check-execstack.awk: New file.
30154 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30155 (check-execstack-CFLAGS): Variable removed.
30156 ($(objpfx)check-execstack.h): Target removed.
30157 ($(objpfx)execstack-default): New target.
30158 (generated): Add that instead of check-execstack.h.
30159 ($(all-built-dso:=.phdr)): New static pattern rule.
30160 (generated): Add those targets.
30161 * elf/check-execstack.c: File removed.
30162
82a79e7d
RM
30163 * scripts/check-textrel.awk: New file.
30164 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30165 (check-textrel-CFLAGS): Variable removed.
30166 (all-built-dso): Use := to define.o
30167 ($(all-built-dso:=.dyn)): New static pattern rule.
30168 (generated): Add those targets.
30169 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30170 * config.make.in (READELF): New substituted variable.
30171 * elf/check-textrel.c: File removed.
30172
62fde54f 301732012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30174
615605c9
JM
30175 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30176 allow.
30177 * conform/data/ctype.h-data [C99-based standards] (isblank):
30178 Expect function.
30179 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30180 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30182 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30183 Specify type. Require positive value.
30184 (EILSEQ): Likewise.
30185 (ERANGE): Likewise.
30186 [ISO || POSIX] (EILSEQ): Do not expect.
30187 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30188 Specify type. Require positive value.
30189 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30190 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30191 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30192 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30193 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30194 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30195 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30196 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30197 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30198 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30199 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30200 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30201 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30202 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30203 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30204 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30205 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30206 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30207 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30208 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30209 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30210 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30211 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30212 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30213 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30214 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30215 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30216 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30217 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30218 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30219 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30220 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30221 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30222 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30223 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30224 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30225 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30226 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30227 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30228 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30229 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30230 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30231 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30232 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30233 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30234 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30235 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30236 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30237 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30238 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30239 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30240 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30241 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30242 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30243 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30244 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30245 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30246 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30247 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30248 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30249 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30250 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30251 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30252 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30253 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30254 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30255 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30256 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30257 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30258 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30259 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30260 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30261 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30262 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30263 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30264 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30265 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30266 Require >= 2.
30267 (FLT_ROUNDS): Expect as macro, not constant.
30268 (FLT_MANT_DIG): Use macro-int-constant.
30269 (DBL_MANT_DIG): Likewise.
30270 (LDBL_MANT_DIG): Likewise.
30271 (FLT_DIG): Likewise.
30272 (DBL_DIG): Likewise.
30273 (LDBL_DIG): Likewise.
30274 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30275 (DBL_MIN_EXP): Likewise.
30276 (LDBL_MIN_EXP): Likewise.
30277 (FLT_MAX_EXP): Use macro-int-constant.
30278 (DBL_MAX_EXP): Likewise.
30279 (LDBL_MAX_EXP): Likewise.
30280 (FLT_MAX_10_EXP): Likewise.
30281 (DBL_MAX_10_EXP): Likewise.
30282 (LDBL_MAX_10_EXP): Likewise.
30283 (FLT_MAX): Use macro-constant.
30284 (DBL_MAX): Likewise.
30285 (LDBL_MAX): Likewise.
30286 (FLT_EPSILON): Use macro-constant. Give upper bound.
30287 (DBL_EPSILON): Likewise.
30288 (LDBL_EPSILON): Likewise.
30289 (FLT_MIN): Likewise.
30290 (DBL_MIN): Likewise.
30291 (LDBL_MIN): Likewise.
30292 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30293 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30294 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30295 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30296 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30297 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30298 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30299 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30300 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30301 [ISO11] (FLT_TRUE_MIN): Likewise.
30302 [ISO11] (LDBL_TRUE_MIN): Likewise.
30303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30304 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30305 (SCHAR_MIN): Use macro-int-constant. Specify type.
30306 (SCHAR_MAX): Likewise.
30307 (UCHAR_MAX): Likewise.
30308 (CHAR_MIN): Likewise.
30309 (CHAR_MAX): Likewise.
30310 (MB_LEN_MAX): Use macro-int-constant.
30311 (SHRT_MIN): Use macro-int-constant. Specify type.
30312 (SHRT_MAX): Likewise.
30313 (USHRT_MAX): Likewise.
30314 (INT_MAX): Likewise.
30315 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30316 bound negative.
30317 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30318 bound with "U".
30319 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30320 bound with "L".
30321 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30322 bound negative. Suffix upper bound with "L".
30323 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30324 bound with "UL".
30325 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30326 Specify type.
30327 [C99-based standards] (LLONG_MAX): Likewise.
30328 [C99-based standards] (ULLONG_MAX): Likewise.
30329 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30330 == 0.
30331 [ISO11] (max_align_t): Require type.
30332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30333
c9140a62
JM
30334 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30335 from $CFLAGS, without defining away __attribute__ calls.
30336 (checknamespace): Use $CFLAGS_namespace.
30337
9af0bf29
JM
30338 * conform/conformtest.pl (@keywords): Only include C99 keywords
30339 for standards based on C99 or C11.
30340
343222a2
JM
30341 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30342 Disable tests.
30343 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30344 UNIX98]: Likewise.
30345
661f8cf0
JM
30346 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30347 usability of symbols in #if.
30348
ee74b9cb
JM
30349 * conform/conformtest.pl: If macro or constant types start
30350 "promoted:", expect the symbol to be of the following type
30351 promoted by the integer promotions.
62fde54f 30352
aafc49b3
JM
30353 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30354 in one place. Also handle "macro-constant".
30355
fefdf574
JM
30356 * conform/conformtest.pl: Only accept expected macro values with
30357 "==". Parse all "macro" lines in one place.
30358 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30359
f2d922fe
JM
30360 * conform/conformtest.pl: Handle braced types on "constant" lines
30361 instead of handling "typed-constant".
30362 * conform/data/signal.h-data: Use "constant" instead of
30363 "typed-constant".
30364
d22956c9
JM
30365 * conform/conformtest.pl: Handle "optional-" at start of lines in
30366 one place rather than duplicating several cases. Handle each
30367 format of "macro" line with initial "optional-".
30368
028e2e38
JM
30369 * conform/conformtest.pl: Only accept expected constant or
30370 optional-constant values with "==". Parse all "constant" lines in
30371 one place. Parse all "optional-constant" lines in one place.
30372 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30373 * conform/data/fmtmsg.h-data: Likewise.
30374 * conform/data/netinet/in.h-data: Likewise.
30375 * conform/data/tar.h-data: Likewise.
30376 * conform/data/limits.h-data: Use "==" form on "constant" and
30377 "optional-constant" lines.
30378
1b8f2850
JM
30379 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30380 Use -std=c99 for XOPEN2K.
30381 (@knownproblems): Remove.
30382 (newtoken): Don't check %isknown.
30383
a05a144b
JM
30384 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30385 Do not expect macro.
30386 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30387 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30388 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30389 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30390 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30391 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30392 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30393 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30394 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30395 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30396 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30397 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30398 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30399 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30400 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30401 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30402 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30403 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30404 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30405 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30406 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30407 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30408 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30409 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30410 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30411 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30412 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30413 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30414 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30415 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30416 [XPG3] (acosh): Likewise.
30417 [XPG3] (asinh): Likewise.
30418 [XPG3] (atanh): Likewise.
30419 [XPG3] (cbrt): Likewise.
30420 [XPG3] (expm1): Likewise.
30421 [XPG3] (ilogb): Likewise.
30422 [XPG3] (log1p): Likewise.
30423 [XPG3] (logb): Likewise.
30424 [XPG3] (nextafter): Likewise.
30425 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30426 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30427 [XPG3] (remainder): Likewise.
30428 [XPG3] (rint): Likewise.
30429 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30430 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30431 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30432 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30433 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30434 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30435 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30436 [UNIX98 || XOPEN2K] (scalb): Expect.
30437 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30438 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30439 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30440 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30441 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30442 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30443 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30444 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30445 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30446 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30447 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30448 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30449 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30450 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30451 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30452 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30453 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30454 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30455 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30456 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30457 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30458 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30459 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30460 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30461 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30462 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30463 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30464 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30465 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30466 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30467 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30468 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30469 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30470 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30471 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30472 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30473 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30474 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30475 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30476 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30477 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30478 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30479 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30480 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30481 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30482 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30483 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30484 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30485 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30486 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30487 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30488 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30489 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30490 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30491 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30492 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30493 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30494 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30495 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30496 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30497 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30498 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30499 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30500 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30501 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30502 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30503 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30504 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30505 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30506 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30507 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30508 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30509 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30510 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30511 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30512 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30513 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30514 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30515 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30516 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30517 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30518 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30519 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30520 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30521 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30522 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30523 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30524 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30525 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30526 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30527 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30528 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30529 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30530 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30531 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30532 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30533 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30534 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30535 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30536 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30537 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30538 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30539 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30540 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30541 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30542 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30543 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30544 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30545 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30546 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30547 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30548 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30549 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30550 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30551 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30552 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30553 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30554 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30555 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30556 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30557 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30558 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30559 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30560 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30561 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30562 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30563 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30564 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30565 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30566 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30567 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30569 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30574
73c5ebe3
JM
30575 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30576 _XOPEN_SOURCE_EXTENDED for XPG4.
30577
39c33b6c
JM
30578 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30579
62fde54f
JM
30580 * Makeconfig (localtime): Remove variable.
30581 (inst_localtime-file): Likewise.
30582
0741d64c
AS
305832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30584
30585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30586 Update.
30587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30588 Update.
30589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30590 Update.
30591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30592 Update.
30593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30594 Update.
30595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30596 Update.
30597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30598 Update.
30599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30600 Update.
30601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30602 Update.
30603
7cb029ee
JM
306042012-05-01 Joseph Myers <joseph@codesourcery.com>
30605
30606 [BZ #2550]
30607 [BZ #2570]
30608 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30609 comparisons to determine direction to adjust input.
30610 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30611 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30612 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30613 Likewise.
30614 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30615 Likewise.
30616 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30617 Likewise.
30618 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30619 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30620 Likewise.
30621 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30622 Likewise.
30623 * math/libm-test.inc (nexttoward_test): Add more tests.
30624
412bd966
AS
306252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30626
30627 [BZ #14040]
30628 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30629 in version GLIBC_2.1, not GLIBC_2.0.
30630 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30631 Likewise.
30632
9568c0c2
JM
306332012-04-30 Joseph Myers <joseph@codesourcery.com>
30634
adfbc8ac
JM
30635 [BZ #13942]
30636 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30637 (1 - x) * (1 + x).
30638 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30639 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30640 * math/libm-test.inc (acos_test): Add more tests.
30641 (asin_test): Likewise.
30642 * sysdeps/i386/fpu/libm-test-ulps: Update.
30643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30644
5ba3cc69
JM
30645 [BZ #14034]
30646 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30647 of square root.
30648 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30649 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30650 * math/libm-test.inc (acos_test_tonearest): New function.
30651 (acos_test_towardzero): Likewise.
30652 (acos_test_downward): Likewise.
30653 (acos_test_upward): Likewise.
30654 (asin_test_tonearest): Likewise.
30655 (asin_test_towardzero): Likewise.
30656 (asin_test_downward): Likewise.
30657 (asin_test_upward): Likewise.
30658 (main): Call the new functions.
30659 * sysdeps/i386/fpu/libm-test-ulps: Update.
30660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30661
9568c0c2
JM
30662 [BZ #13884]
30663 [BZ #13924]
30664 * math/e_exp10.c: Include <float.h>.
30665 (__ieee754_exp10): Handle underflow here rather than multiplying
30666 large negative argument by M_LN10.
30667 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30668 of __ieee754_expf.
30669 * math/e_exp10l.c: Include <float.h>.
30670 (__ieee754_exp10l): Handle underflow here rather than multiplying
30671 large negative argument by M_LN10l.
30672 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30673 spurious overflow exception on underflow.
30674
5ac3ea17
MP
306752012-04-29 Marek Polacek <polacek@redhat.com>
30676
30677 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30678 (__fortify_function): New macro.
30679 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30680 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30681 __extern_always_inline.
30682 * libio/bits/stdio2.h: Likewise.
30683 * libio/bits/stdio.h: Likewise.
30684 * string/string.h: Likewise.
30685 * string/bits/string3.h: Likewise.
30686 * include/stdio.h: Likewise.
30687 * stdlib/bits/stdlib.h: Likewise.
30688 * stdlib/stdlib.h: Likewise.
30689 * rt/bits/mqueue2.h: Likewise.
30690 * rt/mqueue.h: Likewise.
30691 * posix/bits/unistd.h: Likewise.
30692 * posix/unistd.h: Likewise.
30693 * io/bits/poll2.h: Likewise.
30694 * io/bits/fcntl2.h: Likewise.
30695 * io/fcntl.h: Likewise.
30696 * io/sys/poll.h: Likewise.
30697 * misc/bits/syslog.h: Likewise.
30698 * misc/bits/syslog-ldbl.h: Likewise.
30699 * misc/sys/syslog.h: Likewise.
30700 * socket/bits/socket2.h: Likewise.
30701 * socket/sys/socket.h: Likewise.
30702 * debug/tst-chk1.c: Likewise.
30703 * wcsmbs/bits/wchar2.h: Likewise.
30704 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30705 * wcsmbs/wchar.h: Likewise.
30706
ecf0ebfb
AJ
307072012-04-29 Andreas Jaeger <aj@suse.de>
30708
30709 * Makerules (tests): Remove enable-check-abi protection.
30710 (check-abi-warn): Remove.
30711 (check-abi-%): Remove check-abi-warn usage.
30712
30713 * configure.in: Remove check-abi configure option.
30714 * configure: Regenerated.
30715 * config.make.in (enable-check-abi): Remove.
30716
6d5c57fa
AS
307172012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30718
24c5d07e 30719 [BZ #14033]
ded5180a
AS
30720 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30721 double functions to double *_finite functions.
30722
7e0d315d
AS
30723 [BZ #13941]
30724 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30725 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30726 LDBL_MIN_EXP.
30727 * stdio-common/Makefile (tests): Add tst-sprintf3.
30728 * stdio-common/tst-sprintf3.c: New file.
30729
6d5c57fa
AS
30730 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30731 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30732
0749ff8b
JM
307332012-04-28 Joseph Myers <joseph@codesourcery.com>
30734
30735 * conform/conformtest.pl: Remove duplicate typed-constant
30736 handling.
30737
8dbd5d7b
DM
307382012-04-28 David S. Miller <davem@davemloft.net>
30739
30740 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30741 (check-abi-%): Remove AWK script prerequisite and explicit
30742 abilist directory.
30743 (check-abi): Rewrite to just diff the symlist with the abilist.
30744 (config-tls, config-abi-config): Delete, no longer used.
30745 (update-abi-%): Remove AWK script and explicit abilist directory.
30746 (update-abi): Rewrite to simply compare and conditionally copy the
30747 symlist and the sysdep abilist file. Remove update-abi-config
30748 checks.
30749 * abilist/ld.abilist: Remove.
30750 * abilist/libBrokenLocale.abilist: Remove.
30751 * abilist/libanl.abilist: Remove.
30752 * abilist/libcrypt.abilist: Remove.
30753 * abilist/libdl.abilist: Remove.
30754 * abilist/librt.abilist: Remove.
30755 * abilist/libthread_db.abilist: Remove.
30756 * abilist/libutil.abilist: Remove.
30757 * scripts/extract-abilist.awk: Remove.
30758 * scripts/merge-abilist.awk: Remove.
30759 * sysdeps/generic/libcidn.abilist: New file.
30760 * sysdeps/generic/libnss_compat.abilist: New file.
30761 * sysdeps/generic/libnss_db.abilist: New file.
30762 * sysdeps/generic/libnss_dns.abilist: New file.
30763 * sysdeps/generic/libnss_files.abilist: New file.
30764 * sysdeps/generic/libnss_hesiod.abilist: New file.
30765 * sysdeps/generic/libnss_nis.abilist: New file.
30766 * sysdeps/generic/libnss_nisplus.abilist: New file.
30767 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30768 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30769 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30770 file.
30771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30772 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30773 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30774 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30775 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30776 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30777 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30778 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30779 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30780 file.
30781 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30782 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30783 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30784 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30785 file.
30786 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30787 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30788 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30789 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30790 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30791 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30792 file.
30793 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30794 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30795 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30796 file.
30797 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30799 New file.
30800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30801 New file.
30802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30803 New file.
30804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30805 New file.
30806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30807 New file.
30808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30809 New file.
30810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30811 New file.
30812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30813 New file.
30814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30815 New file.
30816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30817 New file.
30818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30819 New file.
30820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30821 New file.
30822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30823 New file.
30824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30825 file.
30826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30827 New file.
30828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30829 New file.
30830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30831 file.
30832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30833 New file.
30834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30835 New file.
30836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30837 file.
30838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30839 New file.
30840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30841 New file.
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30843 New file.
30844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30845 New file.
30846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30847 New file.
30848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30849 New file.
30850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30852 file.
30853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30854 New file.
30855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30856 file.
30857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30858 file.
30859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30860 file.
30861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30862 file.
30863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30864 file.
30865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30866 New file.
30867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30868 file.
30869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30870 file.
30871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30872 New file.
30873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30874 file.
30875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30877 file.
30878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30879 New file.
30880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30881 file.
30882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30883 file.
30884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30885 file.
30886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30887 file.
30888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30889 file.
30890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30891 New file.
30892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30893 file.
30894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30895 file.
30896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30897 New file.
30898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30899 file.
30900 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30901 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30902 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30903 file.
30904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30905 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30906 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30907 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30908 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30909 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30910 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30911 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30912 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30913 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30916 file.
30917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30918 New file.
30919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30920 file.
30921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30922 file.
30923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30924 file.
30925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30926 file.
30927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30928 file.
30929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30930 New file.
30931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30932 New file.
30933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30934 file.
30935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30936 New file.
30937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30938 file.
30939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30941 file.
30942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30943 New file.
30944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30945 file.
30946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30947 file.
30948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30949 file.
30950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30951 file.
30952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30953 file.
30954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30955 New file.
30956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30957 New file.
30958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30959 file.
30960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30961 New file.
30962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30963 file.
30964
41d73a1b
JM
309652012-04-28 Joseph Myers <joseph@codesourcery.com>
30966
30967 * conform/conformtest.pl: Fix typo in handling typed-constant from
30968 allow-header.
30969
28aeeda4
JM
309702012-04-27 Joseph Myers <joseph@codesourcery.com>
30971
adae8f5e
JM
30972 * README: Cut down references to pre-2.6 Linux kernels and
30973 Linuxthreads. Update lists of configurations in libc and ports
30974 and sort alphabetically. Say "or newer" with Linux kernel version
30975 requirements.
30976
28aeeda4
JM
30977 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30978
a462cb63
RA
309792012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30980
30981 [BZ #887]
30982 * math/libm-test.inc (logb_test_downward): New test to expose
30983 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30984 rounding mode.
30985
6ad3493e
JM
309862012-04-27 Joseph Myers <joseph@codesourcery.com>
30987
30988 [BZ #14027]
30989 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30990 to be done.
30991 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30992 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30993
2ce4f015
JM
309942012-04-26 Joseph Myers <joseph@codesourcery.com>
30995
5aeb141a
JM
30996 * sysdeps/unix/i386/brk.S: Remove file.
30997 * sysdeps/unix/i386/dl-brk.S: Likewise.
30998 * sysdeps/unix/i386/pipe.S: Likewise.
30999 * sysdeps/unix/i386/sigreturn.S: Likewise.
31000 * sysdeps/unix/i386/syscall.S: Likewise.
31001 * sysdeps/unix/i386/vfork.S: Likewise.
31002 * sysdeps/unix/i386/wait.S: Likewise.
31003
7143acae
JM
31004 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31005 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31006
2ce4f015
JM
31007 * configure.in (arm*-none*): Do not allow without
31008 --enable-hacker-mode.
31009 (netbsd*): Remove case setting base_os.
31010 (386bsd*): Likewise.
31011 (freebsd*): Likewise.
31012 (bsdi*): Likewise.
31013 (osf*): Likewise.
31014 (sunos*): Likewise.
31015 (ultrix*): Likewise.
31016 (newsos*): Likewise.
31017 (dynix*): Likewise.
31018 (*bsd*): Likewise.
31019 (sysv*): Likewise.
31020 (isc*): Likewise.
31021 (esix*): Likewise.
31022 (sco*): Likewise.
31023 (minix*): Likewise.
31024 (irix4*): Likewise.
31025 (irix6*): Likewise.
31026 (solaris[2-9]*): Likewise.
31027 (none): Likewise.
31028 * configure: Regenerated.
31029
0ac229c8
AZ
310302012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31031
31032 [BZ #11521]
31033 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31034 overflow or cancellation in calculating denominator.
31035 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31036 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31037 down expression to avoid unexpected rounding in newer GCCs.
31038 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31039
33f244f4
DM
310402012-04-26 David S. Miller <davem@davemloft.net>
31041
31042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31043 long-double compat symbols.
31044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31057
cfa1f3e8
DM
310582012-04-25 David S. Miller <davem@davemloft.net>
31059
31060 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31061 HWCAP_* values only after the memory barriers have been defined.
31062 (atomic_full_barrier): Define.
31063 (atomic_read_barrier): Define.
31064 (atomic_write_barrier): Define.
31065
6e236b92
SP
310662012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31067
31068 * shlib-versions: Add libgcc_s version information.
31069 * sysdeps/generic/libgcc_s.h: Remove.
31070 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31071 libgcc_s.h.
31072 * sysdeps/gnu/unwind-resume.c: Likewise.
31073 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31074
aab39a09
DM
310752012-04-25 David S. Miller <davem@davemloft.net>
31076
31077 * sysdeps/unix/sparc/brk.S: Delete.
31078 * sysdeps/unix/sparc/dl-brk.S: Delete.
31079 * sysdeps/unix/sparc/pipe.S: Delete.
31080 * sysdeps/unix/sparc/sysdep.S: Delete.
31081 * sysdeps/unix/sparc/sysdep.h: Delete.
31082 * sysdeps/unix/sparc/vfork.S: Delete.
31083 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31084 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31085 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31086 ret_ERRVAL, r0, r1, MOVE): Define.
31087 (JUMPTARGET): Remove.
31088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31089 sysdeps/unix/sparc/sysdep.h
31090 (ENTRY, END): Remove.
31091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31092
a3cc4f48
JM
310932012-04-25 Joseph Myers <joseph@codesourcery.com>
31094
2ed8cda2
JM
31095 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31096 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31097 -DIS_IN_build.
31098
35d76d59
JM
31099 * timezone/README: Update upstream location and email address for
31100 tzcode and tzdata.
31101 * timezone/zdump.c: Update from tzcode 2012b.
31102 * timezone/zic.c: Likewise.
31103
a3cc4f48
JM
31104 * configure.in (libc_cv_as_needed): Remove test.
31105 * configure: Regenerated.
31106 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31107 conditional definition.
31108 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31109 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31110 * config.make.in (have-as-needed): Remove variable.
31111
ceab42c3
SP
311122012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31113 Paul Pluzhnikov <ppluzhnikov@google.com>
31114
31115 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31116 strings correctly.
31117
3ce2865f
CLT
311182012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31119
31120 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31121 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31122 * sysdeps/sh/strlen.S: Likewise.
31123
f37e0d68
JM
311242012-04-24 Joseph Myers <joseph@codesourcery.com>
31125
ae186e9a
JM
31126 * sysdeps/unix/fork.S: Remove file.
31127 * sysdeps/unix/i386/fork.S: Likewise.
31128 * sysdeps/unix/sparc/fork.S: Likewise.
31129
b96914af
JM
31130 * sysdeps/unix/system.c: Remove file.
31131 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31132
f37e0d68
JM
31133 * sysdeps/unix/getegid.S: Remove file.
31134 * sysdeps/unix/geteuid.S: Likewise.
31135
87ef29ca
RM
311362012-04-24 Roland McGrath <roland@hack.frob.com>
31137
83bcd236
RM
31138 * scripts/check-localplt.awk: New file.
31139 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31140 of diff.
31141 * scripts/data/localplt-generic.data: Add a comment.
31142
87ef29ca
RM
31143 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31144 NODE when __dir_mkfile failed.
31145 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31146 Reported by Ludovic Courtès <ludo@gnu.org>.
31147
e5a6e567
AJ
311482012-04-24 Andreas Jaeger <aj@suse.de>
31149
31150 * Makerules (common-clean): Also remove gen-as-const-headers
31151 files.
31152
c1820385
JM
311532012-04-24 Joseph Myers <joseph@codesourcery.com>
31154
31155 * Makerules (native-compile): Do not change working directory for
31156 build. Use $(OUTPUT_OPTION) in command.
31157 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31158
94e02fc4
AZ
311592012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31160
31161 [BZ #13886]
31162 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31163 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31164 * math/libm-test.inc (floor_test): Add more tests.
31165 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31166
3a533ca3
JM
311672012-04-24 Joseph Myers <joseph@codesourcery.com>
31168
940ab4b3
JM
31169 * sysdeps/unix/getdents.c: Remove file.
31170 * sysdeps/unix/sysv/getdents.c: Likewise.
31171 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31172
90e037bd
JM
31173 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31174 sysdeps/unix/mman/syscalls.list.
31175 (mmap): Likewise.
31176 (mprotect): Likewise.
31177 (msync): Likewise.
31178 (munmap): Likewise.
31179 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31180 * sysdeps/unix/mman/syscalls.list: Remove.
31181 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31182
3a533ca3
JM
31183 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31184 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31185 * configure: Regenerated.
31186 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31187 $(libgcc_s_suffix).
31188 * config.make.in (libgcc_s_suffix): Remove variable.
31189
1ad743de
JM
311902012-04-23 Joseph Myers <joseph@codesourcery.com>
31191
4ad451e2
JM
31192 * sysdeps/unix/sysv/gethostname.c: Move to ...
31193 * sysdeps/posix/gethostname.c: ... here.
31194
5e37ce39
JM
31195 * sysdeps/unix/execve.S: Remove file.
31196
1ad743de
JM
31197 * sysdeps/unix/_exit.S: Remove file.
31198
4e681b5b
AJ
311992012-04-23 Andreas Jaeger <aj@suse.de>
31200
31201 [BZ #13739]
31202 * manual/Makefile: Remove make dist support, there's no
31203 need for a stand-alone documentation tar ball.
31204 (TEXI2DVI): Define always, it's not in Makeconfig.
31205 (dist): Removed.
31206 (tar-it): Removed.
31207 (edition): Removed.
31208 (glibc-doc-$(edition).tar): Removed
31209 (%.Z): Removed.
31210 (%.gz): Removed.
31211 (%.uu): Removed.
31212 (ETAGS): Remove, it's in Makeconfig.
31213 (move-if-change): Remove, it's in Makeconfig.
31214
38686a03 312152012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31216
31217 [BZ #13970]
31218 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31219 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31220 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31221 (strtod_l, strtof_l, strtold_l): Remove __wur.
31222 It is not necessarily an error to ignore strtol's return value.
31223 One can reliably look at the stored endptr to decide whether
31224 the number had valid syntax.
31225
7c0616fa
AJ
312262012-04-21 Andreas Jaeger <aj@suse.de>
31227
803cb6b7 31228 [BZ #13739]
7c0616fa
AJ
31229 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31230
b0fe253f
JM
312312012-04-21 Joseph Myers <joseph@codesourcery.com>
31232
31233 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31234 * sysdeps/unix/sysv/Versions: Remove file.
31235
8280f22d
MT
312362012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31237
31238 [BZ #13927]
31239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31240
75ce411f 312412012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31242
31243 [BZ #7064]
31244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31245 version from __vm86.
31246
097d59fa
JM
312472012-04-20 Joseph Myers <joseph@codesourcery.com>
31248
a90f3bcb
JM
31249 * sysdeps/unix/common/lxstat.c: Remove file.
31250 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31251
edc7ea78
JM
31252 * sysdeps/unix/sysv/Makefile: Remove file.
31253
cb78c221
JM
31254 * sysdeps/unix/sysv/direct.h: Remove file.
31255
efa6a45f
JM
31256 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31257 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31258 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31259 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31260 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31261 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31262 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31263
9c9f2d0c
JM
31264 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31265
4541c83b
JM
31266 * sysdeps/unix/xmknod.c: Remove file.
31267 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31268
f5d153a0
JM
31269 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31270
aa746595
JM
31271 * sysdeps/unix/sysv/i386/time.S: Remove file.
31272
cce5905e
JM
31273 * sysdeps/unix/fxstat.c: Remove file.
31274 * sysdeps/unix/xstat.c: Likewise.
31275 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31276
37fa3841
JM
31277 * sysdeps/unix/sysv/sigaction.c: Remove file.
31278
ff1962a3
JM
31279 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31280 (sysdep_headers): Remove variable.
31281 [termio.h not in sysdep_headers] (generated): Likewise.
31282 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31283 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31284 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31285 * sysdeps/unix/sysv/tcflow.c: Likewise.
31286 * sysdeps/unix/sysv/tcflush.c: Likewise.
31287 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31288 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31289 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31290 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31291 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31292
e7740d31
JM
31293 * sysdeps/unix/siglist.c: Remove file.
31294
ee06f18b
JM
31295 * sysdeps/unix/getppid.S: Remove file.
31296
097d59fa
JM
31297 * sysdeps/unix/mkdir.c: Remove file.
31298 * sysdeps/unix/rmdir.c: Likewise.
31299
ff3d51ec
AS
313002012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31301
31302 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31303 ERR_MAX value.
31304 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31305 errlist-compat value.
31306
50f81fd7
DM
313072012-04-18 David S. Miller <davem@davemloft.net>
31308
31309 * sysdeps/generic/memcopy.h (reg_char): Delete.
31310 * debug/strcat_chk.c: Use char, not reg_char.
31311 * debug/strcpy_chk.c: Likewise.
31312 * debug/strncat_chk.c: Likewise.
31313 * debug/strncpy_chk.c: Likewise.
31314 * string/memchr.c: Likewise.
31315 * string/memrchr.c: Likewise.
31316 * string/rawmemchr.c: Likewise.
31317 * string/strcat.c: Likewise.
31318 * string/strchr.c: Likewise.
31319 * string/strchrnul.c: Likewise.
31320 * string/strcmp.c: Likewise.
31321 * string/strcpy.c: Likewise.
31322 * string/strncat.c: Likewise.
31323 * string/strncmp.c: Likewise.
31324 * string/strncpy.c: Likewise.
31325
8ff41c46
WS
313262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31327
31328 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31329 __builtin_memcopy is called when src and dest ranges are known to not
31330 overlap.
31331
6b652f46
WS
313322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31333
31334 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31335 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31336 fwd_align_merge macro call.
31337 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31338 bwd_align_merge macro call.
31339 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31340
b282631e
WS
313412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31342
31343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31344 bwd_align_merge macros.
31345 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31346 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31347 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31348
95aa737c
DM
313492012-04-18 David S. Miller <davem@davemloft.net>
31350
31351 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31352
7a99a614
AJ
313532012-04-18 Andreas Jaeger <aj@suse.de>
31354
31355 [BZ# 6794]
31356 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31357 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31358 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31359
31360 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31361 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31362 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31363
31364 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31365 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31366 Adjust for changed ldbl-128 files.
31367
31368 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31369 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31370 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31371
e5270c23
DM
313722012-04-17 David S. Miller <davem@davemloft.net>
31373
31374 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31375
fb5e92c9
AS
313762012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31377
31378 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31379 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31380 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31381 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31382 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31383 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31384
76da7265
AZ
313852012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31386
31387 [BZ #6794]
31388 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31389 * math/libm-test.inc: Add ilogb errno and exception tests.
31390 * math/w_ilogb.c: New file: ilogb wrapper.
31391 * math/w_ilogbf.c: New file: ilogbf wrapper.
31392 * math/w_ilogbl.c: New file: ilogbl wrapper.
31393 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31394 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31395 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31396 exception being thrown with 0.0 as argument.
31397 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31398 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31399 exception being thrown with 0.0 as argument.
31400 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31401 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31402 exception being thrown with 0.0 as argument.
31403 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31404 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31405 exception being thrown with 0.0 as argument.
31406 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31407 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31408 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31409 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31410 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31411 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31412 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31413 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31414 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31415
0396e69d
PB
314162012-04-17 Petr Baudis <pasky@ucw.cz>
31417
31418 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31419 with altivec.
31420
750b5926
MP
314212012-04-16 Marek Polacek <polacek@redhat.com>
31422
31423 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31424
751728a1
MP
314252012-04-16 Marek Polacek <polacek@redhat.com>
31426
31427 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31428 operands of fdivp instruction.
31429
34a27407
L
314302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31431
31432 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31433 * elf/tst-auditmod3b.c: Likewise.
31434 * elf/tst-auditmod4b.c: Likewise.
31435 * elf/tst-auditmod5b.c: Likewise.
31436 * elf/tst-auditmod6b.c: Likewise.
31437 * elf/tst-auditmod6c.c: Likewise.
31438 * elf/tst-auditmod7b.c: Likewise.
31439 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31440 * sysdeps/x86_64/preconfigure.in: Likewise.
31441 * sysdeps/x86_64/preconfigure: Regenerated.
31442
7e73e17d
L
314432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31444
31445 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31446 __ILP32__.
31447
c7a6ab72
AB
314482012-04-13 Antoine Balestrat <merkil33@gmail.com>
31449
31450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31451 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31452
a9e8e0e0
CL
314532012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31454
31455 [BZ #13973]
31456 * locale/iso-639.def: Fix gl language name. Spotted by
31457 Yaron Shahrabani.
31458
ec98af7d
RM
314592012-04-12 Roland McGrath <roland@hack.frob.com>
31460
31461 [BZ #2074]
31462 * libio/libio.h (__io_write_fn): Update comment.
31463
247c3ede
PB
314642012-04-12 Petr Baudis <pasky@ucw.cz>
31465
31466 [BZ #2074]
31467 * stdio.texi (Hook Functions): The user provided writer function
31468 is not allowed to return -1.
31469
55939d6d
DM
314702012-04-11 David S. Miller <davem@davemloft.net>
31471
31472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31473
90020f5a
MF
314742012-04-11 Mike Frysinger <vapier@gentoo.org>
31475
31476 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31477 Add a leading slash to rtkaio.
31478
288f9098
JM
314792012-04-11 Jim Meyering <meyering@redhat.com>
31480
90020f5a
MF
31481 [BZ #11959]
31482 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31483 It is not necessarily an error to ignore fwrite's return
31484 value. One can reliably use ferror to test for errors after
31485 the fact.
288f9098 31486
4be2b570
L
314872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31488
31489 * bits/types.h (__snseconds_t): New type.
31490 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31491
31492 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31493 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31494 (__SNSECONDS_T_TYPE): Likewise.
31495 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31496 (__SNSECONDS_T_TYPE): Likewise.
31497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31498 (__SNSECONDS_T_TYPE): Likewise.
31499
288f9098 315002012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31501
31502 [BZ #2636]
31503 * manual/time.texi (Processor Time): Return type of times is
31504 elapsed real time since an arbitrary point in the past.
31505 (CPU Time): Move CLK_TCK from here...
31506 (Processor Time): ...to here. Correct description.
31507 * manual/conf.texi (Constants for Sysconf): Correct description of
31508 _SC_CLK_TCK.
31509
d7dd4413
DM
315102012-04-10 David S. Miller <davem@davemloft.net>
31511
31512 [BZ #13967]
31513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31514 where the is a gap between DT_REL(A) and DT_JMPREL.
31515
b46068fc
L
315162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31517
31518 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31519 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31520 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31521
73d65cc3
SP
315222012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31523
31524 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31525 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31526 (dl_main): Handle --inhibit-cache.
31527 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31528 _dl_inhibit_cache.
31529 * elf/dl-load.c (_dl_map_object): Use it.
31530 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31531
bcc8d661
JM
315322012-04-09 Joseph Myers <joseph@codesourcery.com>
31533
8f9a2fae
JM
31534 [BZ #13872]
31535 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31536 (__ieee754_powl): Saturate large exponents rather than testing for
31537 overflow of y*log2(x).
31538 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31539 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31540 exceptions.
31541
bcc8d661
JM
31542 [BZ #11521]
31543 * math/s_ctan.c: Include <float.h>.
31544 (__ctan): Avoid internal overflow or cancellation in calculating
31545 denominator.
31546 * math/s_ctanf.c: Likewise.
31547 * math/s_ctanl.c: Likewise.
31548 * math/s_ctanh.c: Likewise.
31549 * math/s_ctanhf.c: Likewise.
31550 * math/s_ctanhl.c: Likewise.
31551 * math/libm-test.inc (ctan_test): Add more tests.
31552 (ctanh_test): Likewise.
31553 * sysdeps/i386/fpu/libm-test-ulps: Update.
31554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31555
823fbbb4
AJ
315562012-04-09 Andreas Jaeger <aj@suse.de>
31557
03879793
AJ
31558 [BZ #6894]
31559 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31560 is an optional BSD extension.
31561
823fbbb4
AJ
31562 [BZ #10254]
31563 * manual/stdio.texi (Opening Streams): Document additional fopen
31564 parameters.
31565
8de131cb
RM
315662012-04-09 Roland McGrath <roland@hack.frob.com>
31567
31568 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31569 %eax without telling the compiler.
31570
c0ed9d7d
CD
315712012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31572
31573 [BZ # 13963]
31574 * manual/install.texi: Use sourceware.org.
31575
c483f6b4
JM
315762012-04-09 Joseph Myers <joseph@codesourcery.com>
31577
d7dd9453
JM
31578 [BZ #13873]
31579 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31580 (__ieee754_pow): Generate overflow and underflow using huge*huge
31581 and tiny*tiny rather than just returning constant infinity or zero
31582 for large exponents.
31583 * math/libm-test.inc (pow_test): Require overflow exceptions for
31584 applicable cases of large exponents.
31585
c483f6b4
JM
31586 [BZ #706]
31587 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31588 (__ieee754_pow): Use iterative multiplication algorithm only for
31589 integer exponents with absolute value below 1024. Check for odd
31590 integer exponents when using algorithm for real exponents.
31591 * math/libm-test.inc (pow_test): Add more tests.
31592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31593
d2de7579
JM
315942012-04-08 Joseph Myers <joseph@codesourcery.com>
31595
31596 [BZ #13705]
31597 * math/libm-test.inc (exp_test): Do not allow overflow exception
31598 on underflow test.
31599
f77f1232
AJ
316002012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31601
31602 [BZ #13705]
31603 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31604 instead of __kernel_standard_f.
31605
3884932b
MF
316062012-04-08 Mike Frysinger <vapier@gentoo.org>
31607
31608 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31609 * sysdeps/x86_64/memset_chk.S: Likewise.
31610
54472e9c
AJ
316112012-04-08 Andreas Jaeger <aj@suse.de>
31612
6ab0fbfc
AJ
31613 [BZ #10153]
31614 * manual/startup.texi (Environment Access): Describe return value
31615 for putenv and setenv.
31616
61efba8c
AJ
31617 [BZ #6895]
31618 * manual/filesys.texi (Directory Entries): Add description for
31619 DT_LNK.
31620
95c3f29a
AJ
31621 [BZ #6890]
31622 * manual/filesys.texi (Directory Entries): Clarify that it's file
31623 system not operating system in the description of DT_UNKNOWN.
31624
54472e9c
AJ
31625 [BZ #6578]
31626 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31627
624254b1
SC
316282012-04-08 Stephen Compall <s11@member.fsf.org>
31629
31630 [BZ #6649]
31631 * manual/llio.texi (Opening and Closing Files): Add cross
31632 reference to explain mode argument.
31633
1e4920e0
MF
316342012-04-07 Mike Frysinger <vapier@gentoo.org>
31635
31636 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31637 * sysdeps/x86_64/memset_chk.S: Likewise.
31638
5ed848f3
DM
316392012-04-07 David S. Miller <davem@davemloft.net>
31640
31641 * elf/elf.h (R_SPARC_WDISP10): Define.
31642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31643 R_SPARC_SIZE32.
31644 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31645 R_SPARC_SIZE64 and R_SPARC_H34.
31646
96154cd8
CD
316472012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31648
31649 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31650 conditions and remove no longer applicable assertion.
31651
9904dc47
L
316522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31653
31654 * bits/byteswap.h: Include <features.h>.
31655 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31656 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31657
f8887d0a
L
316582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31659
31660 * bits/byteswap.h (__bswap_16): Removed.
31661 Include <bits/byteswap-16.h> to get __bswap_16.
31662 * sysdeps/i386/bits/byteswap.h: Likewise.
31663 * sysdeps/s390/bits/byteswap.h: Likewise.
31664 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31665 * bits/byteswap-16.h: New file.
31666 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31667 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31668 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31669 * string/Makefile (headers): Add bits/byteswap-16.h.
31670
62470f60
PP
316712012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31672
31673 [BZ #13895]
31674 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31675 extra indirection.
31676 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31677 * nss/tst-nss-static.c: New.
31678
4dad7bab
RM
316792012-04-06 Robert Millan <rmh@gnu.org>
31680
31681 [BZ #6486]
31682 * manual/llio.texi (File Position Primitive): lseek
31683 refers to WHENCE when it really means OFFSET.
31684
e9142a17
AJ
316852012-04-06 Andreas Jaeger <aj@suse.de>
31686
2c040eff
AJ
31687 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31688 strncmp declarations.
31689
e9142a17
AJ
31690 * abilist/libc.abilist: Add __poll and __ppoll.
31691
ff9f1c5f
DM
316922012-04-05 David S. Miller <davem@davemloft.net>
31693
dcd2ae90
DM
31694 * scripts/check-local-headers.sh: Accept a host triplet in the
31695 path matched by the exclude regexp.
31696
993eb054
DM
31697 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31698 definition.
31699 * sysdeps/powerpc/powerpc32/dl-machine.h
31700 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31701 * sysdeps/s390/s390-32/dl-machine.h
31702 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31703 * sysdeps/sparc/sparc32/dl-machine.h
31704 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31705 * sysdeps/sparc/sparc64/dl-machine.h
31706 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31707
ff9f1c5f
DM
31708 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31709 lazy binding.
48e2e132 31710 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31711 undefined symbol errors.
31712
48e2e132 31713 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31714 DT_NEEDED entries.
31715
e80d6f94
MM
317162012-04-05 Michael Matz <matz@suse.de>
31717
31718 [BZ #13592]
31719 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31720
349fa79f
AJ
317212012-04-05 Andreas Jaeger <aj@suse.de>
31722
31723 [BZ #13908]
31724 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31725 comment.
31726
f402708f
KK
317272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31728
31729 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31730 which ROUND is no valid rounding mode.
31731
2ecccfc9
KK
317322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31733
31734 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31735 read again.
31736 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31737
8a53f50f
KK
317382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31739
31740 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31741 an exception using FPU order intentionally.
31742
317432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31744
31745 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31746 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31747 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31748 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31749
d653abb7
SJ
317502012-04-05 Simon Josefsson <simon@josefsson.org>
31751
31752 [BZ #12340]
31753 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31754 EINVAL when BUFLEN is too smal.
31755
c3b1bf7d
TS
317562012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31757
31758 [BZ #13553]
31759 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31760 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31761
b1aa60f3
AJ
317622012-04-03 Andreas Jaeger <aj@suse.de>
31763
c3b1bf7d 31764 [BZ #13938]
67f60a26
AJ
31765 * manual/setjmp.texi (System V contexts): Fix sentence.
31766
b1aa60f3
AJ
31767 [BZ #13926]
31768 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31769 New macro for this case.
31770 [!__GNUC__] (__bswap_64): New inline function for this case.
31771 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31772 * bits/byteswap.h: Likewise.
31773 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31774 ull, guard with __GLIBC_HAVE_LONG_LONG.
31775
31776 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31777 __GLIBC_HAVE_LONG_LONG.
31778
31779 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31780 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31781
39c59c35
TMQMF
317822012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31783
31784 [BZ #13691]
31785 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31786 inptr and inend, rather than using last_ch.
31787
135ffda8
DM
317882012-04-02 David S. Miller <davem@davemloft.net>
31789
31790 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31791 * stdio-common/printf-parse.h (read_int): Change return type to
31792 'int', return -1 on INT_MAX overflow.
31793 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31794 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31795 overflows INT_MAX. Check for overflow of in-format-string precision
31796 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31797 SIZE_MAX not INT_MAX for integer overflow test.
31798 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31799 skip the construct in the format string but do not record anything.
31800 * stdio-common/bug22.c: Adjust to test both width/prevision
31801 INT_MAX overflow as well as total length INT_MAX overflow. Check
31802 explicitly for proper errno values.
31803
228c019e
TS
318042012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31805
302cadd3
TS
31806 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31807 CHAR_MAX.
31808 * string/test-strcmp.c [! WIDE]: Likewise.
31809 * time/tst-mktime2.c: Likewise for INT_MAX.
31810 * string/test-string.h: #include <sys/param.h> for MIN.
31811
228c019e
TS
31812 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31813 * sysdeps/i386/init-first.c (init): Likewise.
31814 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31815 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31816 * sysdeps/sh/init-first.c (init): Likewise.
31817
cfa633f5
UD
318182012-04-01 Ulrich Drepper <drepper@gmail.com>
31819
31820 * po/ru.po: Update from translation team.
d1635ef8 31821 * po/vi.po: Likewise.
cfa633f5 31822
6cd0a5ea
SP
318232012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31824
31825 * resolv/nss_dns/dns-host.c: Merge copyright years.
31826
4b43400f
LD
318272012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31828
31829 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31830 Optimize memcpy with prefetch if
31831 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31832 src, dst pointers have unequal 16 byte alignments.
31833
48c41d04
SP
318342012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31835
31836 [BZ #13928]
31837 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31838 from a CNAME entry and return the minimum ttl for the query.
31839 (gaih_getanswer_slice): Likewise.
31840
b8dc394d
JL
318412012-03-30 Jeff Law <law@redhat.com>
31842
31843 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31844 due to long keys.
31845 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31846 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31847
2f5a5ed0
JL
31848 * resolv/nss_dns/dns-host.c: Update copyright year.
31849
1d39e359
UD
318502012-03-30 Ulrich Drepper <drepper@gmail.com>
31851
c030f70c 31852 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31853 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31854
1d39e359
UD
31855 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31856 comments for sendmmsg.
31857
318582012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31859
31860 [BZ #13691]
31861 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31862 with only 1 character between 0x0041 and 0x01b0.
31863 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31864 * wcsmbs/tst-mbsnrtowcs.c: New file.
31865
20fde227
DM
318662012-03-29 David S. Miller <davem@davemloft.net>
31867
31868 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31869 small copies by hand.
31870
984a4237
JL
318712012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31872
31873 [BZ #13761]
31874 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31875 _nss_compat_initgroups_dyn): Fall back to malloc/free
31876 for large group memberships.
31877
18c9d62b
DM
318782012-03-28 David S. Miller <davem@davemloft.net>
31879
88d85d4f
DM
31880 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31881 that branches into memcpy.
31882 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31883 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31884 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31885 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31887 bits.
31888 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31889 implementation too.
31890 * sysdeps/sparc/mempcpy.S: New file.
31891
e5aa83e1
DM
31892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31893 the IFUNC routine in the libc case.
31894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31895
88570753
DM
31896 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31897 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31898 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31899 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31900 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31901 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31902 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31903 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31904
249d7567
DM
31905 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31906 loop to 256 bytes instead of 64 bytes and fix test signedness.
31907
18c9d62b
DM
31908 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31909 * sysdeps/sparc/sparc32/Makefile: rather than here...
31910 * sysdeps/sparc/sparc64/Makefile: and here.
31911
05f3d1f6
UD
319122012-03-28 Ulrich Drepper <drepper@gmail.com>
31913
31914 * malloc/mallocbug.c: Avoid warnings about unused variables.
31915
86ae07a8
JL
319162012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31917
31918 [BZ #13760]
31919 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31920 in the right place. Discard and retry query if response is
31921 larger than input buffer size.
31922
41bf21a1
JM
319232012-03-28 Joseph Myers <joseph@codesourcery.com>
31924
d6270972
JM
31925 [BZ #369]
31926 [BZ #2678]
31927 [BZ #3866]
31928 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31929 x for large integer exponent.
31930 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31931 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31932 sign of result as needed afterwards.
31933 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31934 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31935 result for underflowing pow the same as for overflow.
31936 (__kernel_standard_l): Handle powl overflow and underflow here
31937 rather than calling __kernel_standard.
31938 * math/libm-test.inc (pow_test): Add more tests.
31939
414fca03 31940 [BZ #3868]
41bf21a1
JM
31941 [BZ #13879]
31942 [BZ #13910]
31943 [BZ #13911]
31944 [BZ #13912]
31945 [BZ #13913]
31946 [BZ #13915]
31947 [BZ #13916]
31948 [BZ #13917]
31949 [BZ #13918]
31950 [BZ #13919]
31951 [BZ #13920]
31952 [BZ #13921]
31953 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31954 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31955 (__kernel_standard_l): New function.
31956 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31957 __kernel_standard.
31958 * math/w_acosl.c (__acosl): Likewise.
31959 * math/w_asinl.c (__asinl): Likewise.
31960 * math/w_atan2l.c (__atan2l): Likewise.
31961 * math/w_atanhl.c (__atanhl): Likewise.
31962 * math/w_coshl.c (__coshl): Likewise.
31963 * math/w_exp10l.c (__exp10l): Likewise.
31964 * math/w_exp2l.c (__exp2l): Likewise.
31965 * math/w_fmodl.c (__fmodl): Likewise.
31966 * math/w_hypotl.c (__hypotl): Likewise.
31967 * math/w_j0l.c (__j0l, __y0l): Likewise.
31968 * math/w_j1l.c (__j1l, __y1l): Likewise.
31969 * math/w_jnl.c (__jnl, __ynl): Likewise.
31970 * math/w_lgammal.c (__lgammal): Likewise.
31971 * math/w_log10l.c (__log10l): Likewise.
31972 * math/w_log2l.c (__log2l): Likewise.
31973 * math/w_logl.c (__logl): Likewise.
31974 * math/w_powl.c (__powl): Likewise.
31975 * math/w_remainderl.c (__remainderl): Likewise.
31976 * math/w_scalbl.c (sysv_scalbl): Likewise.
31977 * math/w_sinhl.c (__sinhl): Likewise.
31978 * math/w_sqrtl.c (__sqrtl): Likewise.
31979 * math/w_tgammal.c (__tgammal): Likewise.
31980 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31981 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31982 * math/libm-test.inc (acos_test): Add more tests.
31983 (acosh_test): Likewise.
31984 (asin_test): Likewise.
31985 (atanh_test): Likewise.
31986 (exp_test): Likewise.
31987 (exp10_test): Likewise.
31988 (exp2_test): Likewise.
31989 (expm1_test): Likewise.
31990 (lgamma_test): Likewise.
31991 (log_test): Likewise.
31992 (log10_test): Likewise.
31993 (log1p_test): Likewise.
31994 (log2_test): Likewise.
31995 (pow_test): Do not allow some spurious overflow exceptions.
31996 (sqrt_test): Add more tests.
31997 (tgamma_test): Likewise.
31998 (y0_test): Likewise.
31999 (y1_test): Likewise.
32000 (yn_test): Likewise.
32001
dd62fda6
AB
320022012-03-27 Anton Blanchard <anton@samba.org>
32003
32004 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32005 MAP_HUGETLB.
32006 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32007 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32008 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32009
1e3cdfda
AJ
320102012-03-27 David S. Miller <davem@davemloft.net>
32011
b855ab85
DM
32012 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32013
1e3cdfda
AJ
32014 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32015 have-as-vis3 check.
32016
320172012-03-27 Andreas Jaeger <aj@suse.de>
32018
32019 * sysdeps/x86_64/elf/configure.in: Moved to ...
32020 * sysdeps/x86_64/configure.in: ... here.
32021 * sysdeps/x86_64/elf/start.S: Moved to ...
32022 * sysdeps/x86_64/start.S: ... here.
32023 * sysdeps/x86_64/elf/configure: Delete.
32024
32025 * sysdeps/x86_64/configure.in: Merge contents from
32026 sysdeps/i386/configure.in (without i686 check).
32027
32028 * sysdeps/i386/elf/Versions: Merge into ...
32029 * sysdeps/i386/Versions: ... this.
32030 * sysdeps/i386/elf/Versions: Delete file.
32031 * sysdeps/i386/elf/start.S: Moved to ...
32032 * sysdeps/i386/start.S: ...here.
32033 * sysdeps/i386/elf/configure.in: Merge into...
32034 * sysdeps/i386/configure.in: ...here.
32035 * sysdeps/i386/elf/configure.in: Delete file.
32036 * sysdeps/i386/elf/configure: Delete file.
32037
32038 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32039 * debug/backtracesyms.c: ... here.
32040 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32041 * debug/backtracesymsfd.c: ... here.
32042 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32043 * sysdeps/generic/ifunc-sel.h: ... here.
32044
32045 * sysdeps/unix/i386/start.c: Delete file.
32046 * sysdeps/unix/sparc/start.c: Delete file.
32047 * sysdeps/unix/start.c: Delete file.
32048
32049 * sysdeps/sh/elf/configure.in: Moved to ...
32050 * sysdeps/sh/configure.in: ... here.
32051 * sysdeps/sh/elf/start.S: Moved to ...
32052 * sysdeps/sh/start.S: ... here.
32053 * sysdeps/sh/elf/configure: Delete file.
32054
32055 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32056 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32057 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32058 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32059 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32060 * sysdeps/powerpc/powerpc64/start.S: here.
32061 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32062 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32063 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32064 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32065 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32066
32067 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32068 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32069 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32070 * sysdeps/powerpc/powerpc32/start.S: ... here.
32071 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32072 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32073 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32074
32075 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32076 * sysdeps/powerpc/ifunc-sel.h: ... here.
32077 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32078 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32079
32080 * sysdeps/sparc/elf/configure.in: Moved to ...
32081 * sysdeps/sparc/configure.in: ... here.
32082 * sysdeps/sparc/elf/configure: Delete file.
32083 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32084 * sysdeps/sparc/sparc32/start.S: ... here.
32085 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32086 * sysdeps/sparc/sparc64/start.S: ... here.
32087 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32088 * sysdeps/sparc/sparc32/Makefile: ... this.
32089 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32090 * sysdeps/sparc/sparc64/Makefile: ... this.
32091
32092 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32093 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32094 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32095 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32096 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32097 * sysdeps/s390/s390-32/setjmp.S: ... here.
32098 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32099 * sysdeps/s390/s390-32/configure.in: ... here.
32100 * sysdeps/s390/s390-32/elf/configure: Delete file.
32101 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32102 * sysdeps/s390/s390-32/start.S: ... here.
32103
32104 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32105 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32106 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32107 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32108 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32109 * sysdeps/s390/s390-64/setjmp.S: ... here.
32110 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32111 * sysdeps/s390/s390-64/configure.in: ... here
32112 * sysdeps/s390/s390-64/elf/configure: Delete file.
32113 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32114 * sysdeps/s390/s390-64/start.S: ... here.
32115 * sysdeps/s390/s390-64/elf/configure: Delete.
32116
32117 * configure.in: Remove support for elf directories in sysdeps.
32118
32119 * configure: Regenerated.
32120 * sysdeps/i386/configure: Regenerated.
32121 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32122 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32123 * sysdeps/s390/s390-32/configure: Regenerated.
32124 * sysdeps/s390/s390-64/configure: Regenerated.
32125 * sysdeps/sh/configure: Regenerated.
32126 * sysdeps/sparc/configure: Regenerated.
32127 * sysdeps/x86_64/configure: Regenerated.
32128
a3f61311
AS
321292012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32130
c876e002
AS
32131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32132
a3f61311
AS
32133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32134 denormal result into account.
32135
ac4c54f0
RM
321362012-03-25 Roland McGrath <roland@hack.frob.com>
32137
32138 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32139 Reported by Allan McRae <allan@archlinux.org>.
32140
6a9b9c02
JL
321412012-03-23 Jeff Law <law@redhat.com>
32142
32143 * nss/getnssent.c (__nss_getent): Fix typo.
32144
4c42a0c1
DM
321452012-03-23 David S. Miller <davem@davemloft.net>
32146
32147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32148
1532c7ac
L
321492012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32150
32151 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32152 to pad to uint64_t for each field.
32153 (dl_tls_index): Replace unsigned long with uint64_t.
32154
3ff42526
PP
321552012-03-23 Daniel Jacobowitz <dmj@google.com>
32156 Paul Pluzhnikov <ppluzhnikov@google.com>
32157
32158 [BZ #6528]
32159 * grp/Makefile (otherlibs): Don't set it.
32160 * inet/Makefile (otherlibs): Likewise.
32161 * login/Makefile (otherlibs): Likewise.
32162 * nscd/Makefile (otherlibs): Likewise.
32163 * posix/Makefile (otherlibs): Likewise.
32164 * pwd/Makefile (otherlibs): Likewise.
32165 * rt/Makefile (otherlibs): Likewise.
32166 * sunrpc/Makefile (otherlibs): Likewise.
32167 * nss/Makefile (otherlibs): Likewise.
32168 Add libnss_files to routines and static-only-routines.
32169 ($(objpfx)getent): Remove rule.
32170 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32171 static-only-routines.
32172
7c69cd14
JM
321732012-03-22 Joseph Myers <joseph@codesourcery.com>
32174
32175 [BZ #13892]
32176 * math/s_cexp.c: Include <float.h>.
32177 (__cexp): Handle exp result overflowing not necessarily
32178 overflowing both real and imaginary parts of result.
32179 * math/s_cexpf.c: Likewise.
32180 * math/s_cexpl.c: Likewise.
32181 * math/libm-test.inc (cexp_test): Add more tests.
32182 * sysdeps/i386/fpu/libm-test-ulps: Update.
32183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32184
81b035fe
L
321852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32186
32187 * include/link.h (ELFW): New macro.
32188 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32189 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32190
1da7940c
L
321912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32192
32193 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32194 with uint64_t.
32195
b749dbb9
L
321962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32197
32198 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32199 declaration.
32200 (struct La_x32_retval): Likewise.
32201
2ff87f3f
L
322022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32203
32204 * sysdeps/x86_64/preconfigure.in: New file.
32205 * sysdeps/x86_64/preconfigure: New generated file.
32206
c0df8e69
JM
322072012-03-22 Joseph Myers <joseph@codesourcery.com>
32208
48e44791
JM
32209 [BZ #13824]
32210 * math/e_exp2l.c: Include <float.h>.
32211 (__ieee754_exp2l): Handle overflow and underflow cases
32212 separately. Only pass fractional part of argument to
32213 __ieee754_expl.
32214 * math/libm-test.inc (exp2_test): Add more tests.
32215
c0df8e69
JM
32216 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32217 negating x to take absolute value.
32218 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32219 Likewise.
32220 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32221 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32222 Likewise.
32223 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32224 computing low part if x was negated.
32225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32226
c8e43ba7
L
322272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32228
32229 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32230 la_x32_gnu_pltexit.
32231 (pltexit): Cast int_retval to ptrdiff_t.
32232 * elf/tst-auditmod3b.c: Likewise.
32233 * elf/tst-auditmod4b.c: Likewise.
32234 * elf/tst-auditmod5b.c: Likewise.
32235 * elf/tst-auditmod6b.c: Likewise.
32236 * elf/tst-auditmod6c.c: Likewise.
32237 * elf/tst-auditmod7b.c: Likewise.
32238
32239 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32240 and x32_gnu_pltexit.
32241
32242 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32243 __ELF_NATIVE_CLASS.
32244 (La_x32_regs): New macro.
32245 (La_x32_retval): Likewise.
32246 (la_x32_gnu_pltenter): New function prototype.
32247 (la_x32_gnu_pltexit): Likewise.
32248
7998fa78
AS
322492012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32250
dcb33988
AS
32251 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32252 exponent.
32253
233fc563
AS
32254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32255
7998fa78
AS
32256 * configure.in (libc_cv_cc_nofma): Check for option to disable
32257 generation of FMA instructions.
32258 * configure: Regenerate.
32259 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32260 * sysdeps/ieee754/dbl-64/Makefile: New file.
32261 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32262 Remove brandred-fma4.
32263 (CFLAGS-brandred-fma4.c): Remove.
32264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32265 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32266 define.
32267 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32268 define.
32269
8e95c99a
L
322702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32271
32272 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32273 LLONG_MAX != LONG_MAX.
32274 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32275 (_fitoa_word): Likewise.
32276 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32277 LLONG_MAX != LONG_MAX.
32278 * stdio-common/_itowa.h: Include <_itoa.h>.
32279 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32280 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32281 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32282 only if not defined.
32283 (_ITOA_WORD_TYPE): Likewise.
32284 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32285 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32286
6f4db457
DM
322872012-03-21 David S. Miller <davem@davemloft.net>
32288
32289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32290
7785fe5a
L
322912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32292
32293 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32294 of x86_64 when setting libc_cv_slibdir, libdir and
32295 libc_cv_localedir.
32296 * sysdeps/unix/sysv/linux/configure: Regenerated.
32297
4535cd55
JM
322982012-03-21 Joseph Myers <joseph@codesourcery.com>
32299
32300 * manual/lang.texi (Old Varargs): Remove section.
32301 (How Variadic): Update menu.
32302 (va_start): Do not mention varargs.h.
32303
17228132
TS
323042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32305 Joseph Myers <joseph@codesourcery.com>
32306
32307 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32308 link test.
32309 * configure: Regenerated.
32310
8149f976
TS
323112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32312
05f3d1f6
UD
32313 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32314 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32315 conformtest.pl
8149f976 32316
1a4ac776
JM
323172012-03-21 Joseph Myers <joseph@codesourcery.com>
32318
be22ce65
JM
32319 * NOTES: Remove.
32320 * Makefile (files-for-dist): Remove NOTES.
32321 (NOTES): Remove rule.
32322 * README: Don't refer to NOTES.
32323 * manual/creature.texi: Don't include macros.texi.
32324 * manual/intro.texi (creature.texi): Remove comment referring to
32325 NOTES.
32326
40b601fb
JM
32327 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32328 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32329 * configure: Regenerated.
32330 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32331 LIBC_TRY_CC_OPTION.
32332 (libc_cv_as_i686): Likewise.
32333 (libc_cv_cc_avx): Likewise.
32334 (libc_cv_cc_sse2avx): Likewise.
32335 (libc_cv_cc_fma4): Likewise.
32336 (libc_cv_cc_novzeroupper): Likewise.
32337 * sysdeps/i386/configure: Regenerated.
32338
1a4ac776
JM
32339 [BZ #13883]
32340 * sysdeps/i386/fpu/s_cexp.S: Remove.
32341 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32342 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32343 * math/libm-test.inc (cexp_test): Add more tests.
32344 * sysdeps/i386/fpu/libm-test-ulps: Update.
32345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32346
a458e7fe
AM
323472012-03-21 Allan McRae <allan@archlinux.org>
32348
32349 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32350
0cb7efc5
JM
323512012-03-21 Joseph Myers <joseph@codesourcery.com>
32352
32353 [BZ #13871]
32354 * math/w_exp2.c: Do not include <float.h>.
32355 (o_threshold, u_threshold): Remove.
32356 (__exp2): Calculate result before checking finiteness and calling
32357 __kernel_standard.
32358 * math/w_exp2f.c: Likewise.
32359 * math/w_exp2l.c: Likewise.
32360 * math/libm-test.inc (exp2_test): Require overflow exception for
32361 1e6 input.
2460d3aa
JM
32362
32363 [BZ #3866]
32364 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32365 range of signed 64-bit integers before using fistpll. Remove
32366 checks for whether integers fit in mantissa bits.
32367 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32368 the range of signed 32-bit integers before using fistpl. Remove
32369 checks for whether integers fit in mantissa bits.
32370 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32371 (__ieee754_powl): Test for y outside the range of signed 64-bit
32372 integers before using fistpll. Reduce 64-bit values to 63-bit
32373 ones as needed.
32374 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32375 divide-by-zero is raised for zero to large negative powers.
32376 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32377 (__ieee754_powl): Test for y outside the range of signed 64-bit
32378 integers before using fistpll. Reduce 64-bit values to 63-bit
32379 ones as needed.
32380 * math/libm-test.inc (pow_test): Add more tests.
32381
eb96ffb0
L
323822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32383
32384 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32385 <stdio-common/_itoa.h>.
32386 * debug/segfault.c: Likewise.
32387 * elf/dl-cache.c: Likewise.
32388 * elf/dl-minimal.c: Likewise.
32389 * elf/dl-misc.c: Likewise.
32390 * elf/dl-sysdep.c: Likewise.
32391 * elf/dl-version.c: Likewise.
32392 * elf/rtld.c: Likewise.
32393 * hurd/hurdsock.c: Likewise.
32394 * hurd/lookup-retry.c: Likewise.
32395 * malloc/malloc.c: Likewise.
32396 * malloc/mtrace.c: Likewise.
32397 * nscd/nscd_getgr_r.c: Likewise.
32398 * nscd/nscd_getpw_r.c: Likewise.
32399 * nscd/nscd_getserv_r.c: Likewise.
32400 * posix/getopt_init.c: Likewise.
32401 * posix/wordexp.c: Likewise.
32402 * stdio-common/_itoa.c: Likewise.
32403 * stdio-common/printf_fphex.c: Likewise.
32404 * stdio-common/vfprintf.c: Likewise.
32405 * string/_strerror.c: Likewise.
32406 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32407 * sysdeps/i386/i686/hp-timing.h: Likewise.
32408 * sysdeps/mach/_strerror.c: Likewise.
32409 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32410 * sysdeps/mach/hurd/sethostid.c: Likewise.
32411 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32412 * sysdeps/mach/xpg-strerror.c: Likewise.
32413 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32414 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32415 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32416 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32417 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32418 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32419 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32420 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32421 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32422 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32423 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32424 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32425 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32426 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32427 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32428 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32429 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32430 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32431 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32432 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32433 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32434
32435 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32436
32437 * stdio-common/_itoa.h: Moved to ...
32438 * sysdeps/generic/_itoa.h: Here.
32439
32440 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32441
32442 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32443 instead of "_itoa.h" and "_itowa.h".
32444 * stdio-common/vfprintf.: Likewise.
32445
d1af992d
L
324462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32447
32448 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32449 <bits/wordsize.h>.
32450 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32451 (__signbit): Likwise.
32452 (llrintf): Likwise.
32453 (llrint): Likwise.
32454
114883e0
L
324552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32456
32457 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32458 __WORDSIZE != 64.
32459
c135cc1b
JM
324602012-03-20 Joseph Myers <joseph@codesourcery.com>
32461
32462 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32463 OVERFLOW_EXCEPTION_OK.
32464 * math/libm-test.inc ("Philosophy"): Update comment about
32465 exception testing.
32466 (OVERFLOW_EXCEPTION): Define.
32467 (OVERFLOW_EXCEPTION_OK): Likewise.
32468 (INVALID_EXCEPTION_OK): Renumber.
32469 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32470 (IGNORE_ZERO_INF_SIGN): Likewise.
32471 (test_exceptions): Handle FE_OVERFLOW.
32472 (exp10_test): Expect overflow exceptions.
32473 (exp2_test): Likewise.
32474 (expm1_test): Likewise.
32475 (nextafter_test): Likewise.
32476 (pow_test): Likewise.
32477 (scalbn_test): Likewise.
32478 (scalbln_test): Likewise.
32479
95443d88
L
324802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32481
32482 * sysdeps/x86_64/bits/atomic.h
32483 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32484 64bit integer.
32485 (atomic_exchange_acq): Likewise.
32486 (__arch_exchange_and_add_body): Likewise.
32487 (__arch_add_body): Likewise.
32488 (atomic_add_negative): Likewise.
32489 (atomic_add_zero): Likewise.
32490
490df6c4
L
324912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32492
c2722551 32493 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32494 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32495
5e52b189
L
324962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32497
32498 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32499 Check __x86_64__ instead of __WORDSIZE.
32500
a9879d4c
L
325012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32502
32503 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32504
5df98260
DM
325052012-03-19 David S. Miller <davem@davemloft.net>
32506
e1497744
DM
32507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32508
5df98260
DM
32509 * sysdeps/sparc/fpu/fenv_private.h: New file.
32510 * sysdeps/sparc/fpu/math_private.h: Use it.
32511 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32512 Remove.
32513 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32514 (libc_feholdexcept_setroundl): Remove.
32515 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32516 Remove.
32517 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32518 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32519
b4c35121
L
325202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32521
32522 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32523 int64_t instead of long int.
32524 (INSERT_WORDS64): Likwise.
32525
56965fd7
L
325262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32527
32528 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32529 _Unwind_GetCFA return to _Unwind_Ptr first.
32530
83d1aec8
JM
325312012-03-19 Joseph Myers <joseph@codesourcery.com>
32532
1897ad44
JM
32533 [BZ #13629]
32534 * math/s_clog.c: Include <float.h>.
32535 (__clog): Scale large or subnormal inputs.
32536 * math/s_clogf.c: Likewise.
32537 * math/s_clogl.c: Likewise.
32538 * math/s_clog10.c: Include <float.h>.
32539 (M_LOG10_2): Define.
32540 (__clog10): Scale large or subnormal inputs.
32541 * math/s_clog10f.c: Likewise.
32542 * math/s_clog10l.c: Likewise.
32543 * math/libm-test.inc (clog_test): Add more tests.
32544 (clog10_test): Likewise.
32545 * sysdeps/i386/fpu/libm-test-ulps: Update.
32546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32547
7726d6a9
JM
32548 [BZ #11451]
32549 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32550 x and y.
32551 * math/libm-test.inc (atan2_test): Add another test.
32552
83d1aec8
JM
32553 * Makerules (common-objdir-compile): Remove.
32554 * sysdeps/unix/Makefile (config-generated): Do not add
32555 $(unix-generated) to variable.
32556 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32557 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32558 Remove rule.
32559 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32560 Likewise.
32561 [generic bits/local_lim.h] (before-compile): Do not append to
32562 variable.
32563 [generic bits/local_lim.h] (common-generated): Likewise.
32564 [generic sys/param.h] (before-compile): Do not append to variable.
32565 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32566 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32567 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32568 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32569 include.
32570 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32571 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32572 [generic sys/param.h] ($(addprefix
32573 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32574 [generic sys/param.h] (common-generated): Do not append to
32575 variable.
32576 [generic sys/param.h] (sysdep_headers): Likewise.
32577 [generic bits/errno.h] (before-compile): Do not append to
32578 variable.
32579 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32580 rule.
32581 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32582 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32583 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32584 [generic bits/errno.h] (common-generated): Do not append to
32585 variable.
32586 [generic bits/ioctls.h] (before-compile): Do not append to
32587 variable.
32588 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32589 rule.
32590 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32591 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32592 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32593 rule.
32594 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32595 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32596 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32597 [generic bits/ioctls.h] (common-generated): Do not append to
32598 variable.
32599 [generic sys/syscall.h] (syscall.h): Remove variable.
32600 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32601 rule.
32602 [generic sys/syscall.h] (before-compile): Do not append to
32603 variable.
32604 [generic sys/syscall.h] (common-generated): Likewise.
32605 * sysdeps/unix/errnos-tmpl.c: Remove file.
32606 * sysdeps/unix/errnos.awk: Likewise.
32607 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32608 * sysdeps/unix/ioctls.awk: Likewise.
32609 * sysdeps/unix/mk-local_lim.c: Likewise.
32610 * sysdeps/unix/snarf-ioctls: Likewise.
32611
4851a949
RH
326122012-03-19 Richard Henderson <rth@twiddle.net>
32613
bd37f2ee
RH
32614 * sysdeps/i386/fpu/fenv_private.h: New file.
32615 * sysdeps/i386/fpu/math_private.h: Use it.
32616 (math_opt_barrier, math_force_eval): Remove.
32617 (libc_feholdexcept_setround_53bit): Remove.
32618 (libc_feupdateenv_53bit): Remove.
32619 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32620 (math_opt_barrier, math_force_eval): Remove.
32621 (libc_feholdexcept): Remove.
32622 (libc_feholdexcept_setround): Remove.
32623 (libc_fetestexcept, libc_fesetenv): Remove.
32624 (libc_feupdateenv_test): Remove.
32625 (libc_feupdateenv, libc_feholdsetround): Remove.
32626 (libc_feresetround): Remove.
32627
d0adc922
RH
32628 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32629 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32630
0fe0f1f8
RH
32631 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32632 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32633 (libc_feupdateenv_testl): New.
32634 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32635 (libc_feupdateenv_testf): New.
32636 (libc_feupdateenv): Use libc_feupdateenv_test.
32637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32638 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32639
eb92c487
RH
32640 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32641 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32642 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32643 (libc_feresetround_noex): New.
32644 (libc_feresetround_noexf): New.
32645 (libc_feresetround_noexl): New.
32646 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32647 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32648 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32649 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32650 SET_RESTORE_ROUND.
32651 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32652 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32653 (__cos): Likewise.
32654 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32655 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32656 SET_RESTORE_ROUND_NOEX.
32657 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32658 SET_RESTORE_ROUND_NOEXF.
32659 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32660 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32661 (libc_feholdsetroundf): New.
32662 (libc_feresetround, libc_feresetroundf): New.
32663
7d2e8012
RH
32664 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32665 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32666 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32667
b4dabbb4
RH
32668 * sysdeps/generic/math_private.h: Include <fenv.h>.
32669 (default_libc_feholdexcept): New.
32670 (default_libc_feholdexcept_setround): New.
32671 (default_libc_fesetenv, default_libc_feupdateenv): New.
32672 (libc_feholdexcept): Only define if undefined.
32673 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32674 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32675 (libc_feholdexcept_setroundl): Likewise.
32676 (libc_feholdexcept_setround_53bit): Likewise.
32677 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32678 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32679 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32680 (libc_feupdateenv_53bit): Likewise.
32681 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32682 (libc_feholdexcept): Convert from macro to inline function.
32683 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32684 (libc_fesetenv, libc_feupdateenv): Likewise.
32685
4851a949
RH
32686 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32687 not previously defined.
32688 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32689 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32690 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32691 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32692 * sysdeps/ieee754/flt-32/math_private.h: New file.
32693 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32694 math_private.h below SET_FLOAT_WORD.
32695 (__isnan, __isinf_ns, __finite): Remove.
32696 (__isnanf, __isinf_nsf, __finitef): Remove.
32697
e79d442e
AS
326982012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32699
32700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32701
90b80344
DM
327022012-03-17 David S. Miller <davem@davemloft.net>
32703
32704 [BZ #6471]
32705 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32706 for 2.16.
32707
edc21804
DM
327082012-03-16 David S. Miller <davem@davemloft.net>
32709
77e927af
DM
32710 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32711 warnings.
32712
374976dd
DM
32713 [BZ #6471]
32714 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32715 properly.
32716 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32717 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32718 sysdep_routines when subdir is sysvipc.
32719 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32720 __getshmlba helper.
32721
edc21804
DM
32722 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32723
473c3ef3
L
327242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32725
32726 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32727 [__LP64__].
32728
eb0f39b6
L
327292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32730
32731 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32732 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32733 (__lround): Renamed to ...
32734 (__llround): This. Replace long int with long long int.
32735 Define lround functions as aliases of llround functions.
32736 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32737
6b6cd74b
L
327382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32739
32740 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32741 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32742 adresses to uintptr_t. Replace "long int" and "unsigned long
32743 int" with "greg_t" on va_arg.
32744
f1a77b01
L
327452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32746
32747 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32748 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32749
32750 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32751 Move e_machine check before EI_CLASS check. Handle x32
32752 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32753 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32754 SKIP_EM_IA_64 and include
32755 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32756
32757 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32758 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32759 (add_system_dir): New macro.
32760
32761 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32762 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32763
11b90b9f
JM
327642012-03-16 Joseph Myers <joseph@codesourcery.com>
32765
c36e1d23
JM
32766 [BZ #2551]
32767 [BZ #2552]
32768 [BZ #2553]
32769 [BZ #2554]
32770 [BZ #2562]
32771 [BZ #2563]
32772 [BZ #2565]
32773 [BZ #2566]
32774 [BZ #2576]
32775 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32776 (y0): Likewise.
32777 * math/w_j0f.c (j0f): Likewise.
32778 (y0f): Likewise.
32779 * math/w_j0l.c (__j0l): Likewise.
32780 (__y0l): Likewise.
32781 * math/w_j1.c (j1): Likewise.
32782 (y1): Likewise.
32783 * math/w_j1f.c (j1f): Likewise.
32784 (y1f): Likewise.
32785 * math/w_j1l.c (__j1l): Likewise.
32786 (__y1l): Likewise.
32787 * math/w_jn.c (jn): Likewise.
32788 (yn): Likewise.
32789 * math/w_jnf.c (jnf): Likewise.
32790 (ynf): Likewise.
32791 * math/w_jnl.c (__jnl): Likewise.
32792 (__ynl): Likewise.
32793 * math/libm-test.inc (j0_test): Add more tests.
32794 (j1_test): Likewise.
32795 (jn_test): Likewise. Add trailing semicolon to existing test.
32796 (y0_test): Likewise.
32797 (y1_test): Likewise.
32798 * sysdeps/i386/fpu/libm-test-ulps: Update.
32799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32800
11b90b9f
JM
32801 [BZ #13851]
32802 [BZ #13854]
32803 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32804 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32805 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32806 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32807 (__tanl): Set errno for infinite argument.
32808 * sysdeps/i386/fpu/mptan.c: Remove.
32809 * sysdeps/i386/fpu/s_tan.S: Likewise.
32810 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32811 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32812 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32813 * math/libm-test.inc (tan_test): Add more tests and enable more
32814 tests for double and long double.
32815 * sysdeps/i386/fpu/libm-test-ulps: Update.
32816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32817
6a1bd2a1
JK
328182012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32819
32820 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32821 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32822
10a803e0
RM
328232012-03-16 Roland McGrath <roland@hack.frob.com>
32824
32825 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32826 * configure.in: Use it for both main tree and add-ons.
32827 * configure: Regenerated.
32828
f196c7f7
L
328292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32830
32831 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32832
8848d99d
JM
328332012-03-16 Joseph Myers <joseph@codesourcery.com>
32834
96cbe7f4
JM
32835 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32836 in comment.
32837
8848d99d
JM
32838 [BZ #13851]
32839 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32840 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32841 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32842 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32843 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32844 infinite argument.
32845 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32846 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32847 != 0 for prec == 2.
32848 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32849 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32850 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32851 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32852 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32853 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32854 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32855 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32856 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32857 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32858 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32859 * math/libm-test.inc (cos_test): Add more tests and enable more
32860 tests for long double.
32861 (sin_test): Likewise.
32862 (sincos_test): Likewise.
32863 * sysdeps/i386/fpu/libm-test-ulps: Update.
32864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32865
dd7f4703
DM
328662012-03-16 David S. Miller <davem@davemloft.net>
32867
32868 * sysdeps/sparc/fpu/math_private.h: New file.
32869
006f1daa
DM
328702012-03-15 David S. Miller <davem@davemloft.net>
32871
c0c83bc8
DM
32872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32873 file.
e6a62e18 32874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32876 file.
e6a62e18
DM
32877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32883 sysdep routines.
32884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32885
88cb87d9
DM
32886 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32887 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32888
006f1daa 32889 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32891 sparc-ifunc.h
006f1daa 32892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32894 Likewise.
32895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32896 Likewise.
006f1daa
DM
32897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32901 Likewise.
006f1daa
DM
32902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32907 Likewise.
32908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32909 Likewise.
006f1daa
DM
32910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32917 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32929 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32931 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32934
11e0098e
AS
329352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32936
32937 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32938 scaling.
32939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32940
e85b09d0
AJ
329412012-03-15 Andreas Jaeger <aj@suse.de>
32942
32943 [BZ #13852]
32944 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32945 ieee754/flt-32 implementation for sin, cos and sincos.
32946 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32947 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32948 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32949 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32950 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32951 ieee754/flt-32 implementation for tan.
32952
32953 * math/libm-test.inc (cos_test): Enable some large input tests for
32954 float as well
32955 (sin_test): Likewise.
32956 (sincos_test): Likewise.
32957 (tan_test): Add tests for large input.
32958
32959 * sysdeps/i386/fpu/libm-test-ulps: Update.
32960
81c64153
AJ
329612012-03-15 Andreas Jaeger <aj@suse.de>
32962
32963 [BZ #13658]
32964 * math/libm-test.inc (cos_test): Add more test cases.
32965 (sin_test): Likewise.
32966 (sincos_test): Likewise.
32967
7bbfa5c6
AJ
329682012-03-15 Andreas Jaeger <aj@suse.de>
32969
32970 [BZ #13837]
32971 * math/libm-test.inc (cos_test): Add a test case for large input
32972 value.
32973 (sin_test): Likewise.
32974 (sincos_test): Likewise.
32975
329762012-03-15 Andreas Jaeger <aj@suse.de>,
32977 Joseph Myers <joseph@codesourcery.com>
32978
32979 [BZ #13658]
0671f479 32980 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32981 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32982 * sysdeps/i386/fpu/branred.c: Likewise.
32983 * sysdeps/i386/fpu/dosincos.c: Likewise.
32984 * sysdeps/i386/fpu/mpa.c: Likewise.
32985 * sysdeps/i386/fpu/s_cos.S: Likewise.
32986 * sysdeps/i386/fpu/s_sin.S: Likewise.
32987 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32988 * sysdeps/i386/fpu/sincos32.c: Likewise.
32989
32990 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32991 Define.
32992 (libc_feupdateenv_53bit): Define.
32993 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32994 Define.
32995 (libc_feupdateenv_53bit): Define.
32996
32997 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32998 53 bit (without extend i386 double precision).
32999
33000 * math/libm-test.inc (sincos_test): Add tests for large input.
33001 (sin): Likewise.
33002 (cos): Likewise.
33003
33004 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33005
9cad04ea
AS
330062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33007
33008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33009
f7062b9a
DM
330102012-03-15 David S. Miller <davem@davemloft.net>
33011
33012 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33013 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33014 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33015 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33028 file.
f7062b9a 33029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33031 file.
f7062b9a 33032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33034 file.
f7062b9a 33035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33037 file.
f7062b9a
DM
33038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33040 fmin/fmax sysdep routines.
33041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33042
7bd951ff
DM
330432012-03-14 David S. Miller <davem@davemloft.net>
33044
559398ab
DM
33045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33065 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33066 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33068 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33072 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33074 routines.
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33076 file.
559398ab 33077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33079 file.
559398ab 33080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33082 file.
559398ab 33083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33085 file.
559398ab 33086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33088 file.
559398ab 33089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33091 file.
33092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33093 file.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33095 file.
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33097 file.
33098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33099 New file.
33100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33101 file.
33102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33103 file.
559398ab 33104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33106 file.
559398ab 33107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33109 file.
559398ab 33110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33112 file.
559398ab 33113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33115 VIS3 routines.
559398ab
DM
33116
33117 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33118 New file.
33119
5a1c1e32
DM
33120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33121
eae47a36
DM
33122 * sysdeps/sparc/configure.in: New file.
33123 * sysdeps/sparc/configure: Generate.
33124 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33125 * configure: Regenerate.
33126 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33127 * config.make.in (have-as-vis3): New.
33128 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33129 available use -Av9d instead of -Av9a.
33130 * sysdeps/sparc/sparc64/Makefile: Likewise.
33131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33133 New file.
33134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33135 file.
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33137 New file.
33138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33139 file.
eae47a36
DM
33140 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33142 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33145
c0c83bc8
DM
33146 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33147 fzeros/fnegs to load 0x80000000 into a float register instead of
33148 using the stack.
7bd951ff
DM
33149 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33150
bd951ccb
JM
331512012-03-14 Joseph Myers <joseph@codesourcery.com>
33152
33153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33154 bits/syscall.h.
33155 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33156 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33157 ($(inst_includedir)/bits/syscall.h): Remove rule.
33158 ($(objpfx)bits/syscall.d): Include instead of
33159 $(objpfx)syscall-list.d.
33160 (generated): Change syscall-list.h and syscall-list.d to
33161 bits/syscall.h and bits/syscall.d.
33162
bb4e6db2
RM
331632012-03-14 Roland McGrath <roland@hack.frob.com>
33164
33165 [BZ #13846]
33166 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33167
aa4a2ae1
JM
331682012-03-14 Joseph Myers <joseph@codesourcery.com>
33169
e456826d
JM
33170 [BZ #13841]
33171 * math/s_csqrt.c: Include <float.h>.
33172 (__csqrt): Scale large or subnormal inputs.
33173 * math/s_csqrtf.c: Likewise.
33174 * math/s_csqrtl.c: Likewise.
33175 * math/libm-test.inc (csqrt_test): Add more tests.
33176 * sysdeps/i386/fpu/libm-test-ulps: Update.
33177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33178
aa4a2ae1
JM
33179 [BZ #13840]
33180 * math/libm-test.inc (hypot_test): Add more tests.
33181
7c10fd35
DM
331822012-03-13 David S. Miller <davem@davemloft.net>
33183
33184 [BZ #13840]
33185 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33186 double-precision for the calculation instead of scaling.
33187
f453b98b
JM
331882012-03-13 Joseph Myers <joseph@codesourcery.com>
33189
33190 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33191 manipulate bits before adding and subtracting TWO52[sx].
33192 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33193 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33194 Likewise.
33195 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33196
09a3453f
DM
331972012-03-13 David S. Miller <davem@davemloft.net>
33198
8e59da90
DM
33199 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33200 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33202 rtld-global-offsets.h
33203 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33204
2a8ab7f2
DM
33205 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33206 large parameters.
33207
10f62770
DM
33208 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33209
5f0bdb18
DM
33210 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33211 'err' in the ifdef scope in which it is actually used.
33212
09a3453f
DM
33213 * nss/nss_db/db-init.c: Include string.h
33214
b4b2eb5e
DM
332152012-03-12 David S. Miller <davem@davemloft.net>
33216
98bb2f1c
DM
33217 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33218 masking out of the most significant byte of random value used.
33219 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33220 Fix coding style in previous change.
33221
b4b2eb5e
DM
33222 * sysdeps/unix/sysv/linux/kernel-features.h
33223 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33224 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33225 expression.
33226 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33227 later.
33228
6e226b09
DM
332292012-03-11 David S. Miller <davem@davemloft.net>
33230
a1bcbd40
DM
33231 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33232 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33234 for 'resultvar' otherwise things get truncated on 64-bit.
33235
cb9d6174
DM
33236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33237 Fix masking out of the most significant byte of random value used.
33238
6e226b09
DM
33239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33240
058c132d
AS
332412012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33242
33243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33244
2d2cd515
DM
332452012-03-09 David S. Miller <davem@davemloft.net>
33246
33247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33248 variables with appropriate CPP guards.
33249 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33250 frame pointer, not the stack pointer. Correct layout comments. Fix test
33251 on resulting framesize and the management of the outregs buffer for pltexit.
33252 Preserve floating point return values across _dl_call_pltexit call.
33253 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33254 framesize and the management of the outregs buffer for pltexit.
33255 Preserve floating point return values across _dl_call_pltexit
33256 call.
33257 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33258 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33259 (print_exit): Fix format string for return register value.
33260
9a07f9d0
JM
332612012-03-10 Joseph Myers <joseph@codesourcery.com>
33262
33263 * sunrpc/Makefile (others): Add rpcgen.
33264 ($(objpfx)rpcgen): Remove special build rule and dependency on
33265 libc.
33266 * sunrpc/rpcgen.c: New file.
33267
547b5e30
PE
332682012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33269
c524201a
PE
33270 [BZ #13673]
33271 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33272 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33273 * sysdeps/i386/crti.S: Likewise.
33274 * sysdeps/i386/crtn.S: Likewise.
33275 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33276 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33277 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33278 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33279 * sysdeps/sh/crti.S: Likewise.
33280 * sysdeps/sh/crtn.S: Likewise.
33281 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33282
7b6235f2
PE
33283 [BZ #13673]
33284 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33285 with URL.
33286 * locale/programs/locfile-kw.gperf: Likewise.
33287 * locale/programs/charmap-kw.h: Regenerated.
33288 * locale/programs/locfile-kw.h: Likewise.
33289
547b5e30
PE
33290 [BZ #13673]
33291 * intl/plural.y: Replace FSF snail mail address with URL.
33292 * intl/plural.c: Regenerated.
33293
5f0a5dae
RH
332942012-03-09 Richard Henderson <rth@twiddle.net>
33295
33296 * include/math_private.h: Remove file.
33297 * math/math_private.h: Move file ...
33298 * sysdeps/generic/math_private.h: ... here.
33299
b8c03620
RH
33300 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33301 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33302 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33303
4e234f5d 33304 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33305 and <math_private.h>.
33306 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33307 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33308 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33309 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33310 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33311 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33312 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33314 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33315 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33317 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33318 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33319 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33320 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33321 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33322 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33323 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33324 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33325 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33326 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33327 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33328 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33330 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33331 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33332 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33333 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33335 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33336 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33338 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33339 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33340 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33341 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33343 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33344 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33345 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33346 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33347 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33348 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33362 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33363 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33364 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33366 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33368 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33369 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33370 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33371 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33372 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33373 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33374 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33375 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33376 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33377 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33378 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33380 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33384 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33385 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33386 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33387 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33388 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33389 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33390 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33393 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33394 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33395 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33396 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33397 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33398 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33399 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33400 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33401 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33402 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33403 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33404 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33405 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33406 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33407 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33408 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33409 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33410 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33411 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33412 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33413 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33414 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33415 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33416 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33417 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33418 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33419 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33420 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33421 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33422 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33423 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33424 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33425 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33426 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33427 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33428 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33429 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33430 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33431 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33432 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33433 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33434 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33435 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33436 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33437 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33438 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33439 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33440 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33441 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33442 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33443 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33444 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33445 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33446 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33447 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33448 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33449 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33450 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33451 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33452 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33453 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33454 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33455 * sysdeps/ieee754/k_standard.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33468 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33469 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33470 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33472 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33473 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33477 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33481 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33483 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33484 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33485 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33487 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33488 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33489 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33490 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33492 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33493 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33494 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33496 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33497 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33498 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33500 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33501 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33502 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33503 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33506 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33507 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33508 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33509 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33510 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33511 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33512 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33513 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33514 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33515 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33516 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33517 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33518 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33519 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33520 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33522 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33523 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33524 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33525 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33526 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33527 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33528 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33529 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33530 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33531 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33533 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33534 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33535 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33536 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33544 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33545 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33546 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33547 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33548 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33549 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33550 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33551 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33552 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33553 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33557 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33558 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33559 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33560 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33561 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33562 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33563 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33564 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33565 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33566 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33567 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33568 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33569 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33570 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33571 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33572 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33573 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33574 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33575 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33576 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33577 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33578 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33579 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33580 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33581 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33582 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33583 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33584 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33586 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33587 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33588 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33589 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33590 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33592 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33593 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33594 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33595 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33596 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33597 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33598 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33599 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33600 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33601 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33602 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33603 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33604 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33605 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33606 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33607 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33608 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33609 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33610 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33611 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33612 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33613 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33614 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33615 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33616 * sysdeps/ieee754/s_lib_version.c: Likewise.
33617 * sysdeps/ieee754/s_matherr.c: Likewise.
33618 * sysdeps/ieee754/s_signgam.c: Likewise.
33619 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33620 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33621 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33622 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33623 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33624 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33625 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33626 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33627 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33628 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33629 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33630 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33631 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33632 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33633 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33634 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33635 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33636 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33637 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33638 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33639 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33640
1991fa03
JM
336412012-03-09 Joseph Myers <joseph@codesourcery.com>
33642
33643 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33644 * sunrpc/rpc_main.c: Likewise.
33645 * sunrpc/rpc_svcout.c: Likewise.
33646
60d6f5a6
DM
336472012-03-09 David S. Miller <davem@davemloft.net>
33648
33649 * include/math_private.h: New file.
33650
4962050e
JM
336512012-03-09 Joseph Myers <joseph@codesourcery.com>
33652
02a6f887
JM
33653 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33654 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33655 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33656 from <bits/socket_type.h>.
33657 (enum __socket_type): Don't define here.
33658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33660 bits/socket_type.h.
33661
c6e013c1
JM
33662 [BZ #13566]
33663 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33664 checking __USE_GNU.
33665
4962050e
JM
33666 * Makerules ($(inst_includedir)/%.h): New rule.
33667 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33668 (install-others): Remove variable setting.
33669 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33670
38842f45
RH
336712012-03-08 Richard Henderson <rth@twiddle.net>
33672
67bb6da6
RH
33673 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33674 from macro to inline function; merge with the
33675 !__LIBC_INTERNAL_MATH_INLINES version.
33676 (__ieee754_sqrtf): Likewise.
33677
15194b4b
RH
33678 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33679 to inline function.
33680 (__rintf, __floor, __floorf): Likewise.
33681
64e21ede
RH
33682 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33683 macro to inline function.
33684 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33685
38842f45
RH
33686 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33687 not <math/math_private.h>.
33688
c64bf5fe
DM
336892012-03-08 David S. Miller <davem@davemloft.net>
33690
33691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33692 copyright year.
33693 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33694
82d86f28
TS
336952012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33696
33697 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33698 normalization.
33699 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33700 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33701
aea5d727
UD
337022012-03-08 Ulrich Drepper <drepper@gmail.com>
33703
33704 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33705 be defined individually, they must be defined as a block. Define
33706 S for printing a string instead of hidint the different by using a
33707 macro for adding the 'l'.
33708 * stdio-common/tst-fphex-wide.c: Adjust.
33709
70bca0a3
MP
337102012-03-07 Marek Polacek <polacek@redhat.com>
33711
33712 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33713
65b81130
MP
337142012-03-08 Marek Polacek <polacek@redhat.com>
33715
33716 [BZ #13806]
33717 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33718 * stdio-common/tst-fphex.c: Define a few macros to make the
33719 test reusable. Use them.
33720 * stdio-common/tst-fphex-wide.c: New file.
33721
07037eeb
JM
337222012-03-08 Joseph Myers <joseph@codesourcery.com>
33723
a7a93d50
JM
33724 [BZ #6911]
33725 * manual/macros.texi (gnusystems): New macro.
33726 (nongnusystems): Likewise.
33727 (gnulinuxhurdsystems): Likewise.
33728 (gnuhurdsystems): Likewise..
33729 (gnulinuxsystems): Likewise.
33730 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33731 variants of the GNU system, not "GNU system".
33732 * manual/conf.texi: Likewise.
33733 * manual/errno.texi: Likewise. Update example of errno macro
33734 expansion.
33735 * manual/filesys.texi: Likewise.
33736 (getumask): Document as specific to GNU/Hurd.
33737 * manual/install.texi: Likewise. Reword some references to
33738 GNU/Linux.
33739 * manual/intro.texi: Likewise.
33740 * manual/io.texi: Likewise.
33741 (File Name Portability): Detail which constraints are inapplicable
33742 to all GNU systems and which are only inapplicable to GNU/Hurd.
33743 * manual/job.texi: Likewise.
33744 * manual/llio.texi: Likewise.
33745 (O_NOCTTY): Document as present on GNU/Linux.
33746 * manual/maint.texi: Likewise.
33747 * manual/memory.texi: Likewise.
33748 * manual/pattern.texi: Likewise.
33749 * manual/pipe.texi: Likewise.
33750 * manual/process.texi: Likewise.
33751 * manual/resource.texi: Likewise.
33752 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33753 child on GNU/Hurd.
33754 * manual/setjmp.texi: Likewise.
33755 * manual/signal.texi: Likewise.
33756 * manual/startup.texi: Likewise.
33757 * manual/stdio.texi: Likewise.
33758 * manual/terminal.texi: Likewise.
33759 (ONLCR): Document as POSIX.
33760 (OXTABS): Document availability on GNU/Linux as XTABS.
33761 (ONOEOT): Document availability separately from other bits.
33762 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33763 * manual/time.texi: Likewise.
33764 * manual/users.texi: Likewise.
33765 * INSTALL: Regenerated.
33766 * sysdeps/gnu/errlist.c: Regenerated.
33767
07037eeb
JM
33768 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33769 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33770 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33771 puts.
33772 * configure: Regenerated.
33773
d1d3431a
JM
337742012-03-07 Joseph Myers <joseph@codesourcery.com>
33775
af6a1e37
JM
33776 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33777 default includes instead of AC_HEADER_CHECK.
33778 * sysdeps/i386/configure: Regenerated.
33779
d1d3431a
JM
33780 [BZ #10716]
33781 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33782 * math/s_cacoshf.c (__cacoshf): Likewise.
33783 * math/s_cacoshl.c (__cacoshl): Likewise.
33784 * math/s_casinh.c (__casinh): Set signs of result from argument.
33785 * math/s_casinhf.c (__casinhf): Likewise.
33786 * math/s_casinhl.c (__casinhl): Likewise.
33787 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33788 (casinh_test): Add more tests.
33789 * sysdeps/i386/fpu/libm-test-ulps: Update.
33790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791
482ff4da
UD
337922012-03-07 Ulrich Drepper <drepper@gmail.com>
33793
872fda05
UD
33794 * po/zh_TW.po: Update from translation team.
33795
a4300c7a
UD
33796 * login/Makefile (distribute): Remove variable.
33797 * catgets/Makefile: Likewise.
33798 * mach/Makefile: Likewise.
33799 * malloc/Makefile: Likewise.
33800 * misc/Makefile: Likewise.
33801 * iconv/Makefile: Likewise.
33802 * nscd/Makefile: Likewise.
33803 * hurd/Makefile: Likewise.
33804 * manual/Makefile: Likewise.
33805 * locale/Makefile: Likewise.
33806 * intl/Makefile: Likewise.
33807 * conform/Makefile: Likewise.
33808 * nss/Makefile: Likewise.
33809 * time/Makefile: Likewise.
33810 * soft-fp/Makefile: Likewise.
33811 * dirent/Makefile: Likewise.
33812 * gmon/Makefile: Likewise.
33813 * po/Makefile: Likewise.
33814 * rt/Makefile: Likewise.
33815 * socket/Makefile: Likewise.
33816 * math/Makefile: Likewise.
33817 * signal/Makefile: Likewise.
33818 * debug/Makefile: Likewise.
33819 * elf/Makefile: Likewise.
33820 * timezone/Makefile: Likewise.
33821 * stdlib/Makefile: Likewise.
33822 * iconvdata/Makefile: Likewise.
33823 * sunrpc/Makefile: Likewise.
33824 * io/Makefile: Likewise.
33825 * argp/Makefile: Likewise.
33826 * inet/Makefile: Likewise.
33827 * hesiod/Makefile: Likewise.
33828 * grp/Makefile: Likewise.
33829 * csu/Makefile: Likewise.
33830 * wctype/Makefile: Likewise.
33831 * crypt/Makefile: Likewise.
33832 * libio/Makefile: Likewise.
33833 * string/Makefile: Likewise.
33834 * nis/Makefile: Likewise.
33835 * resolv/Makefile: Likewise.
33836 * stdio-common/Makefile: Likewise.
33837 * wcsmbs/Makefile: Likewise.
33838 * dlfcn/Makefile: Likewise.
33839 * posix/Makefile: Likewise.
33840
3b7c4e74 33841 [BZ #6959]
482ff4da
UD
33842 * timezone/Makefile: Don't install timezone files, just the programs
33843 and scripts.
33844
f72ed77d
UD
338452012-03-06 Ulrich Drepper <drepper@gmail.com>
33846
a000466f
UD
33847 * nss/databases.def: Add missing gshadow entry.
33848
f72ed77d
UD
33849 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33850
a53b7a4e
MP
338512012-03-06 Marek Polacek <polacek@redhat.com>
33852
33853 [BZ #13726]
33854 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33855 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33856 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33857 * stdio-common/tst-long-dbl-fphex.c: New file.
33858
e9258400
DM
338592012-03-06 David S. Miller <davem@davemloft.net>
33860
33861 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33862 (set_obp_int): New function.
33863 (get_obp_int): New function.
33864 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33865 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33866 Avoid unused variable warnings on 'val' and use builtin_expect.
33867 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33868 __builtin_expect.
e9258400
DM
33869 (INLINE_CLONE_SYSCALL): Likewise.
33870
3bd2c723
DM
338712012-03-05 David S. Miller <davem@davemloft.net>
33872
33873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33874
bbb78d03
AS
338752012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33876
884c5db4
AS
33877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33878
bbb78d03
AS
33879 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33880 only for |x| >= 40.
33881 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33882
1c9f702a 338832012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33884
33885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33886 Replace gettimeofday with __vdso_gettimeofday.
33887
7be16f82
RM
33888 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33889 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33890 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33891
33892 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33893 time with __vdso_time.
33894
ed58a00f
JM
338952012-03-05 Joseph Myers <joseph@codesourcery.com>
33896
33897 * manual/lang.texi (size_t): Note types to which size_t may be
33898 equivalent with the GNU C Library, but do not describe when
33899 differences between them are significant.
33900
30ee4ced
AJ
339012012-03-05 Andreas Jaeger <aj@suse.de>
33902
33903 * sysdeps/i386/fpu/libm-test-ulps: Update.
33904
b7cd39e8
JM
339052012-03-05 Joseph Myers <joseph@codesourcery.com>
33906
33907 [BZ #3976]
33908 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33909 (__ieee754_pow): Save and restore rounding mode and use
33910 round-to-nearest for main computations.
33911 * math/libm-test.inc (pow_test_tonearest): New function.
33912 (pow_test_towardzero): Likewise.
33913 (pow_test_downward): Likewise.
33914 (pow_test_upward): Likewise.
33915 (main): Call the new functions.
33916 * sysdeps/i386/fpu/libm-test-ulps: Update.
33917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33918
33919 [BZ #3976]
33920 * math/libm-test.inc (cosh_test_tonearest): New function.
33921 (cosh_test_towardzero): Likewise.
33922 (cosh_test_downward): Likewise.
33923 (cosh_test_upward): Likewise.
33924 (sinh_test_tonearest): Likewise.
33925 (sinh_test_towardzero): Likewise.
33926 (sinh_test_downward): Likewise.
33927 (sinh_test_upward): Likewise.
33928 (main): Call the new functions.
33929 * sysdeps/i386/fpu/libm-test-ulps: Update.
33930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33931
6c6a98c9
TV
339322012-03-05 Tom de Vries <tom@codesourcery.com>
33933
33934 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33935 default stack guard is set in last bytes.
33936 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33937
21bb2d2e 339382012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33939
21bb2d2e 33940 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33941
21bb2d2e
AJ
33942 [BZ #13656]
33943 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33944 possibly allocate from heap instead of stack.
33945 * stdio-common/bug-vfprintf-nargs.c: New file.
33946 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33947
c6922934
AS
339482012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33949
33950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33951
bc957d53
MP
339522012-03-03 Marek Polacek <polacek@redhat.com>
33953
33954 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33955 * math/math_private.h: Likewise.
33956 * stdlib/tst-strtod.c: Likewise.
33957 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33958 * sysdeps/x86_64/bits/atomic.h: Likewise.
33959
6358490d
DM
339602012-03-02 David S. Miller <davem@davemloft.net>
33961
33962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33966 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33967 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33968 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33969 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33970
01ae168d
RM
339712012-03-02 Roland McGrath <roland@hack.frob.com>
33972
d9a17c07
RM
33973 [BZ #13792]
33974 * manual/examples/README: New file, says the example source files
33975 can be used under GPL>=2.
33976 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33977 line containing just "*/".
33978 * manual/examples/add.c: Add copyright header (GPL>=2).
33979 * manual/examples/argp-ex1.c: Likewise.
33980 * manual/examples/argp-ex2.c: Likewise.
33981 * manual/examples/argp-ex3.c: Likewise.
33982 * manual/examples/argp-ex4.c: Likewise.
33983 * manual/examples/atexit.c: Likewise.
33984 * manual/examples/db.c: Likewise.
33985 * manual/examples/dir.c: Likewise.
33986 * manual/examples/dir2.c: Likewise.
33987 * manual/examples/execinfo.c: Likewise.
33988 * manual/examples/filecli.c: Likewise.
33989 * manual/examples/filesrv.c: Likewise.
33990 * manual/examples/fmtmsgexpl.c: Likewise.
33991 * manual/examples/genpass.c: Likewise.
33992 * manual/examples/inetcli.c: Likewise.
33993 * manual/examples/inetsrv.c: Likewise.
33994 * manual/examples/isockad.c: Likewise.
33995 * manual/examples/longopt.c: Likewise.
33996 * manual/examples/memopen.c: Likewise.
33997 * manual/examples/memstrm.c: Likewise.
33998 * manual/examples/mkfsock.c: Likewise.
33999 * manual/examples/mkisock.c: Likewise.
34000 * manual/examples/mygetpass.c: Likewise.
34001 * manual/examples/pipe.c: Likewise.
34002 * manual/examples/popen.c: Likewise.
34003 * manual/examples/rprintf.c: Likewise.
34004 * manual/examples/search.c: Likewise.
34005 * manual/examples/select.c: Likewise.
34006 * manual/examples/setjmp.c: Likewise.
34007 * manual/examples/sigh1.c: Likewise.
34008 * manual/examples/sigusr.c: Likewise.
34009 * manual/examples/stpcpy.c: Likewise.
34010 * manual/examples/strdupa.c: Likewise.
34011 * manual/examples/strftim.c: Likewise.
34012 * manual/examples/strncat.c: Likewise.
34013 * manual/examples/subopt.c: Likewise.
34014 * manual/examples/swapcontext.c: Likewise.
34015 * manual/examples/termios.c: Likewise.
34016 * manual/examples/testopt.c: Likewise.
34017 * manual/examples/testpass.c: Likewise.
34018 * manual/examples/timeval_subtract.c: Likewise.
34019
01ae168d
RM
34020 [BZ #13792]
34021 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34022 function to ...
34023 * manual/timeval_subtract.c.texi: ... here, new file.
34024
49efa33d
DM
340252012-03-02 David S. Miller <davem@davemloft.net>
34026
34027 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34028
28afd92d
JM
340292012-03-02 Joseph Myers <joseph@codesourcery.com>
34030
804360ed
JM
34031 [BZ #3976]
34032 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34033 (__sin): Save and restore rounding mode and use round-to-nearest
34034 for all computations.
34035 (__cos): Save and restore rounding mode and use round-to-nearest
34036 for all computations.
34037 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34038 <fenv.h>.
34039 (tan): Save and restore rounding mode and use round-to-nearest for
34040 all computations.
34041 * math/libm-test.inc (cos_test_tonearest): New function.
34042 (cos_test_towardzero): Likewise.
34043 (cos_test_downward): Likewise.
34044 (cos_test_upward): Likewise.
34045 (sin_test_tonearest): Likewise.
34046 (sin_test_towardzero): Likewise.
34047 (sin_test_downward): Likewise.
34048 (sin_test_upward): Likewise.
34049 (tan_test_tonearest): Likewise.
34050 (tan_test_towardzero): Likewise.
34051 (tan_test_downward): Likewise.
34052 (tan_test_upward): Likewise.
34053 (main): Call the new functions.
34054 * sysdeps/i386/fpu/libm-test-ulps: Update.
34055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34056
a6d06d7b
JM
34057 [BZ #10135]
34058 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34059 small n, then large n, before computing and testing k+n.
34060 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34062 Likewise.
34063 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34064 Likewise.
34065 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34066 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34067 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34068 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34069 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34070 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34071 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34072 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34073 * math/libm-test.inc (scalbn_test): Add more tests.
34074 (scalbln_test): Likewise.
34075
07e12bb3
JM
34076 * manual/filesys.texi (mode_t): Describe constraints on size and
34077 signedness, not exact equivalence to a particular type.
34078 (ino_t): Likewise.
34079 (ino64_t): Likewise.
34080 (dev_t): Likewise.
34081 (nlink_t): Likewise.
34082 (blkcnt_t): Likewise.
34083 (blkcnt64_t): Likewise.
34084 * manual/llio.texi (off_t): Likewise.
34085
28afd92d
JM
34086 [BZ #3976]
34087 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34088 (__ieee754_exp): Save and restore rounding mode and use
34089 round-to-nearest for all computations.
34090 * math/libm-test.inc (exp_test_tonearest): New function.
34091 (exp_test_towardzero): Likewise.
34092 (exp_test_downward): Likewise.
34093 (exp_test_upward): Likewise.
34094 (main): Call the new functions.
34095 * sysdeps/i386/fpu/libm-test-ulps: Update.
34096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34097
b1eeb65d
CD
340982012-03-01 Chris Demetriou <cgd@google.com>
34099
34100 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34101 have predictable order.
34102
53362a4b
DM
341032012-03-01 David S. Miller <davem@davemloft.net>
34104
3c969083
DM
34105 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34106
759707de
DM
34107 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34108 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34109 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34110 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34111
dfdb8ff2
DM
34112 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34113 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34114 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34116 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34117 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34118 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34119 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34120 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34121
ead89f96
DM
34122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34123
7f66bd07
DM
34124 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34125 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34126 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34127
53362a4b
DM
34128 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34129 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34130 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34131 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34132 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34133 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34134 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34135 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34136 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34137 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34138 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34139 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34141 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34142 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34144 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34145 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34146 * sysdeps/sparc/elf/configure: Regenerated.
34147
7b1902cb
JM
341482012-03-01 Joseph Myers <joseph@codesourcery.com>
34149
bec039bc
JM
34150 * configure.in (AS, LD): Require binutils 2.20 or later.
34151 * configure: Regenerated.
34152 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34153 as required minimum version.
34154 * INSTALL: Regenerated.
34155
7b1902cb
JM
34156 [BZ #2541]
34157 [BZ #4108]
34158 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34159 before squaring exponent.
34160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34161 bottom long double and 27 bits of top long double before squaring
34162 exponent.
34163 * math/libm-test.inc (erfc_test): Add more tests.
34164 * sysdeps/i386/fpu/libm-test-ulps: Update.
34165 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34167
f775c276
KT
341682012-03-01 Kai Tietz <ktietz@redhat.com>
34169
34170 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34171 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34172 containing bit-fields.
34173 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34174 * soft-fp/single.h (_FP_UNION_S): Likewise.
34175 * soft-fp/double.h (_FP_UNION_D): Likewise.
34176
5b8a4d4a
JM
341772012-02-29 Joseph Myers <joseph@codesourcery.com>
34178
0bab47b6
JM
34179 [BZ #13786]
34180 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34181 not include ../strcmp.S.
34182 [USE_AS_STRNCASECMP_L]: Likewise.
34183 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34184 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34185 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34186 (__strncasecmp_l_ia32): Define as alias to
34187 __strncasecmp_l_nonascii.
34188
0fcad3e2
JM
34189 [BZ #5794]
34190 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34191 * sysdeps/i386/fpu/libm-test-ulps: Update.
34192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34193
5b8a4d4a
JM
34194 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34196
8fdceb2e
JL
341972012-02-29 Jeff Law <law@redhat.com>
34198
34199 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34200 out of bounds read.
34201
1f393a11
MP
342022012-02-29 Marek Polacek <polacek@redhat.com>
34203
34204 [BZ #13706]
34205 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34206 * elf/Makefile: Add rules to run tst-unused-dep.out.
34207
8847f037
DM
342082012-02-28 David S. Miller <davem@davemloft.net>
34209
34210 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34211 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34213 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34214 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34215 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34216
169d7f11
JM
342172012-02-29 Joseph Myers <joseph@codesourcery.com>
34218
34219 * math/libm-test.inc (llround_test): Move one test from
34220 lround_test. Use TEST_f_L in moved test.
34221 (lround_test): Move misplaced test to llround_test. Add testcase
34222 from bug 2561.
34223
39adf059
UD
342242012-02-28 Ulrich Drepper <drepper@gmail.com>
34225
34226 * sysdeps/x86_64/fpu/e_expf.S: New file.
34227 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34228
71b5d1c5
SB
342292012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34230
34231 [BZ #13637]
34232 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34233 of remain_len that may cause incomplete multi-byte character and
34234 false match.
34235 * posix/bug-regex33.c: New file.
34236 * posix/Makefile (tests): Add bug-regex33.
34237
1f77f049
JM
342382012-02-28 Joseph Myers <joseph@codesourcery.com>
34239
34240 * manual/macros.texi: New file.
34241 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34242 * manual/libc.texinfo: Include macros.texi.
34243 * manual/creatute.texi: Likewise.
34244 * manual/install.texi: Likewise.
34245 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34246 @glibcadj{} in references to the GNU C Library.
34247 * manual/charset.texi: Likewise.
34248 * manual/conf.texi: Likewise.
34249 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34250 when not using those macros.
34251 * manual/creature.texi: Likewise.
34252 * manual/crypt.texi: Likewise.
34253 * manual/errno.texi: Likewise.
34254 * manual/filesys.texi: Likewise.
34255 * manual/header.texi: Likewise.
34256 * manual/install.texi: Likewise.
34257 * manual/intro.texi: Likewise.
34258 * manual/io.texi: Likewise.
34259 * manual/job.texi: Likewise.
34260 * manual/lang.texi: Likewise.
34261 * manual/libc.texiinfo: Likewise.
34262 * manual/llio.texi: Likewise.
34263 * manual/locale.texi: Likewise.
34264 * manual/maint.texi: Likewise.
34265 * manual/math.texi: Likewise.
34266 * manual/memory.texi: Likewise.
34267 * manual/message.texi: Likewise.
34268 * manual/nss.texi: Likewise.
34269 * manual/pattern.texi: Likewise.
34270 * manual/process.texi: Likewise.
34271 * manual/resource.texi: Likewise.
34272 * manual/search.texi: Likewise.
34273 * manual/setjmp.texi: Likewise.
34274 * manual/signal.texi: Likewise.
34275 * manual/socket.texi: Likewise.
34276 * manual/startup.texi: Likewise.
34277 * manual/stdio.texi: Likewise.
34278 * manual/string.texi: Likewise.
34279 * manual/sysinfo.texi: Likewise.
34280 * manual/syslog.texi: Likewise.
34281 * manual/terminal.texi: Likewise.
34282 * manual/time.texi: Likewise.
34283 * manual/users.texi: Likewise.
34284 * INSTALL: Regenerated.
34285 * NOTES: Regenerated.
d40c5d54 34286 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34287
450bf206
AS
342882012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34289
34290 * include/dirent.h: Include <dirstream.h> before
34291 <dirent/dirent.h>.
34292
741a235b
DM
342932012-02-28 David S. Miller <davem@davemloft.net>
34294
34295 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34296 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34297 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34298 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34299
d6b5aa58
DM
343002012-02-27 David S. Miller <davem@davemloft.net>
34301
1aff59a3
DM
34302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34304 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34305 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34306
d6b5aa58
DM
34307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34308 frame pointer instead of stack pointer relative arg slot.
34309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34310 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34311 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34312
433f48bf
CD
343132012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34314
34315 [BZ #3992]
34316 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34317
d674b76d
DM
343182012-02-27 David S. Miller <davem@davemloft.net>
34319
34320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34324 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34325 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34326 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34327 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34328
0e7727f7
JM
343292012-02-27 Joseph Myers <joseph@codesourcery.com>
34330
34331 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34332 later. Allow versions 5-9.
43be4ca2 34333 * configure: Regenerated.
0e7727f7
JM
34334 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34335 required minimum version and 4.6 as recommended version. Do not
34336 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34337 * INSTALL: Regenerated.
0e7727f7 34338
a78bc654
DM
343392012-02-27 David S. Miller <davem@davemloft.net>
34340
428d5830
DM
34341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34345 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34346 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34347 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34348 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34349
a78bc654
DM
34350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34351 manipulate bits before adding and subtracting TWO112[sx].
34352 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34353
4579f81c
RM
343542012-02-27 Roland McGrath <roland@hack.frob.com>
34355
36c8acb4
RM
34356 [BZ #13775]
34357 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34358 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34359 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34360 being in POSIX, because they are in 1003.1-2008.
34361
84ad622b
RM
34362 * rt/tst-aio.c: Include <fcntl.h>.
34363 * rt/tst-aio7.c: Likewise.
34364 * rt/tst-aio64.c: Likewise.
34365
4579f81c
RM
34366 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34367
abd923db
JM
343682012-02-27 Joseph Myers <joseph@codesourcery.com>
34369
34370 * manual/install.texi (--with-headers): Describe headers as
34371 interface headers, not private headers.
34372 (Specific advice for GNU/Linux systems): Describe use of headers
34373 from "make headers_install", not private headers from older
34374 kernels.
43be4ca2 34375 * INSTALL: Regenerated.
abd923db
JM
34376 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34377 Change to 2.6.19.
34378 * sysdeps/unix/sysv/linux/configure: Regenerated.
34379
6664049b
JM
34380 * manual/llio.texi (fclean): Remove documentation.
34381
bb8b6697
JM
34382 * manual/Makefile (libc-texi-generated): New variable. Include
34383 version.texi.
34384 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34385 $(libc-texi-generated), not duplicated list of files.
34386 (version.texi, stamp-version): New rules.
34387 (realclean): Remove $(libc-texi-generated), not individual files
34388 from that list. Do not remove dir-add.texinfo.
34389 * manual/libc.texinfo: Comment out uses of edition numbers and
34390 references to printed manual. Remove last-updated dates.
34391 (EDITION): Comment out.
34392 (ISBN): Likewise.
34393 (VERSION, UPDATED): Remove.
34394 (version.texi): Include.
34395
12e5c3b9
AS
343962012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34397
34398 * sysdeps/posix/spawni.c: Include <signal.h>.
34399 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34400 * sysdeps/pthread/aio_fsync.c: Likewise.
34401
4efeffc1 344022012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34403
ba63ba08
UD
34404 * conform/Makefile (tests): Run only when not cross-compiling and
34405 when fast-check is not defined.
34406
d94a4670
UD
34407 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34408 * conform/data/limits.h-data: Fixes for POSIX2008.
34409 * conform/run-conformtest.sh: Run all tests.
34410 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34411 headers.
34412 * include/bits/dlfcn.h: Likewise.
34413 * include/langinfo.h: Likewise.
34414 * include/monetary.h: Likewise.
34415 * include/sys/poll.h: Likewise.
34416
34417 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34418 for __USE_GNU.
34419 * posix/spawn.h: Define __need_sigset_t.
34420 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34421 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34422 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34423 to get sigevent_t only.
34424 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34425 only for __USE_GNU.
34426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34428 process_vm_writev only for __USE_GNU.
34429 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34430
34431 * conform/Makefile: For now ignore errors from run-conformtest.
34432 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34433 POSIX to avoid namespace pollution. Don't prepend headers.
34434 * conform/data/aio.h-data: Fixes for POSIX testing.
34435 * conform/data/fcntl.h-data: Likewise.
34436 * conform/data/glob.h-data: Likewise.
34437 * conform/data/grp.h-data: Likewise.
34438 * conform/data/pthread.h-data: Likewise.
34439 * conform/data/pwd.h-data: Likewise.
34440 * conform/data/signal.h-data: Likewise.
34441 * conform/data/spawn.h-data: Likewise.
34442 * conform/data/stdio.h-data: Likewise.
34443 * conform/data/stdlib.h-data: Likewise.
34444 * conform/data/stropts.h-data: Likewise.
34445 * conform/data/sys/mman.h-data: Likewise.
34446 * conform/data/sys/stat.h-data: Likewise.
34447 * conform/data/sys/types.h-data: Likewise.
34448 * conform/data/sys/wait.h-data: Likewise.
34449 * conform/data/time.h-data: Likewise.
34450 * conform/data/unistd.h-data: Likewise.
34451 * conform/data/utime.h-data: Likewise.
34452
34453 * io/sys/stat.h: fchmod was always in POSIX.
34454 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34455 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34456 * rt/aio.h: Define __need_timespec before including <time.h>.
34457 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34458 struct. Add forward declaration of pthread_attr_t and use it in
34459 sigevent.
34460 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34461 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34462 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34463 always remove CLK_TCK definition.
34464
c20105c3
AS
344652012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34466
34467 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34468
7a270350
UD
344692012-02-25 Ulrich Drepper <drepper@gmail.com>
34470
31341567
UD
34471 * conform/run-conformtest.sh: New file.
34472 * conform/Makefile: Run run-conformtest for tests.
34473 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34474 support.
34475
34476 * conform/data/uchar.h-data: New file.
34477 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34478 * conform/data/arpa/inet.h-data: Likewise.
34479 * conform/data/assert.h-data: Likewise.
34480 * conform/data/complex.h-data: Likewise.
34481 * conform/data/cpio.h-data: Likewise.
34482 * conform/data/ctype.h-data: Likewise.
34483 * conform/data/dirent.h-data: Likewise.
34484 * conform/data/dlfcn.h-data: Likewise.
34485 * conform/data/errno.h-data: Likewise.
34486 * conform/data/fcntl.h-data: Likewise.
34487 * conform/data/float.h-data: Likewise.
34488 * conform/data/fmtmsg.h-data: Likewise.
34489 * conform/data/fnmatch.h-data: Likewise.
34490 * conform/data/ftw.h-data: Likewise.
34491 * conform/data/glob.h-data: Likewise.
34492 * conform/data/grp.h-data: Likewise.
34493 * conform/data/iconv.h-data: Likewise.
34494 * conform/data/inttypes.h-data: Likewise.
34495 * conform/data/langinfo.h-data: Likewise.
34496 * conform/data/libgen.h-data: Likewise.
34497 * conform/data/limits.h-data: Likewise.
34498 * conform/data/locale.h-data: Likewise.
34499 * conform/data/math.h-data: Likewise.
34500 * conform/data/monetary.h-data: Likewise.
34501 * conform/data/mqueue.h-data: Likewise.
34502 * conform/data/ndbm.h-data: Likewise.
34503 * conform/data/net/if.h-data: Likewise.
34504 * conform/data/netdb.h-data: Likewise.
34505 * conform/data/netinet/in.h-data: Likewise.
34506 * conform/data/nl_types.h-data: Likewise.
34507 * conform/data/poll.h-data: Likewise.
34508 * conform/data/pthread.h-data: Likewise.
34509 * conform/data/pwd.h-data: Likewise.
34510 * conform/data/regex.h-data: Likewise.
34511 * conform/data/sched.h-data: Likewise.
34512 * conform/data/search.h-data: Likewise.
34513 * conform/data/semaphore.h-data: Likewise.
34514 * conform/data/setjmp.h-data: Likewise.
34515 * conform/data/signal.h-data: Likewise.
34516 * conform/data/spawn.h-data: Likewise.
34517 * conform/data/stdarg.h-data: Likewise.
34518 * conform/data/stdio.h-data: Likewise.
34519 * conform/data/stdlib.h-data: Likewise.
34520 * conform/data/string.h-data: Likewise.
34521 * conform/data/strings.h-data: Likewise.
34522 * conform/data/stropts.h-data: Likewise.
34523 * conform/data/sys/ipc.h-data: Likewise.
34524 * conform/data/sys/mman.h-data: Likewise.
34525 * conform/data/sys/msg.h-data: Likewise.
34526 * conform/data/sys/resource.h-data: Likewise.
34527 * conform/data/sys/select.h-data: Likewise.
34528 * conform/data/sys/sem.h-data: Likewise.
34529 * conform/data/sys/shm.h-data: Likewise.
34530 * conform/data/sys/socket.h-data: Likewise.
34531 * conform/data/sys/stat.h-data: Likewise.
34532 * conform/data/sys/statvfs.h-data: Likewise.
34533 * conform/data/sys/time.h-data: Likewise.
34534 * conform/data/sys/timeb.h-data: Likewise.
34535 * conform/data/sys/times.h-data: Likewise.
34536 * conform/data/sys/types.h-data: Likewise.
34537 * conform/data/sys/uio.h-data: Likewise.
34538 * conform/data/sys/un.h-data: Likewise.
34539 * conform/data/sys/utsname.h-data: Likewise.
34540 * conform/data/sys/wait.h-data: Likewise.
34541 * conform/data/syslog.h-data: Likewise.
34542 * conform/data/tar.h-data: Likewise.
34543 * conform/data/termios.h-data: Likewise.
34544 * conform/data/utime.h-data: Likewise.
34545 * conform/data/utmpx.h-data: Likewise.
34546 * conform/data/varargs.h-data: Likewise.
34547 * conform/data/wchar.h-data: Likewise.
34548 * conform/data/wctype.h-data: Likewise.
34549 * conform/data/wordexp.h-data: Likewise.
34550
34551 * include/stropts.h: New file.
34552 * include/uchar.h: New file.
34553 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34554 * include/assert.h: Likewise.
34555 * include/ctype.h: Likewise.
34556 * include/dirent.h: Likewise.
34557 * include/dlfcn.h: Likewise.
34558 * include/fcntl.h: Likewise.
34559 * include/fnmatch.h: Likewise.
34560 * include/glob.h: Likewise.
34561 * include/grp.h: Likewise.
34562 * include/libio.h: Likewise.
34563 * include/locale.h: Likewise.
34564 * include/math.h: Likewise.
34565 * include/net/if.h: Likewise.
34566 * include/netdb.h: Likewise.
34567 * include/netinet/in.h: Likewise.
34568 * include/pthread.h: Likewise.
34569 * include/pwd.h: Likewise.
34570 * include/regex.h: Likewise.
34571 * include/sched.h: Likewise.
34572 * include/search.h: Likewise.
34573 * include/setjmp.h: Likewise.
34574 * include/signal.h: Likewise.
34575 * include/stdio.h: Likewise.
34576 * include/stdlib.h: Likewise.
34577 * include/string.h: Likewise.
34578 * include/sys/cdefs.h: Likewise.
34579 * include/sys/mman.h: Likewise.
34580 * include/sys/msg.h: Likewise.
34581 * include/sys/resource.h: Likewise.
34582 * include/sys/select.h: Likewise.
34583 * include/sys/socket.h: Likewise.
34584 * include/sys/stat.h: Likewise.
34585 * include/sys/statvfs.h: Likewise.
34586 * include/sys/time.h: Likewise.
34587 * include/sys/times.h: Likewise.
34588 * include/sys/uio.h: Likewise.
34589 * include/sys/utsname.h: Likewise.
34590 * include/sys/wait.h: Likewise.
34591 * include/termios.h: Likewise.
34592 * include/time.h: Likewise.
34593 * include/ulimit.h: Likewise.
34594 * include/unistd.h: Likewise.
34595 * include/utime.h: Likewise.
34596 * include/wchar.h: Likewise.
34597 * include/wctype.h: Likewise.
34598 * include/wordexp.h: Likewise.
34599
34600 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34601
7a270350
UD
34602 * time/time.h: TIME_UTC must be a macro.
34603 Make timespec_get available for ISO C11 only as well.
34604
7724defc
UD
346052012-02-24 Ulrich Drepper <drepper@gmail.com>
34606
34607 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34608 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34609
6b1d1d46
JM
346102012-02-24 Joseph Myers <joseph@codesourcery.com>
34611
34612 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34613
0f8bbd69
JM
346142012-02-24 Joseph Myers <joseph@codesourcery.com>
34615
34616 * manual/texinfo.tex: Update to version 2012-01-19.16.
34617
66ab80bc
JM
346182012-02-24 Joseph Myers <joseph@codesourcery.com>
34619
34620 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34621
74981cc5
RM
346222012-02-24 Roland McGrath <roland@hack.frob.com>
34623
ee968201
RM
34624 [BZ #13738]
34625 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34626 * manual/fdl-1.3.texi: New file.
34627 * manual/fdl-1.1.texi: File removed.
34628
74981cc5
RM
34629 [BZ #13738]
34630 * manual/libc.texinfo (FDL_VERSION): New @set.
34631 Use it for mention of FDL in cover text.
34632 (Documentation License): Use it in @include file name.
34633
7bb764bc
JM
346342012-02-22 Joseph Myers <joseph@codesourcery.com>
34635 Roland McGrath <roland@hack.frob.com>
34636
34637 [BZ #5461]
34638 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34639 not LONG_LONG_MAX and LONG_LONG_MIN.
34640 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34641 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34642 name.
34643 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34644
6cbeae47
JM
346452012-02-22 Joseph Myers <joseph@codesourcery.com>
34646
34647 [BZ #2547]
34648 [BZ #11365]
34649 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34650 manipulate bits before adding and subtracting TWO23[sx].
34651 * math/libm-test.inc (nearbyint_test): Add more tests.
34652
fe45ce09
JM
346532012-02-22 Joseph Myers <joseph@codesourcery.com>
34654
34655 [BZ #2548]
34656 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34657 bits before adding and subtracting TWO23[sx].
34658 * math/libm-test.inc (rint_test): Add more tests.
34659 (rint_test_tonearest): Likewise.
34660 (rint_test_towardzero): Likewise.
34661 (rint_test_downward): Likewise.
34662 (rint_test_upward: Likewise.
34663
ff3b3d82
JM
346642012-02-22 Joseph Myers <joseph@codesourcery.com>
34665
34666 [BZ #10110]
34667 * include/stdc-predef.h: New file. Extracted from features.h.
34668 * include/features.h: Include stdc-predef.h.
34669 * Makefile (headers): Add stdc-predef.h.
34670 * CONFORMANCE (Compiler limitations): Update.
34671
ef0aab35
JM
346722012-02-22 Joseph Myers <joseph@codesourcery.com>
34673
34674 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34675
58639409
DM
346762012-02-21 David S. Miller <davem@davemloft.net>
34677
34678 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34679 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34680
c0e70b25
DM
346812012-02-20 David S. Miller <davem@davemloft.net>
34682
34683 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34684 using a normal save/restore sequence, rather than allocating a
34685 dummy stack frame just to store a frame pointer and restore.
34686 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34687
fb06851d
JM
346882012-02-21 Joseph Myers <joseph@codesourcery.com>
34689
34690 * manual/install.texi: Fix stray word in line-wrapped comment.
34691
7a8b71c3
DM
346922012-02-20 David S. Miller <davem@davemloft.net>
34693
d510c123
DM
34694 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34695 both binutils and gcc support GOTDATA.
34696
0722d7c2
DM
34697 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34698 "rd %pc" in the PIC register setup sequences.
34699
3d2b3019
DM
34700 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34701 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34702 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34703 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34704 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34705 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34706 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34707 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34709 (SYSCALL_ERROR_HANDLER): Likewise.
34710 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34711 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34712 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34713 (SYSCALL_ERROR_HANDLER): Likewise.
34714
c80098a9
DM
34715 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34716 (HAVE_GCC_GOTDATA): New.
34717 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34718 relocation support in both binutils and gcc.
34719 * sysdeps/sparc/elf/configure: Regenerate.
34720
3a2545a0
DM
34721 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34722 * sysdeps/sparc/sparc32/elf/configure: Delete.
34723 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34724 * sysdeps/sparc/sparc64/elf/configure: Delete.
34725 * sysdeps/sparc/elf/configure.in: New file.
34726 * sysdeps/sparc/elf/configure: Generate.
34727
7a8b71c3
DM
34728 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34729 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34730 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34731 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34732 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34733
f1e86fca
JM
347342012-02-21 Joseph Myers <joseph@codesourcery.com>
34735
34736 * manual/install.texi: Do not mention specific glibc version
34737 numbers.
34738 * manual/libc.texinfo (VERSION, UPDATED): Update.
34739 (@copying): Use @copyright{} and range of years.
34740
0e7dfaef
JM
347412012-02-21 Joseph Myers <joseph@codesourcery.com>
34742
34743 [BZ #13695]
34744 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34745 [crti.S not in sysdirs] (generated): Do not append.
34746 [crti.S not in sysdirs] (omit-deps): Likewise.
34747 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34748 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34749 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34750 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34751 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34752 Likewise.
34753 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34754 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34755 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34756 * csu/defs.awk: Remove file.
34757 * sysdeps/generic/initfini.c: Likewise.
34758 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34759 variable.
34760 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34761 Likewise.
34762
599af3ca
JM
347632012-02-20 Joseph Myers <joseph@codesourcery.com>
34764
34765 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34766 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34767 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34768 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34769 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34770 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34771 <bits/epoll.h>.
34772 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34773 (__EPOLL_PACKED): Define to empty if not defined by
34774 <bits/epoll.h>.
34775 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34777 bits/epoll.h.
34778
0e499750
JM
347792012-02-20 Joseph Myers <joseph@codesourcery.com>
34780
34781 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34782 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34783 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34784 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34785 <bits/timerfd.h>.
34786 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34788 bits/timerfd.h.
34789
5ad91f6e
JM
347902012-02-20 Joseph Myers <joseph@codesourcery.com>
34791
34792 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34793 in C locale.
34794 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34795 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34796 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34798
06b99b02
AJ
347992012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34800
34801 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34802 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34803
7638c0fd
AS
348042012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34805
34806 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34807 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34808 defined.
34809 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34810 Likewise.
34811 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34812 entry for 2.16.
34813
92221550
AJ
348142012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34815
34816 * math/w_acos.c: Use non-signaling floating-point comparisons.
34817 * math/w_acosf.c: Likewise.
34818 * math/w_acosh.c: Likewise.
34819 * math/w_acoshf.c: Likewise.
34820 * math/w_acoshl.c: Likewise.
34821 * math/w_acosl.c: Likewise.
34822 * math/w_asin.c: Likewise.
34823 * math/w_asinf.c: Likewise.
34824 * math/w_asinl.c: Likewise.
34825 * math/w_atanh.c: Likewise.
34826 * math/w_atanhf.c: Likewise.
34827 * math/w_atanhl.c: Likewise.
34828 * math/w_exp2.c: Likewise.
34829 * math/w_exp2f.c: Likewise.
34830 * math/w_exp2l.c: Likewise.
34831 * math/w_j0.c: Likewise.
34832 * math/w_j0f.c: Likewise.
34833 * math/w_j0l.c: Likewise.
34834 * math/w_j1.c: Likewise.
34835 * math/w_j1f.c: Likewise.
34836 * math/w_j1l.c: Likewise.
34837 * math/w_jn.c: Likewise.
34838 * math/w_jnf.c: Likewise.
34839 * math/w_log.c: Likewise.
34840 * math/w_log10.c: Likewise.
34841 * math/w_log10f.c: Likewise.
34842 * math/w_log10l.c: Likewise.
34843 * math/w_log2.c: Likewise.
34844 * math/w_log2f.c: Likewise.
34845 * math/w_log2l.c: Likewise.
34846 * math/w_logf.c: Likewise.
34847 * math/w_logl.c: Likewise.
34848 * math/w_sqrt.c: Likewise.
34849 * math/w_sqrtf.c: Likewise.
34850 * math/w_sqrtl.c: Likewise.
34851 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34852 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34853 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34854 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34855 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34856
ebaf36eb
JM
348572012-02-19 Joseph Myers <joseph@codesourcery.com>
34858
34859 [BZ #9739]
34860 * manual/string.texi (strnlen): Use correct parameter name in
34861 equivalent expression.
34862
71c254a6
JM
348632012-02-19 Joseph Myers <joseph@codesourcery.com>
34864
34865 [BZ #11174]
34866 * manual/users.texi (seteuid): Consistently use neweuid for
34867 argument name.
34868
16d2c631
JM
348692012-02-19 Joseph Myers <joseph@codesourcery.com>
34870
34871 [BZ #13704]
34872 * manual/nss.texi (Services in the NSS configuration): Correct
34873 list of services in example configuration file.
34874
cd837b09
NB
348752012-02-19 Nick Bowler <nbowler@draconx.ca>
34876
34877 [BZ #11322]
34878 * manual/arith.texi: Remove statements about negative zero
34879 behaving identically to zero.
34880
02c4bbad
JM
348812012-02-18 Joseph Myers <joseph@codesourcery.com>
34882
34883 [BZ #5993]
34884 * manual/install.texi: Do not document upgrading from libc5.
34885
366842e7
JM
348862012-02-18 Joseph Myers <joseph@codesourcery.com>
34887
34888 [BZ #4596]
34889 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34890
dd54084d
DM
348912012-02-18 David S. Miller <davem@davemloft.net>
34892
34893 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34894 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34895 %o7 across the call.
34896 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34897 instead.
34898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34899 SETUP_PIC_REG_LEAF.
34900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34901 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34902 * sysdeps/sparc/crtn.S: Likewise.
34903
2bcc53a3
UD
349042012-02-17 Ulrich Drepper <drepper@gmail.com>
34905
34906 * aout/Makefile: Remove.
34907
09c093b5
RK
349082012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34909
34910 [BZ #13058]
34911 * manual/examples/argp-ex1.c (main): Format definition in GNU
34912 style.
34913 * manual/examples/argp-ex2.c (main): Likewise.
34914 * manual/examples/argp-ex3.c (main): Likewise.
34915 * manual/examples/argp-ex4.c (main): Likewise.
34916 * manual/examples/longopt.c (main): Use new-style prototype
34917 definition.
34918 * manual/examples/strncat.c (main): Specify return type and use
34919 (void) for arguments.
34920 * manual/examples/subopt.c (main): Use char **argv argument.
34921
2ee633a2
JM
349222012-02-17 Joseph Myers <joseph@codesourcery.com>
34923
34924 [BZ #5077]
34925 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34926 rounding modes.
34927
0520adde
FB
349282012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34929
34930 [BZ #6907]
34931 * manual/string.texi (strchr): Change when strchrnul is
34932 recommended.
34933
3f4081cd
DGM
349342012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34935
34936 [BZ #174]
34937 * manual/locale.texi (setlocale): Document LOCPATH.
34938
d1b10e78
JM
349392012-02-17 Joseph Myers <joseph@codesourcery.com>
34940
34941 [BZ #10210]
34942 * manual/process.texi (execle): Move @dots{} before last argument.
34943
79c6869c
PB
349442012-02-17 Paul Bolle <pebolle@tiscali.nl>
34945
34946 [BZ #12047]
34947 * manual/charset.texi (Generic Charset Conversion): Fix typo
34948 (LC_TYPE -> LC_CTYPE).
34949
cc6e48bc
NB
349502012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34951
34952 [BZ #5805]
34953 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34954 (scalbnf): Likewise.
34955 (scalbnl): Likewise.
34956 (scalbln): Likewise.
34957 (scalblnf): Likewise.
34958 (scalblnl): Likewise.
34959 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34960 (vwarnx): Likewise.
34961 (verr): Likewise.
34962 (verrx): Likewise.
34963 * manual/filesys.texi (telldir): Use braces around return type.
34964 * manual/llio.texi (mmap): Add space after comma.
34965 (mmap64): Likewise.
34966 * manual/math.texi (jn): Use @var{} on parameter names.
34967 (jnf): Likewise.
34968 (jnl): Likewise.
34969 (yn): Likewise.
34970 (ynf): Likewise.
34971 (ynl): Likewise.
34972 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34973 line.
34974 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34975 "...".
34976 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34977 (sched_get_priority_max): Likewise.
34978 * manual/signal.texi (sigvec): Add space after comma.
34979 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34980 names.
34981 (if_indextoname): Likewise.
34982 (if_freenameindex): Likewise.
34983 (sendto): Use ',' instead of '.' in prototype.
34984 * manual/startup.texi (syscall): Use @dots{} instead of literal
34985 "...".
34986 * manual/stdio.texi (__fpending): Separate initial words of
34987 paragraph from @deftypefun line.
34988 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34989 "...".
34990 (vsyslog): Use @var{} on parameter names.
34991 * manual/terminal.texi (stty): Use @var{} on parameter names.
34992 * manual/users.texi (getutmp): Use @var{} on parameter names.
34993 (getutmpx): Likewise.
34994
5b23062f
JM
349952012-02-17 Joseph Myers <joseph@codesourcery.com>
34996
34997 [BZ #6884]
34998 * manual/stdio.texi (fopen): Fix typos in description of
34999 ",ccs=STRING".
35000
8dee4833
AJ
350012012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35002
35003 [BZ #4026]
35004 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35005 get clock_id definition.
35006
9078ce93
TS
350072012-02-17 Thomas Schwinge <thomas@schwinge.name>
35008
35009 [BZ #4822]
35010 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35011 (madvise): Cast every argument to void on its own.
35012
3835c55f
JM
350132012-02-17 Joseph Myers <joseph@codesourcery.com>
35014
35015 [BZ #9902]
35016 * manual/startup.texi (Exit Status): Fix typo.
35017
35c47e37
JM
350182012-02-17 Joseph Myers <joseph@codesourcery.com>
35019
35020 [BZ #10140]
35021 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35022 * manual/examples/argp-ex2.c: Likewise.
35023 * manual/examples/argp-ex3.c: Likewise.
35024
e3b69ca7
RH
350252012-02-16 Richard Henderson <rth@redhat.com>
35026
35027 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35028 * sysdeps/s390/s390-32/initfini.c: Remove.
35029 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35030 * sysdeps/s390/s390-64/initfini.c: Remove.
35031
df83af67
KK
350322012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35033
35034 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35035 compiler output for sysdeps/generic/initfini.c.
35036 * sysdeps/sh/elf/initfini.c: Remove file.
35037
f63f3380
DM
350382012-02-16 David S. Miller <davem@davemloft.net>
35039
fb59b3a4
DM
35040 [BZ #11494]
35041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35042
f63f3380
DM
35043 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35044 * sysdeps/sparc/crti.S: New file.
35045 * sysdeps/sparc/crtn.S: New file.
35046 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35047 * sysdeps/sparc/sparc64/Makefile: Likewise.
35048
df6a4a4a
MF
350492012-02-15 Mike Frysinger <vapier@gentoo.org>
35050
6dd8f3dc 35051 [BZ #3335]
df6a4a4a
MF
35052 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35053
1cac7236
RM
350542012-02-15 Roland McGrath <roland@hack.frob.com>
35055
d2c736f8
RM
35056 [BZ #4822]
35057 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35058
1cac7236
RM
35059 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35060 (write, read, close): Likewise.
35061 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35062
8e475601
JM
350632012-02-15 Joseph Myers <joseph@codesourcery.com>
35064
35065 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35066 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35067 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35068 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35069 <bits/signalfd.h>.
35070 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35072 bits/signalfd.h.
35073
ed656b40
MP
350742012-02-14 Marek Polacek <polacek@redhat.com>
35075
35076 * sysdeps/x86_64/crti.S: New file.
35077 * sysdeps/x86_64/crtn.S: New file.
35078 * sysdeps/x86_64/elf/initfini.c: Remove file.
35079
2a979d3a
JM
350802012-02-13 Joseph Myers <joseph@codesourcery.com>
35081
35082 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35083 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35084 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35085 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35086 <bits/inotify.h>.
35087 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35089 bits/inotify.h.
35090
2a418ac3
JM
350912012-02-13 Joseph Myers <joseph@codesourcery.com>
35092
35093 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35094 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35095 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35096 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35097 <bits/eventfd.h>.
35098 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35100 bits/eventfd.h.
35101
fb779be7
TS
351022012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35103
e19e83c5
RM
35104 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35105 __feraiseexcept instead of feraiseexcept.
7c35ffed 35106
fb779be7
TS
35107 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35108 nanosleep invocations.
35109 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35110 strings, and add error checking for a nanosleep invocations.
35111
59ba27a6
PE
351122012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35113
35114 Replace FSF snail mail address with URLs, as per GNU coding standards.
35115 Most of the snail mail addresses were wrong anyway, and omitting
35116 them makes the source code easier to maintain. Almost all of the
35117 changes are to license notices and to locale LC_IDENTIFICATION
35118 addresses, except for this one:
35119 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35120 not its snail mail address.
35121
57b957eb
RH
351222012-02-09 Richard Henderson <rth@twiddle.net>
35123
af850b1c
RH
35124 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35125 of kernel-features.h.
35126
57b957eb
RH
35127 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35128
6b73181a
MP
351292012-02-08 Marek Polacek <polacek@redhat.com>
35130
35131 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35132 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35133 * sysdeps/gnu/_G_config.h: Likewise.
35134 * sysdeps/generic/_G_config.h: Likewise.
35135
26ecc33a
AS
351362012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35137
6c6dbc63
AS
35138 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35139 tests.
35140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35141
e216c012
AS
35142 * sysdeps/powerpc/powerpc32/crti.S: New file.
35143 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35144 * sysdeps/powerpc/powerpc64/crti.S: New file.
35145 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35146
26ecc33a
AS
35147 * Makeconfig (have-initfini): Don't set.
35148 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35149 * configure.in (nopic_initfini): Don't substitute.
35150 * config.h.in (HAVE_INITFINI): Don't #undef.
35151 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35152 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35153
3add8e13
JM
351542012-02-08 Joseph Myers <joseph@codesourcery.com>
35155
35156 Support crti.S and crtn.S provided directly by architectures.
35157 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35158 [crti.S in sysdirs] (omit-deps): Likewise.
35159 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35160 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35161 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35162 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35163 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35164 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35165 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35166 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35167 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35168 compiler output for sysdeps/generic/initfini.c.
35169 * sysdeps/i386/elf/Makefile: Remove file.
35170 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35171
a22f12b4
MP
351722012-02-07 Marek Polacek <polacek@redhat.com>
35173
35174 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35175 * sysdeps/gnu/_G_config.h: Likewise.
35176 * sysdeps/mach/hurd/_G_config.h: Likewise.
35177
148cf100
MP
351782012-02-07 Marek Polacek <polacek@redhat.com>
35179
35180 * math/Makefile (tests): Add tst-CMPLX2.
35181 * math/tst-CMPLX2.c: New file.
35182
cfdc0dd7
AS
351832012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35184
84ba42c4
AS
35185 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35186
cfdc0dd7
AS
35187 * math/libm-test.inc (jn_test): Add missing L suffix.
35188
622c86f4
MP
351892012-02-06 Marek Polacek <polacek@redhat.com>
35190
35191 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35192 * sysdeps/i386/fpu/e_powf.S: Likewise.
35193 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35194 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35195 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35196 * sysdeps/i386/fpu/e_pow.S: Likewise.
35197 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35198 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35199 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35200 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35201 * sysdeps/i386/fpu/e_log2.S: Likewise.
35202 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35204 * sysdeps/i386/fpu/e_powl.S: Likewise.
35205 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35206 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35207 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35208 * sysdeps/i386/fpu/e_logl.S: Likewise.
35209 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35210 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35211 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35212 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35213 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35214 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35215 * sysdeps/i386/fpu/e_log.S: Likewise.
35216 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35217 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35218 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35219 * sysdeps/i386/fpu/e_logf.S: Likewise.
35220 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35221 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35222 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35223 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35224 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35225 * sysdeps/i386/fpu/e_log10.S: Likewise.
35226 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35227 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35228 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35229 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35230 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35231 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35232 * sysdeps/i386/asm-syntax.h: Likewise.
35233 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35234 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35235 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35236 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35237 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35238 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35239 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35240 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35241 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35242 * sysdeps/powerpc/sysdep.h: Likewise.
35243 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35244 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35245
d4a54ac6
JM
352462012-02-06 Joseph Myers <joseph@codesourcery.com>
35247
35248 [BZ #411]
35249 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35250
314054ea
JM
352512012-02-06 Joseph Myers <joseph@codesourcery.com>
35252
35253 * sysdeps/i386/sysdep.h: Include <features.h>.
35254 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35255 version.
35256
d8e0ca50
JM
352572012-02-05 Joseph Myers <joseph@codesourcery.com>
35258
35259 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35260 Define.
35261 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35262 LOAD_PIC_REG_STR.
35263
b1da7dd9
JM
352642012-02-03 Joseph Myers <joseph@codesourcery.com>
35265
35266 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35267 (SETUP_PIC_REG): Use GET_PC_THUNK.
35268 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35269 macro.
35270
9a1d9254
JM
352712012-02-03 Joseph Myers <joseph@codesourcery.com>
35272
35273 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35274 for non-PIC compilation.
35275 (SETUP_PIC_REG): Add .p2align directive.
35276 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35277 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35278 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35280 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35281 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35282 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35283 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35284 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35285 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35286 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35287 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35288 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35289 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35290 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35291 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35292 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35293 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35294 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35295 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35296 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35297 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35298 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35299 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35300 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35301 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35302 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35303 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35304 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35305 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35306 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35307 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35308 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35309 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35310 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35311 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35312 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35313 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35314 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35315 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35316 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35317
65dc3b75
JM
353182012-02-03 Joseph Myers <joseph@codesourcery.com>
35319
35320 * math/tst-CMPLX.c: Include <stdio.h>.
35321
d55bf177
JM
353222012-01-31 Joseph Myers <joseph@codesourcery.com>
35323
35324 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35325 float.
35326 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35327 * sysdeps/sparc/bits/mathdef.h: Likewise.
35328
69db4f8f
MP
353292012-01-31 Marek Polacek <polacek@redhat.com>
35330
35331 * libio/libio.h: Don't define _PARAMS.
35332 * locale/programs/config.h: Don't define PARAMS.
35333 * stdlib/strtol_l.c: Likewise.
35334 (__strtol_l): Remove PARAMS from the prototype.
35335
41b81892
UD
353362012-01-31 Ulrich Drepper <drepper@gmail.com>
35337
3b49edc0
UD
35338 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35339 names. Just use the correct names. Remove unnecessary wrapper
35340 functions.
35341 * malloc/arena.c: Likewise.
35342 * malloc/hooks.c: Likewise.
35343
41b81892
UD
35344 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35345 ARENA_TEST says not to. Simplify test for creation of a new arena.
35346 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35347
27a25b6e
UD
353482012-01-30 Ulrich Drepper <drepper@gmail.com>
35349
35350 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35351 into tail calls.
35352 (update_get_addr): New function.
35353 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35354 GET_ADDR_MODULE parameter.
35355
c8a89e7d
JM
353562012-01-30 Joseph Myers <joseph@codesourcery.com>
35357
35358 * crypt/cert.c: Remove __STDC__ conditionals.
35359 * crypt/crypt-entry.c: Likewise.
35360 * crypt/crypt_util.c: Likewise.
35361 * libio/filedoalloc.c: Likewise.
35362 * libio/fileops.c: Likewise.
35363 * libio/genops.c: Likewise.
35364 * libio/iofclose.c: Likewise.
35365 * libio/iofdopen.c: Likewise.
35366 * libio/iofopen.c: Likewise.
35367 * libio/iofopen64.c: Likewise.
35368 * libio/iogetdelim.c: Likewise.
35369 * libio/iopopen.c: Likewise.
35370 * libio/obprintf.c: Likewise.
35371 * libio/oldfileops.c: Likewise.
35372 * libio/oldiofclose.c: Likewise.
35373 * libio/oldiofdopen.c: Likewise.
35374 * libio/oldiofopen.c: Likewise.
35375 * libio/oldiopopen.c: Likewise.
35376 * libio/wfiledoalloc.c: Likewise.
35377 * libio/wgenops.c: Likewise.
35378 * locale/programs/xmalloc.c: Likewise.
35379 * misc/syslog.c: Likewise.
35380 * stdio-common/xbug.c: Likewise.
35381 * string/memchr.c: Likewise.
35382 * string/memcmp.c: Likewise.
35383 * string/memrchr.c: Likewise.
35384 * string/rawmemchr.c: Likewise.
35385 * sysdeps/posix/getcwd.c: Likewise.
35386 * time/strftime_l.c: Likewise.
35387
3b100462
JM
353882012-01-30 Joseph Myers <joseph@codesourcery.com>
35389
35390 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35391 * config.make.in (config-cflags-sse2avx): Define.
35392 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35393 Fix typo.
35394
607998af
CM
353952012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35396
35397 * scripts/config.guess: Update from upstream config git repository.
35398 * scripts/config.sub: Likewise.
35399
3601428f
CM
354002012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35401
3ac8b282
CM
35402 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35403 (EM_NUM): Update.
35404 (R_TILEPRO_*, R_TILEGX_*): New macros.
35405
e034841e
CM
35406 * scripts/firstversions.awk: Fix bug in version range handling.
35407
540d7568
CM
35408 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35409
3601428f
CM
35410 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35411
463de862
CM
35412 * include/sys/epoll.h: New file.
35413 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35414 libc_hidden_def.
35415
73139a76
UD
354162012-01-28 Ulrich Drepper <drepper@gmail.com>
35417
96bc5b45
UD
35418 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35419 Avoid unnecessary __WORDSIZE == 64 test.
35420 (fmaxf): Use VEX format if possible.
35421 (fmax): Likewise.
35422 (fminf): Likewise.
35423 (fmin): Likewise.
35424
56f6f6a2
UD
35425 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35426 * math/math_private.h: Remove libc_fegetround* and
35427 libc_fesetround*.
35428 * sysdeps/i386/configure.in: Check for -msse2avx.
35429 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35430 also if SSE2AVX is defined.
35431 Remove libc_fegetround* and libc_fesetround*.
35432 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35433 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35434 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35435 of HAS_YMM_USABLE.
35436 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35437 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35438 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35439 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35440 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35441
73139a76
UD
35442 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35443
d73f93a4
AZ
354442012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35445
35446 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35447 size is not set.
35448 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35449
6ee65ed6
UD
354502012-01-27 Ulrich Drepper <drepper@gmail.com>
35451
35452 [BZ #13618]
35453 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35454 relocation.
35455 * Makeconfig (libm): Define.
35456 * elf/Makefile: Add rules to build and run tst-relsort1.
35457 * elf/tst-relsort1.c: New file.
35458 * elf/tst-relsort1mod1.c: New file.
35459 * elf/tst-relsort1mod2.c: New file.
35460
8db21882
JM
354612012-01-27 Joseph Myers <joseph@codesourcery.com>
35462
35463 * math/s_ldexp.c: Remove __STDC__ conditionals.
35464 * math/s_ldexpf.c: Likewise.
35465 * math/s_ldexpl.c: Likewise.
35466 * math/s_nextafter.c: Likewise.
35467 * math/s_nexttowardf.c: Likewise.
35468 * math/s_significand.c: Likewise.
35469 * math/s_significandf.c: Likewise.
35470 * math/s_significandl.c: Likewise.
35471 * math/w_jnl.c: Likewise.
35472 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35473 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35474 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35475 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35476 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35483 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35484 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35485 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35488 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35489 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35491 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35492 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35493 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35494 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35495 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35496 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35497 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35498 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35499 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35500 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35501 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35502 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35503 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35504 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35505 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35506 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35507 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35508 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35509 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35510 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35511 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35512 * sysdeps/ieee754/k_standard.c: Likewise.
35513 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35514 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35515 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35517 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35518 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35521 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35522 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35523 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35524 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35525 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35526 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35527 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35529 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35530 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35531 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35532 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35533 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35534 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35535 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35536 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35537 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35538 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35541 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35542 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35543 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35544 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35545 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35548 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35549 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35551 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35553 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35554 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35556 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35558 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35559 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35560 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35561 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35562 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35564 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35569 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35570 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35571 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35572 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35573 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35574 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35575 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35576 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35577 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35578 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35579 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35580 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35581 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35582 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35583 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35587 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35588 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35592 * sysdeps/ieee754/s_matherr.c: Likewise.
35593 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35594 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35595 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35596 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35597
965a54a4
JM
355982012-01-26 Joseph Myers <joseph@codesourcery.com>
35599
35600 * crypt/md5.h: Remove __STDC__ conditionals.
35601 * libio/libioP.h: Likewise.
35602 * locale/programs/config.h: Likewise.
35603 * sysdeps/generic/sysdep.h: Likewise.
35604 * sysdeps/i386/asm-syntax.h: Likewise.
35605 * sysdeps/s390/asm-syntax.h: Likewise.
35606 * sysdeps/unix/sysdep.h: Likewise.
35607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35609
7071ad79
JM
356102012-01-26 Joseph Myers <joseph@codesourcery.com>
35611
35612 * libio/libio.h: Remove __STDC__ conditionals.
35613 * malloc/obstack.h: Likewise.
35614 * math/complex.h: Likewise.
35615 * math/math.h: Likewise.
35616 * sysdeps/generic/_G_config.h: Likewise.
35617 * sysdeps/gnu/_G_config.h: Likewise.
35618 * sysdeps/mach/hurd/_G_config.h: Likewise.
35619 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35620 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35621 * sysdeps/sparc/bits/mathdef.h: Likewise.
35622
afc5ed09
UD
356232012-01-26 Ulrich Drepper <drepper@gmail.com>
35624
35625 [BZ #13583]
35626 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35627 Clean up HAS_* macros.
afc5ed09 35628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35629 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35630 possible.
35631 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35632 HAS_AVX.
35633 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35634 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35635 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35636 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35637 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35638
bdb6de1d
JM
356392012-01-25 Joseph Myers <joseph@codesourcery.com>
35640
35641 * elf/tst-unique3.cc (gets): Remove declaration.
35642 * elf/tst-unique3lib.cc (gets): Likewise.
35643 * elf/tst-unique3lib2.cc (gets): Likewise.
35644 * elf/tst-unique4.cc (gets): Likewise.
35645
b15549e6
UD
356462012-01-24 Ulrich Drepper <drepper@gmail.com>
35647
35648 * include/stdio.h: Add C++ protection. Add gets declarations and
35649 definitions.
35650 * debug/tst-chk1.c: Don't declare gets here.
35651 * stdio-common/tst-gets.c: Likewise.
35652
a037381f
JM
356532012-01-24 Joseph Myers <joseph@codesourcery.com>
35654
35655 * posix/glob: Remove directory.
35656
f1d4aa75
JM
356572012-01-24 Joseph Myers <joseph@codesourcery.com>
35658
35659 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35660
81c0c964
PT
356612012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35662
35663 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35664 of the non-standard EPFNOSUPPORT.
35665
0ea698ae
ST
356662011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35667
35668 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35669 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35670 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35671
d220b117
UD
356722012-01-21 Ulrich Drepper <drepper@gmail.com>
35673
35674 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35675
3e1aa84e
UD
356762012-01-20 Ulrich Drepper <drepper@gmail.com>
35677
35678 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35679 transient errors.
35680 * nscd/grpcache.c (cache_addgr): Likewise.
35681 * nscd/hstcache.c (cache_addhst): Likewise.
35682 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35683 * nscd/pwdcache.c (cache_addpw): Likewise.
35684 * nscd/servicescache.c (cache_addserv): Likewise.
35685
400aa020
UD
356862012-01-16 Ulrich Drepper <drepper@gmail.com>
35687
d77e7869
UD
35688 * malloc/malloc.c: Various cleanups.
35689 * malloc/hooks.c: Likewise.
35690
400aa020
UD
35691 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35692 * stdlib/bug-fmtmsg1.c: New file.
35693
35694 * stdlib/fmtmsg.c (init): Add missing unlock.
35695 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35696
e0a309cf
MP
356972012-01-12 Marek Polacek <polacek@redhat.com>
35698
35699 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35700 and _GNU_SOURCE.
35701
929d11c7
WS
357022012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35703
35704 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35705 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35706 macro to ensure uniqueness of label name.
35707 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35708 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35709
41d0e869
UD
357102012-01-11 Ulrich Drepper <drepper@gmail.com>
35711
0cc5ed3b
UD
35712 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35713
41d0e869
UD
35714 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35715 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35716 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35718
a47a831a
UD
357192012-01-10 Ulrich Drepper <drepper@gmail.com>
35720
daa891c0
UD
35721 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35722
35723 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35724 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35725 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35726
e58ef0f2
UD
35727 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35728
a47a831a 35729 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35730 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35733
35734 * math/bits/math-finite.h: Add ldexp support.
35735
a0bfc9c7
MP
357362012-01-10 Marek Polacek <polacek@redhat.com>
35737
35738 * locale/programs/localedef.h (show_archive_content): Add noreturn
35739 attribute.
35740
d6e97a1d
UD
357412012-01-09 Ulrich Drepper <drepper@gmail.com>
35742
35743 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35744
d5835c26
UD
357452012-01-08 Ulrich Drepper <drepper@gmail.com>
35746
e5f484c6
UD
35747 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35748
d5835c26
UD
35749 * io/Makefile (headers): Add bits/poll2.h.
35750
d1f741e9
WS
357512011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35752
35753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35754 typo #include statement.
35755
ec09c1c4
UD
357562012-01-08 Ulrich Drepper <drepper@gmail.com>
35757
35758 * include/sys/cdefs.h: Define __attribute_alloc_size.
35759 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35760 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35761 * elf/pldd.c: Likewise.
35762 * iconv/iconv_charmap.c: Likewise.
35763 * iconv/iconvconfig.c: Likewise.
35764 * iconv/strtab.c: Likewise.
35765 * locale/programs/locale.c: Likewise.
35766 * locale/programs/localedef.h: Likewise.
35767 * locale/programs/simple-hash.c: Likewise.
35768 * nscd/nscd.h: Likewise.
35769 * nss/makedb.c: Likewise.
35770 * sysdeps/generic/ldconfig.h: Likewise.
35771 * locale/programs/localedef.c: Remove xmalloc prototype.
35772 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35773
20b38e03
PP
357742012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35775
35776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35777 appropriate.
35778
a0da5fe1
UD
357792012-01-08 Ulrich Drepper <drepper@gmail.com>
35780
1d5a644a 35781 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35782 * math/tst-CMPLX.c: New file.
1d5a644a 35783
8784a6db
UD
35784 * math/complex.h (CMPLXL): Fix typo.
35785
d9a216c0
UD
35786 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35787 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35788 GLIBC_2.16.
35789 * debug/tst-chk1.c: Add poll and ppoll tests.
35790 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35791 * include/sys/poll.h: Add hidden proto for ppoll.
35792 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35793 * sysdeps/mach/hurd/ppoll.c: Likewise.
35794 * io/ppoll.c: Likewise.
35795 * debug/poll_chk.c: New file.
35796 * debug/ppoll_chk.c: New file.
35797 * include/bits/poll2.h: New file.
35798 * io/bits/poll2.h: New file.
35799
ac097f5c
UD
35800 [BZ #1350]
35801 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35802
2119dcfa
UD
35803 * configure.in: static is always set to yes. Remove.
35804 * config.make.in: Don't set build-static.
35805 * Makeconfig: Remove use of build-static.
35806 * dlfcn/Makefile: Likewise.
35807 * elf/Makefile: Likewise.
35808 * math/Makefile: Likewise.
35809 * misc/Makefile: Likewise.
35810 * nptl/Makefile: Likewise.
35811 * sysdeps/mach/hurd/Makefile: Likewise.
35812
121766a9
UD
35813 * configure.in: PWD_P is not used anymore.
35814 * config.make.in: Remove PWD_P entry.
35815
51a1d39c 35816 * configure.in: Remove last remnants of RANLIB.
8720d066 35817 No need to check for signed size_t anymore.
215f4bdc
UD
35818 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35819 and IA-64.
3857022a 35820 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35821 * aclocal.m4: Likewise.
35822
d3ed7225
UD
35823 * wcsmbs/mbrtoc16.c: Implement using towc function.
35824 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35825 * wcsmbs/wcsmbsload.c: Likewise.
35826 * iconv/gconv_simple.c: Likewise.
35827 * iconv/gconv_int.h: Likewise.
35828 * iconv/gconv_builtin.h: Likewise.
35829 * iconv/iconv_prog.c: Remove CHAR16 handling.
35830
35831 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35832
35833 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35834
a0da5fe1
UD
35835 * configure.in: Remove --with-elf and --enable-bounded options.
35836 Dont set base_machine for ia64. More non-ELF conditions removed.
35837 Remove testing and setting of leading underscore information.
35838 * config.make.in (build-bounded): Set to no.
35839 * config.h.in: Remove NO_UNDERSCORES entry.
35840 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35841 them.
35842 * csu/start.c: Remove !NO_UNDERSCORE code.
35843 * locale/localeinfo.h: Likewise.
35844 * sysdeps/generic/machine-gmon.h: Likewise.
35845 * sysdeps/generic/sysdep.h: Likewise.
35846 * sysdeps/i386/sysdep.h: Likewise.
35847 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35848 * sysdeps/mach/sysdep.h: Likewise.
35849 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35850 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35851 * sysdeps/sh/sysdep.h: Likewise.
35852 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35853 * sysdeps/unix/i386/sysdep.S: Likewise.
35854 * sysdeps/unix/sparc/start.c: Likewise.
35855 * sysdeps/unix/sparc/sysdep.S: Likewise.
35856 * sysdeps/unix/sparc/sysdep.h: Likewise.
35857 * sysdeps/unix/start.c: Likewise.
35858 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35859 * sysdeps/x86_64/sysdep.h: Likewise.
35860
df78418a
UD
358612012-01-07 Ulrich Drepper <drepper@gmail.com>
35862
a784e502
UD
35863 [BZ #13553]
35864 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35865 for non-gcc.
35866 * argp/argp-fmtstream.h: Use const instead __const.
35867 * argp/argp.h: Likewise.
35868 * assert/assert.h: Likewise.
35869 * bits/fenv.h: Likewise.
35870 * bits/sched.h: Likewise.
35871 * bits/sigset.h: Likewise.
35872 * bits/sigthread.h: Likewise.
35873 * catgets/nl_types.h: Likewise.
35874 * conform/data/pthread.h-data: Likewise.
35875 * crypt/crypt-private.h: Likewise.
35876 * crypt/crypt.h: Likewise.
35877 * crypt/crypt_util.c: Likewise.
35878 * ctype/ctype.h: Likewise.
35879 * debug/execinfo.h: Likewise.
35880 * debug/mbsnrtowcs_chk.c: Likewise.
35881 * debug/mbsrtowcs_chk.c: Likewise.
35882 * debug/wcsnrtombs_chk.c: Likewise.
35883 * debug/wcsrtombs_chk.c: Likewise.
35884 * debug/wcstombs_chk.c: Likewise.
35885 * dirent/dirent.h: Likewise.
35886 * dlfcn/dlfcn.h: Likewise.
35887 * elf/neededtest4.c: Likewise.
35888 * grp/grp.h: Likewise.
35889 * gshadow/gshadow.h: Likewise.
35890 * iconv/gconv.h: Likewise.
35891 * iconv/gconv_int.h: Likewise.
35892 * iconv/gconv_simple.c: Likewise.
35893 * iconv/iconv.h: Likewise.
35894 * iconv/loop.c: Likewise.
35895 * iconv/skeleton.c: Likewise.
35896 * include/aio.h: Likewise.
35897 * include/aliases.h: Likewise.
35898 * include/argz.h: Likewise.
35899 * include/arpa/inet.h: Likewise.
35900 * include/assert.h: Likewise.
35901 * include/dirent.h: Likewise.
35902 * include/dlfcn.h: Likewise.
35903 * include/execinfo.h: Likewise.
35904 * include/fcntl.h: Likewise.
35905 * include/fenv.h: Likewise.
35906 * include/glob.h: Likewise.
35907 * include/grp.h: Likewise.
35908 * include/libintl.h: Likewise.
35909 * include/mntent.h: Likewise.
35910 * include/netdb.h: Likewise.
35911 * include/pwd.h: Likewise.
35912 * include/rpc/netdb.h: Likewise.
35913 * include/sched.h: Likewise.
35914 * include/search.h: Likewise.
35915 * include/shadow.h: Likewise.
35916 * include/signal.h: Likewise.
35917 * include/stdio.h: Likewise.
35918 * include/stdlib.h: Likewise.
35919 * include/string.h: Likewise.
35920 * include/sys/socket.h: Likewise.
35921 * include/sys/stat.h: Likewise.
35922 * include/sys/statfs.h: Likewise.
35923 * include/sys/statvfs.h: Likewise.
35924 * include/sys/syslog.h: Likewise.
35925 * include/sys/time.h: Likewise.
35926 * include/sys/uio.h: Likewise.
35927 * include/time.h: Likewise.
35928 * include/unistd.h: Likewise.
35929 * include/utmp.h: Likewise.
35930 * include/wchar.h: Likewise.
35931 * include/wctype.h: Likewise.
35932 * inet/aliases.h: Likewise.
35933 * inet/arpa/inet.h: Likewise.
35934 * inet/netinet/ether.h: Likewise.
35935 * inet/netinet/in.h: Likewise.
35936 * intl/libintl.h: Likewise.
35937 * io/bits/fcntl2.h: Likewise.
35938 * io/fcntl.h: Likewise.
35939 * io/ftw.h: Likewise.
35940 * io/sys/poll.h: Likewise.
35941 * io/sys/stat.h: Likewise.
35942 * io/sys/statfs.h: Likewise.
35943 * io/sys/statvfs.h: Likewise.
35944 * io/utime.h: Likewise.
35945 * libio/bits/stdio.h: Likewise.
35946 * libio/bits/stdio2.h: Likewise.
35947 * libio/libio.h: Likewise.
35948 * libio/libioP.h: Likewise.
35949 * libio/stdio.h: Likewise.
35950 * locale/lc-ctype.c: Likewise.
35951 * locale/locale.h: Likewise.
35952 * login/utmp.h: Likewise.
35953 * malloc/arena.c: Likewise.
35954 * malloc/malloc.c: Likewise.
35955 * malloc/malloc.h: Likewise.
35956 * malloc/mcheck.c: Likewise.
35957 * malloc/mtrace.c: Likewise.
35958 * math/bits/mathcalls.h: Likewise.
35959 * math/fenv.h: Likewise.
35960 * math/math_private.h: Likewise.
35961 * misc/bits/error.h: Likewise.
35962 * misc/bits/syslog.h: Likewise.
35963 * misc/err.h: Likewise.
35964 * misc/error.h: Likewise.
35965 * misc/fstab.h: Likewise.
35966 * misc/mntent.h: Likewise.
35967 * misc/regexp.h: Likewise.
35968 * misc/search.h: Likewise.
35969 * misc/sgtty.h: Likewise.
35970 * misc/sys/mman.h: Likewise.
35971 * misc/sys/syslog.h: Likewise.
35972 * misc/sys/uio.h: Likewise.
35973 * misc/sys/xattr.h: Likewise.
35974 * misc/ttyent.h: Likewise.
35975 * nis/rpcsvc/ypclnt.h: Likewise.
35976 * nss/nss.h: Likewise.
35977 * posix/bits/unistd.h: Likewise.
35978 * posix/fnmatch.h: Likewise.
35979 * posix/glob.h: Likewise.
35980 * posix/sched.h: Likewise.
35981 * posix/spawn.h: Likewise.
35982 * posix/sys/wait.h: Likewise.
35983 * posix/unistd.h: Likewise.
35984 * posix/wordexp.h: Likewise.
35985 * pwd/pwd.h: Likewise.
35986 * resolv/netdb.h: Likewise.
35987 * resource/sys/resource.h: Likewise.
35988 * rt/aio.h: Likewise.
35989 * rt/bits/mqueue2.h: Likewise.
35990 * rt/mqueue.h: Likewise.
35991 * shadow/shadow.h: Likewise.
35992 * signal/signal.h: Likewise.
35993 * socket/send.c: Likewise.
35994 * socket/sendto.c: Likewise.
35995 * socket/sys/socket.h: Likewise.
35996 * stdio-common/printf.h: Likewise.
35997 * stdlib/bits/stdlib.h: Likewise.
35998 * stdlib/fmtmsg.h: Likewise.
35999 * stdlib/monetary.h: Likewise.
36000 * stdlib/stdlib.h: Likewise.
36001 * stdlib/ucontext.h: Likewise.
36002 * streams/stropts.h: Likewise.
36003 * string/argz.h: Likewise.
36004 * string/bits/string2.h: Likewise.
36005 * string/string.h: Likewise.
36006 * string/strings.h: Likewise.
36007 * sunrpc/rpc/auth.h: Likewise.
36008 * sunrpc/rpc/auth_des.h: Likewise.
36009 * sunrpc/rpc/clnt.h: Likewise.
36010 * sunrpc/rpc/netdb.h: Likewise.
36011 * sunrpc/rpc/pmap_clnt.h: Likewise.
36012 * sunrpc/rpc/xdr.h: Likewise.
36013 * sysdeps/generic/inttypes.h: Likewise.
36014 * sysdeps/generic/net/if.h: Likewise.
36015 * sysdeps/generic/sys/swap.h: Likewise.
36016 * sysdeps/gnu/net/if.h: Likewise.
36017 * sysdeps/gnu/utmpx.h: Likewise.
36018 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36019 * sysdeps/i386/i486/bits/string.h: Likewise.
36020 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36021 * sysdeps/s390/bits/string.h: Likewise.
36022 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36023 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36024 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36025 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36026 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36027 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36028 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36029 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36030 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36031 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36032 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36033 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36034 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36035 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36036 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36037 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36038 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36039 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36040 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36041 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36043 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36044 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36045 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36046 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36047 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36048 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36050 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36051 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36052 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36053 * sysvipc/sys/ipc.h: Likewise.
36054 * sysvipc/sys/msg.h: Likewise.
36055 * sysvipc/sys/sem.h: Likewise.
36056 * sysvipc/sys/shm.h: Likewise.
36057 * termios/termios.h: Likewise.
36058 * time/sys/time.h: Likewise.
36059 * time/time.h: Likewise.
36060 * wcsmbs/bits/wchar2.h: Likewise.
36061 * wcsmbs/uchar.h: Likewise.
36062 * wcsmbs/wchar.h: Likewise.
36063 * wctype/wctype.h: Likewise.
36064
0269750c
UD
36065 [BZ #13551]
36066 * Makeconfig: Remove all but ELF support including AIX support.
36067 * Makerules: Likewise.
36068 * config.h.in: Likewise.
36069 * config.make.in: Likewise.
36070 * configure: Likewise.
36071 * configure.in: Likewise.
36072 * csu/Makefile: Likewise.
36073 * csu/version.c: Likewise.
36074 * debug/Makefile: Likewise.
36075 * dlfcn/Makefile: Likewise.
36076 * elf/Makefile: Likewise.
36077 * extra-lib.mk: Likewise.
36078 * iconv/Makefile: Likewise.
36079 * include/libc-symbols.h: Likewise.
36080 * include/shlib-compat.h: Likewise.
36081 * resolv/Makefile: Likewise.
36082 * resolv/res_libc.c: Likewise.
36083 * rt/Makefile: Likewise.
36084 * sysdeps/i386/asm-syntax.h: Likewise.
36085 * sysdeps/i386/sysdep.h: Likewise.
36086 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36087 * sysdeps/mach/sysdep.h: Likewise.
36088 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36089 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36090 * sysdeps/s390/asm-syntax.h: Likewise.
36091 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36092 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36093 * sysdeps/sh/sysdep.h: Likewise.
36094 * sysdeps/unix/sparc/sysdep.h: Likewise.
36095 * sysdeps/wordsize-32/divdi3.c: Likewise.
36096 * sysdeps/x86_64/sysdep.h: Likewise.
36097
00bbd29b
UD
36098 * argp/Versions: Remove _argp_unlock_xxx.
36099
36100 [BZ #13559]
36101 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36102 * abilist/libBrokenLocale.abilist: Likewise.
36103 * abilist/libanl.abilist: Likewise.
36104 * abilist/libc.abilist: Likewise.
36105 * abilist/libcrypt.abilist: Likewise.
36106 * abilist/libdl.abilist: Likewise.
36107 * abilist/libm.abilist: Likewise.
36108 * abilist/libnsl.abilist: Likewise.
36109 * abilist/libpthread.abilist: Likewise.
36110 * abilist/libresolv.abilist: Likewise.
36111 * abilist/librt.abilist: Likewise.
36112 * abilist/libthread_db.abilist: Likewise.
36113 * abilist/libutil.abilist: Likewise.
36114 * abilist/libnss_db.abilist: New file.
36115
36116 * scripts/abilist.awk: Add support for indirect functions.
36117
a2693a0e
UD
36118 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36119
3f05895f
UD
36120 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36121
ecb6fb48
UD
36122 * shlib-versions: Remove entries for ports architectures.
36123
664f8cb9
UD
36124 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36125 files in ports.
36126 * elf/stackguard-macros.h: Remove support for IA-64.
36127 * elf/tst-auditmod1.c: Likewise.
36128 * sysdeps/generic/ldsodefs.h: Likewise.
36129
7ae81d88
UD
36130 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36131 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36132 configure files.
36133
bdeba135
UD
36134 [BZ #13552]
36135 * configure.in: Remove --enable-omitfp support.
36136 * FAQ.in: Adjust.
36137 * config.make.in: Likewise.
36138 * Makeconfig: Likewise.
36139 * manual/install.texi: Likewise.
36140
d75a0a62
UD
36141 In case anyone cares, the IA-64 architecture could move to ports.
36142 * sysdeps/ia64/*: Removed.
36143 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36144 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36145
dcc9756b
UD
36146 [BZ #13555]
36147 * configure.in: Remove entries for unsupported architectures.
36148
d3761ebc 36149 [BZ #13533]
9954432e
UD
36150 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36151 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36152 routines.
36153 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36154 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36155 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36156 fall back to using wcrtomb.
36157 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36158 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36159 renaming.
36160 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36161 * wcsmbs/tst-c16c32-1.c: New file.
36162
36163 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36164 local variable.
36165
c3a87236
UD
36166 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36167
28926a1b
UD
36168 * elf/tst-unique3.cc: Add explicit declaration of gets.
36169 * elf/tst-unique3lib.cc: Likewise.
36170 * elf/tst-unique3lib2.cc: Likewise.
36171 * elf/tst-unique4.cc: Likewise.
36172
df78418a
UD
36173 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36174
8ecd6b2a
JM
361752012-01-06 Joseph Myers <joseph@codesourcery.com>
36176
36177 [BZ #13566]
36178 * assert/assert.h (static_assert): Don't define for C++.
36179 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36180 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36181
9f115170
UD
361822012-01-03 Ulrich Drepper <drepper@gmail.com>
36183
5e0d0300
UD
36184 * iconv/loop.c (single loop): Fix assertion in storing of
36185 remaining bytes.
36186
9f115170
UD
36187 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36188
81fb02b0
UD
361892012-01-01 Ulrich Drepper <drepper@gmail.com>
36190
36191 * posix/getconf.c: Update copyright year.
36192 * nss/getent.c: Likewise.
a316c1f6 36193 * nss/makedb.c: Likewise.
81fb02b0
UD
36194 * iconv/iconvconfig.c: Likewise.
36195 * iconv/iconv_prog.c: Likewise.
36196 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36197 * elf/pldd.c: Likewise.
36198 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36199 * catgets/gencat.c: Likewise.
36200 * csu/version.c: Likewise.
36201 * elf/ldd.bash.in: Likewise.
36202 * elf/sprof.c (print_version): Likewise.
36203 * locale/programs/locale.c: Likewise.
36204 * locale/programs/localedef.c: Likewise.
a316c1f6 36205 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36206 * nscd/nscd.c (print_version): Likewise.
36207 * debug/xtrace.sh: Likewise.
36208 * malloc/memusage.sh: Likewise.
36209 * malloc/mtrace.pl: Likewise.
36210 * debug/catchsegv.sh: Likewise.
36211
2ba92745
JJ
362122011-12-30 Jakub Jelinek <jakub@redhat.com>
36213
36214 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36215 pure attribute.
36216
dadebdae
UD
362172011-12-24 Ulrich Drepper <drepper@gmail.com>
36218
d3761ebc 36219 [BZ #13533]
db6af3eb
UD
36220 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36221 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36222 transformations.
36223 * iconv/gconv_int.h: Likewise.
36224 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36225 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36226 from libc for GLIBC_2.16.
36227 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36228 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36229 * wcsmbs/uchar.h: Really define mbstate_t.
36230 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36231 * wcsmbs/c16rtomb.c: New file.
36232 * wcsmbs/mbrtoc16.c: New file.
36233 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36234 for C/POSIX locale.
36235 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36236 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36237
dadebdae
UD
36238 * wcsmbs/wchar.h: Add missing __restrict.
36239
67371b56
UD
362402011-12-23 Ulrich Drepper <drepper@gmail.com>
36241
74033a25
UD
36242 [BZ #13532]
36243 * time/Makefile (routines): Add timespec_get.
36244 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36245 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36246 timespec for ISO C11.
36247 * time/timespec_get.c: New file.
36248 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36249 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36250
380d7e87
UD
36251 [BZ #13531]
36252 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36253 * stdlib/stdlib.h: Declare aligned_alloc.
36254 * Versions.def: Add GLIBC_2.16 for libc.
36255 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36256
4e9e7a35
UD
36257 [BZ 13527]
36258 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36259 ISO C11.
36260
380d7e87 36261 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36262 code.
36263
03a71829
UD
36264 [BZ #13528]
36265 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36266
839e283e
UD
36267 [BZ #13529]
36268 * assert/assert.h (static_assert): Define.
36269
ce5294e2 36270 * version.h: Update for 2.16 development version.
90fa7312 36271
8d44e150 36272 [BZ #13526]
d7809905
UD
36273 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36274 _ISOC11_SOURCE.
36275
c0da14cd
UD
36276 * version.h (RELEASE): Bump for 2.15 release.
36277 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36278
530a3249
MP
36279 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36280 Patch by Marek Polacek <mpolacek@redhat.com>.
36281
67371b56
UD
36282 * bits/byteswap.h: Protect long long constants with __extension__.
36283 * sysdeps/i386/bits/byteswap.h: Likewise.
36284 * sysdeps/ia64/bits/byteswap.h: Likewise.
36285 * sysdeps/s390/bits/byteswap.h: Likewise.
36286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36287
15db4de1
LD
362882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36289
36290 [BZ #13540]
bbe315ea
LD
36291 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36292 destination buffer.
15db4de1
LD
36293 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36294
2b2596b1
MP
362952011-12-23 Marek Polacek <polacek@redhat.com>
36296
36297 * elf/dl-addr.c (determine_info): Add inline keyword.
36298 * elf/tst-auditmod4b.c (check_avx): Likewise.
36299 * elf/tst-auditmod6b.c (check_avx): Likewise.
36300 * elf/tst-auditmod6c.c (check_avx): Likewise.
36301 * elf/tst-auditmod7b.c (check_avx): Likewise.
36302
70c6c246
UD
363032011-12-23 Ulrich Drepper <drepper@gmail.com>
36304
36305 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36306 !__SSE_MATH__.
36307
c044cf14
LD
363082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36309
15db4de1 36310 [BZ #13540]
c044cf14
LD
36311 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36312 processing for last bytes.
36313
6b13d9d9
BH
363142011-08-06 Bruno Haible <bruno@clisp.org>
36315
d455f537
BH
36316 [BZ #13061]
36317 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36318 U+0385, not to U+1FEE.
36319
6b13d9d9
BH
36320 [BZ #13062]
36321 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36322 entry for U+00A5 U+0301.
36323
db910efd
UD
363242011-12-22 Ulrich Drepper <drepper@gmail.com>
36325
27deeafc
UD
36326 [BZ #13166]
36327 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36328 buffer for the output is too small.
36329
aed9d171
UD
36330 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36331 optimization.
36332
db910efd
UD
36333 [BZ #13185]
36334 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36335 SSE flags if possible.
36336
2bd779ae
LD
363372011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36338
e7f9dac3 36339 [BZ #13540]
2bd779ae
LD
36340 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36341 processing for last bytes.
36342
154bfc16
JM
363432011-12-22 Joseph Myers <joseph@codesourcery.com>
36344
36345 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36346 (syscall-list-default-options, syscall-list-default-condition)
36347 (syscall-list-includes): Define.
36348 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36349 list of ABIs and options and #if conditions for each ABI. Do not
36350 handle common syscalls between ABIs specially.
36351 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36352 Remove.
36353 (syscall-list-variants, syscall-list-32bit-options)
36354 (syscall-list-32bit-condition, syscall-list-64bit-options)
36355 (syscall-list-64bit-condition): Define.
36356 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36357 (syscall-list-variants, syscall-list-32bit-options)
36358 (syscall-list-32bit-condition, syscall-list-64bit-options)
36359 (syscall-list-64bit-condition): Define.
36360 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36361 Remove.
36362 (syscall-list-variants, syscall-list-32bit-options)
36363 (syscall-list-32bit-condition, syscall-list-64bit-options)
36364 (syscall-list-64bit-condition): Define.
36365 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36366 Remove.
36367 (syscall-list-variants, syscall-list-32bit-options)
36368 (syscall-list-32bit-condition, syscall-list-64bit-options)
36369 (syscall-list-64bit-condition): Define.
36370
21eaf3a5
UD
363712011-12-22 Ulrich Drepper <drepper@gmail.com>
36372
16c6f992
UD
36373 * locale/iso-639.def: Add brx entry.
36374
41043168
UD
36375 [BZ #13328]
36376 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36377 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36378
21eaf3a5
UD
36379 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36380 __feraiseexcept_renamed.
36381
e3a851a2
UD
363822011-12-21 Ulrich Drepper <drepper@gmail.com>
36383
4920765e
UD
36384 [BZ #13538]
36385 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36386 EPOLLET with unsigned values.
36387 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36388 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36389
e3a851a2
UD
36390 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36391 to large cancellation.
36392 * math/s_cacoshf.c: Likewise.
36393 * math/s_cacoshl.c: Likewise.
36394
b27e24b8
RK
363952011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36396
36397 [BZ #13305]
aebefeee 36398 [BZ #12786]
b27e24b8
RK
36399 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36400 * math/s_cacoshf.c: Likewise.
36401 * math/s_cacoshl.c: Likewise.
36402
ee190f67
UD
364032011-12-21 Ulrich Drepper <drepper@gmail.com>
36404
36405 [BZ #13439]
36406 * iconv/gconv.h: Define __GCONV_SWAP.
36407 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36408 * iconvdata/utf-16.c: Likewise.
36409 * iconvdata/utf-32.c: Likewise.
36410
707f25df
AS
364112011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36412
36413 [BZ #13524]
36414 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36415 numerator after shifting it by one limb.
36416
d2daaa1e
RÁE
364172011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36418
36419 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36420 under [__USE_EXTERN_INLINES].
36421
a4647e72
UD
364222011-12-17 Ulrich Drepper <drepper@gmail.com>
36423
36424 [BZ #13446]
36425 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36426
f0b264f1
AZ
364272011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36428
36429 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36430 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36431 optimized code.
36432 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36433 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36434 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36435 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36436 for strncasecmp/strncasecmp_l compilation.
36437 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36438 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36439
8ef4f244
MP
364402011-12-08 Marek Polacek <mpolacek@redhat.com>
36441
36442 [BZ #13484]
36443 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36444 of __asm__.
36445
97ac2654
UD
364462011-12-17 Ulrich Drepper <drepper@gmail.com>
36447
36448 [BZ #13506]
36449 * time/tzfile.c (__tzfile_read): Check values from file header.
36450
91d2a845
WS
364512011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36452
36453 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36454 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36455 * powerpc/powerpc32/dl-start.S: Likewise.
36456 * powerpc/powerpc32/elf/start.S: Likewise.
36457 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36458 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36459 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36460 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36461 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36462 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36463 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36464 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36465 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36466 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36467 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36468 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36469 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36470 * powerpc/powerpc32/memset.S: Likewise.
36471 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36472 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36473 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36474 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36475 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36476 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36477 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36478 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36479 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36480 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36481 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36482 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36483 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36484
a1267ba1
AZ
364852011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36486
36487 * math/libm-test.inc: Added more nearbyint tests.
36488 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36489 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36490 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36491 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36492
ad8ac1bd
RL
364932011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36494
36495 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36496 FD_CLOEXEC.
36497
1d3e4b61
UD
364982011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36499
36500 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36501 Add wcscpy-ssse3 wcscpy-c.
36502 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36503 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36504 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36505 * sysdeps/x86_64/wcschr.S: New file.
36506 * sysdeps/x86_64/wcsrchr.S: New file.
36507 * string/test-strcmp.c: Remove checking of wcscmp function for
36508 wrong alignments.
36509 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36510 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36511 wcsrchr-sse2 wcsrchr-c.
36512 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36513 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36514 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36515 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36516 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36517 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36518 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36519 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36520 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36521 * wcsmbc/wcschr.c (WCSCHR): New macro.
36522
5b330a2d
UD
365232011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36524
36525 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36526 * wcsmbs/test-wcsrchr.c: New file.
36527 * string/test-strrchr.c: Add wcsrchr support.
36528 (WIDE): New macro.
36529 * wcsmbs/test-wcscpy.c: New file.
36530 * string/test-strcpy.c: Add wcscpy support.
36531 (WIDE): New macro.
26428b7c 36532
f039c043
UD
365332011-12-10 Ulrich Drepper <drepper@gmail.com>
36534
36535 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36536 the inner loop.
36537
850fb039
AS
365382011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36539
36540 [BZ #13472]
36541 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36542
4efbd5cb
UD
365432011-12-04 Ulrich Drepper <drepper@gmail.com>
36544
52ff5dd0 36545 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36546 Minor optimizations.
52ff5dd0 36547
4efbd5cb
UD
36548 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36549 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36550 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36551
8a426e12
UD
365522011-12-03 Ulrich Drepper <drepper@gmail.com>
36553
aff2453d
UD
36554 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36555 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36556 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36557 for gcc to avoid warnings.
36558 * inet/Makefile (tests): Add tst-checks.
36559 * inet/tst-checks.c: New file.
36560
36561 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36562 warning.
36563
36564 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36565 __wmemcmp_sse2.
36566
36567 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36568 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36569
8a426e12
UD
36570 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36571
9bea3473
UD
365722011-12-02 Ulrich Drepper <drepper@gmail.com>
36573
3a965496
UD
36574 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36575 problem.
36576
9bea3473
UD
36577 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36578
f101631b
UD
365792011-11-29 Joseph Myers <joseph@codesourcery.com>
36580
36581 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36582 conditional on GCC version.
36583 (__arch_compare_and_exchange_val_8_acq)
36584 (__arch_compare_and_exchange_val_16_acq)
36585 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36586 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36587 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36588
a98275aa
UD
365892011-12-02 Joseph Myers <joseph@codesourcery.com>
36590
36591 * sysdeps/sh/backtrace.c: New file.
36592
d4cc29a2
AS
365932011-12-02 Andreas Schwab <schwab@redhat.com>
36594
36595 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36596 parenthesis.
36597
6257af2d
AS
365982011-12-01 Andreas Schwab <schwab@redhat.com>
36599
36600 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36601 falling back to utime.
36602
b5f44c1a
AS
366032011-11-30 Andreas Schwab <schwab@redhat.com>
36604
36605 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36606 expectations for float.
36607
f3a6cc0a
AS
366082011-11-29 Andreas Schwab <schwab@redhat.com>
36609
36610 * locale/weight.h (findidx): Add parameter len.
36611 * locale/weightwc.h (findidx): Likewise.
36612 * posix/fnmatch_loop.c (FCT): Adjust caller.
36613 * posix/regcomp.c (build_equiv_class): Likewise.
36614 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36615 * posix/regexec.c (check_node_accept_bytes): Likewise.
36616 * string/strcoll_l.c (STRCOLL): Likewise.
36617 * string/strxfrm_l.c (STRXFRM): Likewise.
36618
9d65ea3a
UD
366192011-11-17 Ulrich Drepper <drepper@gmail.com>
36620
36621 * Makefile.in: Remove CVSOPT handling.
36622 * configure.in: Remove use of AC_REVISION.
36623 * iconvdata/Makefile (distribute): No need to filter out CVS.
36624 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36625 handling.
36626
5583a086
AS
366272011-11-16 Andreas Schwab <schwab@redhat.com>
36628
36629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36630 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36631 [USE_AS_STRNCASECMP_L]: Likewise.
36632 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36633 NO_TLS_DIRECT_SEG_REFS.
36634 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36635 Fix argument offsets for non-PIC.
36636 [USE_AS_STRNCASECMP_L]: Likewise.
36637 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36638 NO_TLS_DIRECT_SEG_REFS.
36639
d62a8200
UD
366402011-11-15 Ulrich Drepper <drepper@gmail.com>
36641
9d65ea3a 36642 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36643 O_CLOEXEC.
36644 * locale/loadlocale.c (_nl_load_locale): Likewise.
36645
09f93bd3
AS
366462011-11-15 Andreas Schwab <schwab@redhat.com>
36647
446514f9
AS
36648 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36649 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36650 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36651 (SYSCALL_GETTIME): Set errno on error.
36652
09f93bd3
AS
36653 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36654 count references to noai6ai_cached.
36655
312be3f9
UD
366562011-11-15 Ulrich Drepper <drepper@gmail.com>
36657
36658 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36659
36660 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36661 FD_CLOEXEC for /proc/self/maps.
36662
36663 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36664 FD_CLOEXEC for /proc/meminfo.
36665
36666 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36667 gai.conf.
36668
36669 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36670 FD_CLOEXEC for given file.
36671
36672 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36673
36674 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36675 FD_CLOEXEC for /etc/hosts.
36676 (_gethtent): Likewise.
36677
36678 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36679
36680 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36681 cancellation and set FD_CLOEXEC for /etc/netgroup.
36682
36683 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36684 reading /etc/publickey.
36685
36686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36687 allow cancellation when reading /etc/group.
36688
36689 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36690 cancellation.
36691 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36692
36693 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36694 when using data file.
36695
36696 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36697
36698 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36699 (write_nis_obj): Use "c" and "e" in fopen.
36700
36701 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36702
36703 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36704
36705 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36706
36707 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36708
36709 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36710 locale.alias.
36711
36712 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36713
36714 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36715
36716 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36717
36718 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36719 file parsing and set FD_CLOEXEC.
36720
82af0fa8
UD
367212011-11-14 Ulrich Drepper <drepper@gmail.com>
36722
36723 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36724
a5fb313c
AS
367252011-11-14 Andreas Schwab <schwab@redhat.com>
36726
36727 * malloc/arena.c (arena_get2): Don't call reused_arena when
36728 _int_new_arena failed.
36729
6abf3465
UD
367302011-11-14 Ulrich Drepper <drepper@gmail.com>
36731
36732 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36733 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36734 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36735 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36736 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36737 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36738 to compile strcasecmp and strncasecmp.
36739 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36740 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36741
36742 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36743
76e3966e
UD
367442011-11-13 Ulrich Drepper <drepper@gmail.com>
36745
36746 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36747 locale-defines.sym to gen-as-const-headers.
36748 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36749 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36751 to compile strcasecmp and strncasecmp.
36752 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36753 strcasecmp_l and strncasecmp_l.
36754 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36755 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36756 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36757 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36758 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36759 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36760 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36761 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36762 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36763 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36764 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36765
ab26144e
UD
367662011-11-12 Ulrich Drepper <drepper@gmail.com>
36767
7edb22ef
UD
36768 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36769 result of SYSDEP_GETTIME_CPU to retval.
36770 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36771 parameter list to macro. Remove trailing semicolon. Adjust users.
36772
9694fc44
UD
36773 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36774 variable.
36775
8ad89ef8
UD
36776 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36777 mantissa words.
36778 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36779
0c822ef9
UD
36780 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36781 from unused variable.
36782
874e0564
UD
36783 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36784 DWARF definitions.
36785 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36786 for assembling.
36787
3a2edc79
UD
36788 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36789 over namespaces.
36790
f3c2577f
UD
36791 * sunrpc/rpc_prot.c (rejected): Fix case value.
36792
294ce126
UD
36793 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36794 unsigned long long int to avoid warnings in shift.
36795
5e2b63c6
UD
36796 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36797 of use of trans.
36798 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36799 variable tmp.
36800
e7f4b08e
UD
36801 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36802 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36803 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36804
ab26144e
UD
36805 * nis/nis_table.c (nis_list): Use variable of correct type for
36806 result of __follow_path call.
36807
8a6d5255
AZ
368082011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36809
36810 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36811 of math functions ceil, trunc, floor, round, and sqrt, when
36812 avaliable on the platform.
36813 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36814 name clash.
36815 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36816 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36817 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36818
aaddc98c
MP
368192011-10-30 Marek Polacek <mpolacek@redhat.com>
36820
36821 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36822 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36823
95b7042b
RM
368242011-11-11 Roland McGrath <roland@hack.frob.com>
36825
36826 * include/unistd.h: Fix __readlink return type.
36827 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36828
57769839
UD
368292011-11-11 Ulrich Drepper <drepper@gmail.com>
36830
36831 * stdlib/ucontext.h: Undo last change for makecontext.
36832
edc5984d
AS
368332011-11-11 Andreas Schwab <schwab@redhat.com>
36834
98591e58
AS
36835 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36836
edc5984d
AS
36837 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36838 * setjmp/setjmp.h: Mark functions as non-leaf.
36839 * setjmp/bits/setjmp2.h: Likewise.
36840 * stdlib/ucontext.h: Likewise.
36841
77cdc054
AS
368422011-11-10 Andreas Schwab <schwab@redhat.com>
36843
36844 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36845 (reused_arena): Don't check arena limit.
36846 (arena_get2): Atomically check arena limit.
36847
fe72eebd
UD
368482011-11-08 Ulrich Drepper <drepper@gmail.com>
36849
5f078c32
UD
36850 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36851 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36852
fe72eebd
UD
36853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36854 instructions.
36855
ae1bc2fa
AS
368562011-11-07 Andreas Schwab <schwab@redhat.com>
36857
7583a88d
AS
36858 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36859 handler when locking.
36860
ae1bc2fa
AS
36861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36862 Fix size of allocated buffer.
36863
10fb0bfa
AS
368642011-11-04 Andreas Schwab <schwab@redhat.com>
36865
998832a4
AS
36866 [BZ #10103]
36867 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36868 declarations for long double functions.
36869 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36870
10fb0bfa
AS
36871 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36872
3d7ba52b
AS
368732011-11-03 Andreas Schwab <schwab@redhat.com>
36874
a9ae54a1
AS
36875 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36876 installed.
36877
3d7ba52b
AS
36878 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36879 is disabled.
36880
bc8db248
ST
368812011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36882
36883 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36884
45b96dd6
AS
368852011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36886
647776f6
AS
36887 * include/alloca.h (stackinfo_alloca_round): Define.
36888 (extend_alloca): Use it.
36889 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36890 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36891 here.
36892
d91a8b93
AS
36893 * scripts/check-local-headers.sh: Ignore libaudit.h.
36894
45b96dd6
AS
36895 * nscd/Makefile (extra-objs): Make recursively expanded.
36896
432d41ce
UD
368972011-11-01 Ulrich Drepper <drepper@gmail.com>
36898
34372fc6
UD
36899 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36900 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36901
fadb59f8
UD
36902 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36903 * posix/tst-rfc3484-2.c: Likewise.
36904 * posix/tst-rfc3484-3.c: Likewise.
36905
78239589
UD
36906 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36907 process_vm_writev.
36908 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36909 process_vm_writev.
36910 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36911 process_vm_writev from libc using GLIBC_2.15 version.
36912
432d41ce
UD
36913 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36914
02f9c6cf
PP
369152011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36916
36917 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36918 stack usage.
36919
3a2c0242
UD
369202011-10-31 Ulrich Drepper <drepper@gmail.com>
36921
f4ec4833
UD
36922 [BZ #13367]
36923 * nss/getent.c (initgroups_keys): Show error message in case no group
36924 names are given.
36925
3a2c0242
UD
36926 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36927 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36928 __bump_nl_timestamp.
36929 * nscd/connections (nscd_init): When host database is served open
36930 netlink socket and request notification about configuration changes.
36931 (main_loop_poll): Track netlink file descriptor and bump timestamp
36932 in case data becomes available.
36933 (main_loop_epoll): Likewise.
36934 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36935 (database_pers_head): Add extra_data fileds.
36936 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36937 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36938 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36939 Adjust caller.
36940 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36941 in6ai data, call __free_in6ai.
36942 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36943 Add -DHAVE_NETLINK.
36944 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36945 interface information. Reuse previous data if netlink timestamp
36946 is not changed.
36947 (__bump_nl_timestamp): New function.
36948 (__free_in6ai): New function.
36949
636064eb
UD
369502011-10-30 Ulrich Drepper <drepper@gmail.com>
36951
36952 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36953 close_not_cancel_no_status here.
36954 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36955
9beb2334
UD
369562011-10-29 Ulrich Drepper <drepper@gmail.com>
36957
6ef76f3b
UD
36958 [BZ #13276]
36959 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36960 return value.
36961
0ffc4f3e 36962 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36963 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36964 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36965
cb95113e
UD
369662011-07-03 Andreas Jaeger <aj@suse.de>
36967
36968 [BZ #10709]
36969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36970 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36971 * math/libm-test.inc (sin_test): Add test case.
36972
a1b560ff
UD
369732011-10-29 Ulrich Drepper <drepper@gmail.com>
36974
c9aaface
UD
36975 [BZ #13337]
36976 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36977 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36978
d272e7f1
UD
36979 * elf/chroot_canon.c (chroot_canon): Cleanups.
36980
1bc33071
UD
36981 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36982
1760874d
TJ
36983 [BZ #13335]
36984 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36985 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36986
51d91b18
UD
36987 * string/test-strchr.c: Make usable for strchrnul testing.
36988 * string/test-strchrnul.c: New file.
36989 * string/Makefile (strop-tests): Add strchrnul.
36990
a1b560ff 36991 * po/it.po: Update from translation team.
b611fb81 36992 * po/es.po: Likewise.
a1b560ff 36993
a5b81e1f
UD
369942011-10-28 Ulrich Drepper <drepper@gmail.com>
36995
fd52bc6d
UD
36996 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36997 the three constants needed as parameters. Drop the others.
36998 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36999 __m128i_strloadu_tolower.
52e4b9eb
UD
37000 Create and initialize variable zero and use it in all the places
37001 where _mm_setzero_si128 was used.
fd52bc6d 37002
a5b81e1f
UD
37003 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37004 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37005 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37006 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37007 anymore.
37008 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37009 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37010 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37011 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37012 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37013 __mpranred, __mptan.
37014 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37015 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37016 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37017 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37018 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37019 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37020 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37021 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37022 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37023
b4343346
AS
370242011-10-28 Andreas Schwab <schwab@redhat.com>
37025
0c92d8a8
AS
37026 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37027 redefine if SHARED.
37028 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37029
b4343346
AS
37030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37031 wide char related routines to wcsmbs subdir.
37032
3871f58f
AS
370332011-10-27 Andreas Schwab <schwab@redhat.com>
37034
37035 [BZ #13344]
37036 * misc/sys/cdefs.h (__THROWNL): Define.
37037 * posix/unistd.h: Use __THREADNL instead of __THREAD
37038 for memory synchronization functions.
37039
94d44d9f
RM
370402011-10-26 Roland McGrath <roland@hack.frob.com>
37041
21b64b15 37042 [BZ #13349]
94d44d9f
RM
37043 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37044 doesn't exist.
37045 * manual/stdio.texi (Obstack Streams): Node removed.
37046
f6ce9294
AS
370472011-10-26 Andreas Schwab <schwab@redhat.com>
37048
80479147
AS
37049 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37050 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37051 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37052
f6ce9294
AS
37053 * math/math_private.h (math_force_eval): Allow non-addressable
37054 arguments.
37055 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37056
618280a1
UD
370572011-10-25 Ulrich Drepper <drepper@gmail.com>
37058
e0016b11
UD
37059 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37060 file is not needed.
37061
37062 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37063 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37064 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37065 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37066 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37067 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37068 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37069 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37070 Add AVX variants.
37071 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37072 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37073 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37074 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37075 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37076 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37077 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37078 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37079 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37080 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37081 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37082 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37084 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37085 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37086 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37087 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37088 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37089 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37090
37091 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37092 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37093
618280a1
UD
37094 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37095 place. Use VEX encoding when compiling for AVX.
37096
37822576
AS
370972011-10-25 Andreas Schwab <schwab@redhat.com>
37098
1f1e1947
AS
37099 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37100 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37101
37822576
AS
37102 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37103
31ea014d
UD
371042011-10-25 Ulrich Drepper <drepper@gmail.com>
37105
d7826aa1 37106 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37107 useless if() expression.
d7826aa1
UD
37108 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37117 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37118 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37119 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37120 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37122 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37123 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37124 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37126 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37127
31ea014d
UD
37128 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37129
16437fec
AS
371302011-10-25 Andreas Schwab <schwab@redhat.com>
37131
37132 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37133 condition.
37134 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37135
31d3cc00
UD
371362011-10-25 Ulrich Drepper <drepper@gmail.com>
37137
37138 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37139 .text section. Avoid duplicate constants.
37140 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37150 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37152 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37155 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37157 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37163 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37164 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37165 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37166 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37167 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37168 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37169 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37170 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37171 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37172 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37173 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37174 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37175 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37176 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37177 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37178 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37179 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37180 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37181 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37182 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37183 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37184 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37185
58985aa9
UD
371862011-10-24 Ulrich Drepper <drepper@gmail.com>
37187
202c9deb
UD
37188 * sysdeps/x86_64/dla.h: Move to ...
37189 * sysdeps/x86_64/fpu/dla.h: ...here.
37190 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37191 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37192
af968f62
UD
37193 * config.make.in: Add have-mfma4 entry.
37194 * configure.in: Substitute libc_cv_cc_fma4.
37195 * math/Makefile (dbl-only-routines): Add sincostab.
37196 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37197 Use __sincostab not sincos.
37198 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37199 name is a macro.
37200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37204 using __copysign.
37205 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37206 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37207 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37208 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37209 and __inv.
37210 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37211 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37212 __copysign.
37213 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37214 define aliases when function name is a macro.
37215 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37216 sysdeps/ieee754/dbl-64/sincos.tbl.
37217 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37218 fma4-enabled routines.
37219 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37220 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37221 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37222 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37223 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37224 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37225 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37226 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37227 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37228 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37229 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37230 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37231 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37232 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37233 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37234 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37235 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37236 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37237 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37238 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37239 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37240 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37241 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37242 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37243 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37244 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37245 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37246 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37247 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37248 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37249
58985aa9
UD
37250 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37251 rename.
37252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37253 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37258 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37259 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37260
a201fbcf
AS
372612011-10-24 Andreas Schwab <schwab@redhat.com>
37262
37263 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37264
fc2ee42a
LD
372652011-10-23 Ulrich Drepper <drepper@gmail.com>
37266
bb3129bd
UD
37267 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37268
0275fff8
UD
37269 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37270 prediction.
37271 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37272
2fa2ae85
UD
37273 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37274 Remove unused variable magic_bits.
37275 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37276
fc2ee42a
LD
37277 * string/strnlen.c: Define and use STRNLEN macro.
37278 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37279 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37280 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37281 * wcsmbs/wcslen.c: Define and use WCSLEN.
37282 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37283 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37284 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37285 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37286 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37287 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37288 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37289
ce7dd29f
LD
372902011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37291
37292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37293 strnlen-sse2-no-bsf.
37294 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37296 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37297 Add strnlen support.
37298 (USE_AS_STRNLEN): New macro.
37299 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37300 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37301 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37302 * sysdeps/x86_64/wcslen.S: New file.
37303
979c70a3
MZ
373042011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37305
37306 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37307 XMM-moves are used for copying on small sizes.
37308
2d09f82f
LD
373092011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37310
37311 * wcsmbs/Makefile (strop-tests): Add wcschr.
37312 * wcsmbs/test-wcschr.c: New file.
37313 * string/test-strchr.c: Update.
37314 Add wcschr support.
37315 (WIDE): New macro.
37316
619fccca
LD
373172011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37318
2d09f82f 37319 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37320 * wcsmbs/test-wcslen.c: New file.
37321 * string/test-strlen.c: Update.
37322 Add wcslen support.
37323 (WIDE): New macro.
37324
09f699ea
UD
373252011-10-23 Ulrich Drepper <drepper@gmail.com>
37326
37327 * po/it.po: Update from translation team.
37328
95584d3b
LD
373292011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37330
37331 * sysdeps/x86_64/wcscmp.S: Update.
37332 Fix wrong comparison semantics.
37333 wcscmp shall use signed comparison not unsigned.
37334 Don't use substraction to avoid overflow bug.
37335 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37336 * wcsmbc/wcscmp.c: Likewise.
37337 * string/test-strcmp.c: Likewise.
37338 Add new tests to check cases with negative values.
37339
c8b3296b
UD
373402011-10-23 Ulrich Drepper <drepper@gmail.com>
37341
37342 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37343 * sysdeps/x86_64/dla.h: ...here. New file.
37344 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37349 * sysdeps/ieee754/dbl-64/e_sqrt.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
246ad57a
AS
373542011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37355
37356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37357 __ynl_finite aliases.
37358
a1a87169
UD
373592011-10-22 Ulrich Drepper <drepper@gmail.com>
37360
0d355eb7
UD
37361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37362
a1a87169
UD
37363 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37364 define DLA_FMA.
37365 [DLA_FMA] (EMULV): Use DLA_FMA.
37366 [DLA_FMA] (MUL12): Use EMULV.
37367 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37368 that are not needed.
37369 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37376
ee2aafe0
AS
373772011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37378
37379 * math/s_nan.c: Undef __nan.
37380 * math/s_nanf.c: Undef __nanf.
37381 * math/s_nanl.c: Undef __nanl.
37382 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37383 "math_private.h".
37384
bc62c2fb
UD
373852011-10-22 Ulrich Drepper <drepper@gmail.com>
37386
77425c63
UD
37387 * math/s_catan.c: Add branch predictions.
37388 * math/s_catanf.c: Likewise.
37389 * math/s_catanh.c: Likewise.
37390 * math/s_catanhf.c: Likewise.
37391 * math/s_catanhl.c: Likewise.
37392 * math/s_catanl.c: Likewise.
37393 * math/s_cexp.c: Likewise.
37394 * math/s_cexpf.c: Likewise.
37395 * math/s_cexpl.c: Likewise.
37396 * math/s_clog.c: Likewise.
37397 * math/s_clog10.c: Likewise.
37398 * math/s_clog10f.c: Likewise.
37399 * math/s_clog10l.c: Likewise.
37400 * math/s_clogf.c: Likewise.
37401 * math/s_clogl.c: Likewise.
37402 * math/s_csqrt.c: Likewise.
37403 * math/s_csqrtf.c: Likewise.
37404 * math/s_csqrtl.c: Likewise.
37405 * math/s_ctanf.c: Likewise.
37406 * math/s_ctanh.c: Likewise.
37407 * math/s_ctanhf.c: Likewise.
37408 * math/s_ctanhl.c: Likewise.
37409 * math/s_ctanl.c: Likewise.
37410
bc62c2fb
UD
37411 * math/math_private.h: Define __nan, __nanf, __nanl.
37412 * math/s_cacosh.c: Include <math_private.h>.
37413 * math/s_cacoshl.c: Likewise.
37414 * math/s_casinh.c: Likewise.
37415 * math/s_casinhf.c: Likewise.
37416 * math/s_casinhl.c: Likewise.
37417 * math/s_ccos.c: Rely entire on ccosh.
37418 * math/s_ccosf.c: Rely entire on ccoshf.
37419 * math/s_ccosl.c: Rely entirely on ccoshl.
37420 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37421 Remove tests for FE_INVALID.
37422 * math/s_ccoshf.c: Likewise.
37423 * math/s_ccoshl.c: Likewise.
37424 * math/s_csin.c: Likewise.
37425 * math/s_csinf.c: Likewise.
37426 * math/s_csinh.c Likewise.
37427 * math/s_csinhf.c: Likewise.
37428 * math/s_csinhl.c: Likewise.
37429 * math/s_csinl.c: Likewise.
37430 * math/s_ctan.c: Likewise.
37431 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37432 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37433 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37434
8ec250a4
UD
374352011-10-21 Ulrich Drepper <drepper@gmail.com>
37436
c196fed8
UD
37437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37438 compilation problems.
37439
8ec250a4
UD
37440 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37441 __builtin_expect.
37442
8d4f46c6
UD
374432011-10-20 Ulrich Drepper <drepper@gmail.com>
37444
ed72b654
UD
37445 * sysdeps/i386/configure.in: Test for -mfma4 option.
37446 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37447 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37448 COMMON_CPUID_INDEX_80000001.
37449 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37450 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37451 use it if FMA3 is not supported.
37452 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37453
8d4f46c6
UD
37454 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37455 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37456
d45c60c2
AS
374572011-10-20 Andreas Schwab <schwab@redhat.com>
37458
37459 [BZ #12892]
37460 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37461 it would create a cycle with a link time dependency.
37462
d9a4d2ab
UD
374632011-10-19 Ulrich Drepper <drepper@gmail.com>
37464
855d1560
UD
37465 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37466 instruction.
37467 * string/Makefile (strop-tests): Add rawmemchr.
37468 * string/test-rawmemchr.c: New file.
37469
d9a4d2ab
UD
37470 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37472 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37473 when compiling str{,n}casecmp and when AVX is available. Hook up
37474 new optimized code in initializers.
37475
8f3b1ffe
AS
374762011-10-19 Andreas Schwab <schwab@redhat.com>
37477
37478 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37479 __feraiseexcept instead of feraiseexcept.
37480
d38f1dba
UD
374812011-10-18 Ulrich Drepper <drepper@gmail.com>
37482
d9a8d0ab
UD
37483 * math/math_private.h: Define defaults for libc_fetestexcept and
37484 libc_feupdateenv.
37485 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37486 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37487 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37488 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37489 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37490 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37491 libc_fetestexcept and libc_feupdateenv.
37492
4855e3dd
UD
37493 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37494 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37495 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37496 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37497 libc_feholdexcept_setround.
37498
581d30e3
UD
37499 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37500 Add s_nearbyint-c and s_nearbyintf-c.
37501 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37502 nearbyintf inlines.
37503 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37504 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37505 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37506 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37507
d38f1dba
UD
37508 * math/math_private.h: Define defaults for libc_fegetround,
37509 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37510 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37511 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37512 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37513 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37514 standard functions.
37515 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37516 Remove comments and hacks for old compiler versions.
37517 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37518 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37519 libc_feholdexceptl.
37520
caa6c9d8
AS
375212011-10-18 Andreas Schwab <schwab@redhat.com>
37522
37523 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37524 (__feraiseexcept_renamed): Add __NTH.
37525 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37526 namespace violations.
37527
97c066e6
UD
375282011-10-17 Ulrich Drepper <drepper@gmail.com>
37529
99ce7b04
UD
37530 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37531
1004d182
UD
37532 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37533
228a984d
UD
37534 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37535 recently added interfaces.
37536 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37537
c8553a6a
UD
37538 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37539 about macro parameter expansion.
37540
ed22dcf6
UD
37541 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37542 __NO_MATH_INLINES is defined. Cleanups.
37543
37544 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37545 and __floorf is target has SSE4.1.
37546 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37547 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37548 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37550
b171c137
UD
37551 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37552 name.
37553 (floorf): Likewise.
37554
97c066e6
UD
37555 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37556
629f62ef
AS
375572011-10-17 Andreas Schwab <schwab@redhat.com>
37558
49a43d80
AS
37559 * misc/sys/cdefs.h: Fix last change.
37560
629f62ef
AS
37561 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37562 database lookup.
37563
e453f6cd
UD
375642011-10-16 Ulrich Drepper <drepper@gmail.com>
37565
aa78043a
UD
37566 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37567
ad0f5cad
UD
37568 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37569 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37574 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37575 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37576 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37577 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37578 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37579 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37580 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37581 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37582 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37583 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37584 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37585 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37586 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37587 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37588 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37589 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37590
37591 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37592 ceil, ceilf, floor, floorf.
37593
37594 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37595 Perform IRELATIVE relocations last.
37596
e453f6cd
UD
37597 * elf/do-rel.h: Add another parameter nrelative, replacing the
37598 local variable with the same name. Change name of the function
37599 to end in Rel or Rela (uppercase).
37600 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37601 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37602 elf_dynamic_do_##reloc function.
37603
fd5bdc09
UD
376042011-10-15 Ulrich Drepper <drepper@gmail.com>
37605
79b195b5
UD
37606 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37607 is sufficient, at least on modern CPUs.
37608
d4a28569
UD
37609 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37610
b61099b5
UD
37611 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37612 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37613
bcf01e6d
UD
37614 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37615 __expl_finite.
37616 * math/bits/math-finite.h: Add entries for exp.
37617 * math/e_expl.c: Add __*_finite alias.
37618 * sysdeps/i386/fpu/e_exp.S: Likewise.
37619 * sysdeps/i386/fpu/e_expf.S: Likewise.
37620 * sysdeps/i386/fpu/e_expl.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37622 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37623 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37624 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37626 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37627 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37628
ba1a0d59
UD
37629 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37630 is sufficient, at least on modern CPUs.
37631
fd5bdc09
UD
37632 * ctype/ctype-info.c (__ctype_init): Define.
37633 * include/ctype.h (__ctype_init): Declare.
37634 (__ctype_b_loc): The variable is always initialized.
37635 (__ctype_toupper_loc): Likewise.
37636 (__ctype_tolower_loc): Likewise.
37637 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37638 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37639
7872cfb0
AS
376402011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37641
b468825a
AS
37642 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37643
7872cfb0
AS
37644 * configure.in: Also look in $cxxmachine/include for C++ system
37645 headers.
37646
be13f7bf
LD
376472011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37648
37649 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37650 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37651 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37652 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37653 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37654 (USE_AS_WMEMCMP): New macro.
37655 Fixing indents.
37656 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37657 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37658 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37659 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37661 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37662 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37663 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37664 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37665 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37666 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37667 (USE_AS_WMEMCMP): New macro.
37668 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37669 * sysdeps/string/test-memcmp.c: Update.
37670 Fix simple_wmemcmp.
37671 Add new tests.
37672 * wcsmbs/wmemcmp.c: Update.
37673 (WMEMCMP): New macro.
37674 Fix overflow bug.
37675
556a2007
AJ
376762011-10-12 Andreas Jaeger <aj@suse.de>
37677
37678 [BZ #13268]
37679 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37680
538faaa7
UD
376812011-10-15 Ulrich Drepper <drepper@gmail.com>
37682
ab6737ff
UD
37683 * libio/iofwide.c (do_length): Avoid warning.
37684
538faaa7
UD
37685 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37686
396a21b1
UD
376872011-10-14 Ulrich Drepper <drepper@gmail.com>
37688
cdf2901f
UD
37689 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37690
38ad40ce
UD
37691 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37692 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37693 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37694 * sysdeps/i386/i686/fpu/e_log.S: New file.
37695 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37696 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37697
396a21b1
UD
37698 * ctype/ctype.h: Add support for inlined isXXX functions when
37699 compiling C++ code.
37700
6b1f68c9
AS
377012011-10-14 Andreas Schwab <schwab@redhat.com>
37702
349290c0
AS
37703 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37704
6b1f68c9
AS
37705 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37706
f2282d42
RM
377072011-10-13 Roland McGrath <roland@hack.frob.com>
37708
37709 [BZ #13291]
37710 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37711
5298ffa8
AS
377122011-10-13 Andreas Schwab <schwab@redhat.com>
37713
714fad23
AS
37714 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37715 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37716 feraiseexcept.
37717
81dcc7fb
AS
37718 * sysdeps/x86_64/memrchr.S: Check for zero size.
37719
5298ffa8
AS
37720 * string/stratcliff.c: Add memrchr tests.
37721
951fbcec
LD
377222011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37723
37724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37725 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37726 rawmemchr-sse2 rawmemchr-sse2-bsf.
37727 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37728 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37729 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37730 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37731 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37732 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37733 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37734 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37735 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37736 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37737 * string/memrchr.c (MEMRCHR): New macro.
37738
0ac5ae23
UD
377392011-10-12 Ulrich Drepper <drepper@gmail.com>
37740
37741 Add integration with gcc's -ffinite-math-only and optimize wrapper
37742 functions in libm.
37743 * Versions.def: Define GLIBC_2.15 version for libm.
37744 * math/Makefile (headers): Add bits/math-finite.h.
37745 * math/bits/math-finite.h: New file.
37746 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37747 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37748 * math/e_acoshl.c: Add __*_finite alias.
37749 * math/e_acosl.c: Likewise.
37750 * math/e_asinl.c: Likewise.
37751 * math/e_atan2l.c: Likewise.
37752 * math/e_atanhl.c: Likewise.
37753 * math/e_coshl.c: Likewise.
37754 * math/e_exp10.c: Likewise.
37755 * math/e_exp10f.c: Likewise.
37756 * math/e_exp10l.c: Likewise.
37757 * math/e_exp2l.c: Likewise.
37758 * math/e_fmodl.c: Likewise.
37759 * math/e_gammal_r.c: Likewise.
37760 * math/e_hypotl.c: Likewise.
37761 * math/e_j0l.c: Likewise.
37762 * math/e_j1l.c: Likewise.
37763 * math/e_jnl.c: Likewise.
37764 * math/e_lgammal_r.c: Likewise.
37765 * math/e_log10l.c: Likewise.
37766 * math/e_log2l.c: Likewise.
37767 * math/e_logl.c: Likewise.
37768 * math/e_powl.c: Likewise.
37769 * math/e_sinhl.c: Likewise.
37770 * math/e_sqrtl.c: Likewise.
37771 * math/e_scalb.c: Completely rewritten and optimized.
37772 * math/e_scalbf.c: Likewise.
37773 * math/e_scalbl.c: Likewise.
37774 * math/w_acos.c: Likewise.
37775 * math/w_acosf.c: Likewise.
37776 * math/w_acosl.c: Likewise.
37777 * math/w_acosh.c: Likewise.
37778 * math/w_acoshf.c: Likewise.
37779 * math/w_acoshl.c: Likewise.
37780 * math/w_asin.c: Likewise.
37781 * math/w_asinf.c: Likewise.
37782 * math/w_asinl.c: Likewise.
37783 * math/w_atan2.c: Likewise.
37784 * math/w_atan2f.c: Likewise.
37785 * math/w_atan2l.c: Likewise.
37786 * math/w_atanh.c: Likewise.
37787 * math/w_atanhf.c: Likewise.
37788 * math/w_atanhl.c: Likewise.
37789 * math/w_exp10.c: Likewise.
37790 * math/w_exp10f.c: Likewise.
37791 * math/w_exp10l.c: Likewise.
37792 * math/w_fmod.c: Likewise.
37793 * math/w_fmodf.c: Likewise.
37794 * math/w_fmodl.c: Likewise.
37795 * math/w_j0.c: Likewise.
37796 * math/w_j0f.c: Likewise.
37797 * math/w_j0l.c: Likewise.
37798 * math/w_j1.c: Likewise.
37799 * math/w_j1f.c: Likewise.
37800 * math/w_j1l.c: Likewise.
37801 * math/w_jn.c: Likewise.
37802 * math/w_jnf.c: Likewise.
37803 * math/w_log.c: Likewise.
37804 * math/w_logf.c: Likewise.
37805 * math/w_logl.c: Likewise.
37806 * math/w_log10.c: Likewise.
37807 * math/w_log10f.c: Likewise.
37808 * math/w_log10l.c: Likewise.
37809 * math/w_log2.c: Likewise.
37810 * math/w_log2f.c: Likewise.
37811 * math/w_log2l.c: Likewise.
37812 * math/w_pow.c: Likewise.
37813 * math/w_powf.c: Likewise.
37814 * math/w_powl.c: Likewise.
37815 * math/w_remainder.c: Likewise.
37816 * math/w_remainderf.c: Likewise.
37817 * math/w_remainderl.c: Likewise.
37818 * math/w_scalb.c: Likewise.
37819 * math/w_scalbf.c: Likewise.
37820 * math/w_scalbl.c: Likewise.
37821 * math/w_sqrt.c: Likewise.
37822 * math/w_sqrtf.c: Likewise.
37823 * math/w_sqrtl.c: Likewise.
37824 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37825 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37826 used.
37827 * math/math_private.h: Declare __kernel_standard_f.
37828 * math/w_cosh.c: Remove cruft and optimize a bit.
37829 * math/w_coshf.c: Likewise.
37830 * math/w_coshl.c: Likewise.
37831 * math/w_exp2.c: Likewise.
37832 * math/w_exp2f.c: Likewise.
37833 * math/w_exp2l.c: Likewise.
37834 * math/w_hypot.c: Likewise.
37835 * math/w_hypotf.c: Likewise.
37836 * math/w_hypotl.c: Likewise.
37837 * math/w_lgamma.c: Likewise.
37838 * math/w_lgamma_r.c: Likewise.
37839 * math/w_lgammaf.c: Likewise.
37840 * math/w_lgammaf_r.c: Likewise.
37841 * math/w_lgammal.c: Likewise.
37842 * math/w_lgammal_r.c: Likewise.
37843 * math/w_sinh.c: Likewise.
37844 * math/w_sinhf.c: Likewise.
37845 * math/w_sinhl.c: Likewise.
37846 * math/w_tgamma.c: Likewise.
37847 * math/w_tgammaf.c: Likewise.
37848 * math/w_tgammal.c: Likewise.
37849 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37850 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37851 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37852 Minor optimizations. Pretty printing. Remove cruft.
37853 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37854 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37855 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37856 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37857 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37858 * sysdeps/i386/fpu/e_asin.S: Likewise.
37859 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37860 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37861 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37862 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37863 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37864 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37866 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37867 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37868 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37869 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37870 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37871 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37872 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37873 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37874 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37875 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37876 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37877 * sysdeps/i386/fpu/e_log.S: Likewise.
37878 * sysdeps/i386/fpu/e_log10.S: Likewise.
37879 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37881 * sysdeps/i386/fpu/e_log2.S: Likewise.
37882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37883 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37884 * sysdeps/i386/fpu/e_logf.S: Likewise.
37885 * sysdeps/i386/fpu/e_logl.S: Likewise.
37886 * sysdeps/i386/fpu/e_pow.S: Likewise.
37887 * sysdeps/i386/fpu/e_powf.S: Likewise.
37888 * sysdeps/i386/fpu/e_powl.S: Likewise.
37889 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37890 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37891 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37892 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37893 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37894 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37895 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37896 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37897 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37902 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37904 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37905 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37906 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37907 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37908 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37911 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37912 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37914 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37915 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37919 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37920 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37921 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37922 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37923 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37924 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37925 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37926 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37927 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37928 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37929 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37930 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37931 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37932 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37933 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37934 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37935 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37936 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37937 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37938 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37940 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37944 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37946 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37947 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37948 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37949 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37950 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37951 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37953 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37954 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37955 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37958 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37961 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37963 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37966 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37967 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37968 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37969 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37970 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37972 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37974 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37975 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37976 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37977 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37978 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37979 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37980 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37981 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37982 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37983 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37984 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37985 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37986 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37987 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37988 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37989 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37990 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37991 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37992 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37993 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37994 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37995 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37996 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37997 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37998 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37999 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38000 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38001 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38002 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38003 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38004 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38005 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38006 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38007 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38008 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38009 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38010 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38011 (__isnanf): Likewise.
38012 (__isinf_ns): Likewise.
38013 (__isinf_nsf): Likewise.
38014 (__finite): Likewise.
38015 (__finitef): Likewise.
38016 (__ieee754_sqrt): Define as macro.
38017 (__ieee754_sqrtf): Define as macro.
38018 (__ieee754_sqrtl): Define as macro.
38019 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38020 inlined copy.
38021 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38022 __FINITE_MATH_ONLY__ consistent.
38023 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38024
12cc2fcd
AS
380252011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38026
a843a204
AS
38027 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38028 of rawmemchr.
38029
12cc2fcd
AS
38030 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38031
c853acd5
UD
380322011-10-09 Ulrich Drepper <drepper@gmail.com>
38033
38034 * po/ja.po: Update from translation team.
38035
c658d255
RM
380362011-10-08 Roland McGrath <roland@hack.frob.com>
38037
110946e4
RM
38038 * locale/programs/locarchive.c (prepare_address_space): New function.
38039 (create_archive, enlarge_archive, open_archive): Use it.
38040
50604220
RM
38041 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38042 inside [SHARED], where it is used.
38043
c658d255
RM
38044 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38045
38046 * nss/getent.c (netgroup_keys): Remove unused variable.
38047 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38048
6a621eb7
UD
380492011-10-08 Ulrich Drepper <drepper@gmail.com>
38050
7edb55ce
UD
38051 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38052 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38054 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38055 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38056 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38057 * math/Makefile (libm-calls): Add s_isinf_ns.
38058 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38059 * math/multc3.c: Likewise.
38060 * math/s_casin.c: Likewise.
38061 * math/s_casinf.c: Likewise.
38062 * math/s_casinl.c: Likewise.
38063 * math/s_ccos.c: Likewise.
38064 * math/s_ccosf.c: Likewise.
38065 * math/s_ccosl.c: Likewise.
38066 * math/s_ctan.c: Likewise.
38067 * math/s_ctanf.c: Likewise.
38068 * math/s_ctanh.c: Likewise.
38069 * math/s_ctanhf.c: Likewise.
38070 * math/s_ctanhl.c: Likewise.
38071 * math/s_ctanl.c: Likewise.
38072 * math/w_fmod.c: Likewise.
38073 * math/w_fmodf.c: Likewise.
38074 * math/w_fmodl.c: Likewise.
38075 * math/w_remainder.c: Likewise.
38076 * math/w_remainderf.c: Likewise.
38077 * math/w_remainderl.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38079 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38082 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38083 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38084 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38085 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38086
187da0ae
UD
38087 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38088 of the number.
38089 * stdio-common/printf_fphex.c: Likewise.
38090 * stdio-common/printf_size.c: Likewise.
38091
9277c064
UD
38092 * math/e_exp10.c: Include math_private.h using <...> not "...".
38093 * math/e_exp10f.c: Likewise.
38094 * math/e_exp10l.c: Likewise.
38095 * math/e_exp2l.c: Likewise.
38096 * math/e_j0l.c: Likewise.
38097 * math/e_j1l.c: Likewise.
38098 * math/e_jnl.c: Likewise.
38099 * math/e_lgammal_r.c: Likewise.
38100 * math/e_rem_pio2l.c: Likewise.
38101 * math/e_scalb.c: Likewise.
38102 * math/e_scalbf.c: Likewise.
38103 * math/e_scalbl.c: Likewise.
38104 * math/k_cosl.c: Likewise.
38105 * math/k_sinl.c: Likewise.
38106 * math/k_tanl.c: Likewise.
38107 * math/s_cacoshf.c: Likewise.
38108 * math/s_catan.c: Likewise.
38109 * math/s_catanf.c: Likewise.
38110 * math/s_catanh.c: Likewise.
38111 * math/s_catanhf.c: Likewise.
38112 * math/s_catanhl.c: Likewise.
38113 * math/s_catanl.c: Likewise.
38114 * math/s_ccosh.c: Likewise.
38115 * math/s_ccoshf.c: Likewise.
38116 * math/s_ccoshl.c: Likewise.
38117 * math/s_cexp.c: Likewise.
38118 * math/s_cexpf.c: Likewise.
38119 * math/s_cexpl.c: Likewise.
38120 * math/s_clog.c: Likewise.
38121 * math/s_clog10.c: Likewise.
38122 * math/s_clog10f.c: Likewise.
38123 * math/s_clog10l.c: Likewise.
38124 * math/s_clogf.c: Likewise.
38125 * math/s_clogl.c: Likewise.
38126 * math/s_csin.c: Likewise.
38127 * math/s_csinf.c: Likewise.
38128 * math/s_csinh.c: Likewise.
38129 * math/s_csinhf.c: Likewise.
38130 * math/s_csinhl.c: Likewise.
38131 * math/s_csinl.c: Likewise.
38132 * math/s_csqrt.c: Likewise.
38133 * math/s_csqrtf.c: Likewise.
38134 * math/s_csqrtl.c: Likewise.
38135 * math/s_ctan.c: Likewise.
38136 * math/s_ctanf.c: Likewise.
38137 * math/s_ctanh.c: Likewise.
38138 * math/s_ctanhf.c: Likewise.
38139 * math/s_ctanhl.c: Likewise.
38140 * math/s_ctanl.c: Likewise.
38141 * math/s_ldexp.c: Likewise.
38142 * math/s_ldexpf.c: Likewise.
38143 * math/s_ldexpl.c: Likewise.
38144 * math/s_significand.c: Likewise.
38145 * math/s_significandf.c: Likewise.
38146 * math/s_significandl.c: Likewise.
38147 * math/w_acos.c: Likewise.
38148 * math/w_acosf.c: Likewise.
38149 * math/w_acosh.c: Likewise.
38150 * math/w_acoshf.c: Likewise.
38151 * math/w_acoshl.c: Likewise.
38152 * math/w_acosl.c: Likewise.
38153 * math/w_asin.c: Likewise.
38154 * math/w_asinf.c: Likewise.
38155 * math/w_asinl.c: Likewise.
38156 * math/w_atan2.c: Likewise.
38157 * math/w_atan2f.c: Likewise.
38158 * math/w_atan2l.c: Likewise.
38159 * math/w_atanh.c: Likewise.
38160 * math/w_atanhf.c: Likewise.
38161 * math/w_atanhl.c: Likewise.
38162 * math/w_cosh.c: Likewise.
38163 * math/w_coshf.c: Likewise.
38164 * math/w_coshl.c: Likewise.
38165 * math/w_dremf.c: Likewise.
38166 * math/w_exp10.c: Likewise.
38167 * math/w_exp10f.c: Likewise.
38168 * math/w_exp10l.c: Likewise.
38169 * math/w_exp2.c: Likewise.
38170 * math/w_exp2f.c: Likewise.
38171 * math/w_fmod.c: Likewise.
38172 * math/w_fmodf.c: Likewise.
38173 * math/w_fmodl.c: Likewise.
38174 * math/w_hypot.c: Likewise.
38175 * math/w_hypotf.c: Likewise.
38176 * math/w_hypotl.c: Likewise.
38177 * math/w_j0.c: Likewise.
38178 * math/w_j0f.c: Likewise.
38179 * math/w_j0l.c: Likewise.
38180 * math/w_j1.c: Likewise.
38181 * math/w_j1f.c: Likewise.
38182 * math/w_j1l.c: Likewise.
38183 * math/w_jn.c: Likewise.
38184 * math/w_jnf.c: Likewise.
38185 * math/w_jnl.c: Likewise.
38186 * math/w_lgamma.c: Likewise.
38187 * math/w_lgamma_r.c: Likewise.
38188 * math/w_lgammaf.c: Likewise.
38189 * math/w_lgammaf_r.c: Likewise.
38190 * math/w_lgammal.c: Likewise.
38191 * math/w_lgammal_r.c: Likewise.
38192 * math/w_log.c: Likewise.
38193 * math/w_log10.c: Likewise.
38194 * math/w_log10f.c: Likewise.
38195 * math/w_log10l.c: Likewise.
38196 * math/w_log2.c: Likewise.
38197 * math/w_log2f.c: Likewise.
38198 * math/w_log2l.c: Likewise.
38199 * math/w_logf.c: Likewise.
38200 * math/w_logl.c: Likewise.
38201 * math/w_pow.c: Likewise.
38202 * math/w_powf.c: Likewise.
38203 * math/w_powl.c: Likewise.
38204 * math/w_remainder.c: Likewise.
38205 * math/w_remainderf.c: Likewise.
38206 * math/w_remainderl.c: Likewise.
38207 * math/w_scalb.c: Likewise.
38208 * math/w_scalbf.c: Likewise.
38209 * math/w_scalbl.c: Likewise.
38210 * math/w_sinh.c: Likewise.
38211 * math/w_sinhf.c: Likewise.
38212 * math/w_sinhl.c: Likewise.
38213 * math/w_sqrt.c: Likewise.
38214 * math/w_sqrtf.c: Likewise.
38215 * math/w_sqrtl.c: Likewise.
38216 * math/w_tgamma.c: Likewise.
38217 * math/w_tgammaf.c: Likewise.
38218 * math/w_tgammal.c: Likewise.
38219
6a621eb7
UD
38220 * po/ja.po: Update from translation team.
38221
bf582445
AJ
382222011-09-29 Andreas Jaeger <aj@suse.de>
38223
f9efbf3a
AJ
38224 [BZ #13179]
38225 * sunrpc/netname.c (netname2host): Fix logic.
38226
bf582445
AJ
38227 [BZ #6779]
38228 [BZ #6783]
38229 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38230 correctly.
38231 * math/w_remainder.c (__remainder): Likewise.
38232 * math/w_remainderf.c (__remainderf): Likewise.
38233 * math/libm-test.inc (remainder_test): Add test cases.
38234
48693bea
AK
382352011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38236
38237 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38238 sdiv_qrnnd.
38239
42622229
LD
382402011-10-07 Ulrich Drepper <drepper@gmail.com>
38241
38242 * string/test-memcmp.c: Avoid unncessary #defines.
38243 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38244
093ecf92
LD
382452011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38246
38247 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38248 Use new sse2 version for core i3 - i7 as it's faster
38249 than sse42 version.
38250 (bit_Prefer_PMINUB_for_stringop): New.
38251 * sysdeps/x86_64/rawmemchr.S: Update.
38252 Replace with faster SSE2 version.
38253 * sysdeps/x86_64/memrchr.S: New file.
38254 * sysdeps/x86_64/memchr.S: Update.
38255 Replace with faster SSE2 version.
38256
fde56e5c
MP
382572011-09-12 Marek Polacek <mpolacek@redhat.com>
38258
38259 * elf/dl-load.c (lose): Add cast to avoid warning.
38260
21fd49a9
UD
382612011-10-07 Ulrich Drepper <drepper@gmail.com>
38262
5a06e643
UD
38263 * po/ca.po: Update from translation team.
38264
684ae515
UD
38265 * inet/getnetgrent_r.c: Hook up nscd.
38266 * nscd/Makefile (routines): Add nscd_netgroup.
38267 (nscd-modules): Add netgroupcache.
38268 (CFLAGS-netgroupcache.c): Define.
38269 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38270 (cache_search): Add const to second parameter.
38271 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38272 INNETGR.
38273 (dbs): Add netgrdb entry.
38274 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38275 (verify_persistent_db): Handle netgrdb.
38276 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38277 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38278 GETFDNETGR.
38279 (netgroup_response_header): Define.
38280 (innetgroup_response_header): Define.
38281 (datahead): Add netgroup_response_header and innetgroup_response_header
38282 elements.
38283 * nscd/nscd.conf: Add entries for netgroup cache.
38284 * nscd/nscd.h (dbtype): Add netgrdb.
38285 (_PATH_NSCD_NETGROUP_DB): Define.
38286 (netgroup_iov_disabled): Declare.
38287 (xmalloc, xcalloc, xrealloc): Move declarations here.
38288 (cache_search): Adjust prototype.
38289 Add netgroup-related prototypes.
38290 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38291 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38292 (__nscd_innetgr): Declare.
38293 * nscd/selinux.c (perms): Use access_vector_t as element type and
38294 add netgroup-related initializers.
38295 * nscd/netgroupcache.c: New file.
38296 * nscd/nscd_netgroup.c: New file.
38297 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38298 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38299 For four parameters use innetgr.
38300 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38301 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38302 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38303 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38304
21fd49a9
UD
38305 * nscd/connections.c (register_traced_file): Don't register file
38306 for disabled databases.
38307
054c0457
UD
383082011-10-06 Ulrich Drepper <drepper@gmail.com>
38309
32b63198
UD
38310 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38311
054c0457
UD
38312 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38313 from tree and freeing node.
38314
64031225
JO
383152011-09-25 Jiri Olsa <jolsa@redhat.com>
38316
38317 * nss/nsswitch.c (__nss_database_lookup): Handle
38318 nss_parse_service_list out of memory case.
38319
0490345c
JO
383202011-09-15 Jiri Olsa <jolsa@redhat.com>
38321
38322 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38323 out of memory case.
38324
3a62d00d
AS
383252011-10-04 Andreas Schwab <schwab@redhat.com>
38326
38327 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38328 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38329 pass it down.
38330 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38331 elf_machine_rela, elf_machine_lazy_rel.
38332 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38333 (ELF_DYNAMIC_DO_REL): Likewise.
38334 (ELF_DYNAMIC_DO_RELA): Likewise.
38335 (ELF_DYNAMIC_RELOCATE): Likewise.
38336 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38337 to ELF_DYNAMIC_DO_REL.
38338 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38339 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38340 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38341 elf_machine_rela.
38342 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38343 skip_ifunc, don't call ifunc function if non-zero.
38344 (elf_machine_rela): Likewise.
38345 (elf_machine_lazy_rel): Likewise.
38346 (elf_machine_lazy_rela): Likewise.
38347 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38348 (elf_machine_lazy_rel): Likewise.
38349 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38350 Likewise.
38351 (elf_machine_lazy_rel): Likewise.
38352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38353 Likewise.
38354 (elf_machine_lazy_rel): Likewise.
38355 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38356 (elf_machine_lazy_rel): Likewise.
38357 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38358 (elf_machine_lazy_rel): Likewise.
38359 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38360 (elf_machine_lazy_rel): Likewise.
38361 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38362 (elf_machine_lazy_rel): Likewise.
38363 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38364 (elf_machine_lazy_rel): Likewise.
38365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38366 (elf_machine_lazy_rel): Likewise.
38367
68577918
UD
383682011-09-28 Ulrich Drepper <drepper@gmail.com>
38369
38370 * nss/nss_files/files-init.c (_nss_files_init): Use static
38371 initialization for all the *_traced_file variables.
38372
68822d74
AS
383732011-09-28 Andreas Schwab <schwab@redhat.com>
38374
38375 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38376
2056100b
RM
383772011-09-27 Roland McGrath <roland@hack.frob.com>
38378
38379 [BZ #13226]
38380 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38381
32c76b63
AS
383822011-09-27 Andreas Schwab <schwab@redhat.com>
38383
38384 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38385 Reread the line before reparsing it.
38386
bf972c9d
AS
383872011-09-26 Andreas Schwab <schwab@redhat.com>
38388
38389 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38390
e057a1b5
JM
383912011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38392 Maxim Kuvyrkov <maxim@codesourcery.com>
38393 Joseph Myers <joseph@codesourcery.com>
38394
38395 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38396 if needed for __stack_chk_guard.
38397
bc7e1c36
RM
383982011-09-19 Roland McGrath <roland@hack.frob.com>
38399
ecb1482f
RM
38400 * sysdeps/posix/spawni.c (script_execute): Always define it.
38401 It will be optimized away if unused.
38402 (maybe_script_execute): New function.
38403 (__spawni): Call it.
38404
bc7e1c36
RM
38405 * Makerules: Don't include tls.make.
38406 (config-tls): Always set to thread.
38407 * tls.make.c: File removed.
38408
1c3b002b
MF
384092011-09-19 Mike Frysinger <vapier@gentoo.org>
38410
38411 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38412 * config.make.in (CPPFLAGS-config): New substituted variable.
38413
2840865d
UD
384142011-09-15 Ulrich Drepper <drepper@gmail.com>
38415
88738eb6
UD
38416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38417
cbf645a6 38418 [BZ #13192]
2840865d
UD
38419 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38420 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38421
b402e91a
RM
384222011-09-15 Roland McGrath <roland@hack.frob.com>
38423
38424 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38425 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38427 (CALL_FAIL): Likewise.
38428 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38429 (CALL_FAIL): Macro removed.
38430 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38431
4c1a1f71
UD
384322011-09-15 Ulrich Drepper <drepper@gmail.com>
38433
38434 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38435 for __FINITE_MATH_ONLY__ == 1.
38436
edc121be
AS
384372011-09-15 Andreas Schwab <schwab@redhat.com>
38438
38439 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38440 __ieee754_sqrt instead of sqrt.
38441 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38442 __ieee754_sqrtf instead of sqrtf.
38443 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38444 __floorf instead of floorf.
38445 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38446 __floorf, __truncf instead of floorf, truncf.
38447
cd205654
UD
384482011-09-14 Ulrich Drepper <drepper@gmail.com>
38449
ee4d0315
UD
38450 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38451
cd205654
UD
38452 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38453 __extern_always_inline.
38454 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38455 32-bit.
38456
48b67d71
AS
384572011-09-14 Andreas Schwab <schwab@redhat.com>
38458
38459 * elf/rtld.c (dl_main): Also relocate in dependency order when
38460 doing symbol dependency testing.
38461
1ae12c75
AS
384622011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38463
38464 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38465 Always define `refsym'.
38466
995a80df
AS
384672011-09-13 Andreas Schwab <schwab@redhat.com>
38468
e529793b
AS
38469 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38470 (__FD_ELT): Renamed from __FDELT.
38471 * misc/bits/select2.h (__FD_ELT): Likewise.
38472 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38473 __FD_MASK instead of __FDELT, __FDMASK.
38474 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38475 Likewise.
38476 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38477 Likewise.
38478
52d4fef8
AS
38479 * elf/Makefile (gen-ldd): Fix pattern.
38480
995a80df
AS
38481 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38482 (init_tls): Likewise.
38483
8682f8b0
UD
384842011-09-12 Ulrich Drepper <drepper@gmail.com>
38485
38486 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38487
de82006d
AS
384882011-09-12 Andreas Schwab <schwab@redhat.com>
38489
a7c8e6a1
AS
38490 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38491 `struct cmsghdr *' instead of `void *'.
38492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38493 Likewise.
38494
0f31fe77
AS
384952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38496
38497 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38498 if non-absolute.
38499 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38500 ldd_rewrite_script.
0f31fe77 38501
32b4c839
UD
385022011-09-11 Ulrich Drepper <drepper@gmail.com>
38503
83cd1420
UD
38504 * configure.in: Remove --with-tls option.
38505 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38506 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38507 out in case it is missing.
38508 * sysdeps/ia64/elf/configure.in: Likewise.
38509 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38510 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38511 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38512 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38513 * sysdeps/sh/elf/configure.in: Likewise.
38514 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38515 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38516 * sysdeps/x86_64/elf/configure.in: Likewise.
38517 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38518 * sysdeps/mach/hurd/tls.h: Likewise.
38519
633f745d
UD
38520 [BZ #13067]
38521 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38522
f318beb8
UD
38523 [BZ #13090]
38524 * configure.in: Fix use of AC_INIT.
38525
32b4c839
UD
38526 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38527
3ce1f295
UD
385282011-09-10 Ulrich Drepper <drepper@gmail.com>
38529
bb016596
UD
38530 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38531 __set_errno.
8e58439c
UD
38532 * malloc/hooks.c: Likewise.
38533
aebae053 38534 [BZ #11929]
02d46fc4
UD
38535 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38536 variables statically.
38537 (narenas): Initialize.
38538 (list_lock): Initialize.
bb016596
UD
38539 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38540 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38541 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38542 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38543 Add initializers to main_arena and mp_.
38544 (malloc_state): Remove pagesize member. Change all users to use
38545 GLRO(dl_pagesize).
38546
38547 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38548 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38549 is always initialized.
38550
22a89187
UD
38551 * malloc/malloc.c: Removed unused configurations and dead code.
38552 * malloc/arena.c: Likewise.
38553 * malloc/hooks.c: Likewise.
02d46fc4 38554 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38555
d063d164
UD
38556 * include/tls.h: Removed. USE___THREAD must always be defined.
38557 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38558 * elf/dl-libc.c: Likewise.
38559 * elf/dl-tsd.c: Likewise.
38560 * include/errno.h: Likewise.
38561 * include/netdb.h: Likewise.
38562 * include/resolv.h: Likewise.
38563 * inet/herrno-loc.c: Likewise.
38564 * inet/herrno.c: Likewise.
38565 * malloc/arena.c: Likewise.
38566 * malloc/hooks.c: Likewise.
38567 * malloc/malloc.c: Likewise.
38568 * resolv/res-state.c: Likewise.
38569 * resolv/res_libc.c: Likewise.
38570 * sysdeps/i386/dl-machine.h: Likewise.
38571 * sysdeps/ia64/dl-machine.h: Likewise.
38572 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38573 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38574 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38575 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38576 * sysdeps/sh/dl-machine.h: Likewise.
38577 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38578 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38579 * sysdeps/unix/i386/sysdep.S: Likewise.
38580 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38581 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38583 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38585 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38586 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38590 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38591 * sysdeps/x86_64/dl-machine.h: Likewise.
38592 * tls.make.c: Likewise.
38593
3ce1f295
UD
38594 * configure.in: Remove --with-__thread option. Make tests for
38595 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38596 tls_model attribute fail if no support is available. Remove
38597 USE_IN_LIBIO.
38598 * Makeconfig: Adjust for dropped configure option. All features are
38599 now mandatory.
38600 * Makerules: Likewise.
38601 * Versions.def: Likewise.
38602 * argp/argp-fmtstream.c: Likewise.
38603 * argp/argp-fmtstream.h: Likewise.
38604 * argp/argp-help.c: Likewise.
38605 * assert/assert.c: Likewise.
38606 * config.h.in: Likewise.
38607 * config.make.in: Likewise.
38608 * configure: Likewise.
38609 * configure.in: Likewise.
38610 * csu/Versions: Likewise.
38611 * csu/init.c: Likewise.
38612 * elf/tst-audit2.c: Likewise.
38613 * elf/tst-tls10.c: Likewise.
38614 * elf/tst-tls10.h: Likewise.
38615 * elf/tst-tls11.c: Likewise.
38616 * elf/tst-tls12.c: Likewise.
38617 * elf/tst-tls14.c: Likewise.
38618 * elf/tst-tlsmod11.c: Likewise.
38619 * elf/tst-tlsmod12.c: Likewise.
38620 * elf/tst-tlsmod13.c: Likewise.
38621 * elf/tst-tlsmod13a.c: Likewise.
38622 * elf/tst-tlsmod14a.c: Likewise.
38623 * elf/tst-tlsmod15b.c: Likewise.
38624 * elf/tst-tlsmod16a.c: Likewise.
38625 * elf/tst-tlsmod16b.c: Likewise.
38626 * elf/tst-tlsmod7.c: Likewise.
38627 * elf/tst-tlsmod8.c: Likewise.
38628 * elf/tst-tlsmod9.c: Likewise.
38629 * gmon/gmon.c: Likewise.
38630 * grp/fgetgrent_r.c: Likewise.
38631 * grp/putgrent.c: Likewise.
38632 * hurd/fopenport.c: Likewise.
38633 * include/libc-symbols.h: Likewise.
38634 * include/tls.h: Likewise.
38635 * intl/gettextP.h: Likewise.
38636 * intl/loadinfo.h: Likewise.
38637 * locale/global-locale.c: Likewise.
38638 * locale/localeinfo.h: Likewise.
38639 * mach/devstream.c: Likewise.
38640 * malloc/arena.c: Likewise.
38641 * malloc/set-freeres.c: Likewise.
38642 * misc/err.c: Likewise.
38643 * misc/getttyent.c: Likewise.
38644 * misc/mntent_r.c: Likewise.
38645 * posix/getopt.c: Likewise.
38646 * posix/wordexp.c: Likewise.
38647 * pwd/fgetpwent_r.c: Likewise.
38648 * resolv/Versions: Likewise.
38649 * resolv/res_hconf.c: Likewise.
38650 * shadow/fgetspent_r.c: Likewise.
38651 * shadow/putspent.c: Likewise.
38652 * stdio-common/printf_fphex.c: Likewise.
38653 * stdio-common/tmpfile.c: Likewise.
38654 * stdlib/abort.c: Likewise.
38655 * stdlib/fmtmsg.c: Likewise.
38656 * sunrpc/auth_unix.c: Likewise.
38657 * sunrpc/clnt_perr.c: Likewise.
38658 * sunrpc/clnt_tcp.c: Likewise.
38659 * sunrpc/clnt_udp.c: Likewise.
38660 * sunrpc/clnt_unix.c: Likewise.
38661 * sunrpc/openchild.c: Likewise.
38662 * sunrpc/svc_simple.c: Likewise.
38663 * sunrpc/svc_tcp.c: Likewise.
38664 * sunrpc/svc_udp.c: Likewise.
38665 * sunrpc/svc_unix.c: Likewise.
38666 * sunrpc/xdr.c: Likewise.
38667 * sunrpc/xdr_array.c: Likewise.
38668 * sunrpc/xdr_rec.c: Likewise.
38669 * sunrpc/xdr_ref.c: Likewise.
38670 * sunrpc/xdr_stdio.c: Likewise.
38671
1248c1c4
PB
386722011-09-09 Ulrich Drepper <drepper@gmail.com>
38673
38674 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38675
386762011-07-03 Andreas Jaeger <aj@suse.de>
38677
38678 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38679 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38680 regenerate with gen-libm-tests.pl.
38681
386822010-05-12 Petr Baudis <pasky@suse.cz>
38683
38684 [BZ #11589]
38685 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38686 around j0() zero points by switching to j1().
38687 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38688 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38690 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38691
f22e1074
UD
386922011-09-09 Ulrich Drepper <drepper@gmail.com>
38693
f19009c1
UD
38694 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38695 instead of 0.
38696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38697 instead of 0.
f19009c1
UD
38698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38699 Patch in part by Pavel Roskin <proski@gnu.org>.
38700
3f8cc204
UD
38701 [BZ #13138]
38702 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38703 realloc.
38704 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38705 Free memory block if necessary.
38706
f22e1074
UD
38707 [BZ #12847]
38708 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38709 be NULL. Don't lock in this case.
38710
0a2349f9
RM
387112011-09-09 Roland McGrath <roland@hack.frob.com>
38712
38713 * elf/elf.h (ELFOSABI_GNU): New macro.
38714 (ELFOSABI_LINUX): Define to that.
38715
f3cdd467
DZ
387162011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38717
38718 * string/strncat.c (strncat): Undef the symbol in case it has been
38719 defined in bits/string.h.
38720
74718d13
UD
387212011-09-09 Ulrich Drepper <drepper@gmail.com>
38722
633e9e0f
UD
38723 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38724
0a2349f9 38725 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38726 link map.
38727
f9924780
AJ
387282011-08-17 Andreas Jaeger <aj@suse.de>
38729
38730 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38731
7f5517aa
PP
387322011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38733 Ian Lance Taylor <iant@google.com>
38734
38735 * math/libm-test.inc (lround_test): New testcase.
38736 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38737
762011fe
UD
387382011-09-08 Ulrich Drepper <drepper@gmail.com>
38739
92963737
UD
38740 * Makefile: Remove support for automatic cvs check-ins.
38741 * Makerules: Likewise.
38742 * config.make.in: Likewise.
38743 * configure.in: Likewise.
38744 * intl/Makefile: Likewise.
38745 * locale/Makefile: Likewise.
38746 * po/Makefile: Likewise.
38747 * posix/Makefile: Likewise.
38748 * sysdeps/gnu/Makefile: Likewise.
38749 * sysdeps/mach/hurd/Makefile: Likewise.
38750 * sysdeps/sparc/sparc32/Makefile: Likewise.
38751
b0727fd8
JS
38752 [BZ #13118]
38753 * posix/Makefile (bug-regex32-ENV): Define.
38754 Patch by John Stanley <jpsinthemix@verizon.net>.
38755
a0f33f99
UD
38756 * misc/Makefile (headers): Add bits/select2.h.
38757 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38758 * misc/bits/select2.h: New file.
38759 * include/bits/select2.h: New file.
38760 * debug/Makefile (routines): Add fdelt_chk.
38761 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38762 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38763 FD_ISSET.
38764 * debug/fdelt_chk.c: New file.
38765
762011fe
UD
38766 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38767 * wcsmbs/test-wmemcmp.c: Likewise.
38768 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38769 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38770
387712011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38772
38773 * string/Makefile (strop-tests): Add memcmp.
38774 * string/test-wmemcmp.c: New file.
38775 * string/test-memcmp.c: Add wmemcmp support.
38776
7f513ec8
RM
387772011-09-08 Roland McGrath <roland@hack.frob.com>
38778
0442afb4
RM
38779 [BZ #13153]
38780 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38781 2011-07-19 change.
38782
7f513ec8
RM
38783 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38784 garbage value in a __mach_port_mod_refs call in the cases of the
38785 task-self and thread-self ports.
38786
a12b2239
ST
387872011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38788
38789 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38790
610f9ab4
AS
387912011-09-08 Andreas Schwab <schwab@redhat.com>
38792
7f513ec8 38793 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38794
48882a1a
LD
387952011-09-07 Ulrich Drepper <drepper@gmail.com>
38796
b49865be
UD
38797 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38798
fdc86bc9
UD
38799 * elf/dl-libc.c (dlerror_run): Pass back error code from
38800 dl_catch_error.
38801
c966526a
UD
38802 [BZ #13123]
38803 * elf/dl-load.c (lose): Free l_origin if it is valid.
38804
48882a1a
LD
38805 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38806 names.
38807 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38808 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38809 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38810 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38811 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38812 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38813
77a2a8b4
AZ
388142011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38815
38816 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38817 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38818 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38819 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38820 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38821 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38822 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38823 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38824 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38825 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38826
24f579d8
AM
388272011-08-15 Alan Modra <amodra@gmail.com>
38828
38829 [BZ #13092]
38830 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38831 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38832 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38833 ppc_mcount to static-only-routines.
38834 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38835 __mcount_internal.
38836 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38837 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38838
3d4837df
UD
388392011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38840
38841 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38842 for finite and infinity parameters.
38843
22700377
WS
388442011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38845
38846 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38847 and add nop instructions for throughput optimization.
38848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38849
5025581e
WS
388502011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38851
38852 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38853 aligned copy for power7 with vector-scalar instructions.
38854 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38855
08a300c9
L
388562011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38857
38858 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38859 AVX check.
38860
59178ef9
AS
388612011-09-07 Andreas Schwab <schwab@redhat.com>
38862
38863 [BZ #13144]
38864 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38865 last change.
38866
e38ba7ab
UD
388672011-09-07 Ulrich Drepper <drepper@gmail.com>
38868
38869 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38870 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38871 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38872 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38873 clock_gettime.
38874
d53a73ac
UD
388752011-09-06 Ulrich Drepper <drepper@gmail.com>
38876
fc8bffcc
UD
38877 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38878 Forgot to demangle the pointer.
38879
ceaa0c5d
UD
38880 * sysdeps/i386/sysdep.h: Define atom_text_section.
38881 * sysdeps/x86_64/sysdep.h: Likewise.
38882 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38883 section with atom_text_section.
38884 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38885 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38886 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38887 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38888 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38889
a77d3c17
UD
38890 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38891 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38892 already be defined. Change to take two parameters and don't assign
38893 result to variable. Adjust all users.
38894 Define INTERNAL_GETTIME if not already defined.
38895 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38896 call.
38897 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38898 HAVE_CLOCK_GETTIME_VSYSCALL.
38899 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38900
d53a73ac
UD
38901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38902 gettimeofday vsyscall, just use time.
38903
a8f84144
AS
389042011-09-06 Andreas Schwab <schwab@redhat.com>
38905
38906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38907 <errno.h>.
38908
ef606249
UD
389092011-09-06 Ulrich Drepper <drepper@gmail.com>
38910
38911 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38912 syscall on x86-64.
38913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38914 syscall.
38915 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38916 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38917 syscall if possible.
38918
6585cb60
UD
389192011-09-05 Ulrich Drepper <drepper@gmail.com>
38920
38921 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38922 e_ident. Don't pass to find_mapsXX.
38923 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38924
a5f524e4
LD
389252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38926
38927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38928 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38929 * sysdeps/x86_64/multiarch/strchr.S: Update.
38930 Check bit_slow_BSF bit.
38931 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38932 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38933 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38934
554881ef
UD
389352011-09-05 Ulrich Drepper <drepper@gmail.com>
38936
d96de963
UD
38937 [BZ #13134]
38938 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38939 before glibc 2.15.
38940 (tryshell): Define.
38941 (__spawni): Change last parameter to be flag. Test
38942 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38943 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38944 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38945 * posix/spawni.c: Likewise.
38946 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38947 * posix/spawnp.c: Likewise. Change normal version to use
38948 SPAWN_XFLAGS_USE_PATH.
38949 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38950 SPAWN_XFLAGS_TRY_SHELL.
38951
d48e5868
UD
38952 [BZ #13150]
38953 * posix/glob.h: Remove gcc 1.x support.
38954
554881ef
UD
38955 [BZ #13068]
38956 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38957
693fb948
LD
389582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38959
38960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38961 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38962 strrchr-sse2-bsf
38963 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38964 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38965 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38966 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38967 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38968 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38969
1b48c537
UD
389702011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38971
49d42c37
UD
38972 * sysdeps/x86_64/wcscmp.S: New file.
38973
1b48c537
UD
38974 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38975 wcscmp-c wcscmp-sse2
38976 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38977 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38978 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38979 * wcsmbs/wcscmp.c: Allow renaming.
38980
15c95c5d
DM
389812011-09-05 David S. Miller <davem@davemloft.net>
38982
38983 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38984 stack slot, rather than the struct return pointer slot.
38985 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38986 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38988 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38989
2f0ad8f3
UD
389902011-09-05 Ulrich Drepper <drepper@gmail.com>
38991
d88ae418
UD
38992 * po/ja.po: Update from translation team.
38993
2f0ad8f3
UD
38994 [BZ #13144]
38995 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38996 kernel in 64-bit binaries.
38997
5f4318d1
DM
389982011-09-01 David S. Miller <davem@davemloft.net>
38999
39000 * elf/elf.h (HWCAP_SPARC_*): Move to..
39001 * sysdeps/sparc/sysdep.h: this new file and add new values.
39002 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39003 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39004 _DL_HWCAP_COUNT to 24.
39005 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39006 entries.
39007 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39008 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39009 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39011 instead of magic constants.
39012 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39013
3ba57516
DM
390142011-08-31 David S. Miller <davem@davemloft.net>
39015
39016 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39018 Reimplement to do errno handling inline.
39019 (SYSCALL_ERROR_HANDLER): New macro.
39020 (__SYSCALL_STRING): Do not do errno handling in asm.
39021 (__CLONE_SYSCALL_STRING): Delete.
39022 (__INTERNAL_SYSCALL_STRING): Delete.
39023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39024 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39025 (PSEUDO): Reimplement to do errno handling inline.
39026 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39027 (SYSCALL_ERROR_HANDLER): New macro.
39028 (__SYSCALL_STRING): Do not do errno handling in asm.
39029 (__CLONE_SYSCALL_STRING): Delete.
39030 (__INTERNAL_SYSCALL_STRING): Delete.
39031 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39032 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39033 i386.
39034 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39035 (inline_syscall*): Add 'err' argument.
39036 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39037 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39038 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39039 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39040
39041 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39042 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39043
2bc17433
AS
390442011-08-30 Andreas Schwab <schwab@redhat.com>
39045
39046 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39047
fbeb5f4d
JO
390482011-08-29 Jiri Olsa <jolsa@redhat.com>
39049
39050 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39051 directive.
39052
ad69cc26
DM
390532011-08-24 David S. Miller <davem@davemloft.net>
39054
39055 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39056
39dd69df
AS
390572011-08-24 Andreas Schwab <schwab@redhat.com>
39058
39059 * elf/Makefile: Add rules to build and run unload8 test.
39060 * elf/unload8.c: New file.
39061 * elf/unload8mod1.c: New file.
39062 * elf/unload8mod1x.c: New file.
39063 * elf/unload8mod2.c: New file.
39064 * elf/unload8mod3.c: New file.
39065
39066 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39067 it wasn't used.
39068
2c0b250a
DM
390692011-08-23 David S. Miller <davem@davemloft.net>
39070
39071 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39072 subtract stack bias.
39073 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39074 %sp not %fp in calculations.
39075 (_JMPBUF_UNWINDS_ADJ): Likewise.
39076
22044b48
DM
39077 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39078 (aio_suspend): Call it to force an exception region around the
39079 AIO_MISC_WAIT() invocation.
39080
2cae4995
AS
390812011-08-23 Andreas Schwab <schwab@redhat.com>
39082
39083 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39084 backslash.
39085
873a772e
AJ
390862011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39087
39088 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39089 protection macro.
39090 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39091 and <dl-machine.h>.
39092 (Elf64_FuncDesc): Remove.
39093
25ad0df1
DM
390942011-08-22 David S. Miller <davem@davemloft.net>
39095
39096 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39097 sigaltstack check, add missing cfi directives.
39098 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39099 missing cfi directives, and sigaltstack handling.
39100
e888bcbe
AS
391012011-08-16 Andreas Schwab <schwab@redhat.com>
39102
39103 [BZ #11724]
39104 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39105 object is seen twice.
39106 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39107
39108 * elf/Makefile (distribute): Add tst-initorder2.c.
39109 (tests): Add tst-initorder2.
39110 (modules-names): Add tst-initorder2a tst-initorder2b
39111 tst-initorder2c tst-initorder2d. Add rules to build them.
39112 ($(objpfx)tst-initorder2.out): New rule.
39113 * elf/tst-initorder2.c: New file.
39114 * elf/tst-initorder2.exp: New file.
39115
87162f46
AS
391162011-08-22 Andreas Schwab <schwab@redhat.com>
39117
70538b7f
AS
39118 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39119
f55ffe58
AS
39120 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39121 dependencies back to end of function.
39122
87162f46
AS
39123 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39124 $(elfobjdir)/ld.so.
39125
91b392a4
UD
391262011-08-21 Ulrich Drepper <drepper@gmail.com>
39127
39128 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39129 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39130 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39131 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39132 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39133 of __vdso_gettimeofday.
39134 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39135 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39136 attribute_hidden.
39137 (_libc_vdso_platform_setup): Remove initialization of
39138 __vdso_gettimeofday and __vdso_time.
39139
5c43483f
UD
391402011-08-20 Ulrich Drepper <drepper@gmail.com>
39141
775a77e7
UD
39142 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39143 and fgetc_unlocked.
39144 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39145 getc_unlocked.
89f447ed 39146
49c74ba9
UD
39147 * elf/dl-open.c (add_to_global): Report additions to the global scope
39148 for LD_DEBUG=scopes.
39149 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39150 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39151
5c43483f
UD
39152 [BZ #13114]
39153 * stdio-common/Makefile (tests): Add bug24.
39154 * stdio-common/bug24.c: New file.
39155
a101b025
AJ
391562011-08-19 Andreas Jaeger <aj@suse.de>
39157
39158 [BZ #13114]
39159 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39160 non-existant file when using close-on-exec mode.
39161
c88f1766
UD
391622011-08-20 Ulrich Drepper <drepper@gmail.com>
39163
0276a718
UD
39164 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39165 the very first instruction.
39166
c88f1766
UD
39167 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39168 the CFI state in the end.
39169 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39170 inclusion of dl-trampoline.h.
39171 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39172
51ccffa0
AS
391732011-08-19 Andreas Schwab <schwab@redhat.com>
39174
94d7165f
AS
39175 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39176 expectations for long double.
39177
51ccffa0
AS
39178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39179 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39180
fd708658 391812011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39182
39183 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39184 artificual limit depends upon the system page size.
39185
44f0a71e
UD
391862011-08-17 Ulrich Drepper <drepper@gmail.com>
39187
39188 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39189 * resolv/Makefile: Define CFLAGS-libresolv.
39190
8de79a24
AS
391912011-08-17 Andreas Schwab <schwab@redhat.com>
39192
39193 * nss/makedb.c (compute_tables): Make variables used in nested
39194 function static.
39195
27724598
UD
391962011-08-17 Ulrich Drepper <drepper@gmail.com>
39197
c5305d88
UD
39198 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39199 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39200 if buffer was too small.
39201
27724598
UD
39202 * elf/pldd.c (main): Attach to all threads in the process.
39203 Rewrite /proc handling to use *at functions.
39204
076fe015
UD
392052011-08-16 Ulrich Drepper <drepper@gmail.com>
39206
174baab3
UD
39207 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39208 specifies first scope to show.
39209 (dl_open_worker): Update callers. Move printing scope of new
39210 object to before the relocation.
44f0a71e 39211 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39212 * sysdeps/generic/ldsodefs.h: Update declaration.
39213
076fe015
UD
39214 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39215 string for the scope number.
39216
a60df2c3
UD
392172011-08-14 Ulrich Drepper <drepper@gmail.com>
39218
39219 * nscd/servicescache.c (cache_addserv): Make sure written is always
39220 initialized.
39221
5e4287d1
RM
392222011-08-14 Roland McGrath <roland@hack.frob.com>
39223
85ae0589
RM
39224 * sysdeps/i386/i486/bits/atomic.h
39225 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39226 statement expression, so as to suppress "set but not used" warning.
39227 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39228
69f63097
RM
39229 * string/strncat.c (STRNCAT): Use prototype definition.
39230
675456ef
RM
39231 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39232 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39233 -Iprograms here.
39234 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39235 (localedef-modules): Add localedef.
39236 (locale-modules): Add locale.
39237
5e4287d1
RM
39238 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39239 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39240 to avoid a warning.
39241
9c96ff23
DM
392422011-08-14 David S. Miller <davem@davemloft.net>
39243
39244 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39245 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39246
f9ddf089
UD
392472011-08-13 Ulrich Drepper <drepper@gmail.com>
39248
44f0a71e 39249 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39250 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39251 * elf/rtld.c (dl_main): Set l_name of vDSO.
39252 Call _dl_show_scope when DL_DEBUG_SCOPES.
39253 (process_dl_debug): Recognize scopes flag and also set it for all.
39254 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39255 Declare _dl_show_scope.
39256
1dc27704
UD
39257 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39258 (do_dlopen): Pass caller_dlopen to dl_open.
39259 (__libc_dlopen_mode): Initialize caller_dlopen.
39260
f9ddf089
UD
39261 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39262 of libc. Make tolower call locale-independent. Optimize a bit by
39263 using isdigit instead of isalnum.
39264 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39265
9ac533d3
UD
392662011-08-12 Ulrich Drepper <drepper@gmail.com>
39267
39268 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39269 was a dependency or dynamically loaded.
39270
89edf2e9
UD
392712011-08-11 Ulrich Drepper <drepper@gmail.com>
39272
8e999d29
UD
39273 * intl/l10nflist.c: Allow architecture-specific pop function.
39274 * sysdeps/x86_64/l10nflist.c: New file.
39275
89edf2e9
UD
39276 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39277 classification.
39278
14d96785
AS
392792011-08-10 Andreas Schwab <schwab@redhat.com>
39280
39281 * include/dirent.h: Add libc_hidden_proto for scandirat and
39282 scandirat64. Don't declare __scandirat64.
39283 * dirent/scandirat.c: Add libc_hidden_def.
39284 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39285 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39286
6761ac04
DM
392872011-08-10 David S. Miller <davem@davemloft.net>
39288
39289 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39290 enum.
39291 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39292 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39294
c55fbd1e
UD
392952011-08-09 Ulrich Drepper <drepper@gmail.com>
39296
39297 * Versions.def [libc]: Add GLIBC_2.15.
39298 * dirent/Makefile (routines): Add scandirat and scandirat64.
39299 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39300 GLIBC_2.15.
39301 * dirent/dirent.h: Declare scandirat and scandirat64.
39302 * dirent/scandirat.c: New file.
39303 * dirent/scandirat64.c: New file.
39304 * sysdeps/wordsize-64/scandirat.c: New file.
39305 * sysdeps/wordsize-64/scandirat64.c: New file.
39306 * dirent/opendir.c: Define opendirat.
39307 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39308 using scandirat.
39309 * dirent/scandir64.c: Adjust for scandir.c change.
39310 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39311 __scandirat64, and __scandir_cancel_handler.
39312 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39313 additional parameter and use openat instead of open (outside of ld.so).
39314 Add new __opendir as wrapper around __opendirat.
39315 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39316 here without requiring old scandirat implementation.
39317
879165f2
UD
393182011-08-08 Ulrich Drepper <drepper@gmail.com>
39319
39320 * dirent/scandir.c (cancel_handler): Renamed to
39321 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39322 defined. Adjust users.
39323 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39325
cb7e923b
UD
393262011-08-04 Ulrich Drepper <drepper@gmail.com>
39327
16292edd
UD
39328 * string/test-string.h (IMPL): Use __STRING to expand name and then
39329 stringify it.
39330
cb7e923b
UD
39331 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39332 of cleanups.
39333
cff82933
LD
393342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39335
39336 * string/Makefile: Update.
39337 (strop-tests): Append strncat.
39338 * string/test-wcscmp.c: New file.
39339 New comprehensive test for wcscmp.
39340 * string/test-strcmp.c: Update.
39341 (WIDE): New define.
39342
9be9bfcc
AS
393432011-07-22 Andreas Schwab <schwab@redhat.com>
39344
39345 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39346 line.
39347
2e96f1c7
AS
393482011-07-26 Andreas Schwab <schwab@redhat.com>
39349
39350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39351 encoding to ACE if AI_IDN.
39352
85188888
JJ
393532011-08-01 Jakub Jelinek <jakub@redhat.com>
39354
39355 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39356 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39357
5fa16e9b
LD
393582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39359
39360 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39361 Fix overflow bug in strncat.
39362 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39363
39364 * string/test-strncat.c: Update.
39365 Add new tests for checking overflow bugs.
39366
393672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39368
39369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39370 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39371 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39372 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39373 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39374 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39375 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39376 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39377 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39378
39379 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39380 (USE_AS_STRCAT): Define.
39381 Add strcat and strncat support.
39382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39383
8c1a459f
AS
393842011-07-25 Andreas Schwab <schwab@redhat.com>
39385
39386 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39387 __n bigger than INT_MAX+1.
39388 (__strncmp_g): Likewise.
39389
bba33c28
UD
393902011-07-23 Ulrich Drepper <drepper@gmail.com>
39391
798be72d
UD
39392 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39393 * libio/stido.h: Likewise.
39394
8accd4dc
UD
39395 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39396 (AF_NFC): Define.
39397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39398 (AF_NFC): Define.
39399
cbff0d96
UD
39400 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39401 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39402 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39403 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39404 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39405
9191c04a
UD
39406 [BZ #13021]
39407 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39408 installed.
39409
bba33c28
UD
39410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39411 typo.
39412 (_dl_x86_64_save_sse): Likewise.
39413
90f139dd
UD
394142011-07-22 Ulrich Drepper <drepper@gmail.com>
39415
1aae088a
UD
39416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39417 OSXSAVE.
39418 (_dl_x86_64_save_sse): Likewise.
39419
8e2045f5
UD
39420 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39421
90f139dd
UD
39422 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39423
1d002f25
AS
394242011-07-21 Andreas Schwab <schwab@redhat.com>
39425
39426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39427 change.
39428 (_dl_x86_64_save_sse): Use correct AVX check.
39429
21137f89
UD
394302011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39431
39432 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39433 bug in strncpy/strncat.
39434 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39435
a65c0b7a
UD
394362011-07-21 Ulrich Drepper <drepper@gmail.com>
39437
39438 * string/tester.c (test_strcat): Add tests for different alignments
39439 of source and destination.
39440 (test_strncat): Likewise.
39441
6986b98a
UD
394422011-07-20 Ulrich Drepper <drepper@gmail.com>
39443
90bb2039
UD
39444 [BZ #12852]
39445 * posix/glob.c (glob): Check passed in values before using them in
39446 expressions to avoid some overflows.
39447 (glob_in_dir): Likewise.
39448
5644ef54
UD
39449 [BZ #13007]
39450 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39451 check for AVX enablement so that we don't crash with old kernels and
39452 new hardware.
39453 * elf/tst-audit4.c: Add same checks here.
39454 * elf/tst-audit6.c: Likewise.
39455
39456 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39457
bfc9dc9b
AS
394582011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39459
39460 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39461
702e64bb
UD
394622011-07-20 Ulrich Drepper <drepper@gmail.com>
39463
39464 * po/cs.po: Update from translation team.
39465 * po/bg.po: Likewise.
39466
295e904f
MP
394672011-07-12 Marek Polacek <mpolacek@redhat.com>
39468
39469 * misc/sys/cdefs.h: Add support for const attribute.
39470 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39471 to gnu_dev_{major,minor,makedev} functions.
39472
3ff94596
MP
394732011-07-20 Marek Polacek <mpolacek@redhat.com>
39474
39475 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39476
28b59fca
AS
394772011-07-20 Andreas Schwab <schwab@redhat.com>
39478
39479 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39480 strlen results.
39481
19df733e
AK
394822011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39483
39484 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39485 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39486 register in order to avoid conflicts with the soft frame pointer
39487 being held in r11 when necessary.
39488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39489 (INTERNAL_VSYSCALL_NCS): Likewise.
39490
c8835729
MP
394912011-07-14 Marek Polacek <mpolacek@redhat.com>
39492
39493 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39494 * elf/dl-fini.c (_dl_fini): Adjust caller.
39495 * elf/dl-close.c (_dl_close_worker): Likewise.
39496 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39497
b902330c
MP
394982011-07-15 Marek Polacek <mpolacek@redhat.com>
39499
8991e135
MP
39500 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39501 "aux_cache->nlibs < 0".
39502
b902330c
MP
39503 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39504 in the reload-count case.
39505
99710781
LD
395062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39507
39508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39509 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39510 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39511 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39512 * sysdeps/x86_64/multiarch/strcat.S: New file.
39513 * sysdeps/x86_64/multiarch/strncat.S: New file.
39514 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39515 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39516 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39517 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39518 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39519 (USE_AS_STRCAT): Define.
39520 Add strcat and strncat support.
39521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39522 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39523 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39524 * string/strncat.c: Update.
39525 (USE_AS_STRNCAT): Define.
39526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39527 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39528 and i7.
39529 * sysdeps/x86_64/multiarch/init-arch.h
39530 (bit_Prefer_PMINUB_for_stringop): New.
39531 (index_Prefer_PMINUB_for_stringop): Likewise.
39532 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39533 bit_Prefer_PMINUB_for_stringop.
39534
7dc6bd90
UD
395352011-07-19 Ulrich Drepper <drepper@gmail.com>
39536
39537 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39538 buffer64.
39539 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39540 of casting of buffer.
39541 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39542 buffer32 and buffer64.
39543 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39544 writes instead of casting of buffer.
39545 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39546 buffer32.
39547 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39548 casting of buffer.
39549
e0e72284
AS
395502011-07-19 Andreas Schwab <schwab@redhat.com>
39551
39552 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39553
feb1eb0b
UD
395542011-07-19 Ulrich Drepper <drepper@gmail.com>
39555
39556 * nscd/nscd.c (termination_handler): Don't do anything for a database
39557 if it has not yet been initialized.
39558
298711ff
UD
395592011-07-18 Ulrich Drepper <drepper@gmail.com>
39560
39561 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39562
395632011-07-15 Marek Polacek <mpolacek@redhat.com>
39564
39565 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39566
f9d68389
UD
395672011-07-18 Ulrich Drepper <drepper@gmail.com>
39568
39569 * po/nl.po: Update from translation team.
39570 * po/sv.po: Likewise.
39571
db290cf5
RM
395722011-07-16 Roland McGrath <roland@hack.frob.com>
39573
39574 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39575 now disallowed by GCC.
5c550700 39576
fd5e21c7
RM
39577 * configure.in (use-default-link): Default to yes if a test -shared
39578 link meets our qualifications.
39579 * configure: Regenerated.
39580
5c550700
RM
39581 * config.make.in (output-format): New variable.
39582 * configure.in: Check for ld --print-output-format support.
39583 * configure: Regenerated.
39584 * Makerules ($(common-objpfx)format.lds)
39585 [$(output-format) != unknown]: Just use $(output-format),
39586 instead of the linker-script munging.
39587
9fa2c032
RM
395882011-07-14 Roland McGrath <roland@hack.frob.com>
39589
a6928d51
RM
39590 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39591 of $(common-objpfx)shlib.lds.
39592 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39593
661607b3
RM
39594 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39595 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39596
9fa2c032
RM
39597 * configure.in (-z relro check): Adjust test code to add a large
39598 writable data section after it.
39599 * configure: Regenerated.
39600
defe9061
RM
396012011-07-11 Roland McGrath <roland@hack.frob.com>
39602
39603 * configure.in (-z relro check): Fix test code to make the variable
39604 truly const.
39605 * configure: Regenerated.
39606
319b9ad4
UD
396072011-07-11 Ulrich Drepper <drepper@gmail.com>
39608
39609 * nscd/nscd.h (struct traced_file): Define.
39610 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39611 elements. Add traced_files.
39612 (inotify_fd): Declare.
39613 (register_traced_file): Declare.
39614 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39615 (inotify_fd): Export.
39616 (resolv_conf_descr): Remove.
39617 (nscd_init): Move inotify descriptor creation to main.
39618 Don't register files for notification here.
39619 (register_traced_file): New function.
39620 (invalidate_cache): Don't use reset_res to determine whether to call
39621 res_init, go through the list of registered files.
39622 (main_loop_poll): The inotify descriptors are now stored in the
39623 structures for the traced files.
39624 (main_loop_epoll): Likewise
39625 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39626 to __nss_disable_nscd.
39627 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39628 for a database anymore. Check the records for all the registered
39629 files instead.
39630 * nss/Makefile (libnss_files-routines): Add files-init.
39631 (libnss_db-routines): Add db-init.
39632 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39633 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39634 * nss/nss_db/db-init.c: New file.
39635 * nss/nss_files/files-init.c: New file.
39636 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39637 __nss_lookup_function.
39638 (__nss_lookup_function): Call nss_load_library.
39639 (nss_load_all_libraries): New function.
39640 (__nss_disable_nscd): Take parameter with callback function for files
39641 to register. Set is_nscd. Load all the DSOs for the NSS modules
39642 used for the cached services.
39643 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39644 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39645 options for features to all the files in nscd.
39646
39647 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39648
23bee3e8
RM
396492011-07-10 Roland McGrath <roland@hack.frob.com>
39650
39651 * csu/elf-init.c (__libc_csu_init): Comment typo.
39652
46a5b7f0
UD
396532011-07-09 Ulrich Drepper <drepper@gmail.com>
39654
39655 * po/pl.po: Update from translation team.
39656 * po/ja.po: Likewise.
39657 * po/ru.po: Likewise.
39658 * po/ko.po: Likewise.
39659 * po/fr.po: Likewise.
39660
d30cf5bb
RM
396612011-07-09 Roland McGrath <roland@hack.frob.com>
39662
113ddea4
RM
39663 * configure.in (.ctors/.dtors header and trailer check):
39664 Use an empirical test on a built program.
39665 * configure: Regenerated.
39666
574920b4
RM
39667 * configure.in (-z relro check): Use an empirical test on a built DSO.
39668 Detect, but do not require, on ia64.
39669 * configure: Regenerated.
39670
d30cf5bb
RM
39671 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39672 Update tests that use readelf to use $READELF instead.
39673 * configure: Regenerated.
39674
8538fdb3
UD
396752011-07-08 Ulrich Drepper <drepper@gmail.com>
39676
39677 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39678 if the result is not used.
39679
04d08991
AJ
396802011-07-05 Andreas Jaeger <aj@suse.de>
39681
39682 [BZ#9696]
39683 * stdlib/tst-strtod.c: Add testcase.
39684
de283087
AD
396852011-07-07 Ulrich Drepper <drepper@gmail.com>
39686
4e5f31c8 39687 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39688 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39689 The latter has a higher limit. Take additional parameter to pass to
39690 the new function.
39691 (__pathconf): Pass file to __statfs_link_max.
39692 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39693 __statfs_link_max.
39694 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39695 __statfs_link_max.
39696
de283087
AD
39697 [BZ #12868]
39698 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39699 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39700 Handle Lustre.
39701 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39702 (__statfs_filesize_max): Likewise.
39703 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39704
c75fa153
AJ
397052011-07-05 Andreas Jaeger <aj@suse.de>
39706
39707 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39708
1a544854
UD
397092011-07-06 Marek Polacek <mpolacek@redhat.com>
39710
39711 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39712 `status' variable.
39713 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39714 Likewise.
39715
6f0eec67
UD
397162011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39717
39718 * Makefile (strop-tests): Add strncat.
39719 * string/test-strncat.c: New file.
39720
aae30307
UD
397212011-06-30 Marek Polacek <mpolacek@redhat.com>
39722
39723 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39724
c0cfb5eb
UD
397252011-06-21 Andreas Jaeger <aj@suse.de>
39726
39727 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39728 Copy rule from iconvdata/Makefile.
39729
01636b21
UD
397302011-07-06 Ulrich Drepper <drepper@gmail.com>
39731
39732 [BZ #12922]
39733 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39734 but no long options are defined, just return 'W'.
39735
9895c8bc
UD
397362011-06-22 Marek Polacek <mpolacek@redhat.com>
39737
39738 [BZ #9696]
39739 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39740
5d4cf042
UD
397412011-07-06 Ulrich Drepper <drepper@gmail.com>
39742
39743 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39744 netgroups to read.
960e5535 39745 (innetgr): Likewise.
5d4cf042 39746
751eb97e
RM
397472011-07-05 Roland McGrath <roland@hack.frob.com>
39748
39749 * config.make.in (install_root): Default to $(DESTDIR).
39750
f15f1e45
UD
397512011-07-05 Ulrich Drepper <drepper@gmail.com>
39752
39753 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39754
4e34ac6a
RM
397552011-07-02 Roland McGrath <roland@hack.frob.com>
39756
5e9b6af4
RM
39757 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39758
84f9ea0f
RM
39759 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39760 containing directory rather than embedding absolute directory names.
39761
ea5ee9f7
RM
39762 * scripts/check-local-headers.sh: Rewritten using awk.
39763 Match by word, not by line. Print error messages for matches.
39764 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39765
1b74661a
RM
39766 * Makerules [shlib-lds-flags empty]:
39767 ($(common-objpfx)libc_pic.opts): New target.
39768 ($(common-objpfx)libc_pic.os.clean): New target.
39769 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39770
39771 * config.make.in (OBJCOPY): New variable.
39772 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39773 * configure: Regenerated.
39774
f781ef40
RM
39775 * config.make.in (use-default-link): New variable.
39776 * configure.in (use_default_link): Grok --with-default-link to set it.
39777 * configure: Regenerated.
39778 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39779 (shlib-lds, shlib-lds-flags): Define to empty.
39780
2d4fa81e
RM
39781 * Makerules (shlib-lds): New variable.
39782 (shlib-lds-flags): New variable.
39783 (build-shlib, build-moduile, build-module-asneeded): Use it.
39784 ($(common-objpfx)libc.so): Use $(shlib-lds).
39785 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39786 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39787
31fffa6b
RM
39788 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39789 DT_FLAGS/DT_FLAGS_1 with zero flags.
39790
4e34ac6a
RM
39791 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39792 linker script munging.
39793
fcfc776b
UD
397942011-07-02 Ulrich Drepper <drepper@gmail.com>
39795
39796 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39797 as 128-bit value.
39798 * crypt/sha512.c (sha512_process_block): Perform total addition using
39799 128-bit if possible.
39800 (__sha512_finish_ctx): Likewise.
39801 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39802 as 64-bit value.
39803 * crypt/sha256.c (SWAP64): Define.
39804 (sha256_process_block): Perform total addition using 64-bit if
39805 possible.
39806 (__sha256_finish_ctx): Likewise.
39807
99231d9a
UD
398082011-07-01 Ulrich Drepper <drepper@gmail.com>
39809
39810 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39812 * nscd/hstcache.c (cache_addhst): Likewise.
39813 * nscd/grpcache.c (cache_addgr): Likewise.
39814 * nscd/aicache.c (addhstaiX): Likewise
39815 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39816
445b4a53
TK
398172011-07-01 Thorsten Kukuk <kukuk@suse.de>
39818
39819 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39821 * nscd/hstcache.c (cache_addhst): Likewise.
39822 * nscd/grpcache.c (cache_addgr): Likewise.
39823 * nscd/aicache.c (addhstaiX): Likewise
39824
6d4d8e8e
AS
398252011-07-01 Andreas Schwab <schwab@redhat.com>
39826
39827 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39828 domain only when needed.
39829
89f654c5
AS
398302011-06-30 Andreas Schwab <schwab@redhat.com>
39831
39832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39833 is always restored.
39834
cf3b23ff
UD
398352011-06-29 Ulrich Drepper <drepper@gmail.com>
39836
39837 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39838 are re-adding the entry.
39839 * nscd/servicescache.c (cache_addserv): Likewise.
39840
751626f9
AJ
398412011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39842
39843 * sysdeps/generic/dl-irel.h: fix protection against multiple
39844 inclusions.
39845 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39846
9113ea1f
UD
398472011-06-28 Ulrich Drepper <drepper@gmail.com>
39848
5c0b8d90
UD
39849 [BZ #12935]
39850 * malloc/memusage.sh: Fix quoting in message.
39851 * debug/xtrace.sh: Likewise.
39852
9113ea1f
UD
39853 * configure.in: Remove support for --experimental-malloc option, make
39854 it the default.
39855 * config.make.in: Likewise.
39856 * malloc/Makefile: Likewise.
39857
a4172181
AS
398582011-06-27 Andreas Schwab <schwab@redhat.com>
39859
39860 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39861 two-byte characters.
39862
78a7eee7
RM
398632011-06-27 Roland McGrath <roland@hack.frob.com>
39864
62bede13
RM
39865 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39866 AC_CACHE_CHECK invocation.
39867 * configure: Regenerated.
39868
78a7eee7
RM
39869 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39870
5ce33a62
UD
398712011-06-27 Ulrich Drepper <drepper@gmail.com>
39872
034807a9
UD
39873 [BZ #12350]
39874 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39875 bit from old_res_options.
39876
4902da17
UD
39877 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39878
5ce33a62
UD
39879 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39880 value type for setfct.
39881
c2344f56
L
398822011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39883
39884 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39885 __gettimeofday instead of gettimeofday.
39886
68468076
UD
398872011-06-26 Ulrich Drepper <drepper@gmail.com>
39888
39889 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39890
acb0d739
L
398912011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39892
39893 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39894
39895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39896 info.
39897
8912479f
L
398982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39899
39900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39901 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39902 strcpy-sse2-unaligned strncpy-sse2-unaligned
39903 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39904 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39905 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39906 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39907 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39908 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39909 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39910 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39911 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39912 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39913 (STRCPY): Support SSE2 and SSSE3 versions.
39914
d5495a11
UD
399152011-06-24 Ulrich Drepper <drepper@gmail.com>
39916
39917 [BZ #12874]
39918 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39919 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39920 kernels which artificially limit size of requests.
39921
0b1cbaae
L
399222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39923
39924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39925 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39926 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39927 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39928 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39929 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39930 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39931 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39932 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39934 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39935 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39936 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39937 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39938 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39940 Enable unaligned load optimization for Intel Core i3, i5 and i7
39941 processors.
39942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39943 Define.
39944 (index_Fast_Unaligned_Load): Define.
39945 (HAS_FAST_UNALIGNED_LOAD): Define.
39946
07f494a0
MP
399472011-06-23 Marek Polacek <mpolacek@redhat.com>
39948
39949 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39950
fa3fc0fe
UD
399512011-06-22 Ulrich Drepper <drepper@gmail.com>
39952
39953 [BZ #12907]
39954 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39955 until it is clear that the information is realy needed.
39956 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39957
e12df166
AS
399582011-06-22 Andreas Schwab <schwab@redhat.com>
39959
39960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39961
852eb34d
UD
399622011-06-22 Ulrich Drepper <drepper@gmail.com>
39963
84e2a551
UD
39964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39965 /sys/devices/system/cpu/online if it is usable.
39966
852eb34d
UD
39967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39968 reading the information from the /proc filesystem to once a second.
39969
6e502e19
UD
399702011-06-21 Andreas Jaeger <aj@suse.de>
39971
39972 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39973 NULL after inclusion of kernel headers.
39974
75d39ff2
UD
399752011-06-21 Ulrich Drepper <drepper@gmail.com>
39976
51f9aa6a
UD
39977 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39978 calls to internal_setent.
39979
c0244a9d
UD
39980 [BZ #12885]
39981 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39982 addresses using gethostbyname4_r ignore IPv4 addresses.
39983
c5e3c2ae
UD
39984 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39985 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39986
75d39ff2
UD
39987 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39988
42675c6f
DM
399892011-06-20 David S. Miller <davem@davemloft.net>
39990
39991 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39992 inclusions.
39993 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39994
39995 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39996 (elf_irel): Use it.
39997 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39998 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39999 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40000 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40001 * sysdeps/x86_64/dl-irel.h: Likewise.
40002
40003 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40004 * elf/dl-sym.c: Likewise.
40005
57912a71
UD
400062011-06-15 Ulrich Drepper <drepper@gmail.com>
40007
40008 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40009 need to dereference resplen2.
40010
ee22793d
AS
400112011-06-14 Andreas Schwab <schwab@redhat.com>
40012
40013 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40014
a9e836b0
UD
400152011-06-15 Ulrich Drepper <drepper@gmail.com>
40016
77fb9117
UD
40017 * Makeconfig: Define vardbdir and inst_vardbdir.
40018 * nss/Makefile: Add rules to install db-Makefile.
40019
40c1b22c
UD
40020 * nss/nss_db/db-XXX.c: Cleanup.
40021
9f2da732
UD
40022 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40023 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40024 GLIBC_PRIVATE.
40025 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40026 * nss/makedb.c: Implement -g option to specify that value strings
40027 are generated and should not be added to table iterated over for
40028 get*ent calls.
40029 * nss/nss_db/db-initgroups.c: New file.
40030
82e9a1f7
UD
40031 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40032 interface.
40033
c41af17e
UD
40034 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40035 (internal_getgrouplist): Adjust to name change.
40036 Update use_initgroups_entry if this is not the first call.
40037 * nss/databases.def: Add initgroups entry.
40038
a9e836b0
UD
40039 * nss/makedb.c (compute_tables): Check result of multiple hash table
40040 sizes to minimize maximum chain length.
40041
2666d441
UD
400422011-06-14 Ulrich Drepper <drepper@gmail.com>
40043
40044 * Versions.def: Add entry for libnss_db.
40045 * shlib-versions: Likewise.
40046 * nss/Makefile: Add rules to build libnss_db.
40047 * nss/Versions: Add libnss_db information. Organize libnss_files
40048 entries better.
40049 * nss/db-Makefile: Add gshadow support. Change rules for the new
40050 makedb progra. Some minor improvements to generate smaller files.
40051 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40052 here from...
40053 * nss/makedb.c: ...here.
40054 Improve database format to be smaller and require less memory at
40055 runtime.
40056 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40057 db anymore.
40058 * nss/nss_db/db-netgrp.c: Likewise.
40059 * nss/nss_db/db-open.c: Likewise.
40060 * nss/nss_files/flies-XXX.x: Adjust comments.
40061 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40062 * nss/nss_files/files-grp.c: Likewise.
40063 * nss/nss_files/files-hosts.c: Likewise.
40064 * nss/nss_files/files-network.c: Likewise.
40065 * nss/nss_files/files-proto.c: Likewise.
40066 * nss/nss_files/files-pwd.c: Likewise.
40067 * nss/nss_files/files-rpc.c: Likewise.
40068 * nss/nss_files/files-service.c: Likewise.
40069 * nss/nss_files/files-sgrp.c: Likewise.
40070 * nss/nss_files/files-spwd.c: Likewise.
40071 * nss/nss_db/db-alias.c: Removed.
40072 * nss/nss_db/dummy-db.h: Removed.
40073
9ee76b5a
UD
400742011-06-02 Ulrich Drepper <drepper@gmail.com>
40075
40076 * nss/makedb.c: Rewritten to not use database library.
40077 * nss/Makefile: Update to build new makedb program.
40078
c71ca1f8
AJ
400792011-06-14 Andreas Jaeger <aj@suse.de>
40080
40081 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40082 memset declaration.
40083
3154bfb8
UD
400842011-06-10 Andreas Schwab <schwab@redhat.com>
40085
40086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40087 tmpbuf.
40088
b350afab
RM
400892011-06-10 Roland McGrath <roland@hack.frob.com>
40090
decd4e50
RM
40091 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40092 * elf/Makefile ($(objpfx)ld.so): Likewise.
40093
5615eaf2
RM
40094 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40095 Don't list ld.so twice in dependencies.
40096
40097 * posix/bug-regex31.c: Include <stdlib.h>.
40098
40099 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40100
40101 * nis/nss_compat/compat-spwd.c
40102 (getspent_next_nss_netgr): Remove unused variable.
40103 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40104
40105 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40106 nonmembers" output to use the right array.
40107
40108 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40109
40110 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40111
40112 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40113 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40114 * catgets/gencat.c (read_input_file): Likewise.
40115 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40116
40117 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40118 variable definition inside #if's controlling its use.
40119
40120 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40121
40122 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40123
40124 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40125
40126 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40127 unreachable code.
40128
40129 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40130
b68e08db
RM
40131 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40132 * configure: Regenerated.
40133
b350afab
RM
40134 * Makerules: Revert last change.
40135 * elf/Makefile: Likewise.
40136
28368601
RM
401372011-06-09 Roland McGrath <roland@hack.frob.com>
40138
40139 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40140 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40141 (reloc-link): Likewise.
40142
11988f8f
UD
401432011-06-09 Ulrich Drepper <drepper@gmail.com>
40144
40145 * elf/Makefile: Add rules to build pldd.
40146 * elf/pldd.c: New file.
40147 * elf/pldd-xx.c: New file.
40148
e80fab37
UD
401492011-06-07 Ulrich Drepper <drepper@gmail.com>
40150
40151 * version.h: Update for 2.15 development version.
40152
9b849836
DM
401532011-06-07 David S. Miller <davem@davemloft.net>
40154
40155 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40156 ifuncs.
40157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40158 elf_machine_lazy_rel): Likewise.
40159 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40161 elf_machine_lazy_rel): Likewise.
40162 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40163 dl_hwcap via passed in argument.
40164 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40165 Likewise.
40166
5a31b283
AK
401672011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40168
40169 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40170
069e52f8
RM
401712011-06-06 Roland McGrath <roland@hack.frob.com>
40172
40173 [BZ #12849]
40174 * manual/fdl-1.1.texi: New file, verbatim from:
40175 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40176 * manual/lgpl-2.1.texi: New file, verbatim from:
40177 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40178 * manual/Makefile (licenses): New variable, list those new file names.
40179 (texis): Use it.
40180 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40181
40182 * manual/fdl.texi: File removed.
40183 * manual/lesser.texi: File removed.
40184 * manual/libc.texinfo (Copying, Documentation License):
40185 Use new @include file names, put @appendix directive before @include.
40186
f16846a5
JJ
401872011-06-04 Jakub Jelinek <jakub@redhat.com>
40188
40189 [BZ #12841]
40190 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40191 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40192 (mq_open): Add __NTH.
40193
3d29045b
L
401942011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40195
40196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40197 Assume Intel Core i3/i5/i7 processor if AVX is available.
40198
8c297311
UD
401992011-05-31 Ulrich Drepper <drepper@gmail.com>
40200
40201 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40202 typo.
40203
c8fc0c91
UD
402042011-05-31 Andreas Schwab <schwab@redhat.com>
40205
40206 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40207 memory. Use alloca_account. Fix memory leak when retrying.
40208
5b27a807
UD
402092011-05-31 Ulrich Drepper <drepper@gmail.com>
40210
356f8bc6
UD
40211 * version.h (RELEASE): Bump for 2.14 release.
40212 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40213
5b27a807
UD
40214 * config.make.in (RANLIB): Remove entry.
40215
01f16ab0
UD
402162011-05-30 Ulrich Drepper <drepper@gmail.com>
40217
41fce8bd
UD
40218 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40219 (libc.pot): Work around missing support for .ksh extension in xgettext.
40220
4769ae77
UD
40221 [BZ #12684]
40222 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40223 if both request failed.
40224 (send_dg): In case of server errors clear resplen or *resplen2.
40225
6b1e7d19
UD
40226 [BZ #12454]
40227 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40228 when there are multiple maps.
40229 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40230 (_dl_fini): Remove test here.
40231
01f16ab0
UD
40232 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40233
b1ebd700
UD
402342011-05-29 Ulrich Drepper <drepper@gmail.com>
40235
7ae22829
UD
40236 [BZ #12350]
40237 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40238 bit from old_res_options.
40239 (gaih_inet): Likewise.
40240
553149f6 40241 [BZ #11099]
18a84741 40242 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40243 as signed.
40244
652ffab1
UD
40245 * resolv/res_init.c (res_setoptions): Make the code more compact.
40246
16985fd0
UD
40247 [BZ #11558]
40248 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40249 set RES_USEVC.
40250
0464f746
UD
40251 [BZ #11634]
40252 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40253
7d17596c
UD
40254 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40255
cf6bbbd7
UD
40256 [BZ #11781]
40257 * malloc/malloc.h: Declare malloc hook variables as volatile.
40258
13f1ab36
UD
40259 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40260 in last patch.
40261
b1ebd700
UD
40262 [BZ #11799]
40263 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40264 raise in the comment.
80e2212d
UD
40265 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40267 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40268
ce67228d
UD
402692011-05-28 Ulrich Drepper <drepper@gmail.com>
40270
8887a920
UD
40271 [BZ #12811]
40272 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40273 grow the buffers more if it already has to be sufficient.
40274 (build_wcs_upper_buffer): Likewise.
40275 * posix/regexec.c (check_matching): Likewise.
40276 (clean_state_log_if_needed): Likewise.
40277 (extend_buffers): Don't enlarge buffers beyond size of the input
40278 buffer.
40279 Patches mostly by Emil Wojak <emil@wojak.eu>.
40280 * posix/bug-regex32.c: New file.
40281 * posix/Makefile (tests): Add bug-regex32.
40282
4f031072
UD
40283 * locale/findlocale.c (_nl_find_locale): Return right away if
40284 _nl_explode_name failed.
40285 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40286
d0478f0c
UD
40287 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40288
de81b246
UD
40289 * debug/xtrace.sh: Unify messages.
40290 * malloc/memusage.sh: Likewise.
40291
c738465a
UD
40292 [BZ #12813]
40293 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40294 time symbol from vDSO. Substitute with vsyscall if not available.
40295 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40296 __vdso_time.
40297
f1f929d7
UD
40298 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40299 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40300 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40301 Add sendmmsg and internal_sendmmsg.
40302 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40303 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40304 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40305
ce67228d
UD
40306 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40307 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40308 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40309
e57420c6
UD
403102011-05-27 Ulrich Drepper <drepper@gmail.com>
40311
a8509ca5
UD
40312 [BZ #12813]
40313 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40314 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40315 available.
40316 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40317 __vdso_getcpu.
40318
e57420c6
UD
40319 [BZ #12814]
40320 * iconvdata/Makefile (tests): Add bug-iconv9.
40321 * iconvdata/bug-iconv9.c: New file.
40322
4d07db15
AS
403232011-05-27 Andreas Schwab <schwab@redhat.com>
40324
40325 [BZ #12814]
40326 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40327
ea486f69
JJ
403282011-05-25 Jakub Jelinek <jakub@redhat.com>
40329
40330 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40331 (struct user_regs_struct): Change intcs field back to cs.
40332
6f038433
UD
403332011-05-25 Ulrich Drepper <drepper@gmail.com>
40334
40335 * po/ja.po: Update from translation team.
40336
67f86a25
UD
403372011-05-23 Ulrich Drepper <drepper@gmail.com>
40338
40339 [BZ #12795]
40340 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40341 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40342
def7fbd6
AS
403432011-05-20 Andreas Schwab <schwab@redhat.com>
40344
40345 * stdlib/longlong.h: Update from GCC.
40346
f50ef8f1
AS
403472011-05-23 Andreas Schwab <schwab@redhat.com>
40348
40349 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40350 parameter name.
40351 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40352 Add parameter name.
40353 (__sysconf): Pass it down.
40354
de7ce8f1
UD
403552011-05-22 Ulrich Drepper <drepper@gmail.com>
40356
f2962a71
UD
40357 [BZ #12671]
40358 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40359 some situations.
40360 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40361 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40362 add in in __libc_use_alloca calls. Adjust callers.
40363 (glob): Use malloc in some situations.
40364
de7ce8f1
UD
40365 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40366 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40367 pltexit.
40368
aec84f53
UD
403692011-05-21 Ulrich Drepper <drepper@gmail.com>
40370
05bb4a68
UD
40371 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40372 and CLOCK_BOOTTIME_ALARM.
40373
7ea72f99
UD
40374 [BZ #12782]
40375 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40376 is returned.
40377
7e4afad5
UD
40378 * string/_strerror.c (__strerror_r): Print negative errors as signed
40379 numbers.
40380
8e211fec
UD
40381 [BZ #12777]
40382 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40383 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40384 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40385
f7d82dc9
UD
40386 * configure.in: Fix typo in redirection and correct removal of test
40387 files in two cases.
40388
cc9e536d
UD
40389 [BZ #12788]
40390 * locale/setlocale.c (new_composite_name): Fix test to check for
40391 identical name of all categories.
40392
aec84f53
UD
40393 [BZ #12792]
40394 * libio/filedoalloc.c (local_isatty): New function.
40395 (_IO_file_doallocate): Use local_isatty.
40396 * stdio-common/perror.c (perror): In case a new stream is used
40397 forward the stream error.
40398 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40399 error flag.
40400
78e64fdc
RT
404012011-05-20 Ulrich Drepper <drepper@gmail.com>
40402
34a9094f
UD
40403 [BZ #11869]
40404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40405 alloca.
40406 * include/alloca.h (extend_alloca_account): Define.
40407
78e64fdc
RT
40408 [BZ #11857]
40409 * posix/regex.h: Fix comments with documentation of user-accessible
40410 fields after compilation and describe correct free'ing of pattern
40411 after re_compile_pattern.
40412 Patch by Reuben Thomas <rrt@sc3d.org>.
40413
457bddfc
RA
404142011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40415
40416 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40417 and -mno-altivec to prevent the compiler from using Altivec and/or
40418 VSX instructions when the corresponding registers are not available.
40419
a4527b51
AS
404202011-05-19 Andreas Schwab <schwab@redhat.com>
40421
40422 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40423
ed690b2f
UD
404242011-05-19 Ulrich Drepper <drepper@gmail.com>
40425
40426 * libio/freopen.c (freopen): Use __dup2, not dup2.
40427 * libio/freopen64.c (freopen64): Likewise.
40428
8db73634
L
404292011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40430
40431 [BZ #12775]
40432 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40433 * math/Makefile (tests): Add test-powl.
40434 (CFLAGS-test-powl.c): Define.
40435 * math/test-powl.c: New file.
40436
0a197a9d
L
404372011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40438
40439 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40440
ee30c380
UD
404412011-05-17 Ulrich Drepper <drepper@gmail.com>
40442
40443 [BZ #11837]
40444 * iconvdata/gb18030.c: Update to GB18020-2005.
40445
6ce75379
UD
404462011-05-16 Ulrich Drepper <drepper@gmail.com>
40447
a4b89fd8
AR
40448 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40449 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40450 Patch by Aharon Robbins <arnold@skeeve.com>.
40451
ea389b12
UD
40452 [BZ #11892]
40453 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40454 on the stack.
40455
68a3f91f
UD
40456 [BZ #11895]
40457 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40458 through underflows.
40459
15cc7dd1
UD
40460 [BZ #12766]
40461 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40462 point to strings before performing equality test for error_one_per_line
40463 mode.
40464
f3799213
UD
40465 [BZ #11697]
40466 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40467
d79a9c94
UD
40468 [BZ #11820]
40469 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40470 (struct user_fpregs_struct): Avoid __uint*_t types.
40471
56e5eb46
UD
40472 [BZ #6420]
40473 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40474 symbol info. Use it instead of calling _dl_addr locally.
40475 (lock_and_info): New function.
40476 (tr_freehook): Call lock_and_info and pass symbol info as additional
40477 parameter to tr_where.
40478 (tr_mallochook): Likewise.
40479 (tr_reallochook): Likewise.
40480 (tr_memalignhook): Likewise.
40481
6ce75379
UD
40482 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40483 used and couldn't be at all thread-safe.
40484
f8a3b5bf
UD
404852011-05-15 Ulrich Drepper <drepper@gmail.com>
40486
94b7cc37
UD
40487 * libio/freopen.c (freopen): Don't close old file descriptor
40488 before the new one is opened. Instead dup the new file descriptor
40489 to the old one after the new stream is created.
40490 * libio/freopen64.c (freopen64): Likewise.
40491 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40492 * libio/fileops.c (_IO_new_file_close_it): Handle new
40493 _IO_FLAGS2_NOCLOSE flag.
40494 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40495 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40496 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40497 _IO_FLAGS2_NOCLOSE flag.
40498 * include/unistd.h: Add hidden_proto for dup3.
40499 Define __have_dup3.
40500 * io/dup3.c: Define hidden symbol.
40501 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40502
bd25564e
UD
40503 [BZ #7101]
40504 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40505 when an incomplete long option is used.
40506 * posix/tst-getopt_long1.c: New file.
40507 * posix/Makefile (tests): Add tst-getopt_long1.
40508
c84cfef4
UD
40509 [BZ #10138]
40510 * scripts/config.guess: Update from autoconf-2.68.
40511 * scripts/config.sub: Likewise.
40512
3b85df27
UD
40513 [BZ #10157]
40514 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40515 tests into ...
40516 (has_cpuclock): ...this. New function.
40517 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40518 macro here based on has_cpuclock code.
40519
15a856b1
UD
40520 [BZ #10149]
40521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40522 First byte (not low byte) is now always NUL.
40523 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40524
05f399e6
UD
40525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40526 Use non-cancelable interfaces.
40527
10a52685 40528 [BZ #9809]
94ecc67d
UD
40529 * locale/iso-639.def: Add entry for Sorani.
40530
f8a3b5bf
UD
40531 [BZ #11901]
40532 * include/stdlib.h: Move include protection to the right place.
40533 Define abort_msg_s. Declare __abort_msg with it.
40534 * stdlib/abort.c (__abort_msg): Adjust type.
40535 * assert/assert.c (__assert_fail_base): New function. Majority
40536 of code from __assert_fail. Allocate memory for __abort_msg with
40537 mmap.
40538 (__assert_fail): Now call __assert_fail_base.
40539 * assert/assert-perr.c: Remove bulk of implementation. Use
40540 __assert_fail_base.
40541 * include/assert.hL Declare __assert_fail_base.
40542 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40543 mmap.
40544 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40545
1af4e298
UD
405462011-05-14 Ulrich Drepper <drepper@gmail.com>
40547
f8a3b5bf 40548 [BZ #11952]
d26dfc60
MG
40549 [BZ #12453]
40550 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40551 until all modules are registered in the DTV.
40552 * elf/Makefile: Add rules to build and run tst-tls19.
40553 * elf/tst-tls19.c: New file.
40554 * elf/tst-tls19mod1.c: New file.
40555 * elf/tst-tls19mod2.c: New file.
40556 * elf/tst-tls19mod3.c: New file.
40557 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40558
2fc54d6f
UD
40559 [BZ #12083]
40560 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40561 correctly.
40562
98d76b46
UD
40563 [BZ #12601]
40564 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40565 two-byte sequence errors.
40566 * iconvdata/Makefile (tests): Add bug-iconv8.
40567 * iconvdata/bug-iconv8.c: New file.
40568
da3c19ef
UD
40569 [BZ #12626]
40570 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40571 buf2 definition.
40572
ca408c15
UD
40573 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40574
d6f67f7d
UD
40575 [BZ #12432]
40576 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40577 (dummy_getcfa): New function.
40578 (init): Get _Unwind_GetCFA address, use dummy if not found.
40579 (backtrace_helper): In recursion check, also check whether CFA changes.
40580 (__backtrace): Completely initialize arg.
40581
1af4e298 40582 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40583 storing incomplete byte sequence in state object. Avoid testing for
40584 guaranteed too small input if we know there is enough data available.
1af4e298 40585
da62f81b
AS
405862011-05-11 Andreas Schwab <schwab@redhat.com>
40587
40588 * Makeconfig (+link-pie): Indent.
40589 * Rules (binaries-pie): Define if $(have-fpie) and
40590 $(build-shared).
40591 (binaries-shared): Also filter out $(binaries-pie).
40592 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40593 * nscd/Makefile (others-pie): Add nscd.
40594 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40595 ($(objpfx)nscd): Remove command override.
40596 * login/Makefile (others-pie): Add pt_chown.
40597 ($(objpfx)pt_chown): Remove command override.
40598 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40599 remove command overrides.
40600
fcabc0f8
UD
406012011-05-13 Ulrich Drepper <drepper@gmail.com>
40602
20030ae6
UD
40603 * libio/tst_putwc.c: Fix error messages.
40604
fcabc0f8
UD
40605 [BZ #12724]
40606 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40607 currently writing and seek to current position when not.
40608 * libio/Makefile (tests): Add bug-fclose1.
40609 * libio/bug-fclose1.c: New file.
40610
320a5dc0
PB
406112011-05-12 Ulrich Drepper <drepper@gmail.com>
40612
40613 [BZ #12511]
40614 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40615 don't set DF_1_NODELETE here.
40616 (do_lookup_x): When entering new entry test for copy relocation
40617 and if necessary set DF_1_NODELETE flag.
40618 * elf/tst-unique4.cc: New file.
40619 * elf/tst-unique4.h: New file.
40620 * elf/tst-unique4lib.cc: New file.
40621 * elf/Makefile: Add rules to build and run tst-unique4.
40622 Patch by Piotr Bury <pbury@goahead.com>.
40623
22836f52
UD
406242011-05-11 Ulrich Drepper <drepper@gmail.com>
40625
f574184a
UD
40626 [BZ #12052]
40627 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40628
e1fb097f
UD
40629 [BZ #12625]
40630 * misc/mntent_r.c (addmntent): Flush the stream after the output
40631
22836f52
UD
40632 [BZ #12393]
40633 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40634 (is_trusted_path_normalize): Skip initial colon. Append slash
40635 to empty buffer. Duplicate is_trusted_path code but allow
40636 constructed patch to be prefix.
40637 (is_dst): Allow $ORIGIN followed by /.
40638 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40639 Correct testing of result of is_trusted_path_normalize
40640 (decompose_rpath): Fix warning.
40641
7b3b0b2a
UD
406422011-05-10 Ulrich Drepper <drepper@gmail.com>
40643
40644 [BZ #11257]
40645 * grp/initgroups.c (internal_getgrouplist): When we found the service
40646 list through the initgroups entry in nsswitch.conf do not always
40647 continue on a successful lookup. Don't always use the
eac80ce2 40648 __nss_group_database value if it is set.
7b3b0b2a
UD
40649 * nss/nsswitch.conf (initgroups): Change action for successful db
40650 lookup to continue for compatibility.
40651
2a81eaa5
UD
406522011-05-09 Ulrich Drepper <drepper@gmail.com>
40653
be97a69e
UD
40654 [BZ #11532]
40655 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40656 and CP774 modules.
40657 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40658 and CP774 modules.
40659 * iconvdata/tst-tables.sh: Likewise.
40660 * iconvdata/cp770.c: New file.
40661 * iconvdata/cp771.c: New file.
40662 * iconvdata/cp772.c: New file.
40663 * iconvdata/cp773.c: New file.
40664 * iconvdata/cp774.c: New file.
40665 * iconvdata/testdata/CP770: New file.
40666 * iconvdata/testdata/CP770..UTF8: New file.
40667 * iconvdata/testdata/CP771: New file.
40668 * iconvdata/testdata/CP771..UTF8: New file.
40669 * iconvdata/testdata/CP772: New file.
40670 * iconvdata/testdata/CP772..UTF8: New file.
40671 * iconvdata/testdata/CP773: New file.
40672 * iconvdata/testdata/CP773..UTF8: New file.
40673 * iconvdata/testdata/CP774: New file.
40674 * iconvdata/testdata/CP774..UTF8: New file.
40675
40676 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40677 END CHARMAP line.
40678 * iconvdata/gen-8bit-gap.sh: Likewise.
40679 * iconvdata/gen-8bit.sh: Likewise.
40680
c1e9e399
UD
40681 * locale/iso-639.def: Add ary entry.
40682
24c55fb3 40683 [BZ #11258]
96b4b1b0
UD
40684 * locale/C-translit.h.in: Add U20A1 transliteration.
40685
bdc2f971
KB
40686 [BZ #12178]
40687 * locale/iso-639.def: Add wae entry.
40688 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40689
2952b117
UD
40690 [BZ #12545]
40691 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40692 for n.
40693
2a81eaa5
UD
40694 [BZ #12711]
40695 * locale/C-translit.h.in: Add entry for U20B9.
40696 Patch by pravin.d.s@gmail.com.
40697
28377d1b
UD
406982011-05-08 Ulrich Drepper <drepper@gmail.com>
40699
7fb90fb8
UD
40700 [BZ #12713]
40701 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40702 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40703 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40704 in rtld. Use *stat64.
7fb90fb8 40705 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40706 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40707 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40708 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40709 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40710 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40711 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40712 __fstatat64 macros.
7fb90fb8
UD
40713 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40714 * dirent/rewinddir.c: Add libc_hidden_def.
40715 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40716 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40717
28377d1b
UD
40718 * include/dirent.h (__alloc_dir): Add flags parameter.
40719 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40720 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40721 __alloc_dir.
40722 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40723 from fdopendir if O_CLOEXEC is already set.
40724
66bdbaa4
AM
407252011-03-15 Alan Modra <amodra@gmail.com>
40726
40727 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40728 l_tls_firstbyte_offset non-zero. Save padding offset in
40729 l_tls_firstbyte_offset for later use.
40730 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40731 freeing static tls block.
40732
95721191
JN
407332011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40734
40735 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40736 where #ifdef was intended. The intent is to prevent ARG_MAX from
40737 being defined by the kernel headers.
40738
f87dfb1f
UD
407392011-05-07 Ulrich Drepper <drepper@gmail.com>
40740
40741 [BZ #12734]
40742 * resolv/resolv.h: Define RES_NOTLDQUERY.
40743 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40744 no-tld-query and set RES_NOTLDQUERY.
40745 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40746 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40747 modern BIND to search name as TLD unless forbidden.
40748
47c3cd7a
UD
407492011-05-07 Petr Baudis <pasky@suse.cz>
40750 Ulrich Drepper <drepper@gmail.com>
40751
40752 [BZ #12393]
40753 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40754 (is_trusted_path): ...to here.
c1e9ea35 40755 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40756 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40757 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40758
8a35c912
PP
407592011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40760
40761 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40762 __BEGIN/__END_DECLS.
40763
acd41f47
UD
407642011-05-06 Ulrich Drepper <drepper@gmail.com>
40765
40766 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40767 NSS_STATUS_NOTFOUND if no record was found.
40768
597df647
AS
407692011-05-05 Andreas Schwab <schwab@redhat.com>
40770
40771 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40772 (headers-not-in-tirpc): Remove rpc/netdb.h
40773 * resolv/netdb.h: Revert last change.
40774
b9af1301
PP
407752011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40776
40777 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40778 circular dependency between libgcc.a and libc.a.
40779
4e34d5f5
AS
407802011-05-05 Andreas Schwab <schwab@redhat.com>
40781
40782 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40783 * nis/Makefile: Don't install rpcsvc/*.
40784 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40785 instead of <rpc/types.h>.
40786 (MAXHOSTNAMELEN): Define.
40787
00ee369c
AS
407882011-05-03 Andreas Schwab <schwab@redhat.com>
40789
40790 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40791
0b592a30
MB
407922011-04-28 Maciej Babinski <mbabinski@google.com>
40793
40794 [BZ #12714]
40795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40796 gethostbyname4_r when IPv6 results are possible.
40797
6e04cbbe
UD
407982011-05-02 Ulrich Drepper <drepper@gmail.com>
40799
40800 [BZ #12723]
40801 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40802 _PC_PIPE_BUF handling.
40803
e4ecafe0
BH
408042011-04-30 Bruno Haible <bruno@clisp.org>
40805
40806 [BZ #12717]
40807 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40808 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40809 to 'int'.
40810 * inet/getnameinfo.c (getnameinfo): Likewise.
40811
125ee683
UD
408122011-04-29 Ulrich Drepper <drepper@gmail.com>
40813
40814 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40815 to groups setting in database lookup.
40816 * nss/nsswitch.conf: Add initgroups entry.
40817
b722481a
EB
408182011-04-22 Ulrich Drepper <drepper@gmail.com>
40819
40820 [BZ #12685]
40821 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40822 mode string.
40823 Patch by Eric Blake <eblake@redhat.com>.
40824
4df46dbd
L
408252011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40826
40827 * sunrpc/Makefile (need-export-routines): Add svc_run.
40828 (routines): Remove svc_run.
40829 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40830 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40831 * sunrpc/svc_run.c (svc_run): Likewise.
40832 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40833
e84142d2
UD
408342011-04-21 Ulrich Drepper <drepper@gmail.com>
40835
40836 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40837 problem in reallocation in last patch.
40838
877175d8
UD
408392011-04-20 Ulrich Drepper <drepper@gmail.com>
40840
40841 * sunrpc/Makefile: Move inclusion of Rules.
40842
ab8eed78
UD
408432011-04-19 Ulrich Drepper <drepper@gmail.com>
40844
40845 * nss/nss_files/files-initgroups.c: New file.
40846 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40847 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40848 _nss_files_initgroups_dyn.
40849
e3d8f584
RS
408502011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40851
40852 * elf/elf.h (R_ARM_IRELATIVE): Define.
40853
af190f45
UD
408542011-04-19 Ulrich Drepper <drepper@gmail.com>
40855
40856 * po/ru.po: Update from translation team.
40857
53cf59ef
UD
408582011-04-17 Ulrich Drepper <drepper@gmail.com>
40859
40860 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40861 dependencies.
40862
4c559bcd
MF
408632011-02-06 Mike Frysinger <vapier@gentoo.org>
40864
40865 [BZ #12653]
40866 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40867 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40868 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40870 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40871
4420675c
AS
408722011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40873
40874 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40875 differing bytes.
40876 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40879
75ea32ab
UD
408802011-04-17 Ulrich Drepper <drepper@gmail.com>
40881
40882 [BZ #12420]
40883 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40884 storing it.
40885 * stdlib/bug-getcontext.c: New file.
40886 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40887
27390476
AK
408882011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40889
40890 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40891 instructions into .machine "z9-109".
40892 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40893 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40894
10442705
AK
408952011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40896
40897 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40898 between environment variables and auxiliary vector.
40899
7b57bfe5
UD
409002011-04-16 Ulrich Drepper <drepper@gmail.com>
40901
40902 * Makefile: Add rules to build linkobj/libc.so.
40903 * include/libc-symbols.h: Define libc_hidden_nolink.
40904 * include/rpc/auth.h: Mark functions which are to be hidden.
40905 * include/rpc/auth_des.h: Likewise.
40906 * include/rpc/auth_unix.h: Likewise.
40907 * include/rpc/clnt.h: Likewise.
40908 * include/rpc/des_crypt.h: Likewise.
40909 * include/rpc/key_prot.h: Likewise.
40910 * include/rpc/pmap_clnt.h: Likewise.
40911 * include/rpc/pmap_prot.h: Likewise.
40912 * include/rpc/pmap_rmt.h: Likewise.
40913 * include/rpc/rpc_msg.h: Likewise.
40914 * include/rpc/svc.h: Likewise.
40915 * include/rpc/svc_auth.h: Likewise.
40916 * include/rpc/xdr.h: Likewise.
40917 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40918 * nss/Makefile: Likewise.
40919 * sunrpc/Makefile: Don't install headers. Build library with normal
40920 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40921 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40922 for the compat linking library. Remove use of INTDEF/INTUSE.
40923 * sunrpc/auth_none.c: Likewise.
40924 * sunrpc/auth_unix.c: Likewise.
40925 * sunrpc/authdes_prot.c: Likewise.
40926 * sunrpc/authuxprot.c: Likewise.
40927 * sunrpc/clnt_gen.c: Likewise.
40928 * sunrpc/clnt_perr.c: Likewise.
40929 * sunrpc/clnt_raw.c: Likewise.
40930 * sunrpc/clnt_simp.c: Likewise.
40931 * sunrpc/clnt_tcp.c: Likewise.
40932 * sunrpc/clnt_udp.c: Likewise.
40933 * sunrpc/clnt_unix.c: Likewise.
40934 * sunrpc/des_crypt.c: Likewise.
40935 * sunrpc/des_soft.c: Likewise.
40936 * sunrpc/get_myaddr.c: Likewise.
40937 * sunrpc/key_call.c: Likewise.
40938 * sunrpc/key_prot.c: Likewise.
40939 * sunrpc/netname.c: Likewise.
40940 * sunrpc/pm_getmaps.c: Likewise.
40941 * sunrpc/pm_getport.c: Likewise.
40942 * sunrpc/pmap_clnt.c: Likewise.
40943 * sunrpc/pmap_prot.c: Likewise.
40944 * sunrpc/pmap_prot2.c: Likewise.
40945 * sunrpc/pmap_rmt.c: Likewise.
40946 * sunrpc/publickey.c: Likewise.
40947 * sunrpc/rpc_cmsg.c: Likewise.
40948 * sunrpc/rpc_common.c: Likewise.
40949 * sunrpc/rpc_dtable.c: Likewise.
40950 * sunrpc/rpc_prot.c: Likewise.
40951 * sunrpc/rpc_thread.c: Likewise.
40952 * sunrpc/rtime.c: Likewise.
40953 * sunrpc/svc.c: Likewise.
40954 * sunrpc/svc_auth.c: Likewise.
40955 * sunrpc/svc_authux.c: Likewise.
40956 * sunrpc/svc_raw.c: Likewise.
40957 * sunrpc/svc_run.c: Likewise.
40958 * sunrpc/svc_simple.c: Likewise.
40959 * sunrpc/svc_tcp.c: Likewise.
40960 * sunrpc/svc_udp.c: Likewise.
40961 * sunrpc/svc_unix.c: Likewise.
40962 * sunrpc/svcauth_des.c: Likewise.
40963 * sunrpc/xcrypt.c: Likewise.
40964 * sunrpc/xdr.c: Likewise.
40965 * sunrpc/xdr_array.c: Likewise.
40966 * sunrpc/xdr_float.c: Likewise.
40967 * sunrpc/xdr_intXX_t.c: Likewise.
40968 * sunrpc/xdr_mem.c: Likewise.
40969 * sunrpc/xdr_rec.c: Likewise.
40970 * sunrpc/xdr_ref.c: Likewise.
40971 * sunrpc/xdr_sizeof.c: Likewise.
40972 * sunrpc/xdr_stdio.c: Likewise.
40973
e6c61494
UD
409742011-04-10 Ulrich Drepper <drepper@gmail.com>
40975
40976 [BZ #12650]
40977 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40978 * sysdeps/ia64/dl-tls.h: Likewise.
40979 * sysdeps/powerpc/dl-tls.h: Likewise.
40980 * sysdeps/s390/dl-tls.h: Likewise.
40981 * sysdeps/sh/dl-tls.h: Likewise.
40982 * sysdeps/sparc/dl-tls.h: Likewise.
40983 * sysdeps/x86_64/dl-tls.h: Likewise.
40984 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40985
34fe483e
AS
409862011-03-14 Andreas Schwab <schwab@redhat.com>
40987
40988 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40989 rpath element also skip the following colon.
40990 (expand_dynamic_string_token): Add is_path parameter and pass
40991 down to DL_DST_REQUIRED and _dl_dst_substitute.
40992 (decompose_rpath): Call expand_dynamic_string_token with
40993 non-zero is_path. Ignore empty rpaths.
40994 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40995 with zero is_path.
40996
f12a32e6
AS
409972011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40998
40999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41000 Make cancelable.
41001
38a7d692
UD
410022011-04-09 Ulrich Drepper <drepper@gmail.com>
41003
41004 [BZ #12655]
41005 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41006 Patch by Filipe David Manana <fdmanana@apache.org>.
41007
e451d22b
AS
410082011-04-07 Andreas Schwab <schwab@redhat.com>
41009
41010 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41011 Maintain aligned stack.
41012 (CHECK_RSP): Remove unused macro.
41013
dedc7c7b
UD
410142011-04-03 Ulrich Drepper <drepper@gmail.com>
41015
41016 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41017 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41018
94521213
UD
410192011-04-02 Ulrich Drepper <drepper@gmail.com>
41020
41021 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41022
8cb700c0 41023 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41024
0354e355
L
410252011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41026
41027 [BZ #12518]
41028 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41029 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41030 * sysdeps/x86_64/memmove.c: New file.
41031 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41032 (memcpy): Renamed to ...
41033 (__new_memcpy): This.
41034 (memcpy): Provide GLIBC_2_14 memcpy.
41035 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41036 (memcpy): Provide GLIBC_2_2_5 memcpy.
41037
8593482f
UD
410382011-04-01 Ulrich Drepper <drepper@gmail.com>
41039
41040 [BZ #12631]
41041 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41042
81a5726b
AS
410432011-03-30 Andreas Schwab <schwab@redhat.com>
41044
41045 * misc/syncfs.c: New file.
41046 * misc/Makefile (routines): Add syncfs.
41047 * posix/unistd.h: Declare syncfs.
41048 * sysdeps/unix/syscalls.list: Add syncfs.
41049
00e5419f
AS
410502011-04-01 Andreas Schwab <schwab@redhat.com>
41051
41052 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41053 open_by_handle_at.
41054 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41055 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41056 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41057 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41059 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41061
748876bf
UD
410622011-04-01 Ulrich Drepper <drepper@gmail.com>
41063
658e451d
UD
41064 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41065 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41066 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41071
748876bf
UD
41072 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41073 sync_file_range.c with -fexceptions.
41074 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41075 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41076 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41077 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41078 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41079 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41080 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41081 sync_file_range as cancellation point
41082 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41083 now a wrapper around __call_sync_file_range with cancellation handling.
41084 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41085 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41086 function name to __call_sync_file_range.
41087 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41088 Add call_sync_file_range.
748876bf 41089
6e63d5e1
AS
410902011-04-01 Andreas Schwab <schwab@redhat.com>
41091
41092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41093 bits/timex.h.
6e63d5e1 41094
46998f74
UD
410952011-04-01 Ulrich Drepper <drepper@gmail.com>
41096
4c1423ed
UD
41097 * iconv/iconv.h: Fix typo in comment.
41098 * io/fcntl.h: Likewise.
41099 * libio/stdio.h: Likewise.
41100 * posix/spawn.h: Likewise.
41101 * posix/unistd.h: Likewise.
41102 * stdlib/stdlib.h: Likewise.
41103 * time/time.h: Likewise.
41104 * wcsmbs/wchar.h: Likewise.
41105
158648c0
UD
41106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41107 open_by_handle): Add.
41108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41109 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41110 Augment a few comments.
41111 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41116 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41117 open_by_handle.
41118
46998f74
UD
41119 * io/fcntl.h (AT_EMPTY_PATH): Define.
41120
83fe108b
UD
411212011-03-30 Ulrich Drepper <drepper@gmail.com>
41122
41123 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41124 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41125 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41126 to...
41127 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41128 * Versions.def: Add GLIBC_2.14.
41129 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41130 Export.
83fe108b 41131
bb242059
UD
411322011-03-22 Ulrich Drepper <drepper@gmail.com>
41133
41134 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41135 round counter.
41136 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41137
c97a1282
L
411382011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41139
41140 [BZ #12597]
41141 * string/test-strncmp.c (do_page_test): New function.
41142 (check2): Likewise.
41143 (test_main): Call check2.
41144 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41145
2a115601
UD
411462011-03-20 Ulrich Drepper <drepper@gmail.com>
41147
41148 [BZ #12587]
41149 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41150 Handle cache information in CPU leaf 4.
41151 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41152
8126d904
UD
411532011-03-18 Ulrich Drepper <drepper@gmail.com>
41154
042c49c6 41155 [BZ #12583]
8126d904
UD
41156 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41157 character representation.
41158 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41159
ccfe366e
RA
411602011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41161
41162 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41163 END(__isnan) to END(__isnanf) to match function entry point/label
41164 EALIGN(__isnanf,...).
41165
c6e13027
JJ
411662011-03-10 Jakub Jelinek <jakub@redhat.com>
41167
41168 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41169
33f85a3f
UD
411702011-03-10 Ulrich Drepper <drepper@gmail.com>
41171
028478fa
UD
41172 [BZ #12510]
41173 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41174 copy from the symbol referenced in the relocation to initialize the
41175 used variable.
41176 Patch by Piotr Bury <pbury@goahead.com>.
41177 * elf/Makefile: Add rules to build and tst-unique3.
41178 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41179 * elf/tst-unique3.cc: New file.
41180 * elf/tst-unique3.h: New file.
41181 * elf/tst-unique3lib.cc: New file.
41182 * elf/tst-unique3lib2.cc: New file.
41183
33f85a3f
UD
41184 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41185
03592fc7
MF
411862011-03-10 Mike Frysinger <vapier@gentoo.org>
41187
41188 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41189 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41190 to _start.
03592fc7 41191
6a5ee102
UD
411922011-03-06 Ulrich Drepper <drepper@gmail.com>
41193
41194 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41195 to-be-loaded object along a path to loader is ld.so.
41196
7e4ba49c
HJ
411972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41198 Ulrich Drepper <drepper@gmail.com>
41199
41200 * sysdeps/x86_64/memset.S: After aligning destination, code
41201 branches to different locations depending on the value of
41202 misalignment, when multiarch is enabled. Fix this.
41203
412042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41205
41206 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41207 Set _x86_64_preferred_memory_instruction for AMD processsors.
41208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41209 Set bit_Prefer_SSE_for_memop for AMD processors.
41210
13a804de
UD
412112011-03-04 Ulrich Drepper <drepper@gmail.com>
41212
41213 * libio/fmemopen.c (fmemopen): Optimize a bit.
41214
9d25c392
AS
412152011-03-03 Andreas Schwab <schwab@redhat.com>
41216
41217 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41218
a5543c6a
RM
412192011-03-03 Roland McGrath <roland@redhat.com>
41220
41221 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41222
012d35f7
DM
412232011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41224
7e4ba49c 41225 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41226 __bzero_ultra1 instead of __memset_ultra1.
41227
4bff6e01
AS
412282011-02-23 Andreas Schwab <schwab@redhat.com>
41229 Ulrich Drepper <drepper@gmail.com>
41230
41231 [BZ #12509]
41232 * include/link.h (struct link_map): Add l_orig_initfini.
41233 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41234 returning unsuccessfully.
41235 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41236 close of a file loaded at startup, restore the original l_initfini
41237 list.
41238 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41239 list, store the pointer.
41240 * elf/Makefile ($(objpfx)noload-mem): New rule.
41241 (noload-ENV): Define.
41242 (tests): Add $(objpfx)noload-mem.
41243 * elf/noload.c: Include <memcheck.h>.
41244 (main): Call mtrace. Close all opened handles.
41245
f2092faf
AS
412462011-02-17 Andreas Schwab <schwab@redhat.com>
41247
41248 [BZ #12454]
41249 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41250 dependencies are missing.
41251
6c8a2e88
ST
412522011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41253
f2092faf 41254 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41255 Hurd needs munmap.
41256 * sysdeps/mach/hurd/ifreq.h: New file.
41257
84a42118
PB
412582011-01-27 Petr Baudis <pasky@suse.cz>
41259 Ulrich Drepper <drepper@gmail.com>
41260
071f805e 41261 [BZ 12445]#
84a42118
PB
41262 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41263 to extend_alloca().
41264 * stdio-common/bug23.c: New file.
41265 * stdio-common/Makefile (tests): Add bug23.
41266
e23fe25b
AS
412672010-09-28 Andreas Schwab <schwab@redhat.com>
41268 Ulrich Drepper <drepper@gmail.com>
41269
41270 [BZ #12489]
41271 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41272 before performing relro protection. At old place add assertion
41273 to make sure nothing changed.
41274
d3f02e10
NS
412752011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41276 Glauber de Oliveira Costa <glommer@gmail.com>
41277
41278 * elf/elf.h: Add new ARM TLS relocs.
41279
d55fd7a5
RA
412802011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41281
41282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41283 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41284 cast from r3.
41285 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41286 'tests' variable.
41287 * sysdeps/wordsize-64/tst-writev.c: New file.
41288
2206397e
RA
412892011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41290
41291 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41292 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41293 insns in _dl_start to prevent a TOC reference before relocs are
41294 resolved.
41295
e9433893
UD
412962011-02-15 Ulrich Drepper <drepper@gmail.com>
41297
41298 [BZ #12469]
41299 * Makeconfig: Remove RANLIB definition.
41300 * Makerules: Don't use RANLIB.
41301 * aclocal.m4: Remove ranlib test.
41302 * configure.in: No need to check for ranlib.
41303 * elf/rtld-Rules: Don't use RANLIB.
41304
f75286c6
ST
413052011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41306
8e31c82d
ST
41307 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41308 protection macro.
41309 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41310 inclusion protection macro.
41311
f75286c6
ST
41312 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41313 SIGRTMIN and SIGRTMAX and print information in that case only when
41314 SIGRTMIN is defined.
41315
c1d0e639
JJ
413162011-02-11 Jakub Jelinek <jakub@redhat.com>
41317
41318 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41319 arginfo fn returning -1.
41320
41321 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41322 and thousands string is zero terminated.
41323
edf9294e
AS
413242011-02-03 Andreas Schwab <schwab@redhat.com>
41325
41326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41327 sysdeps/unix/sysv/linux/bits/socket.h.
41328
2b7e92df
ST
413292011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41330
edf9294e
AS
41331 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41332 (__CPU_COUNT): Remove old macros.
41333 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41334 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41335 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41336 (__sched_cpualloc, __sched_cpufree): Add declarations.
41337
a4c7ea7b
UD
413382011-02-05 Ulrich Drepper <drepper@gmail.com>
41339
41340 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41341 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41342 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41343 (readdhstai): Return value of addhstaiX call.
41344 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41345 (addgrbyX): Return value returned by cache_addgr.
41346 (readdgrbyname): Return value returned by addgrbyX.
41347 (readdgrbygid): Likewise.
41348 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41349 (addpwbyX): Return value returned by cache_addpw.
41350 (readdpwbyname): Return value returned by addhstbyX.
41351 (readdpwbyuid): Likewise.
41352 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41353 (addservbyX): Return value returned by cache_addserv.
41354 (readdservbyname): Return value returned by addservbyX:
41355 (readdservbyport): Likewise.
41356 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41357 (addhstbyX): Return value returned by cache_addhst.
41358 (readdhstbyname): Return value returned by addhstbyX.
41359 (readdhstbyaddr): Likewise.
41360 (readdhstbynamev6): Likewise.
41361 (readdhstbyaddrv6): Likewise.
41362 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41363 (readdinitgroups): Return value returned by addinitgroupsX.
41364 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41365 (prune_cache): Keep track of timeout value of re-added entries.
41366 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41367 * nscd/nscd.h: Adjust prototypes of readd* functions.
41368
a0bf67cc
RM
413692011-02-04 Roland McGrath <roland@redhat.com>
41370
41371 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41372 (nis_stats): Likewise.
41373 * nis/nis_modify.c (nis_modify): Likewise.
41374 * nis/nis_remove.c (nis_remove): Likewise.
41375 * nis/nis_add.c (nis_add): Likewise.
41376
41377 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41378
41379 * posix/fnmatch_loop.c: Add some consts.
41380
41381 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41382
435b95eb
L
413832011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41384
41385 [BZ #12460]
41386 * config.make.in (config-cflags-novzeroupper): Define.
41387 * configure.in: Substitute libc_cv_cc_novzeroupper.
41388 * elf/Makefile (AVX-CFLAGS): Define.
41389 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41390 (CFLAGS-tst-auditmod4a.c): Likewise.
41391 (CFLAGS-tst-auditmod4b.c): Likewise.
41392 (CFLAGS-tst-auditmod6b.c): Likewise.
41393 (CFLAGS-tst-auditmod6c.c): Likewise.
41394 (CFLAGS-tst-auditmod7b.c): Likewise.
41395 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41396
8517b15e
UD
413972011-02-02 Ulrich Drepper <drepper@gmail.com>
41398
41399 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41400 function to the callback.
41401 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41402
10a656fe
AS
414032011-02-02 Andreas Schwab <schwab@redhat.com>
41404
41405 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41406 of errno.
41407
968dad0a
UD
414082011-01-19 Ulrich Drepper <drepper@gmail.com>
41409
9f94d2ea 41410 [BZ #11724]
968dad0a
UD
41411 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41412 of constructors.
41413 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41414 of destructors.
41415 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41416
41417 [BZ #11724]
41418 * elf/Makefile: Add rules to build and run new test.
41419 * elf/tst-initorder.c: New file.
41420 * elf/tst-initorder.exp: New file.
41421 * elf/tst-initordera1.c: New file.
41422 * elf/tst-initordera2.c: New file.
41423 * elf/tst-initordera3.c: New file.
41424 * elf/tst-initordera4.c: New file.
41425 * elf/tst-initorderb1.c: New file.
41426 * elf/tst-initorderb2.c: New file.
41427 * elf/tst-order-a1.c: New file.
41428 * elf/tst-order-a2.c: New file.
41429 * elf/tst-order-a3.c: New file.
41430 * elf/tst-order-a4.c: New file.
41431 * elf/tst-order-b1.c: New file.
41432 * elf/tst-order-b2.c: New file.
41433 * elf/tst-order-main.c: New file.
41434 New test case by George Gensure <werkt0@gmail.com>.
41435
86e92359
UD
414362010-10-01 Andreas Schwab <schwab@redhat.com>
41437
41438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41439 decoding ACE if AI_CANONIDN.
41440
5d5732b0
UD
414412011-01-18 Ulrich Drepper <drepper@gmail.com>
41442
41443 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41444
a77e8cbc
UD
414452011-01-17 Ulrich Drepper <drepper@gmail.com>
41446
6392473f
UD
41447 * version.h (RELEASE): Bump for 2.13 release.
41448 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41449
620a0529
UD
41450 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41451
18ba70a5
UD
41452 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41453 MADV_NOHUGEPAGE.
32465c3e
UD
41454 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41455 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41456 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41457 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41459 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41460
c0dafcf1
UD
41461 * posix/getconf.c: Update copyright year.
41462 * catgets/gencat.c: Likewise.
41463 * csu/version.c: Likewise.
41464 * debug/catchsegv.sh: Likewise.
41465 * debug/xtrace.sh: Likewise.
41466 * elf/ldconfig.c: Likewise.
41467 * elf/ldd.bash.in: Likewise.
41468 * elf/sprof.c (print_version): Likewise.
41469 * iconv/iconv_prog.c: Likewise.
41470 * iconv/iconvconfig.c: Likewise.
41471 * locale/programs/locale.c: Likewise.
41472 * locale/programs/localedef.c: Likewise.
41473 * malloc/memusage.sh: Likewise.
41474 * malloc/mtrace.pl: Likewise.
41475 * nscd/nscd.c (print_version): Likewise.
41476 * nss/getent.c: Likewise.
41477
a77e8cbc
UD
41478 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41479 PF_CAIF, and PF_ALG.
41480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41481
77e8bddf
AS
414822011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41483
1f20b93a
AS
41484 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41485 (modules-names): Use them.
41486 (ifunc-test-modules, ifunc-pie-tests): Define.
41487 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41488 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41489 (test-extras): Likewise.
41490 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41491 $(compile-command.c).
41492 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41493 (all-built-dso): Define.
41494 (check-textrel.out, check-execstack.out): Depend on it.
41495
77e8bddf
AS
41496 * configure.in: Don't override --enable-multi-arch.
41497
bc425b33
UD
414982011-01-15 Ulrich Drepper <drepper@gmail.com>
41499
41500 [BZ #6812]
41501 * nscd/hstcache.c (tryagain): Define.
41502 (cache_addhst): Return tryagain not notfound for temporary errors.
41503 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41504 failed.
41505
794c3ad3
UD
415062011-01-14 Ulrich Drepper <drepper@gmail.com>
41507
70181fdd
UD
41508 [BZ #10563]
41509 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41510 to make the syscall.
41511 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41512
794c3ad3
UD
41513 [BZ #12378]
41514 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41515 and fall back to matching as normal character if the string ends before
41516 the matching ']' is found. This is what POSIX requires.
41517 * posix/testfnm.c: Adjust test result.
41518 * posix/globtest.sh: Adjust test result. Add new test.
41519 * posix/tst-fnmatch.input: Likewise.
41520 * posix/tst-fnmatch2.c: Add new test.
41521
68dc9497
AS
415222010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41523
41524 * elf/Makefile (check-execstack): Revert last change. Depend on
41525 check-execstack.h.
41526 (check-execstack.h): New target.
41527 (generated): Add check-execstack.h.
41528 * elf/check-execstack.c: Include "check-execstack.h".
41529 (main): Revert last change.
41530 (handle_file): Return zero if GNU_STACK is absent and
41531 DEFAULT_STACK_PERMS doesn't include PF_X.
41532
451f001b
UD
415332011-01-13 Ulrich Drepper <drepper@gmail.com>
41534
cfa28e56
UD
41535 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41536 in child fails because the descriptor is already closed.
8cf8ce17
UD
41537 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41538 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41539 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41540
1086d70d
UD
41541 [BZ #12397]
41542 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41543 syscall.
41544
451f001b
UD
41545 [BZ #10484]
41546 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41547 temporary buffer used to handle multi lookups locally.
a85b5cb4 41548 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41549
08769175
UD
415502011-01-12 Ulrich Drepper <drepper@gmail.com>
41551
41552 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41553 loader is ld.so.
41554
5e49c52e
UD
415552011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41556
41557 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41558 alignment for SSE2.
41559
60522a5f
UD
415602011-01-12 Ulrich Drepper <drepper@gmail.com>
41561
41562 [BZ #12394]
41563 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41564 characters. When rounding increased number of integer digits recompute
41565 number of groups.
41566 * stdio-common/tst-grouping.c: New file.
41567 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41568
f257bbd7
UD
415692011-01-09 Ulrich Drepper <drepper@gmail.com>
41570
41571 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41572 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41573
41574 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41575 void.
41576 * bits/select.h: Likewise.
41577
fa9c15cb
UD
415782011-01-08 Ulrich Drepper <drepper@gmail.com>
41579
41580 * po/ja.po: Update from translation team.
41581
16c2895f
DM
415822011-01-04 David S. Miller <davem@sunset.davemloft.net>
41583
41584 [BZ #11155]
41585 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41586 implementation just like for lxstat, fxstatat, et al.
41587
2543fef2
JM
415882010-12-27 Jim Meyering <meyering@redhat.com>
41589
41590 [BZ #12348]
41591 * posix/regexec.c (build_trtable): Return failure indication upon
41592 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41593
98727dbe
UD
415942010-12-25 Ulrich Drepper <drepper@gmail.com>
41595
5bd6dc5c
UD
41596 [BZ #12201]
41597 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41598 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41599 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41600 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41601
97983464
UD
41602 [BZ #12207]
41603 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41604
98727dbe
UD
41605 [BZ #12204]
41606 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41607 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41608
4a531bb0
L
416092010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41610
41611 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41612 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41613 script has SORT_BY_INIT_PRIORITY.
41614 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41615 NO_CTORS_DTORS_SECTIONS is defined.
41616 * elf/soinit.c: Likewise.
41617 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41618 NO_CTORS_DTORS_SECTIONS is defined.
41619 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41620 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41621 * sysdeps/sh/init-first.c: Likewise.
41622 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41623
07eb4b71
UD
416242010-12-24 Ulrich Drepper <drepper@gmail.com>
41625
41626 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41627 always use the slow path.
41628
30950a5f
RA
416292010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41630
41631 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41632 similar rule which adds the sysdep directories to the header search in
41633 order to pick up the correct platform stackinfo.h.
41634 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41635 perform test if it is, otherwise return successfully without testing.
41636 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41637 DEFAULT_STACK_PERMS define in stackinfo.h.
41638 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41639 defined in stackinfo.h.
41640 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41641 DEFAULT_STACK_PERMS defined in stackinfo.h.
41642 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41643 * sysdeps/ia64/stackinfo.h: Likewise.
41644 * sysdeps/s390/stackinfo.h: Likewise.
41645 * sysdeps/sh/stackinfo.h: Likewise.
41646 * sysdeps/sparc/stackinfo.h: Likewise.
41647 * sysdeps/x86_64/stackinfo.h: Likewise.
41648 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41649 PF_X for powerpc64. Retain PF_X for powerpc32.
41650
db753e2c
UD
416512010-12-19 Ulrich Drepper <drepper@gmail.com>
41652
14b697f7
UD
41653 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41654 accurately.
db753e2c
UD
41655 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41656 GETDENTS_64BIT_ALIGNED.
41657
28300719
UD
416582010-12-14 Ulrich Drepper <dreper@gmail.com>
41659
14b697f7 41660 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41661
4f197237
AS
416622010-12-10 Andreas Schwab <schwab@redhat.com>
41663
dbb0472f
AS
41664 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41665 _GNU_SOURCE.
41666
4f197237
AS
41667 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41668 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41669 Remove __restrict.
41670 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41671 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41672
fb88ac72
UD
416732010-12-09 Ulrich Drepper <drepper@gmail.com>
41674
41675 [BZ #11655]
41676 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41677 are initialized.
41678
42acbb92
JJ
416792010-12-09 Jakub Jelinek <jakub@redhat.com>
41680
41681 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41682
c038d98d
UD
416832010-12-03 Ulrich Drepper <drepper@gmail.com>
41684
41685 * po/it.po: Update from translation team.
41686
3a4a2499
L
416872010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41688
41689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41690 unused codes.
41691
1e24cf6e
UD
416922010-11-30 Ulrich Drepper <drepper@gmail.com>
41693
41694 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41695
a7690819
AS
416962010-11-24 Andreas Schwab <schwab@redhat.com>
41697
41698 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41699 specially.
41700 (gaih_getanswer_slice): Likewise.
41701
3bf8d1b1
JJ
417022010-10-20 Jakub Jelinek <jakub@redhat.com>
41703
41704 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41705
6db52fbb
PB
417062010-05-31 Petr Baudis <pasky@suse.cz>
41707
41708 [BZ #11149]
41709 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41710 silently even in the chroot mode.
41711
eaca7569
UD
417122010-11-22 Ulrich Drepper <drepper@gmail.com>
41713
41714 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41715 last patch a bit. Pretty printing
41716
3056dcdb
UD
417172010-05-31 Petr Baudis <pasky@suse.cz>
41718
41719 [BZ #10085]
41720 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41721 initialization of skip_initgroups_dyn.
41722
cf7c9078
UD
417232010-11-19 Ulrich Drepper <drepper@gmail.com>
41724
41725 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41726 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41727
a1fb5e3e
UD
417282010-11-16 Ulrich Drepper <drepper@gmail.com>
41729
41730 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41731
3540d66b
AS
417322010-11-11 Andreas Schwab <schwab@redhat.com>
41733
41734 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41735 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41736 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41737 ($(objpfx)tst-fnmatch-mem): New rule.
41738 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41739 * posix/tst-fnmatch.c (main): Call mtrace.
41740
13b69574
L
417412010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41742
41743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41744 Support Intel processor model 6 and model 0x2c.
41745
da93d214
LM
417462010-11-10 Luis Machado <luisgpm@br.ibm.com>
41747
41748 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41749 signed comparison.
41750
8ca52c6e
L
417512010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41752
41753 [BZ #12205]
41754 * string/test-strncasecmp.c (check_result): New function.
41755 (do_one_test): Use it.
41756 (check1): New function.
41757 (test_main): Use it.
41758 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41759 Support strcasecmp and strncasecmp.
41760
69da074d
UD
417612010-11-08 Ulrich Drepper <drepper@gmail.com>
41762
41763 [BZ #12194]
41764 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41765 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41766
ff02d528
L
417672010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41768
41769 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41770 IFUNC support.
41771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41772 memset-x86-64.
41773 * sysdeps/x86_64/multiarch/bzero.S: New file.
41774 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41775 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41776 * sysdeps/x86_64/multiarch/memset.S: New file.
41777 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41779 Set bit_Prefer_SSE_for_memop for Intel processors.
41780 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41781 Define.
41782 (index_Prefer_SSE_for_memop): Define.
41783 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41784
344d0b54
LM
417852010-11-04 Luis Machado <luisgpm@br.ibm.com>
41786
41787 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41788 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41789
c0dde15b
UD
417902010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41791
41792 [BZ #12191]
41793 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41794 (__x86_64_raw_data_cache_size_half): Likewise.
41795 (__x86_64_raw_shared_cache_size): Likewise.
41796 (__x86_64_raw_shared_cache_size_half): Likewise.
41797
41798 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41799 (__x86_64_raw_data_cache_size_half): Likewise.
41800 (__x86_64_raw_shared_cache_size): Likewise.
41801 (__x86_64_raw_shared_cache_size_half): Likewise.
41802 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41803 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41804 and __x86_64_raw_shared_cache_size_half. Round
41805 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41806 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41807 to multiple of 256 bytes.
41808
0e516e0e
MS
418092010-11-03 Ulrich Drepper <drepper@gmail.com>
41810
41811 [BZ #12167]
41812 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41813 of inacessible symlinks. Verify result of symlink before returning it.
41814 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41815 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41816
0e012e87
ER
418172010-10-28 Erich Ritz <erichritz@gmail.com>
41818
41819 * math/math.h (isinf): Fix typo in comment.
41820
de0ff7bc
UD
418212010-11-01 Ulrich Drepper <drepper@gmail.com>
41822
41823 * po/da.po: Update from translation team.
41824
fa41c84d
UD
418252010-10-26 Ulrich Drepper <drepper@gmail.com>
41826
41827 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41828 is added to the list.
41829
f0967738
AK
418302010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41831 Ulrich Drepper <drepper@gmail.com>
41832
41833 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41834 the global list here. Move code to...
41835 (_dl_add_to_namespace_list): ...here. New function.
41836 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41837 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41838 * elf/dl-load.c (lose): Don't remove the element from the list.
41839 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41840 (_dl_map_object): Likewise.
41841
418422010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41843
41844 [BZ #12159]
41845 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41846 into all bytes of SSE register.
41847 Patch by Richard Li <richardpku@gmail.com>.
41848
f0967738 418492010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41850
41851 [BZ #12140]
41852 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41853 perturbing.
41854
d0b9e94f
MB
418552010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41856
41857 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41858 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41859 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41860 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41862 submachine.
41863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41864
8e9f92e9
AS
418652010-10-22 Andreas Schwab <schwab@redhat.com>
41866
41867 * include/dlfcn.h (__RTLD_SECURE): Define.
41868 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41869 mode & __RTLD_SECURE instead.
41870 (open_path): Rename preloaded parameter to secure.
41871 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41872 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41873 * elf/dl-deps.c (openaux): Likewise.
41874 * elf/rtld.c (struct map_args): Remove is_preloaded.
41875 (map_doit): Don't use it.
41876 (dl_main): Likewise.
41877 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41878 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41879
bc96fbda
AS
418802010-09-09 Andreas Schwab <schwab@redhat.com>
41881
41882 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41883 (sysd-rules-targets): Remove duplicates.
41884 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41885 rtld-%.$o dependency.
41886
22cd1c9b
AS
418872010-10-18 Andreas Schwab <schwab@redhat.com>
41888
41889 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41890 _dl_map_object do it.
41891
18edac48
UD
418922010-10-19 Ulrich Drepper <drepper@gmail.com>
41893
41894 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41895 fast fma builtins, define the macros in the C99 standard.
41896 (FP_FAST_FMAF): Likewise.
41897 (FP_FAST_FMAL): Likewise.
41898 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41899
41900 * bits/mathdef.h: Update copyright year.
41901 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41902
d2050124
MM
419032010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41904
41905 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41906 builtins, define the macros in the C99 standard.
41907 (FP_FAST_FMAF): Likewise.
41908 (FP_FAST_FMAL): Likewise.
41909 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41910 multiply/add.
41911 (FP_FAST_FMAF): Likewise.
41912
475facd1
JJ
419132010-10-15 Jakub Jelinek <jakub@redhat.com>
41914
41915 [BZ #3268]
41916 * math/libm-test.inc (fma_test): Some new testcases.
41917 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41918 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41919 y and infinite z. Do multiplication by C already in long double.
41920 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41922 y and infinite z. Do bitwise or of inexact bit into u.d.
41923 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41924 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41925 * sysdeps/i386/fpu/s_fma.S: Removed.
41926 * sysdeps/i386/fpu/s_fmal.S: Removed.
41927
7c08a05c
JJ
419282010-10-16 Jakub Jelinek <jakub@redhat.com>
41929
41930 [BZ #3268]
41931 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41933 computation is not scheduled after fetestexcept. Fix value
41934 of minimum denormal long double.
41935
f3f7372d
JJ
419362010-10-14 Jakub Jelinek <jakub@redhat.com>
41937
41938 [BZ #3268]
41939 * math/libm-test.inc (fma_test): Add some more tests.
41940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41941 correctly.
41942
14d43591
AS
419432010-10-15 Andreas Schwab <schwab@redhat.com>
41944
41945 * scripts/data/localplt-s390-linux-gnu.data: New file.
41946 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41947
5e908464
JJ
419482010-10-13 Jakub Jelinek <jakub@redhat.com>
41949
41950 [BZ #3268]
41951 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41952 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41953 instead of dbl-64.
41954 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41955 inlines.
41956 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41958 if one of x and y is very large and the other is subnormal.
41959 * sysdeps/s390/fpu/s_fmaf.c: New file.
41960 * sysdeps/s390/fpu/s_fma.c: New file.
41961 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41962 * sysdeps/powerpc/fpu/s_fma.S: New file.
41963 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41964 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41965 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41966
419672010-10-12 Jakub Jelinek <jakub@redhat.com>
41968
41969 [BZ #3268]
41970 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41971 fma tests.
41972 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41973 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41974 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41975 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41976 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41977 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41978 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41979
b833d51f
UD
419802010-10-12 Ulrich Drepper <drepper@redhat.com>
41981
41982 [BZ #12078]
41983 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41984 * posix/bug-regex31.input: Add test case.
41985
1751705d
UD
419862010-10-11 Ulrich Drepper <drepper@gmail.com>
41987
e9b9cbf5
UD
41988 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41989 * posix/bug-regex31.input: New file.
41990
41991 [BZ #12078]
41992 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41993 (parse_sub_exp): Fix last change, use postorder.
41994
ef06edbe
UD
41995 * posix/bug-regex31.c: New file.
41996 * posix/Makefile: Add rules to build and run bug-regex31.
41997
a129c80d
UD
41998 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41999
42000 [BZ #12078]
42001 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42002
b76b818e
UD
42003 [BZ #12108]
42004 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42005 to have entries in sys_siglist.
42006
1751705d
UD
42007 [BZ #12093]
42008 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42009 be NULL.
42010
9ff8d36f
JJ
420112010-10-07 Jakub Jelinek <jakub@redhat.com>
42012
42013 [BZ #3268]
42014 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42015 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42016 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42017 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42018 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42019 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42020 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42021 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42022 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42023 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42024 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42025 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42026 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42027 * math/ftestexcept.c (fetestexcept): Likewise.
42028 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42029 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42030 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42031 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42032 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42033 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42034 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42035
af325969
UD
420362010-10-11 Ulrich Drepper <drepper@gmail.com>
42037
c579b202 42038 [BZ #12107]
af325969
UD
42039 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42040 newline.
42041
67a67b95
UD
420422010-10-06 Ulrich Drepper <drepper@gmail.com>
42043
42044 * string/bug-strstr1.c: New file.
42045 * string/Makefile: Add rules to build and run bug-strstr1.
42046
5fb308bc
EB
420472010-10-05 Eric Blake <eblake@redhat.com>
42048
42049 [BZ #12092]
42050 * string/str-two-way.h (two_way_long_needle): Always clear memory
42051 when skipping input due to the shift table.
42052
45db99c7
UD
420532010-10-03 Ulrich Drepper <drepper@gmail.com>
42054
3b111893
UD
42055 [BZ #12005]
42056 * malloc/mcheck.c: Handle large requests.
42057
45db99c7
UD
42058 [BZ #12077]
42059 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42060 for strncmp and strncasecmp.
42061 * string/stratcliff.c: Add tests for strcmp and strncmp.
42062 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42063
cf7a1eb8
NI
420642010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42065
42066 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42067 __set_fpscr.
42068
6484ba5e
AJ
420692010-09-30 Andreas Jaeger <aj@suse.de>
42070
42071 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42072 (CGROUP_SUPER_MAGIC): Define.
42073 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42074 Handle btrfs and cgroup file systems.
42075 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42076 Likewise.
42077
91c42559
LM
420782010-09-27 Luis Machado <luisgpm@br.ibm.com>
42079
42080 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42081 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42082
87a97932
AK
420832010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42084
42085 [BZ #12067]
42086 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42087 trying to locate the ELF header.
42088
c21cc9bc
AS
420892010-09-27 Andreas Schwab <schwab@redhat.com>
42090
42091 [BZ #11611]
42092 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42093 Mask out sign-bit copies when constructing f_fsid.
42094
315970f6
PB
420952010-09-24 Petr Baudis <pasky@suse.cz>
42096
42097 * debug/stack_chk_fail_local.c: Add missing licence exception.
42098 * debug/warning-nop.c: Likewise.
42099
1ac7a2c7
JM
421002010-09-15 Joseph Myers <joseph@codesourcery.com>
42101
42102 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42103 implementing getdents64 using getdents syscall, set d_type if
42104 __ASSUME_GETDENTS32_D_TYPE.
42105
56801c50
AS
421062010-09-16 Andreas Schwab <schwab@redhat.com>
42107
42108 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42109 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42110
dda51327
UD
421112010-09-21 Ulrich Drepper <drepper@redhat.com>
42112
42113 [BZ #12037]
42114 * posix/unistd.h: Undo change of feature selection for ftruncate from
42115 2010-01-11.
42116
8ffcee4a
UD
421172010-09-20 Ulrich Drepper <drepper@redhat.com>
42118
a545ecd9 42119 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42120 detection.
42121
e24f0a8b
AS
421222010-09-20 Andreas Schwab <schwab@redhat.com>
42123
42124 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42125 fanotify_mark.
42126 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42127
7291c56f
AS
421282010-09-14 Andreas Schwab <schwab@redhat.com>
42129
42130 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42131 variables after CHECK_SP call.
42132 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42133
bc5fb037
AS
421342010-09-13 Andreas Schwab <schwab@redhat.com>
42135 Ulrich Drepper <drepper@redhat.com>
42136
42137 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42138 re-relocationg ld.so.
42139 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42140 _dl_init_paths call.
42141 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42142 here anymore.
42143
e66e7419
UD
421442010-09-14 Ulrich Drepper <drepper@redhat.com>
42145
42146 * resolv/res_init.c (__res_vinit): Count the default server we added.
42147
c044aa75
CLT
421482010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42149 Ulrich Drepper <drepper@redhat.com>
42150
42151 [BZ #11968]
42152 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42153 (____longjmp_chk): Use %ebx for saving value across system call.
42154 Add unwind info.
42155
32cf4069
AS
421562010-09-06 Andreas Schwab <schwab@redhat.com>
42157
42158 * manual/Makefile: Don't mix pattern rules with normal rules.
42159
817328ee
AS
421602010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42161
42162 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42163 operation.
42164 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42165 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42166 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42167 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42168 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42169 Likewise.
42170
29fddf61
UD
421712010-09-04 Ulrich Drepper <drepper@redhat.com>
42172
42173 [BZ #11979]
42174 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42175 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42176
0959ffc9
UD
421772010-09-02 Ulrich Drepper <drepper@redhat.com>
42178
42179 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42180 * sysdeps/x86_64/addmul_1.S: Likewise.
42181 * sysdeps/x86_64/lshift.S: Likewise.
42182 * sysdeps/x86_64/mul_1.S: Likewise.
42183 * sysdeps/x86_64/rshift.S: Likewise.
42184 * sysdeps/x86_64/sub_n.S: Likewise.
42185 * sysdeps/x86_64/submul_1.S: Likewise.
42186
ece29840
ST
421872010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42188
0959ffc9
UD
42189 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42190 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42191 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42192 * bits/sched.h [__need_schedparam]
ece29840 42193 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42194 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42195 (__defined_schedparam): Define to 1.
ece29840
ST
42196 (__sched_param): New structure, identical to sched_param.
42197 (__need_schedparam): Undefine.
42198
e53a31fe
MF
421992010-08-31 Mike Frysinger <vapier@gentoo.org>
42200
fdc0c10d
MF
42201 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42202 (epoll_create1): Declare.
42203
e53a31fe
MF
42204 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42205
a726d796
AS
422062010-08-31 Andreas Schwab <schwab@redhat.com>
42207
42208 [BZ #7066]
42209 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42210 shifting retval into place.
42211
2f3e3dc7
UD
422122010-09-01 Ulrich Drepper <drepper@redhat.com>
42213
f2933da9
UD
42214 * nis/rpcsvc/nis.h: Update copyright notice.
42215 * nis/rpcsvc/nis.x: Likewise.
42216 * nis/rpcsvc/nis_callback.h: Likewise.
42217 * nis/rpcsvc/nis_callback.x: Likewise.
42218 * nis/rpcsvc/nis_object.x: Likewise.
42219 * nis/rpcsvc/nis_tags.h: Likewise.
42220 * nis/rpcsvc/yp.h: Likewise.
42221 * nis/rpcsvc/yp.x: Likewise.
42222 * nis/rpcsvc/ypupd.h: Likewise.
42223 * nis/yp_xdr.c: Likewise.
42224 * nis/ypupdate_xdr.c: Likewise.
42225
2f3e3dc7
UD
42226 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42227 mainly the body of pmap_getport. Add parameters to specify timeouts.
42228 (pmap_getport): Use __libc_rpc_getport.
42229 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42230 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42231 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42232
f3dcc2f9
AS
422332010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42234
42235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42236 fanotify_mark.
42237
6d34eb5b
RM
422382010-08-27 Roland McGrath <roland@redhat.com>
42239
42240 * sysdeps/i386/i686/multiarch/Makefile
42241 (CFLAGS-varshift.c): New variable.
42242
9ea3de11
UD
422432010-08-27 Ulrich Drepper <drepper@redhat.com>
42244
c96d23fc
UD
42245 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42246 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42247
9ea3de11
UD
42248 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42249
42250 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42251
623aac7f
L
422522010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42253
42254 * sysdeps/x86_64/strlen.S: Unroll the loop.
42255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42256 strlen-sse2 strlen-sse2-bsf.
42257 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42258 __strlen_no_bsf if bit_Slow_BSF is set.
42259 (__strlen_sse42): Removed.
42260 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42261 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42262
8b2b7715
RM
422632010-08-25 Roland McGrath <roland@redhat.com>
42264
42265 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42266 * sysdeps/x86_64/multiarch/varshift.c: New file.
42267 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42268 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42269 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42270 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42271
e73015f2
L
422722010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42273
42274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42275 strlen-sse2 strlen-sse2-bsf.
42276 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42277 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42278 (__strlen_sse2): Removed.
42279 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42280 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42282 bit_Slow_BSF for Atom.
42283 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42284 (index_Slow_BSF): Define.
42285 (HAS_SLOW_BSF): Define.
42286
df24a73e
UD
422872010-08-25 Ulrich Drepper <drepper@redhat.com>
42288
42289 [BZ #10851]
42290 * resolv/res_init.c (__res_vinit): When no server address at all
42291 is given default to loopback.
42292
f2ac4868
RM
422932010-08-24 Roland McGrath <roland@redhat.com>
42294
09055553
RM
42295 * configure.in: Remove config-name.h generation.
42296 * configure: Regenerated.
42297 * config-name.in: File removed.
42298 * scripts/config-uname.sh: New file.
42299 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42300 ($(objdir)config-name.h): New target.
42301
f2ac4868
RM
42302 * sunrpc/rpc_parse.h: Avoid nested comment.
42303
73f27d5e
RH
423042010-08-24 Richard Henderson <rth@redhat.com>
42305 Ulrich Drepper <drepper@redhat.com>
42306 H.J. Lu <hongjiu.lu@intel.com>
42307
42308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42310 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42311 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42312 _mm_alignr_epi8 with _mm_loadu_si128.
42313 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42314 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42315 (__m128i_shift_right): Removed.
42316 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42317 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42318 * sysdeps/x86_64/multiarch/varshift.h: New file.
42319 * sysdeps/x86_64/multiarch/varshift.S: New file.
42320
84b9230c
MF
423212010-08-21 Mike Frysinger <vapier@gentoo.org>
42322
42323 * configure.in: Move assembler checks to before sysdep dir checking.
42324
9bbd0ddc
PB
423252010-08-20 Petr Baudis <pasky@suse.cz>
42326
42327 * LICENSES: Sync the sunrpc license.
42328
9da4bb31
UD
423292010-08-19 Ulrich Drepper <drepper@redhat.com>
42330
a7ab6ec8
UD
42331 * sunrpc/auth_des.c: Update copyright notice once again.
42332 * sunrpc/auth_none.c: Likewise.
42333 * sunrpc/auth_unix.c: Likewise.
42334 * sunrpc/authdes_prot.c: Likewise.
42335 * sunrpc/authuxprot.c: Likewise.
42336 * sunrpc/bindrsvprt.c: Likewise.
42337 * sunrpc/clnt_gen.c: Likewise.
42338 * sunrpc/clnt_perr.c: Likewise.
42339 * sunrpc/clnt_raw.c: Likewise.
42340 * sunrpc/clnt_simp.c: Likewise.
42341 * sunrpc/clnt_tcp.c: Likewise.
42342 * sunrpc/clnt_udp.c: Likewise.
42343 * sunrpc/clnt_unix.c: Likewise.
42344 * sunrpc/des_crypt.c: Likewise.
42345 * sunrpc/des_soft.c: Likewise.
42346 * sunrpc/get_myaddr.c: Likewise.
42347 * sunrpc/getrpcport.c: Likewise.
42348 * sunrpc/key_call.c: Likewise.
42349 * sunrpc/key_prot.c: Likewise.
42350 * sunrpc/openchild.c: Likewise.
42351 * sunrpc/pm_getmaps.c: Likewise.
42352 * sunrpc/pm_getport.c: Likewise.
42353 * sunrpc/pmap_clnt.c: Likewise.
42354 * sunrpc/pmap_prot.c: Likewise.
42355 * sunrpc/pmap_prot2.c: Likewise.
42356 * sunrpc/pmap_rmt.c: Likewise.
42357 * sunrpc/rpc/auth.h: Likewise.
42358 * sunrpc/rpc/auth_unix.h: Likewise.
42359 * sunrpc/rpc/clnt.h: Likewise.
42360 * sunrpc/rpc/des_crypt.h: Likewise.
42361 * sunrpc/rpc/key_prot.h: Likewise.
42362 * sunrpc/rpc/netdb.h: Likewise.
42363 * sunrpc/rpc/pmap_clnt.h: Likewise.
42364 * sunrpc/rpc/pmap_prot.h: Likewise.
42365 * sunrpc/rpc/pmap_rmt.h: Likewise.
42366 * sunrpc/rpc/rpc.h: Likewise.
42367 * sunrpc/rpc/rpc_des.h: Likewise.
42368 * sunrpc/rpc/rpc_msg.h: Likewise.
42369 * sunrpc/rpc/svc.h: Likewise.
42370 * sunrpc/rpc/svc_auth.h: Likewise.
42371 * sunrpc/rpc/types.h: Likewise.
42372 * sunrpc/rpc/xdr.h: Likewise.
42373 * sunrpc/rpc_clntout.c: Likewise.
42374 * sunrpc/rpc_cmsg.c: Likewise.
42375 * sunrpc/rpc_common.c: Likewise.
42376 * sunrpc/rpc_cout.c: Likewise.
42377 * sunrpc/rpc_dtable.c: Likewise.
42378 * sunrpc/rpc_hout.c: Likewise.
42379 * sunrpc/rpc_main.c: Likewise.
42380 * sunrpc/rpc_parse.c: Likewise.
42381 * sunrpc/rpc_parse.h: Likewise.
42382 * sunrpc/rpc_prot.c: Likewise.
42383 * sunrpc/rpc_sample.c: Likewise.
42384 * sunrpc/rpc_scan.c: Likewise.
42385 * sunrpc/rpc_scan.h: Likewise.
42386 * sunrpc/rpc_svcout.c: Likewise.
42387 * sunrpc/rpc_tblout.c: Likewise.
42388 * sunrpc/rpc_util.c: Likewise.
42389 * sunrpc/rpc_util.h: Likewise.
42390 * sunrpc/rpcinfo.c: Likewise.
42391 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42392 * sunrpc/rpcsvc/key_prot.x: Likewise.
42393 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42394 * sunrpc/rpcsvc/mount.x: Likewise.
42395 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42396 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42397 * sunrpc/rpcsvc/rex.x: Likewise.
42398 * sunrpc/rpcsvc/rstat.x: Likewise.
42399 * sunrpc/rpcsvc/rusers.x: Likewise.
42400 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42401 * sunrpc/rpcsvc/spray.x: Likewise.
42402 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42403 * sunrpc/rtime.c: Likewise.
42404 * sunrpc/svc.c: Likewise.
42405 * sunrpc/svc_auth.c: Likewise.
42406 * sunrpc/svc_authux.c: Likewise.
42407 * sunrpc/svc_raw.c: Likewise.
42408 * sunrpc/svc_run.c: Likewise.
42409 * sunrpc/svc_simple.c: Likewise.
42410 * sunrpc/svc_tcp.c: Likewise.
42411 * sunrpc/svc_udp.c: Likewise.
42412 * sunrpc/svc_unix.c: Likewise.
42413 * sunrpc/svcauth_des.c: Likewise.
42414 * sunrpc/xcrypt.c: Likewise.
42415 * sunrpc/xdr.c: Likewise.
42416 * sunrpc/xdr_array.c: Likewise.
42417 * sunrpc/xdr_float.c: Likewise.
42418 * sunrpc/xdr_mem.c: Likewise.
42419 * sunrpc/xdr_rec.c: Likewise.
42420 * sunrpc/xdr_ref.c: Likewise.
42421 * sunrpc/xdr_sizeof.c: Likewise.
42422 * sunrpc/xdr_stdio.c: Likewise.
42423
9da4bb31
UD
42424 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42425 handling.
42426
bdaa77bc
AS
424272010-08-19 Andreas Schwab <schwab@redhat.com>
42428
42429 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42430
fe2f79db
LM
424312010-08-19 Luis Machado <luisgpm@br.ibm.com>
42432
42433 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42435 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42436 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42437 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42438 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42439 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42440 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42441 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42442 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42443 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42444 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42445 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42446 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42447
b9b42ee0
AB
424482010-07-26 Anton Blanchard <anton@samba.org>
42449
42450 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42451 * malloc/arena.c (heap_trim): Likewise.
42452
1c06ba31
UD
424532010-08-16 Ulrich Drepper <drepper@redhat.com>
42454
42455 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42456 here. Not...
42457 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42458 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42459
f8392f40
L
424602010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42461
42462 * sysdeps/i386/elf/Makefile: New file.
42463
3162f12e
AS
424642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42465
42466 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42467 from fanotify_init.
42468 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42469 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42470
28c90b2c
UD
424712010-08-15 Ulrich Drepper <drepper@redhat.com>
42472
42473 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42474 of strncasecmp_l.
1feccb6c 42475 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42476
ca6bb004
UD
424772010-08-14 Ulrich Drepper <drepper@redhat.com>
42478
e9f82e0d
UD
42479 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42480 strncase_l-nonascii.
42481 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42482 Add strncase_l-ssse3.
42483 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42484 * sysdeps/x86_64/strcmp.S: Likewise.
42485 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42486 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42487 * sysdeps/x86_64/strncase.S: New file.
42488 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42489 * sysdeps/x86_64/strncase_l.S: New file.
42490 * string/Makefile (strop-tests): Add strncasecmp.
42491 * string/test-strncasecmp.c: New file.
42492
42493 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42494 warning.
42495
ca6bb004
UD
42496 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42497 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42498
052fa7b3
AS
424992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42500
42501 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42502
962dba78
UD
425032010-08-12 Ulrich Drepper <drepper@redhat.com>
42504
42505 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42506 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42507 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42508
bebff237
AM
425092010-05-01 Alan Modra <amodra@gmail.com>
42510
42511 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42512 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42513 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42514 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42515 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42516 tidying. Don't tail-call __sigjmp_save for static lib.
42517 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42518 save location.
42519 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42520 (CALL_MCOUNT): Add eh info, and nop after bl.
42521 (TAIL_CALL_SYSCALL_ERROR): New macro.
42522 (PSEUDO_RET): Use it.
42523 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42524 Correct save location of integer regs and cr.
42525 (_dl_profile_resolve): Correct cr save location. Delete nops
42526 after bl when SHARED. Reduce cfi size a little by better
42527 placement of cfi directives.
42528 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42529 make a stack frame. Instead use parm save area as a temp.
42530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42531 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42533 Don't make a stack frame for parent, use parm save area.
42534 Increase child stack frame to 112 bytes. Don't save unused reg,
42535 and adjust reg usage. Set up cfi on error recovery and
42536 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42538 (__makecontext): Add dummy nop after jump to exit.
42539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42540 Use correct parm save area and cr save, reduce stack frame.
42541 Correct cfi for possible PSEUDO_RET frame setup.
42542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42543 Branch to local label emitted by PSEUDO_RET rather than
42544 __syscall_error.
42545
02637374
AS
425462010-08-12 Andreas Schwab <schwab@redhat.com>
42547
42548 [BZ #11904]
42549 * locale/programs/locale.c (print_assignment): New function.
42550 (show_locale_vars): Use it.
42551
c3e2f19b
UD
425522010-08-11 Ulrich Drepper <drepper@redhat.com>
42553
3cdaa6ad
UD
42554 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42555 field.
42556 (struct statfs64): Likewise.
42557 (_STATFS_F_FLAGS): Define.
42558 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42559 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42560 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42561 (ST_VALID): Define locally.
42562 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42563 __statvfs_getflags, use the provided value.
42564 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42565 __ASSUME_STATFS_F_FLAGS.
42566
754f7da3
UD
42567 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42568
10b3bedc
UD
42569 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42570 Add sys/fanotify.h.
42571 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42572 fanotify_mask for GLIBC_2.13.
42573 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42574 fanotify_init and fanotify_mark.
42575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42576 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42577
c08fb0d7
UD
42578 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42579 Add prlimit.
42580 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42581 prlimit64 for GLIBC_2.13.
42582 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42583 prlimit64.
42584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42585 syscall.
42586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42587 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42588 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42589 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42591 add prlimit alias.
42592 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42593
15bac72b
UD
42594 [BZ #11903]
42595 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42596 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42597
c3e2f19b
UD
42598 * nss/Makefile: Add rules to build and run tst-nss-test1.
42599 * shlib-versions: Add entry for libnss_test1.
42600 * nss/nss_test1.c: New file.
42601 * nss/tst-nss-test1.c: New file.
42602
42603 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42604 (__nss_configure_lookup): Set appropriate entry in
42605 __nss_configure_lookup to true.
42606 * nss/nsswitch.h: Define enum with indeces of databases in
42607 databases and __nss_database_custom arrays. Declare
42608 __nss_database_custom.
42609 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42610 to avoid using nscd when custom rules are installed.
42611 * nss/getXXbyYY_r.c: Likewise.
42612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42613
42614 * nss/nss_files/files-parse.c: Whitespace fixes.
42615
f15ce4d8
UD
426162010-08-09 Ulrich Drepper <drepper@redhat.com>
42617
42618 [BZ #11883]
42619 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42620 * posix/fnmatch_loop.c: Likewise.
42621
d22e4cc9
AK
426222010-07-17 Andi Kleen <ak@linux.intel.com>
42623
42624 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42625 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42626 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42627 * Versions.def [GLIBC_2.13]: Add.
42628
805bc17d
UD
426292010-08-06 Ulrich Drepper <drepper@redhat.com>
42630
42631 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42632 Also fail if tpwd after pwuid call is NULL.
42633
5a42321d
ST
426342010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42635
42636 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42637 when converting to ms.
42638
fd3ebeda
ST
426392010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42640
42641 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42642 EOPNOTSUPP errors with ENOTTY.
42643 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42644 EOPNOTSUPP errors with ENOTTY.
42645
73507d3a
UD
426462010-07-31 Ulrich Drepper <drepper@redhat.com>
42647
42648 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42649 Add strcasecmp_l-ssse3.
42650 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42651 strcasecmp.
42652 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42653 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42654 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42655
fe36dd02
UD
426562010-07-30 Ulrich Drepper <drepper@redhat.com>
42657
66f6765a
UD
42658 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42659
42e08a54
UD
42660 * string/Makefile (strop-tests): Add strcasecmp.
42661 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42662 strcasecmp_l-nonascii.
42663 (gen-as-const-headers): Add locale-defines.sym.
42664 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42665 * sysdeps/x86_64/strcasecmp.S: New file.
42666 * sysdeps/x86_64/strcasecmp_l.S: New file.
42667 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42668 * sysdeps/x86_64/locale-defines.sym: New file.
42669 * string/test-strcasecmp.c: New file.
42670
fe36dd02
UD
42671 * string/test-strcasestr.c: Test both ends of the range of characters.
42672 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42673
48cbc0d6
RM
426742010-07-29 Roland McGrath <roland@redhat.com>
42675
76e6d6bc 42676 [BZ #11856]
48cbc0d6
RM
42677 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42678
880113d9
UD
426792010-07-27 Ulrich Drepper <drepper@redhat.com>
42680
42681 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42682 for ld.so.
42683
deb9cabb
AS
426842010-07-27 Andreas Schwab <schwab@redhat.com>
42685
42686 * manual/memory.texi (Malloc Tunable Parameters): Document
42687 M_PERTURB.
42688
1c7570ff
RM
426892010-07-26 Roland McGrath <roland@redhat.com>
42690
42691 [BZ #11840]
42692 * configure.in (-fgnu89-inline check): Set and substitute
42693 gnu89_inline, not libc_cv_gnu89_inline.
42694 * configure: Regenerated.
42695 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42696
24fb0f88
UD
426972010-07-26 Ulrich Drepper <drepper@redhat.com>
42698
42699 * string/test-strnlen.c: New file.
42700 * string/Makefile (strop-tests): Add strnlen.
42701 * string/tester.c (test_strnlen): Add a few more test cases.
42702 * string/tst-strlen.c: Better error reporting.
42703
42704 * sysdeps/x86_64/strnlen.S: New file.
42705
8e96b93a
UD
427062010-07-24 Ulrich Drepper <drepper@redhat.com>
42707
42708 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42709 lower-latency instructions.
42710
dbc676d4
UD
427112010-07-23 Ulrich Drepper <drepper@redhat.com>
42712
42713 * string/test-strcasestr.c: New file.
42714 * string/test-strstr.c: New file.
42715 * string/Makefile (strop-tests): Add strstr and strcasestr.
42716 * string/str-two-way.h: Don't undefine MAX.
42717 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42718
f6a31e0e
AS
427192010-07-21 Andreas Schwab <schwab@redhat.com>
42720
42721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42722 strcasestr-nonascii.
42723 (CFLAGS-strcasestr-nonascii.c): Define.
42724 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42725 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42726 Remove unused attribute.
42727
5dbc3b6c
RM
427282010-07-20 Roland McGrath <roland@redhat.com>
42729
42730 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42731 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42732 ld.so.cache was broken. With it, there is no way to disable dsocaps
42733 like LD_HWCAP_MASK can disable hwcaps.
42734
23d101d8
EPM
427352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42736
42737 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42738
cc9f2e47
UD
427392010-07-16 Ulrich Drepper <drepper@redhat.com>
42740
42741 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42742 call in strcasestr.
42743 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42744 __strcasestr_sse42_nonascii.
42745 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42746 strcasestr-nonascii.c.
42747 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42748
77c1b069
LM
427492010-06-15 Luis Machado <luisgpm@br.ibm.com>
42750
42751 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42752 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42753 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42754 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42755
440566c3
UD
427562010-07-09 Ulrich Drepper <drepper@redhat.com>
42757
42758 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42759 fcntl.
42760
5be9d05d
AS
427612010-07-06 Andreas Schwab <schwab@redhat.com>
42762
c30b7ee2 42763 [BZ #11577]
5be9d05d
AS
42764 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42765 dl_signal_cerror.
42766
8a492a67
UD
427672010-07-06 Ulrich Drepper <drepper@redhat.com>
42768
42769 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42770 _PC_PIPE_BUF using F_GETPIPE_SZ.
42771
713df3d5
RM
427722010-07-05 Roland McGrath <roland@redhat.com>
42773
42774 * manual/arith.texi (Rounding Functions): Fix rint description
42775 implicit in round description.
42776
702e8f14
UD
427772010-07-02 Ulrich Drepper <drepper@redhat.com>
42778
42779 * elf/Makefile: Fix linking for a few tests to make recent linker
42780 happy.
42781
52ed8be9
AS
427822010-06-30 Andreas Schwab <schwab@redhat.com>
42783
42784 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42785 $(common-objpfx)libc_nonshared.a.
42786
f47c9a11
LM
427872010-06-21 Luis Machado <luisgpm@br.ibm.com>
42788
42789 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42790 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42791 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42792 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42793 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42794 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42795 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42796 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42811 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42812 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42813 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42814 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42815 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42816 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42817 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42818 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42819 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42820 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42821 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42822 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42837
6fb8cbcb
L
428382010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42839
42840 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42841 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42842 * string/memmove.c (memmove): Renamed to ...
42843 (MEMMOVE): ...this. Default to memmove.
42844 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42845 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42846 (END_CHK): Define.
42847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42848 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42849 mempcpy-ssse3-back memmove-ssse3-back.
42850 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42851 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42852 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42853 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42854 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42855 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42856 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42857 * sysdeps/x86_64/multiarch/memmove.c: New file.
42858 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42859 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42860 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42861 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42862 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42863 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42864 Define.
42865 (index_Fast_Copy_Backward): Define.
42866 (HAS_ARCH_FEATURE): Define.
42867 (HAS_FAST_REP_STRING): Define.
42868 (HAS_FAST_COPY_BACKWARD): Define.
42869
4e733bac 428702010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42871
42872 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42873 Restore proper fallback handling.
42874
63c4ed22
UD
428752010-06-19 Ulrich Drepper <drepper@redhat.com>
42876
ac2b484c
UD
42877 [BZ #11701]
42878 * posix/group_member.c (__group_member): Correct checking loop.
42879
63c4ed22
UD
42880 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42881 OOM in getpwuid_r correctly. Return error number when the caller
42882 should return, otherwise -1.
42883 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42884 call returning > 0 value.
42885 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42886
765ade4b
AS
428872010-06-07 Andreas Schwab <schwab@redhat.com>
42888
42889 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42890 libc_nonshared.a from targets in modules-names.
42891
80da2e09
KS
428922010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42893
42894 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42895 requires it.
42896
158db122
LM
428972010-06-10 Luis Machado <luisgpm@br.ibm.com>
42898
42899 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42900 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42901 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42902 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42903
caa78cf8
AS
429042010-06-02 Andreas Schwab <schwab@redhat.com>
42905
42906 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42907
b2ef2c01
UD
429082010-06-14 Ulrich Drepper <drepper@redhat.com>
42909
42910 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42911 and F_GETPIPE_SZ.
42912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42913 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42914 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42917 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42918
fbd643b6
RM
429192010-06-14 Roland McGrath <roland@redhat.com>
42920
42921 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42922
f32f2869
JJ
429232010-06-07 Jakub Jelinek <jakub@redhat.com>
42924
42925 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42926 __REDIRECT followed by __THROW.
42927 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42928 * posix/getopt.h (getopt): Likewise.
42929
2a50c078
EPM
429302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42931
42932 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42933 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42934 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42935 in AT_FLAGS.
42936 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42937 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42938
eb5ad2eb
LM
429392010-05-28 Luis Machado <luisgpm@br.ibm.com>
42940
42941 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42942
3c88fe1e
L
429432010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42944
42945 [BZ #11640]
42946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42947 Properly check family and model.
42948
d2f73151
TY
429492010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42950
42951 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42952
ebd2e13d
LM
429532010-05-24 Luis Machado <luisgpm@br.ibm.com>
42954
42955 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42956
b32b8b45
UD
429572010-05-21 Ulrich Drepper <drepper@redhat.com>
42958
42959 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42960 symbol reference.
42961
9acbe24d
AS
429622010-05-19 Andreas Schwab <schwab@redhat.com>
42963
42964 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42965 symbol reference.
42966
f0ccf6ea
AS
429672010-05-21 Andreas Schwab <schwab@redhat.com>
42968
3d04ff3a
AS
42969 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42970 and internal_recvmmsg.
42971 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42972 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42973 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42974 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42975
f0ccf6ea
AS
42976 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42977 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42978 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42979
5b08ac57
AS
429802010-05-20 Andreas Schwab <schwab@redhat.com>
42981
42982 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42983
4828935d
LM
429842010-05-17 Luis Machado <luisgpm@br.ibm.com>
42985
42986 POWER7 optimizations.
42987 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42988 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42989
373d545e
UD
429902010-05-19 Ulrich Drepper <drepper@redhat.com>
42991
42992 * version.h: Update for 2.13 development version.
42993
21a2b1ae
AS
429942010-05-12 Andrew Stubbs <ams@codesourcery.com>
42995
42996 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42997 exceptions. Return 0.
42998
3f7dcb2b
RM
429992010-05-07 Roland McGrath <roland@redhat.com>
43000
43001 * elf/ldconfig.c (main): Add a const.
43002
5f24d53a 430032010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43004
a160f8d8
UD
43005 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43006 (args_options): Add no-idn option.
43007 (ahosts_keys_int): Add idn_flags to ai_flags.
43008 (parse_option): Handle 'i' option to clear idn_flags.
43009
5f24d53a
UD
43010 * malloc/malloc.c (_int_free): Possible race in the most recently
43011 added check. Only act on the data if no current modification
43012 happened.
265bb1ce
UD
43013
43014See ChangeLog.17 for earlier changes.